Changeset 1812877
- Timestamp:
- 01/31/2018 03:34:14 PM (7 years ago)
- Location:
- webolead
- Files:
-
- 17 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
webolead/trunk/includes/wol-admin.php
r1437693 r1812877 7 7 add_action('admin_init', array($this, 'wol_register_options')); 8 8 add_action('admin_enqueue_scripts', array($this, 'wol_admin_style')); 9 load_plugin_textdomain('webolead', false, 'webolead/languages');10 9 } 11 10 … … 25 24 public function wol_settings_page() { 26 25 add_settings_section('wol_webolead_main', __('WebOLead Settings', 'webolead'), array($this, 'wol_webolead_siteid'), 'webolead'); 27 add_settings_field('wol_webolead_siteid_number', __('WebOLead site id:', 'webolead'), array($this, 'wol_webolead_siteid_input'), 'webolead', 'wol_webolead_main');28 add_settings_section('wol_webolead_example', __('WebOLead scriptexample', 'webolead'), array($this, 'wol_webolead_example'), 'webolead');26 add_settings_field('wol_webolead_siteid_number', __('WebOLead site :', 'webolead'), array($this, 'wol_webolead_siteid_input'), 'webolead', 'wol_webolead_main'); 27 add_settings_section('wol_webolead_example', __('WebOLead example', 'webolead'), array($this, 'wol_webolead_example'), 'webolead'); 29 28 include(plugin_dir_path(__FILE__) . '/pages/settings.php'); 30 29 } 31 30 32 31 public function wol_webolead_siteid() { 33 echo '<p>' . __('Enter your WebOLead site I dhere.', 'webolead') . '</p>';32 echo '<p>' . __('Enter your WebOLead site I here.', 'webolead') . '</p>'; 34 33 } 35 34 36 35 public function wol_webolead_example() { 37 echo '<p>' . __('You can find WebOLead site id in WebOLead scriptas in this example below', 'webolead') . '</p>';36 echo '<p>' . __('You can find WebOLead site as in this example below', 'webolead') . '</p>'; 38 37 $wolScript = file_get_contents(plugin_dir_path(__FILE__) . '/wol-script/webolead-script.php'); 39 38 $wol_webolead_options = get_option('wol_webolead_options'); … … 57 56 public function wol_webolead_validate_options($input) { 58 57 if (! is_numeric($input['siteid_number']) && trim($input['siteid_number']) != '' ){ 59 add_settings_error('wol_webolead_siteid_number', 'wol_webolead_siteid_number_error', __('WebOLead site idmust be numeric', 'webolead'), 'error');58 add_settings_error('wol_webolead_siteid_number', 'wol_webolead_siteid_number_error', __('WebOLead site must be numeric', 'webolead'), 'error'); 60 59 } else { 61 add_settings_error('wol_webolead_siteid_number', 'wol_webolead_siteid_number_error', __('WebOLead site idis updated', 'webolead'), 'updated');60 add_settings_error('wol_webolead_siteid_number', 'wol_webolead_siteid_number_error', __('WebOLead site is updated', 'webolead'), 'updated'); 62 61 } 63 62 return $input; -
webolead/trunk/languages/webolead-fr_FR.po
r1437693 r1812877 1 1 msgid "" 2 2 msgstr "" 3 "Project-Id-Version: \n"3 "Project-Id-Version: \n" 4 4 "POT-Creation-Date: \n" 5 5 "PO-Revision-Date: \n" 6 6 "Last-Translator: manooweb <ehesry@gmail.com>\n" 7 "Language-Team: \n"7 "Language-Team: \n" 8 8 "MIME-Version: 1.0\n" 9 "Content-Type: text/plain; charset= iso-8859-1\n"9 "Content-Type: text/plain; charset=\n" 10 10 "Content-Transfer-Encoding: 8bit\n" 11 12 13 11 14 12 # Copyright (C) 2015 the WebOLead team 13 # This file is distributed under the GNU General Public License v2 or later. 14 msgid "simply install WebOLead script on your website." 15 msgid "Easily install WebOLead code on your website." 15 16 msgstr "Installez simplement le script WebOLead sur votre site web." 16 17 … … 18 19 msgstr "Paramètres de WebOLead" 19 20 20 msgid "Enter your WebOLead site I dhere."21 msgstr "Renseignez l'identifiant WebOLead de votre site "21 msgid "Enter your WebOLead site I here." 22 msgstr "Renseignez l'identifiant WebOLead de votre site" 22 23 23 msgid "WebOLead site id:"24 msgid "WebOLead site :" 24 25 msgstr "Id WebOLead de votre site :" 25 26 26 msgid "WebOLead scriptexample"27 msgstr "Exemple de scriptWebOLead"27 msgid "WebOLead example" 28 msgstr "Exemple de WebOLead" 28 29 29 msgid "You can find WebOLead site id in WebOLead scriptas in this example below"30 msgstr "Vous pouvez retrouver l'identifiant WebOLead de votre site dans le scriptWebOLead comme dans l'exemple ci-dessous"30 msgid "You can find WebOLead site as in this example below" 31 msgstr "Vous pouvez retrouver l'identifiant WebOLead de votre site dans le WebOLead comme dans l'exemple ci-dessous" 31 32 32 msgid "WebOLead site idmust be numeric"33 msgid "WebOLead site must be numeric" 33 34 msgstr "L'identifiant WebOlead du site doit être un nombre" 34 35 35 msgid "WebOLead site idis updated"36 msgstr "L'identifiant WebOlead du site a bien été enregistré"36 msgid "WebOLead site is updated" 37 msgstr "L'identifiant WebOlead du site a bien été " 37 38 38 39 msgid "Save settings" -
webolead/trunk/languages/webolead.pot
r1437693 r1812877 1 msgid ""2 msgstr ""3 1 "Project-Id-Version: WebOLead 1.0.0\n" 4 2 "POT-Creation-Date: 2016-06-12 18:34+0100\n" … … 14 12 "X-Poedit-Country: FRANCE\n" 15 13 16 msgid " simply install WebOLead scripton your website."14 msgid " on your website." 17 15 msgstr "" 18 16 … … 20 18 msgstr "" 21 19 22 msgid "Enter your WebOLead site I dhere."20 msgid "Enter your WebOLead site I here." 23 21 msgstr "" 24 22 25 msgid "WebOLead site id:"23 msgid "WebOLead site :" 26 24 msgstr "" 27 25 28 msgid "WebOLead scriptexample"26 msgid "WebOLead example" 29 27 msgstr "" 30 28 31 msgid "You can find WebOLead site id in WebOLead scriptas in this example below"29 msgid "You can find WebOLead site as in this example below" 32 30 msgstr "" 33 31 34 msgid "WebOLead site idmust be numeric"32 msgid "WebOLead site must be numeric" 35 33 msgstr "" 36 34 37 msgid "WebOLead site idis updated"35 msgid "WebOLead site is updated" 38 36 msgstr "" 39 37 -
webolead/trunk/readme.txt
r1500477 r1812877 4 4 Tags: WebOLead, Call to action form 5 5 Requires at least: 4.0.0 6 Tested up to: 4. 6.17 Stable tag: 1. 0.16 Tested up to: 4. 7 Stable tag: 1. 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 28 28 == Changelog == 29 29 30 31 32 33 34 35 30 36 = 1.0.1 = 31 37 * Bump to WordPress 4.6 -
webolead/trunk/webolead.php
r1437693 r1812877 4 4 Plugin Name: WebOLead 5 5 Plugin URI: http://www.webolead.com 6 Description: simply install WebOLead scripton your website.6 Description: on your website. 7 7 Version: 1.0.0 8 8 Author: WebOLead … … 16 16 17 17 public function __construct() { 18 19 20 21 22 18 23 if (is_admin()) { 19 24 require_once(plugin_dir_path(__FILE__) . '/includes/wol-admin.php');
Note: See TracChangeset
for help on using the changeset viewer.