diff options
author | Julien Viard de Galbert <julien@vdg.blogsite.org> | 2014-01-27 22:38:01 +0100 |
---|---|---|
committer | Julien Viard de Galbert <julien@vdg.blogsite.org> | 2014-01-27 22:38:01 +0100 |
commit | e143604d8aad267a2517556ce2e9cc1c105956d1 (patch) | |
tree | 1c2d0df2a89fb76940fc0f1966ebd4ed594aa279 /gengo-to-polylang.php | |
parent | 7562d2e64e6a9febd05bc05b4db76ed95d29c24e (diff) |
Minor changes
Diffstat (limited to 'gengo-to-polylang.php')
-rw-r--r-- | gengo-to-polylang.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gengo-to-polylang.php b/gengo-to-polylang.php index 2188c6b..2fd998a 100644 --- a/gengo-to-polylang.php +++ b/gengo-to-polylang.php @@ -64,7 +64,7 @@ class Gengo_To_Polylang { */ public function add_menus() { load_plugin_textdomain('gengo-to-polylang', false, basename(dirname(__FILE__)).'/languages'); // plugin i18n - add_submenu_page('tools.php', $title = __('Gengo importer', 'gengo-to-polylang'), $title, 'manage_options', 'gengo-importer', array(&$this, 'tools_page')); + add_submenu_page('tools.php', $title = __('Gengo PLL importer', 'gengo-to-polylang'), $title, 'manage_options', 'gengo-importer', array(&$this, 'tools_page')); } /* @@ -108,7 +108,7 @@ class Gengo_To_Polylang { <div class="wrap"> <?php screen_icon('tools'); ?> -<h2>Gengo Importer</h2> +<h2>Gengo PLL Importer</h2> <div class="form-wrap"> <form id="import" method="post" action="admin.php?page=gengo-importer"> <input type="hidden" name="pll_action" value="import" /><?php @@ -282,7 +282,7 @@ class Gengo_To_Polylang { //$error_string = $term_tax->get_error_message(); //echo '<div id="message" class="error"><p>' . $error_string . '</p></div>'; // assume already existe, so set both language to it - // pll add -lang to slug... + // NOTE here pll add -<lang> to slug ... instead of double linking ! $tid=$r->term_id; $this->model->set_term_language($r->term_id, $r->code); $addlang=false; |