Plugin Directory

Changeset 1812877

Timestamp:
01/31/2018 03:34:14 PM (7 years ago)
Author:
manooweb
Message:

Improve translations and verify WordPress 4.9 compatibility

Location:
webolead
Files:
17 added
7 edited

Legend:

Unmodified
Added
Removed
  • webolead/trunk/includes/wol-admin.php

    r1437693 r1812877  
    77        add_action('admin_init', array($this, 'wol_register_options'));
    88        add_action('admin_enqueue_scripts', array($this, 'wol_admin_style'));
    9         load_plugin_textdomain('webolead', false, 'webolead/languages');
    109    }
    1110
     
    2524    public function wol_settings_page() {
    2625        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 script example', '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');
    2928        include(plugin_dir_path(__FILE__) . '/pages/settings.php');
    3029    }
    3130
    3231    public function wol_webolead_siteid() {
    33         echo '<p>' . __('Enter your WebOLead site Id here.', 'webolead') . '</p>';
     32        echo '<p>' . __('Enter your WebOLead site I here.', 'webolead') . '</p>';
    3433    }
    3534
    3635    public function wol_webolead_example() {
    37         echo '<p>' . __('You can find WebOLead site id in WebOLead script as in this example below', 'webolead') . '</p>';
     36        echo '<p>' . __('You can find WebOLead site as in this example below', 'webolead') . '</p>';
    3837        $wolScript = file_get_contents(plugin_dir_path(__FILE__) . '/wol-script/webolead-script.php');
    3938        $wol_webolead_options = get_option('wol_webolead_options');
     
    5756    public function wol_webolead_validate_options($input) {
    5857        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 id must be numeric', 'webolead'), 'error');
     58            add_settings_error('wol_webolead_siteid_number', 'wol_webolead_siteid_number_error', __('WebOLead site must be numeric', 'webolead'), 'error');
    6059        } else {
    61             add_settings_error('wol_webolead_siteid_number', 'wol_webolead_siteid_number_error', __('WebOLead site id is updated', 'webolead'), 'updated');
     60            add_settings_error('wol_webolead_siteid_number', 'wol_webolead_siteid_number_error', __('WebOLead site is updated', 'webolead'), 'updated');
    6261        }
    6362        return $input;
  • webolead/trunk/languages/webolead-fr_FR.po

    r1437693 r1812877  
    11msgid ""
    22msgstr ""
    3 "Project-Id-Version: \n"
     3"Project-Id-Version: \n"
    44"POT-Creation-Date: \n"
    55"PO-Revision-Date: \n"
    66"Last-Translator: manooweb <ehesry@gmail.com>\n"
    7 "Language-Team: \n"
     7"Language-Team: \n"
    88"MIME-Version: 1.0\n"
    9 "Content-Type: text/plain; charset=iso-8859-1\n"
     9"Content-Type: text/plain; charset=\n"
    1010"Content-Transfer-Encoding: 8bit\n"
     11
     12
     13
    1114
    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."
     15msgid "Easily install WebOLead code on your website."
    1516msgstr "Installez simplement le script WebOLead sur votre site web."
    1617
     
    1819msgstr "Paramètres de WebOLead"
    1920
    20 msgid "Enter your WebOLead site Id here."
    21 msgstr "Renseignez l'identifiant WebOLead de votre site"
     21msgid "Enter your WebOLead site I here."
     22msgstr "Renseignez l'identifiant WebOLead de votre site"
    2223
    23 msgid "WebOLead site id :"
     24msgid "WebOLead site :"
    2425msgstr "Id WebOLead de votre site :"
    2526
    26 msgid "WebOLead script example"
    27 msgstr "Exemple de script WebOLead"
     27msgid "WebOLead example"
     28msgstr "Exemple de WebOLead"
    2829
    29 msgid "You can find WebOLead site id in WebOLead script as in this example below"
    30 msgstr "Vous pouvez retrouver l'identifiant WebOLead de votre site dans le script WebOLead comme dans l'exemple ci-dessous"
     30msgid "You can find WebOLead site as in this example below"
     31msgstr "Vous pouvez retrouver l'identifiant WebOLead de votre site dans le WebOLead comme dans l'exemple ci-dessous"
    3132
    32 msgid "WebOLead site id must be numeric"
     33msgid "WebOLead site must be numeric"
    3334msgstr "L'identifiant WebOlead du site doit être un nombre"
    3435
    35 msgid "WebOLead site id is updated"
    36 msgstr "L'identifiant WebOlead du site a bien été enregistré"
     36msgid "WebOLead site is updated"
     37msgstr "L'identifiant WebOlead du site a bien été "
    3738
    3839msgid "Save settings"
  • webolead/trunk/languages/webolead.pot

    r1437693 r1812877  
    1 msgid ""
    2 msgstr ""
    31"Project-Id-Version: WebOLead 1.0.0\n"
    42"POT-Creation-Date: 2016-06-12 18:34+0100\n"
     
    1412"X-Poedit-Country: FRANCE\n"
    1513
    16 msgid "simply install WebOLead script on your website."
     14msgid " on your website."
    1715msgstr ""
    1816
     
    2018msgstr ""
    2119
    22 msgid "Enter your WebOLead site Id here."
     20msgid "Enter your WebOLead site I here."
    2321msgstr ""
    2422
    25 msgid "WebOLead site id :"
     23msgid "WebOLead site :"
    2624msgstr ""
    2725
    28 msgid "WebOLead script example"
     26msgid "WebOLead example"
    2927msgstr ""
    3028
    31 msgid "You can find WebOLead site id in WebOLead script as in this example below"
     29msgid "You can find WebOLead site as in this example below"
    3230msgstr ""
    3331
    34 msgid "WebOLead site id must be numeric"
     32msgid "WebOLead site must be numeric"
    3533msgstr ""
    3634
    37 msgid "WebOLead site id is updated"
     35msgid "WebOLead site is updated"
    3836msgstr ""
    3937
  • webolead/trunk/readme.txt

    r1500477 r1812877  
    44Tags: WebOLead, Call to action form
    55Requires at least: 4.0.0
    6 Tested up to: 4.6.1
    7 Stable tag: 1.0.1
     6Tested up to: 4.
     7Stable tag: 1.
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2828== Changelog ==
    2929
     30
     31
     32
     33
     34
     35
    3036= 1.0.1 =
    3137* Bump to WordPress 4.6
  • webolead/trunk/webolead.php

    r1437693 r1812877  
    44  Plugin Name: WebOLead
    55  Plugin URI: http://www.webolead.com
    6   Description: simply install WebOLead script on your website.
     6  Description: on your website.
    77  Version: 1.0.0
    88  Author: WebOLead
     
    1616
    1717    public function __construct() {
     18
     19
     20
     21
     22
    1823        if (is_admin()) {
    1924            require_once(plugin_dir_path(__FILE__) . '/includes/wol-admin.php');
Note: See TracChangeset for help on using the changeset viewer.