Update translations + add transifex

This commit is contained in:
Jérémy Moreau 2015-09-18 14:26:02 +02:00
parent 468b525514
commit d97ba02f1d
7 changed files with 186 additions and 239 deletions

8
.tx/config Normal file
View File

@ -0,0 +1,8 @@
[main]
host = https://www.transifex.com
[glpi-plugin-example.glpipot-6]
file_filter = locales/<lang>.po
source_file = locales/glpi.pot
source_lang = en

Binary file not shown.

View File

@ -1,37 +0,0 @@
<?php
/*
* @version $Id: HEADER 15930 2011-10-25 10:47:55Z jmd $
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2011 by the INDEPNET Development Team.
http://indepnet.net/ http://glpi-project.org
-------------------------------------------------------------------------
LICENSE
This file is part of GLPI.
GLPI is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
GLPI is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GLPI. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
*/
// ----------------------------------------------------------------------
// Original Author of file:
// Purpose of file:
// ----------------------------------------------------------------------
$LANG['plugin_example']["test"] = "english test";
$LANG['plugin_example']["name"] = "Name";
?>

View File

@ -3,175 +3,188 @@
# This file is distributed under the same license as the PACKAGE package. # This file is distributed under the same license as the PACKAGE package.
# #
# Translators: # Translators:
# Jérémy MOREAU <jmoreau.dev@gmail.com>, 2015
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: GLPI Project - example plugin\n" "Project-Id-Version: GLPI Plugin - Example\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-20 10:59+0100\n" "POT-Creation-Date: 2012-10-16 11:22+0200\n"
"PO-Revision-Date: 2011-12-20 09:32+0000\n" "PO-Revision-Date: 2015-09-18 12:08+0000\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: Jérémy MOREAU <jmoreau.dev@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: English (United Kingdom) (http://www.transifex.com/teclib/glpi-plugin-example/language/en_GB/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Language: en_GB\n" "Language: en_GB\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: config.php:49 #: config.php:48
msgid "This is the plugin config page" msgid "This is the plugin config page"
msgstr "" msgstr "This is the plugin config page"
#: hook.php:63 inc/dropdown.class.php:42 #: hook.php:62
msgid "Plugin Example Dropdown" msgid "Plugin Example Dropdown"
msgstr "" msgstr "Plugin Example Dropdown"
#: hook.php:79 #: hook.php:78
msgid "Example plugin" msgid "Example plugin"
msgstr "" msgstr "Example plugin"
#: hook.php:273 #: hook.php:273
msgid "plugin_example_DoIt" msgid "plugin_example_DoIt"
msgstr "" msgstr "plugin_example_DoIt"
#: hook.php:277
msgid "Add a document"
msgstr ""
#: hook.php:278 #: hook.php:278
msgid "Do Nothing - just for fun" msgid "Do Nothing - just for fun"
msgstr "" msgstr "Do Nothing - just for fun"
#: hook.php:294 hook.php:304 #: hook.php:294 hook.php:326
msgid "Write in item history"
msgstr "Write in item history"
#: hook.php:304
msgid "but do nothing :)" msgid "but do nothing :)"
msgstr "" msgstr "but do nothing :)"
#: hook.php:320 hook.php:335 #: hook.php:325 hook.php:346
msgid "Right it is the type I want..." msgid "Right it is the type I want..."
msgstr "" msgstr "Right it is the type I want..."
#: hook.php:321 hook.php:336 #: hook.php:347
msgid "But... I say I will do nothing for:" msgid "But... I say I will do nothing for:"
msgstr "" msgstr "But... I say I will do nothing for:"
#: hook.php:363 hook.php:374 #: hook.php:382 hook.php:393
msgid "Not really specific - Just for example" msgid "Not really specific - Just for example"
msgstr "" msgstr "Not really specific - Just for example"
#: hook.php:395 #: hook.php:414
msgid "Not really specific - Use your own dropdown - Just for example" msgid "Not really specific - Use your own dropdown - Just for example"
msgstr "" msgstr "Not really specific - Use your own dropdown - Just for example"
#: hook.php:418 #: hook.php:437
msgid "Pre Update Computer Hook" msgid "Pre Update Computer Hook"
msgstr "" msgstr "Pre Update Computer Hook"
#: hook.php:425 #: hook.php:444
#, php-format #, php-format
msgid "Update Computer Hook (%s)" msgid "Update Computer Hook (%s)"
msgstr "" msgstr "Update Computer Hook (%s)"
#: hook.php:433 #: hook.php:452
msgid "Empty Computer Hook" msgid "Empty Computer Hook"
msgstr "" msgstr "Empty Computer Hook"
#: hook.php:442 #: hook.php:461
msgid "Pre Delete Computer Hook" msgid "Pre Delete Computer Hook"
msgstr "" msgstr "Pre Delete Computer Hook"
#: hook.php:449 #: hook.php:468
msgid "Delete Computer Hook" msgid "Delete Computer Hook"
msgstr "" msgstr "Delete Computer Hook"
#: hook.php:458 #: hook.php:477
msgid "Pre Purge Computer Hook" msgid "Pre Purge Computer Hook"
msgstr "" msgstr "Pre Purge Computer Hook"
#: hook.php:465 #: hook.php:484
msgid "Purge Computer Hook" msgid "Purge Computer Hook"
msgstr "" msgstr "Purge Computer Hook"
#: hook.php:474 #: hook.php:493
msgid "Pre Restore Computer Hook" msgid "Pre Restore Computer Hook"
msgstr "" msgstr "Pre Restore Computer Hook"
#: hook.php:482 #: hook.php:501
msgid "Pre Restore Phone Hook" msgid "Pre Restore Phone Hook"
msgstr "" msgstr "Pre Restore Phone Hook"
#: hook.php:489 #: hook.php:508
msgid "Restore Computer Hook" msgid "Restore Computer Hook"
msgstr "" msgstr "Restore Computer Hook"
#. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the
#. destination ID #. destination ID
#: hook.php:497 #: hook.php:516
#, php-format #, php-format
msgid "Transfer Computer Hook %1$s %2$d -> %3$d" msgid "Transfer Computer Hook %1$s %2$d -> %3$d"
msgstr "" msgstr "Transfer Computer Hook %1$s %2$d -> %3$d"
#: hook.php:516 #: hook.php:652
msgid "test planning example 1" msgid "Example event"
msgstr "" msgstr "Example event"
#: hook.php:565 hook.php:575 hook.php:580 hook.php:588 #: hook.php:657
msgid "Test PLugin" msgid "Example datas"
msgstr "" msgstr "Example datas"
#: hook.php:581 #: setup.php:67
msgid "Test PLugin 2"
msgstr ""
#: hook.php:623
msgid "Plugin central action"
msgstr ""
#: hook.php:646
msgid "Plugin mailing action"
msgstr ""
#: setup.php:66
msgid "Test link" msgid "Test link"
msgstr "" msgstr "Test link"
#: setup.php:196 #: setup.php:201
msgid "Installed / not configured" msgid "Installed / not configured"
msgstr "" msgstr "Installed / not configured"
#: front/popup.php:48 #: inc/dropdown.class.php:42 inc/dropdown.class.php:44
msgid "Test rules engine" msgid "Plugin Example Dropdowns"
msgstr "" msgstr "Plugin Example Dropdowns"
#: front/popup.php:53 #: inc/example.class.php:102
msgid "Cache informations" msgid "Cron description for example"
msgstr "" msgstr "Cron description for example"
#: inc/example.class.php:76
msgid "Dropdown"
msgstr ""
#: inc/example.class.php:80
msgid "Serial number"
msgstr ""
#: inc/example.class.php:103 #: inc/example.class.php:103
msgid "Cron description for example"
msgstr ""
#: inc/example.class.php:104
msgid "Cron parameter for example" msgid "Cron parameter for example"
msgstr "" msgstr "Cron parameter for example"
#: inc/example.class.php:154 inc/example.class.php:157 #: inc/example.class.php:160 inc/example.class.php:166
#: inc/notificationtargetexample.class.php:45 #: inc/example.class.php:169 inc/notificationtargetexample.class.php:44
msgid "Example" msgid "Example"
msgstr "" msgstr "Example"
#: inc/ruletest.class.php:68 #: inc/example.class.php:173 inc/example.class.php:180
msgid "Software" msgid "Test PLugin"
msgstr "" msgstr "Test PLugin"
#: inc/ruletest.class.php:78 #: inc/example.class.php:174
msgid "Test PLugin 2"
msgstr "Test PLugin 2"
#: inc/example.class.php:192
msgid "Plugin Example on Phone"
msgstr "Plugin Example on Phone"
#: inc/example.class.php:196
msgid "Plugin central action"
msgstr "Plugin central action"
#: inc/example.class.php:219
msgid "Plugin mailing action"
msgstr "Plugin mailing action"
#: inc/example.class.php:225
msgid "First tab of Plugin example"
msgstr "First tab of Plugin example"
#: inc/example.class.php:227
msgid "Second tab of Plugin example"
msgstr "Second tab of Plugin example"
#. TRANS: %1$s is a class name, %2$d is an item ID
#: inc/example.class.php:233
#, php-format
msgid "Plugin example CLASS=%1$s id=%2$d"
msgstr "Plugin example CLASS=%1$s id=%2$d"
#: inc/example.class.php:262
msgid "test planning example 1"
msgstr "test planning example 1"
#: inc/example.class.php:322
msgid "History from plugin example"
msgstr "History from plugin example"
#: inc/ruletest.class.php:77
msgid "Category (class)" msgid "Category (class)"
msgstr "" msgstr "Category (class)"

Binary file not shown.

View File

@ -1,38 +0,0 @@
<?php
/*
* @version $Id: HEADER 15930 2011-10-25 10:47:55Z jmd $
-------------------------------------------------------------------------
GLPI - Gestionnaire Libre de Parc Informatique
Copyright (C) 2003-2011 by the INDEPNET Development Team.
http://indepnet.net/ http://glpi-project.org
-------------------------------------------------------------------------
LICENSE
This file is part of GLPI.
GLPI is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
GLPI is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GLPI. If not, see <http://www.gnu.org/licenses/>.
--------------------------------------------------------------------------
*/
// ----------------------------------------------------------------------
// Original Author of file:
// Purpose of file:
// ----------------------------------------------------------------------
$LANG['plugin_example']["test"] = "test français";
$LANG['plugin_example']["name"] = "Nom";
?>

View File

@ -3,20 +3,21 @@
# This file is distributed under the same license as the PACKAGE package. # This file is distributed under the same license as the PACKAGE package.
# #
# Translators: # Translators:
# DOMBRE Julien <moyo@indepnet.net>, 2011, 2012. # DOMBRE Julien <moyo@indepnet.net>, 2011-2012
# Jérémy MOREAU <jmoreau.dev@gmail.com>, 2015
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: GLPI Project - example plugin\n" "Project-Id-Version: GLPI Plugin - Example\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-05-29 15:05+0200\n" "POT-Creation-Date: 2012-10-16 11:22+0200\n"
"PO-Revision-Date: 2012-05-29 13:12+0000\n" "PO-Revision-Date: 2015-09-18 12:24+0000\n"
"Last-Translator: DOMBRE Julien <moyo@indepnet.net>\n" "Last-Translator: Jérémy MOREAU <jmoreau.dev@gmail.com>\n"
"Language-Team: French (France) (http://www.transifex.net/projects/p/GLPI_example/language/fr_FR/)\n" "Language-Team: French (France) (http://www.transifex.com/teclib/glpi-plugin-example/language/fr_FR/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Language: fr_FR\n" "Language: fr_FR\n"
"Plural-Forms: nplurals=2; plural=(n > 1)\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: config.php:48 #: config.php:48
msgid "This is the plugin config page" msgid "This is the plugin config page"
@ -30,105 +31,105 @@ msgstr "Dropdown du plugin example"
msgid "Example plugin" msgid "Example plugin"
msgstr "Plugin Example" msgstr "Plugin Example"
#: hook.php:272 #: hook.php:273
msgid "plugin_example_DoIt" msgid "plugin_example_DoIt"
msgstr "" msgstr "Effectuer l'action"
#: hook.php:276 #: hook.php:278
msgid "Add a document"
msgstr "Ajouter un document"
#: hook.php:277
msgid "Do Nothing - just for fun" msgid "Do Nothing - just for fun"
msgstr "Ne fait rien - just pour le fun" msgstr "Ne fait rien - just pour le fun"
#: hook.php:293 hook.php:325 #: hook.php:294 hook.php:326
msgid "Write in item history" msgid "Write in item history"
msgstr "Ecrit un élément d'historique" msgstr "Ecrit un élément d'historique"
#: hook.php:303 #: hook.php:304
msgid "but do nothing :)" msgid "but do nothing :)"
msgstr "mais ne fait rien" msgstr "mais ne fait rien"
#: hook.php:324 hook.php:345 #: hook.php:325 hook.php:346
msgid "Right it is the type I want..." msgid "Right it is the type I want..."
msgstr "" msgstr "Bien, c'est le type que je voulais..."
#: hook.php:346 #: hook.php:347
msgid "But... I say I will do nothing for:" msgid "But... I say I will do nothing for:"
msgstr "" msgstr "Cependant, j'ai dit que je ne ferais rien pour :"
#: hook.php:381 hook.php:392 #: hook.php:382 hook.php:393
msgid "Not really specific - Just for example" msgid "Not really specific - Just for example"
msgstr "" msgstr "Pas vraiment spécifique - Juste pour l'exemple"
#: hook.php:413 #: hook.php:414
msgid "Not really specific - Use your own dropdown - Just for example" msgid "Not really specific - Use your own dropdown - Just for example"
msgstr "" msgstr "Pas vraiment spécifique - Utilisez votre propre liste déroulante - Juste pour l'exemple"
#: hook.php:436 #: hook.php:437
msgid "Pre Update Computer Hook" msgid "Pre Update Computer Hook"
msgstr "" msgstr "Hook avant mise à jour d'un Ordinateur"
#: hook.php:443 #: hook.php:444
#, php-format #, php-format
msgid "Update Computer Hook (%s)" msgid "Update Computer Hook (%s)"
msgstr "" msgstr "Hook de mise à jour d'un Ordinateur (%s)"
#: hook.php:451 #: hook.php:452
msgid "Empty Computer Hook" msgid "Empty Computer Hook"
msgstr "" msgstr ""
#: hook.php:460 #: hook.php:461
msgid "Pre Delete Computer Hook" msgid "Pre Delete Computer Hook"
msgstr "" msgstr ""
#: hook.php:467 #: hook.php:468
msgid "Delete Computer Hook" msgid "Delete Computer Hook"
msgstr "" msgstr ""
#: hook.php:476 #: hook.php:477
msgid "Pre Purge Computer Hook" msgid "Pre Purge Computer Hook"
msgstr "" msgstr ""
#: hook.php:483 #: hook.php:484
msgid "Purge Computer Hook" msgid "Purge Computer Hook"
msgstr "" msgstr ""
#: hook.php:492 #: hook.php:493
msgid "Pre Restore Computer Hook" msgid "Pre Restore Computer Hook"
msgstr "" msgstr ""
#: hook.php:500 #: hook.php:501
msgid "Pre Restore Phone Hook" msgid "Pre Restore Phone Hook"
msgstr "" msgstr ""
#: hook.php:507 #: hook.php:508
msgid "Restore Computer Hook" msgid "Restore Computer Hook"
msgstr "" msgstr ""
#. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the
#. destination ID #. destination ID
#: hook.php:515 #: hook.php:516
#, php-format #, php-format
msgid "Transfer Computer Hook %1$s %2$d -> %3$d" msgid "Transfer Computer Hook %1$s %2$d -> %3$d"
msgstr "" msgstr ""
#: hook.php:652
msgid "Example event"
msgstr "Événement exemple"
#: hook.php:657
msgid "Example datas"
msgstr "Données d'exemple"
#: setup.php:67 #: setup.php:67
msgid "Test link" msgid "Test link"
msgstr "" msgstr "Lien de test"
#: setup.php:198 #: setup.php:201
msgid "Installed / not configured" msgid "Installed / not configured"
msgstr "" msgstr "Installer / non configurer"
#: front/popup.php:52
msgid "Cache informations"
msgstr ""
#: inc/dropdown.class.php:42 inc/dropdown.class.php:44 #: inc/dropdown.class.php:42 inc/dropdown.class.php:44
msgid "Plugin Example Dropdowns" msgid "Plugin Example Dropdowns"
msgstr "" msgstr "Listes déroulantes du plugin Exemple"
#: inc/example.class.php:102 #: inc/example.class.php:102
msgid "Cron description for example" msgid "Cron description for example"
@ -138,53 +139,53 @@ msgstr ""
msgid "Cron parameter for example" msgid "Cron parameter for example"
msgstr "" msgstr ""
#: inc/example.class.php:158 inc/example.class.php:164 #: inc/example.class.php:160 inc/example.class.php:166
#: inc/example.class.php:167 inc/notificationtargetexample.class.php:44 #: inc/example.class.php:169 inc/notificationtargetexample.class.php:44
msgid "Example" msgid "Example"
msgstr "Exemple" msgstr "Exemple"
#: inc/example.class.php:171 inc/example.class.php:178 #: inc/example.class.php:173 inc/example.class.php:180
msgid "Test PLugin" msgid "Test PLugin"
msgstr "Test plugin" msgstr "Test plugin"
#: inc/example.class.php:172 #: inc/example.class.php:174
msgid "Test PLugin 2" msgid "Test PLugin 2"
msgstr "Test plugin 2" msgstr "Test plugin 2"
#: inc/example.class.php:190 #: inc/example.class.php:192
msgid "Plugin Example on Phone" msgid "Plugin Example on Phone"
msgstr "" msgstr "Plugin Exemple sur les Téléphones"
#: inc/example.class.php:194 #: inc/example.class.php:196
msgid "Plugin central action" msgid "Plugin central action"
msgstr "" msgstr ""
#: inc/example.class.php:217 #: inc/example.class.php:219
msgid "Plugin mailing action" msgid "Plugin mailing action"
msgstr "" msgstr ""
#: inc/example.class.php:223
msgid "First tab of Plugin example"
msgstr ""
#: inc/example.class.php:225 #: inc/example.class.php:225
msgid "First tab of Plugin example"
msgstr "Premier onglet du plugin Exemple"
#: inc/example.class.php:227
msgid "Second tab of Plugin example" msgid "Second tab of Plugin example"
msgstr "" msgstr "Deuxième onglet du plugin Exemple"
#. TRANS: %1$s is a class name, %2$d is an item ID #. TRANS: %1$s is a class name, %2$d is an item ID
#: inc/example.class.php:231 #: inc/example.class.php:233
#, php-format #, php-format
msgid "Plugin example CLASS=%1$s id=%2$d" msgid "Plugin example CLASS=%1$s id=%2$d"
msgstr "" msgstr ""
#: inc/example.class.php:260 #: inc/example.class.php:262
msgid "test planning example 1" msgid "test planning example 1"
msgstr "" msgstr ""
#: inc/example.class.php:320 #: inc/example.class.php:322
msgid "History from plugin example" msgid "History from plugin example"
msgstr "" msgstr "Historique du plugin Exemple"
#: inc/ruletest.class.php:77 #: inc/ruletest.class.php:77
msgid "Category (class)" msgid "Category (class)"
msgstr "" msgstr "Categorie (classe)"