I18n: fix CLI commands messages
This commit is contained in:
parent
5bd930c838
commit
9213ae076f
10 changed files with 164 additions and 326 deletions
|
@ -163,7 +163,8 @@ msgid "Extract messages that need to be translated"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:132
|
#: I18n.php:132
|
||||||
msgid "This command could be used to generate/update lang/messages.pot file."
|
msgid ""
|
||||||
|
"This command could be used to generate/update locales/messages.pot file."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:138
|
#: I18n.php:138
|
||||||
|
@ -172,20 +173,20 @@ msgstr ""
|
||||||
|
|
||||||
#: I18n.php:140
|
#: I18n.php:140
|
||||||
msgid ""
|
msgid ""
|
||||||
"This command could be used to init/update PO files in lang/*/LC_MESSAGES "
|
"This command could be used to init/update PO files in locales/*/LC_MESSAGES "
|
||||||
"directories."
|
"directories."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:147
|
#: I18n.php:147
|
||||||
msgid ""
|
msgid ""
|
||||||
"Compile messages from existing translation PO lang files to corresponding MO "
|
"Compile messages from existing translation PO lang files to corresponding MO "
|
||||||
"files and JSON catalogs"
|
"files and JS catalogs"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:152
|
#: I18n.php:152
|
||||||
msgid ""
|
msgid ""
|
||||||
"This command could be used to compile PO files in lang/*/LC_MESSAGES "
|
"This command could be used to compile PO files in locales/*/LC_MESSAGES "
|
||||||
"directories to MO files and as JSON catalogs in public_html/translations."
|
"directories to MO files and as JS catalogs in locales directory."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:277
|
#: I18n.php:277
|
||||||
|
@ -274,23 +275,22 @@ msgstr ""
|
||||||
|
|
||||||
#: I18n.php:538
|
#: I18n.php:538
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "JSON catalog symlink for %s -> %s created (%s)"
|
msgid "JS catalog symlink for %s -> %s created (%s)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:542
|
#: I18n.php:542
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Fail to create JSON catalog symlink for %s -> %s (%s)"
|
msgid "Fail to create JS catalog symlink for %s -> %s (%s)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:548
|
#: I18n.php:548
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "JSON catalog symlink for %s -> %s already exist (%s)"
|
msgid "JS catalog symlink for %s -> %s already exist (%s)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:553
|
#: I18n.php:553
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid ""
|
msgid "JS catalog file for %s already exist, but it's not a symlink to %s (%s)"
|
||||||
"JSON catalog file for %s already exist, but it's not a symlink to %s (%s)"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:588
|
#: I18n.php:588
|
||||||
|
@ -300,17 +300,17 @@ msgstr ""
|
||||||
|
|
||||||
#: I18n.php:598
|
#: I18n.php:598
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Fail to open %s JSON catalog file in write mode (%s)."
|
msgid "Fail to open %s JS catalog file in write mode (%s)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:603
|
#: I18n.php:603
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Fail to write %s JSON catalog in file (%s)."
|
msgid "Fail to write %s JS catalog in file (%s)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:608
|
#: I18n.php:608
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s JSON catalog writed (%s)."
|
msgid "%s JS catalog writed (%s)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: App.php:122
|
#: App.php:122
|
||||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -1,7 +1,7 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"POT-Creation-Date: 2023-02-13 02:32+0100\n"
|
"POT-Creation-Date: 2023-02-13 02:58+0100\n"
|
||||||
"PO-Revision-Date: \n"
|
"PO-Revision-Date: \n"
|
||||||
"Last-Translator: Benjamin Renard <brenard@zionetrix.net>\n"
|
"Last-Translator: Benjamin Renard <brenard@zionetrix.net>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
|
@ -196,10 +196,11 @@ msgid "Extract messages that need to be translated"
|
||||||
msgstr "Extraire les messages devant être traduit"
|
msgstr "Extraire les messages devant être traduit"
|
||||||
|
|
||||||
#: I18n.php:132
|
#: I18n.php:132
|
||||||
msgid "This command could be used to generate/update lang/messages.pot file."
|
msgid ""
|
||||||
|
"This command could be used to generate/update locales/messages.pot file."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Cette commande peut-être utilisée pour générer/mettre à jour le fichier lang/"
|
"Cette commande peut-être utilisée pour générer/mettre à jour le fichier "
|
||||||
"messages.pot."
|
"locales/messages.pot."
|
||||||
|
|
||||||
#: I18n.php:138
|
#: I18n.php:138
|
||||||
msgid "Update messages in translation PO lang files"
|
msgid "Update messages in translation PO lang files"
|
||||||
|
@ -208,28 +209,27 @@ msgstr ""
|
||||||
|
|
||||||
#: I18n.php:140
|
#: I18n.php:140
|
||||||
msgid ""
|
msgid ""
|
||||||
"This command could be used to init/update PO files in lang/*/LC_MESSAGES "
|
"This command could be used to init/update PO files in locales/*/LC_MESSAGES "
|
||||||
"directories."
|
"directories."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Cette commande peut-être utilisée pour initialiser/mettre à jour les "
|
"Cette commande peut-être utilisée pour initialiser/mettre à jour les "
|
||||||
"fichiers PO les dossiers lang/*/LC_MESSAGES."
|
"fichiers PO dans les dossiers locales/*/LC_MESSAGES."
|
||||||
|
|
||||||
#: I18n.php:147
|
#: I18n.php:147
|
||||||
msgid ""
|
msgid ""
|
||||||
"Compile messages from existing translation PO lang files to corresponding MO "
|
"Compile messages from existing translation PO lang files to corresponding MO "
|
||||||
"files and JSON catalogs"
|
"files and JS catalogs"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Compiler les messages depuis les fichiers PO de traduction existants vers "
|
"Compiler les messages depuis les fichiers PO de traduction existants vers "
|
||||||
"les fichiers MO et les catalogues JSON correspondant"
|
"les fichiers MO et les catalogues JS correspondant"
|
||||||
|
|
||||||
#: I18n.php:152
|
#: I18n.php:152
|
||||||
msgid ""
|
msgid ""
|
||||||
"This command could be used to compile PO files in lang/*/LC_MESSAGES "
|
"This command could be used to compile PO files in locales/*/LC_MESSAGES "
|
||||||
"directories to MO files and as JSON catalogs in public_html/translations."
|
"directories to MO files and as JS catalogs in locales directory."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Cette commande peut-être utilisée pour compiler les fichiers PO dans les "
|
"Cette commande peut-être utilisée pour compiler les fichiers PO dans les "
|
||||||
"dossiers lang/*/LC_MESSAGES en fichiers MO and en tant que catalogues JSON "
|
"dossiers locales/*/LC_MESSAGES and les catalogues JS dans le dossier locales."
|
||||||
"dans public_html/translations."
|
|
||||||
|
|
||||||
#: I18n.php:277
|
#: I18n.php:277
|
||||||
msgid "Fail to list EesyPHP PHP files."
|
msgid "Fail to list EesyPHP PHP files."
|
||||||
|
@ -336,26 +336,25 @@ msgstr "Lien symbolique d'alias de langue trouvé : %s -> %s"
|
||||||
|
|
||||||
#: I18n.php:538
|
#: I18n.php:538
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "JSON catalog symlink for %s -> %s created (%s)"
|
msgid "JS catalog symlink for %s -> %s created (%s)"
|
||||||
msgstr "Lien symbolique de catalogue JSON pour %s -> %s créé (%s)"
|
msgstr "Lien symbolique de catalogue JS pour %s -> %s créé (%s)"
|
||||||
|
|
||||||
#: I18n.php:542
|
#: I18n.php:542
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Fail to create JSON catalog symlink for %s -> %s (%s)"
|
msgid "Fail to create JS catalog symlink for %s -> %s (%s)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Impossible de créer le lien symbolique de catalogue JSON pour %s -> %s (%s)"
|
"Impossible de créer le lien symbolique de catalogue JS pour %s -> %s (%s)"
|
||||||
|
|
||||||
#: I18n.php:548
|
#: I18n.php:548
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "JSON catalog symlink for %s -> %s already exist (%s)"
|
msgid "JS catalog symlink for %s -> %s already exist (%s)"
|
||||||
msgstr "Le lien symbolique du catalogue JSON pour %s -> %s existe déjà (%s)"
|
msgstr "Le lien symbolique du catalogue JS pour %s -> %s existe déjà (%s)"
|
||||||
|
|
||||||
#: I18n.php:553
|
#: I18n.php:553
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid ""
|
msgid "JS catalog file for %s already exist, but it's not a symlink to %s (%s)"
|
||||||
"JSON catalog file for %s already exist, but it's not a symlink to %s (%s)"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Le catalogue JSON pour %s existe, mais il ne s'agit par d'un lien symbolique "
|
"Le catalogue JS pour %s existe, mais il ne s'agit par d'un lien symbolique "
|
||||||
"vers %s (%s)"
|
"vers %s (%s)"
|
||||||
|
|
||||||
#: I18n.php:588
|
#: I18n.php:588
|
||||||
|
@ -367,18 +366,18 @@ msgstr ""
|
||||||
|
|
||||||
#: I18n.php:598
|
#: I18n.php:598
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Fail to open %s JSON catalog file in write mode (%s)."
|
msgid "Fail to open %s JS catalog file in write mode (%s)."
|
||||||
msgstr "Impossible d'ouvrir le catalogue JSON %s en mode écriture (%s)."
|
msgstr "Impossible d'ouvrir le catalogue JS %s en mode écriture (%s)."
|
||||||
|
|
||||||
#: I18n.php:603
|
#: I18n.php:603
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Fail to write %s JSON catalog in file (%s)."
|
msgid "Fail to write %s JS catalog in file (%s)."
|
||||||
msgstr "Impossible d'écrire le fichier du catalogue JSON %s (%s)."
|
msgstr "Impossible d'écrire le fichier du catalogue JS %s (%s)."
|
||||||
|
|
||||||
#: I18n.php:608
|
#: I18n.php:608
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s JSON catalog writed (%s)."
|
msgid "%s JS catalog writed (%s)."
|
||||||
msgstr "Catalogue JSON %s créé (%s)."
|
msgstr "Catalogue JS %s créé (%s)."
|
||||||
|
|
||||||
#: App.php:122
|
#: App.php:122
|
||||||
msgid "Hello world!"
|
msgid "Hello world!"
|
||||||
|
@ -530,8 +529,8 @@ msgstr ""
|
||||||
msgid "Invalid element identifier."
|
msgid "Invalid element identifier."
|
||||||
msgstr "Identifiant d'élément invalide."
|
msgstr "Identifiant d'élément invalide."
|
||||||
|
|
||||||
#: includes/url-helpers.php:13 includes/url-public.php:220
|
#: includes/url-helpers.php:13 includes/url-public.php:236
|
||||||
#: includes/url-public.php:242
|
#: includes/url-public.php:263
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Item #% s not found."
|
msgid "Item #% s not found."
|
||||||
msgstr "L'élément #%s est introuvable."
|
msgstr "L'élément #%s est introuvable."
|
||||||
|
@ -552,11 +551,11 @@ msgstr "Refusé"
|
||||||
msgid "Archived"
|
msgid "Archived"
|
||||||
msgstr "Archivé"
|
msgstr "Archivé"
|
||||||
|
|
||||||
#: includes/url-public.php:33
|
#: includes/url-public.php:38
|
||||||
msgid "Any"
|
msgid "Any"
|
||||||
msgstr "Peu importe"
|
msgstr "Peu importe"
|
||||||
|
|
||||||
#: includes/url-public.php:91
|
#: includes/url-public.php:96
|
||||||
msgid ""
|
msgid ""
|
||||||
"An error occurred while listing the items. If the problem persists, please "
|
"An error occurred while listing the items. If the problem persists, please "
|
||||||
"contact support."
|
"contact support."
|
||||||
|
@ -564,25 +563,25 @@ msgstr ""
|
||||||
"Une erreur est survenue en listant les éléments. Si le problème persiste, "
|
"Une erreur est survenue en listant les éléments. Si le problème persiste, "
|
||||||
"merci de prendre contact avec le support."
|
"merci de prendre contact avec le support."
|
||||||
|
|
||||||
#: includes/url-public.php:106
|
#: includes/url-public.php:111
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr "Rechercher"
|
msgstr "Rechercher"
|
||||||
|
|
||||||
#: includes/url-public.php:128
|
#: includes/url-public.php:134
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Element %s"
|
msgid "Element %s"
|
||||||
msgstr "Élément %s"
|
msgstr "Élément %s"
|
||||||
|
|
||||||
#: includes/url-public.php:142
|
#: includes/url-public.php:153
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "The element '% s' has been created."
|
msgid "The element '% s' has been created."
|
||||||
msgstr "L'élément '%s' a bien été créé."
|
msgstr "L'élément '%s' a bien été créé."
|
||||||
|
|
||||||
#: includes/url-public.php:146
|
#: includes/url-public.php:157
|
||||||
msgid "An error occurred while saving this item."
|
msgid "An error occurred while saving this item."
|
||||||
msgstr "Une erreur est survenue en enregistrant cet élément."
|
msgstr "Une erreur est survenue en enregistrant cet élément."
|
||||||
|
|
||||||
#: includes/url-public.php:153
|
#: includes/url-public.php:164
|
||||||
msgid ""
|
msgid ""
|
||||||
"There are errors preventing this item from being saved. Please correct them "
|
"There are errors preventing this item from being saved. Please correct them "
|
||||||
"before attempting to add this item."
|
"before attempting to add this item."
|
||||||
|
@ -590,29 +589,29 @@ msgstr ""
|
||||||
"Des erreurs empêchent l'enregistrement de cet élément. Merci de les corriger "
|
"Des erreurs empêchent l'enregistrement de cet élément. Merci de les corriger "
|
||||||
"avant de tenter d'ajouter cet élément."
|
"avant de tenter d'ajouter cet élément."
|
||||||
|
|
||||||
#: includes/url-public.php:160
|
#: includes/url-public.php:171
|
||||||
msgid "New"
|
msgid "New"
|
||||||
msgstr "Nouveau"
|
msgstr "Nouveau"
|
||||||
|
|
||||||
#: includes/url-public.php:170
|
#: includes/url-public.php:181
|
||||||
msgid "You cannot edit this item."
|
msgid "You cannot edit this item."
|
||||||
msgstr "Vous ne pouvez pas modifier cet élément."
|
msgstr "Vous ne pouvez pas modifier cet élément."
|
||||||
|
|
||||||
#: includes/url-public.php:183
|
#: includes/url-public.php:194
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "You have not made any changes to element '% s'."
|
msgid "You have not made any changes to element '% s'."
|
||||||
msgstr "Vous n'avez apporté aucune modification à l'élément '%s'."
|
msgstr "Vous n'avez apporté aucune modification à l'élément '%s'."
|
||||||
|
|
||||||
#: includes/url-public.php:187
|
#: includes/url-public.php:198
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "The element '% s' has been updated successfully."
|
msgid "The element '% s' has been updated successfully."
|
||||||
msgstr "L'élément '%s' a bien été mise à jour."
|
msgstr "L'élément '%s' a bien été mise à jour."
|
||||||
|
|
||||||
#: includes/url-public.php:191
|
#: includes/url-public.php:202
|
||||||
msgid "An error occurred while updating this item."
|
msgid "An error occurred while updating this item."
|
||||||
msgstr "Une erreur est survenue en mettant à jour cet élément."
|
msgstr "Une erreur est survenue en mettant à jour cet élément."
|
||||||
|
|
||||||
#: includes/url-public.php:199
|
#: includes/url-public.php:210
|
||||||
msgid ""
|
msgid ""
|
||||||
"There are errors preventing this item from being saved. Please correct them "
|
"There are errors preventing this item from being saved. Please correct them "
|
||||||
"before attempting to save your changes."
|
"before attempting to save your changes."
|
||||||
|
@ -620,38 +619,38 @@ msgstr ""
|
||||||
"Des erreurs empêchent l'enregistrement de cet élément. Merci de les corriger "
|
"Des erreurs empêchent l'enregistrement de cet élément. Merci de les corriger "
|
||||||
"avant de tenter d'enregistrer vos modifications."
|
"avant de tenter d'enregistrer vos modifications."
|
||||||
|
|
||||||
#: includes/url-public.php:211
|
#: includes/url-public.php:222
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Element %s: Modification"
|
msgid "Element %s: Modification"
|
||||||
msgstr "Élément %s : Modification"
|
msgstr "Élément %s : Modification"
|
||||||
|
|
||||||
#: includes/url-public.php:224
|
#: includes/url-public.php:240
|
||||||
msgid "This item is already archived."
|
msgid "This item is already archived."
|
||||||
msgstr "Cet élément est déjà archivé."
|
msgstr "Cet élément est déjà archivé."
|
||||||
|
|
||||||
#: includes/url-public.php:227
|
#: includes/url-public.php:243
|
||||||
msgid "You cannot archive this item."
|
msgid "You cannot archive this item."
|
||||||
msgstr "Vous ne pouvez pas archiver cet élément."
|
msgstr "Vous ne pouvez pas archiver cet élément."
|
||||||
|
|
||||||
#: includes/url-public.php:230
|
#: includes/url-public.php:246
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "The element '% s' has been archived successfully."
|
msgid "The element '% s' has been archived successfully."
|
||||||
msgstr "L'élément '%s' a bien été archivé."
|
msgstr "L'élément '%s' a bien été archivé."
|
||||||
|
|
||||||
#: includes/url-public.php:233
|
#: includes/url-public.php:249
|
||||||
msgid "An error occurred while archiving this item."
|
msgid "An error occurred while archiving this item."
|
||||||
msgstr "Une erreur est survenue en archivant cet élément."
|
msgstr "Une erreur est survenue en archivant cet élément."
|
||||||
|
|
||||||
#: includes/url-public.php:245
|
#: includes/url-public.php:266
|
||||||
msgid "You cannot delete this item."
|
msgid "You cannot delete this item."
|
||||||
msgstr "Vous ne pouvez pas supprimer cet élément."
|
msgstr "Vous ne pouvez pas supprimer cet élément."
|
||||||
|
|
||||||
#: includes/url-public.php:248
|
#: includes/url-public.php:269
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "The element '% s' has been deleted successfully."
|
msgid "The element '% s' has been deleted successfully."
|
||||||
msgstr "L'élément '%s' a bien été supprimé."
|
msgstr "L'élément '%s' a bien été supprimé."
|
||||||
|
|
||||||
#: includes/url-public.php:251
|
#: includes/url-public.php:272
|
||||||
msgid "An error occurred while deleting this item."
|
msgid "An error occurred while deleting this item."
|
||||||
msgstr "Une erreur est survenue en supprimant cet élément."
|
msgstr "Une erreur est survenue en supprimant cet élément."
|
||||||
|
|
||||||
|
@ -827,6 +826,27 @@ msgstr ""
|
||||||
"fichier <em>homepage.tpl</em> pour l'écraser. Vous pouvez également écraser "
|
"fichier <em>homepage.tpl</em> pour l'écraser. Vous pouvez également écraser "
|
||||||
"le gestionnaire de l'URL racine de l'application web."
|
"le gestionnaire de l'URL racine de l'application web."
|
||||||
|
|
||||||
|
#~ msgid ""
|
||||||
|
#~ "This command could be used to generate/update lang/messages.pot file."
|
||||||
|
#~ msgstr ""
|
||||||
|
#~ "Cette commande peut-être utilisée pour générer/mettre à jour le fichier "
|
||||||
|
#~ "lang/messages.pot."
|
||||||
|
|
||||||
|
#~ msgid ""
|
||||||
|
#~ "This command could be used to init/update PO files in lang/*/LC_MESSAGES "
|
||||||
|
#~ "directories."
|
||||||
|
#~ msgstr ""
|
||||||
|
#~ "Cette commande peut-être utilisée pour initialiser/mettre à jour les "
|
||||||
|
#~ "fichiers PO les dossiers lang/*/LC_MESSAGES."
|
||||||
|
|
||||||
|
#~ msgid ""
|
||||||
|
#~ "This command could be used to compile PO files in lang/*/LC_MESSAGES "
|
||||||
|
#~ "directories to MO files and as JS catalogs in public_html/translations."
|
||||||
|
#~ msgstr ""
|
||||||
|
#~ "Cette commande peut-être utilisée pour compiler les fichiers PO dans les "
|
||||||
|
#~ "dossiers lang/*/LC_MESSAGES en fichiers MO and en tant que catalogues JS "
|
||||||
|
#~ "dans public_html/translations."
|
||||||
|
|
||||||
#, php-format
|
#, php-format
|
||||||
#~ msgid "Fail to list JS files in '%s' static directory."
|
#~ msgid "Fail to list JS files in '%s' static directory."
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"POT-Creation-Date: 2023-02-13 02:32+0100\n"
|
"POT-Creation-Date: 2023-02-13 03:00+0100\n"
|
||||||
"PO-Revision-Date: 2023-02-13 02:32+0100\n"
|
"PO-Revision-Date: 2023-02-13 03:00+0100\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"
|
|
@ -1,48 +0,0 @@
|
||||||
#: /home/brenard/dev/eesyphp/public_html/js/myconfirm.js:4
|
|
||||||
#: /home/brenard/dev/eesyphp/public_html/js/myconfirm.js:171
|
|
||||||
#: /home/brenard/dev/eesyphp/public_html/js/myconfirm.js:200
|
|
||||||
msgid "Confirmation"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/public_html/js/myconfirm.js:5
|
|
||||||
msgid "Do you confirm?"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/public_html/js/myconfirm.js:11
|
|
||||||
#: /home/brenard/dev/eesyphp/public_html/js/myconfirm.js:108
|
|
||||||
msgid "Cancel"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/public_html/js/myconfirm.js:17
|
|
||||||
#: /home/brenard/dev/eesyphp/public_html/js/myconfirm.js:114
|
|
||||||
msgid "Validate"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/public_html/js/myconfirm.js:44
|
|
||||||
msgid "Error"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/public_html/js/myconfirm.js:52
|
|
||||||
msgid "OK"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/public_html/js/myconfirm.js:91
|
|
||||||
msgid "Question"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/public_html/js/myconfirm.js:92
|
|
||||||
msgid "Please enter your answer below:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/public_html/js/myconfirm.js:143
|
|
||||||
msgid "Please wait"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/public_html/js/myconfirm.js:144
|
|
||||||
msgid "Please wait while your request is being processed."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/public_html/js/myconfirm.js:172
|
|
||||||
#: /home/brenard/dev/eesyphp/public_html/js/myconfirm.js:201
|
|
||||||
msgid "Are you sure?"
|
|
||||||
msgstr ""
|
|
|
@ -1,7 +1,7 @@
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"POT-Creation-Date: 2023-02-13 02:32+0100\n"
|
"POT-Creation-Date: 2023-02-13 03:00+0100\n"
|
||||||
"PO-Revision-Date: 2023-02-13 02:32+0100\n"
|
"PO-Revision-Date: 2023-02-13 03:00+0100\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"
|
||||||
|
@ -171,7 +171,8 @@ msgid "Extract messages that need to be translated"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:132
|
#: I18n.php:132
|
||||||
msgid "This command could be used to generate/update lang/messages.pot file."
|
msgid ""
|
||||||
|
"This command could be used to generate/update locales/messages.pot file."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:138
|
#: I18n.php:138
|
||||||
|
@ -180,20 +181,20 @@ msgstr ""
|
||||||
|
|
||||||
#: I18n.php:140
|
#: I18n.php:140
|
||||||
msgid ""
|
msgid ""
|
||||||
"This command could be used to init/update PO files in lang/*/LC_MESSAGES "
|
"This command could be used to init/update PO files in locales/*/LC_MESSAGES "
|
||||||
"directories."
|
"directories."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:147
|
#: I18n.php:147
|
||||||
msgid ""
|
msgid ""
|
||||||
"Compile messages from existing translation PO lang files to corresponding MO "
|
"Compile messages from existing translation PO lang files to corresponding MO "
|
||||||
"files and JSON catalogs"
|
"files and JS catalogs"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:152
|
#: I18n.php:152
|
||||||
msgid ""
|
msgid ""
|
||||||
"This command could be used to compile PO files in lang/*/LC_MESSAGES "
|
"This command could be used to compile PO files in locales/*/LC_MESSAGES "
|
||||||
"directories to MO files and as JSON catalogs in public_html/translations."
|
"directories to MO files and as JS catalogs in locales directory."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:277
|
#: I18n.php:277
|
||||||
|
@ -282,23 +283,22 @@ msgstr ""
|
||||||
|
|
||||||
#: I18n.php:538
|
#: I18n.php:538
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "JSON catalog symlink for %s -> %s created (%s)"
|
msgid "JS catalog symlink for %s -> %s created (%s)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:542
|
#: I18n.php:542
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Fail to create JSON catalog symlink for %s -> %s (%s)"
|
msgid "Fail to create JS catalog symlink for %s -> %s (%s)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:548
|
#: I18n.php:548
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "JSON catalog symlink for %s -> %s already exist (%s)"
|
msgid "JS catalog symlink for %s -> %s already exist (%s)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:553
|
#: I18n.php:553
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid ""
|
msgid "JS catalog file for %s already exist, but it's not a symlink to %s (%s)"
|
||||||
"JSON catalog file for %s already exist, but it's not a symlink to %s (%s)"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:588
|
#: I18n.php:588
|
||||||
|
@ -308,17 +308,17 @@ msgstr ""
|
||||||
|
|
||||||
#: I18n.php:598
|
#: I18n.php:598
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Fail to open %s JSON catalog file in write mode (%s)."
|
msgid "Fail to open %s JS catalog file in write mode (%s)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:603
|
#: I18n.php:603
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Fail to write %s JSON catalog in file (%s)."
|
msgid "Fail to write %s JS catalog in file (%s)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: I18n.php:608
|
#: I18n.php:608
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "%s JSON catalog writed (%s)."
|
msgid "%s JS catalog writed (%s)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: App.php:122
|
#: App.php:122
|
||||||
|
@ -466,8 +466,8 @@ msgstr ""
|
||||||
msgid "Invalid element identifier."
|
msgid "Invalid element identifier."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-helpers.php:13 includes/url-public.php:220
|
#: includes/url-helpers.php:13 includes/url-public.php:236
|
||||||
#: includes/url-public.php:242
|
#: includes/url-public.php:263
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Item #% s not found."
|
msgid "Item #% s not found."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -488,100 +488,100 @@ msgstr ""
|
||||||
msgid "Archived"
|
msgid "Archived"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:33
|
#: includes/url-public.php:38
|
||||||
msgid "Any"
|
msgid "Any"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:91
|
#: includes/url-public.php:96
|
||||||
msgid ""
|
msgid ""
|
||||||
"An error occurred while listing the items. If the problem persists, please "
|
"An error occurred while listing the items. If the problem persists, please "
|
||||||
"contact support."
|
"contact support."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:106
|
#: includes/url-public.php:111
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:128
|
#: includes/url-public.php:134
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Element %s"
|
msgid "Element %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:142
|
#: includes/url-public.php:153
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "The element '% s' has been created."
|
msgid "The element '% s' has been created."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:146
|
#: includes/url-public.php:157
|
||||||
msgid "An error occurred while saving this item."
|
msgid "An error occurred while saving this item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:153
|
#: includes/url-public.php:164
|
||||||
msgid ""
|
msgid ""
|
||||||
"There are errors preventing this item from being saved. Please correct them "
|
"There are errors preventing this item from being saved. Please correct them "
|
||||||
"before attempting to add this item."
|
"before attempting to add this item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:160
|
#: includes/url-public.php:171
|
||||||
msgid "New"
|
msgid "New"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:170
|
#: includes/url-public.php:181
|
||||||
msgid "You cannot edit this item."
|
msgid "You cannot edit this item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:183
|
#: includes/url-public.php:194
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "You have not made any changes to element '% s'."
|
msgid "You have not made any changes to element '% s'."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:187
|
#: includes/url-public.php:198
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "The element '% s' has been updated successfully."
|
msgid "The element '% s' has been updated successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:191
|
#: includes/url-public.php:202
|
||||||
msgid "An error occurred while updating this item."
|
msgid "An error occurred while updating this item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:199
|
#: includes/url-public.php:210
|
||||||
msgid ""
|
msgid ""
|
||||||
"There are errors preventing this item from being saved. Please correct them "
|
"There are errors preventing this item from being saved. Please correct them "
|
||||||
"before attempting to save your changes."
|
"before attempting to save your changes."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:211
|
#: includes/url-public.php:222
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Element %s: Modification"
|
msgid "Element %s: Modification"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:224
|
#: includes/url-public.php:240
|
||||||
msgid "This item is already archived."
|
msgid "This item is already archived."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:227
|
#: includes/url-public.php:243
|
||||||
msgid "You cannot archive this item."
|
msgid "You cannot archive this item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:230
|
#: includes/url-public.php:246
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "The element '% s' has been archived successfully."
|
msgid "The element '% s' has been archived successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:233
|
#: includes/url-public.php:249
|
||||||
msgid "An error occurred while archiving this item."
|
msgid "An error occurred while archiving this item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:245
|
#: includes/url-public.php:266
|
||||||
msgid "You cannot delete this item."
|
msgid "You cannot delete this item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:248
|
#: includes/url-public.php:269
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "The element '% s' has been deleted successfully."
|
msgid "The element '% s' has been deleted successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:251
|
#: includes/url-public.php:272
|
||||||
msgid "An error occurred while deleting this item."
|
msgid "An error occurred while deleting this item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
|
@ -139,8 +139,8 @@ msgstr ""
|
||||||
msgid "Invalid element identifier."
|
msgid "Invalid element identifier."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-helpers.php:13 includes/url-public.php:220
|
#: includes/url-helpers.php:13 includes/url-public.php:236
|
||||||
#: includes/url-public.php:242
|
#: includes/url-public.php:263
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Item #% s not found."
|
msgid "Item #% s not found."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -161,99 +161,99 @@ msgstr ""
|
||||||
msgid "Archived"
|
msgid "Archived"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:33
|
#: includes/url-public.php:38
|
||||||
msgid "Any"
|
msgid "Any"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:91
|
#: includes/url-public.php:96
|
||||||
msgid ""
|
msgid ""
|
||||||
"An error occurred while listing the items. If the problem persists, please "
|
"An error occurred while listing the items. If the problem persists, please "
|
||||||
"contact support."
|
"contact support."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:106
|
#: includes/url-public.php:111
|
||||||
msgid "Search"
|
msgid "Search"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:128
|
#: includes/url-public.php:134
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Element %s"
|
msgid "Element %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:142
|
#: includes/url-public.php:153
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "The element '% s' has been created."
|
msgid "The element '% s' has been created."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:146
|
#: includes/url-public.php:157
|
||||||
msgid "An error occurred while saving this item."
|
msgid "An error occurred while saving this item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:153
|
#: includes/url-public.php:164
|
||||||
msgid ""
|
msgid ""
|
||||||
"There are errors preventing this item from being saved. Please correct them "
|
"There are errors preventing this item from being saved. Please correct them "
|
||||||
"before attempting to add this item."
|
"before attempting to add this item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:160
|
#: includes/url-public.php:171
|
||||||
msgid "New"
|
msgid "New"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:170
|
#: includes/url-public.php:181
|
||||||
msgid "You cannot edit this item."
|
msgid "You cannot edit this item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:183
|
#: includes/url-public.php:194
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "You have not made any changes to element '% s'."
|
msgid "You have not made any changes to element '% s'."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:187
|
#: includes/url-public.php:198
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "The element '% s' has been updated successfully."
|
msgid "The element '% s' has been updated successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:191
|
#: includes/url-public.php:202
|
||||||
msgid "An error occurred while updating this item."
|
msgid "An error occurred while updating this item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:199
|
#: includes/url-public.php:210
|
||||||
msgid ""
|
msgid ""
|
||||||
"There are errors preventing this item from being saved. Please correct them "
|
"There are errors preventing this item from being saved. Please correct them "
|
||||||
"before attempting to save your changes."
|
"before attempting to save your changes."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:211
|
#: includes/url-public.php:222
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "Element %s: Modification"
|
msgid "Element %s: Modification"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:224
|
#: includes/url-public.php:240
|
||||||
msgid "This item is already archived."
|
msgid "This item is already archived."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:227
|
#: includes/url-public.php:243
|
||||||
msgid "You cannot archive this item."
|
msgid "You cannot archive this item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:230
|
#: includes/url-public.php:246
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "The element '% s' has been archived successfully."
|
msgid "The element '% s' has been archived successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:233
|
#: includes/url-public.php:249
|
||||||
msgid "An error occurred while archiving this item."
|
msgid "An error occurred while archiving this item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:245
|
#: includes/url-public.php:266
|
||||||
msgid "You cannot delete this item."
|
msgid "You cannot delete this item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:248
|
#: includes/url-public.php:269
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "The element '% s' has been deleted successfully."
|
msgid "The element '% s' has been deleted successfully."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: includes/url-public.php:251
|
#: includes/url-public.php:272
|
||||||
msgid "An error occurred while deleting this item."
|
msgid "An error occurred while deleting this item."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
|
@ -1,134 +0,0 @@
|
||||||
msgid ""
|
|
||||||
msgstr "Content-Type: text/plain; charset=UTF-8\n"
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/form.tpl:7
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:36
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/show.tpl:5
|
|
||||||
msgid "Name"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/form.tpl:15
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:11
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/show.tpl:23
|
|
||||||
msgid "Status"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/form.tpl:25
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/show.tpl:32
|
|
||||||
msgid "Description"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/form.tpl:33
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/fatal_error.tpl:9
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/show.tpl:42
|
|
||||||
msgid "Back"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/form.tpl:36
|
|
||||||
msgid "Save"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/form.tpl:38
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:28
|
|
||||||
msgid "Add"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/fatal_error.tpl:5
|
|
||||||
msgid ""
|
|
||||||
"A fatal error has occurred and it is preventing this application from "
|
|
||||||
"working properly. Please try again later or contact support."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/fatal_error.tpl:7
|
|
||||||
msgid "Error: %1"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:8
|
|
||||||
msgid "Pattern"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:16
|
|
||||||
msgid "Nb by page"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:22
|
|
||||||
msgid "Search"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:23
|
|
||||||
msgid "Reset"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:35
|
|
||||||
msgid "Date"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:37
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:47
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:50
|
|
||||||
msgid "View"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:51
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/show.tpl:43
|
|
||||||
msgid "Modify"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:52
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/show.tpl:44
|
|
||||||
msgid "Are you sure you want to archive this item?"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:52
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/show.tpl:44
|
|
||||||
msgid "Archive"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:53
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/show.tpl:45
|
|
||||||
msgid "Are you sure you want to delete this item?"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:53
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/show.tpl:45
|
|
||||||
msgid "Delete"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:59
|
|
||||||
msgid "No item found."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/search.tpl:68
|
|
||||||
msgid "%3 element"
|
|
||||||
msgid_plural "Elements %1 to %2 on %3"
|
|
||||||
msgstr[0] ""
|
|
||||||
msgstr[1] ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/show.tpl:14
|
|
||||||
msgid "Creation date"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/show.tpl:35
|
|
||||||
msgid "Unspecified."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/homepage.tpl:5
|
|
||||||
msgid "Hello, world!"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/homepage.tpl:6
|
|
||||||
msgid ""
|
|
||||||
"This is a simple app to show the different possibilities and basic "
|
|
||||||
"functionality."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/homepage.tpl:8
|
|
||||||
msgid "This app contains some demo pages:"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: /home/brenard/dev/eesyphp/templates/homepage.tpl:9
|
|
||||||
msgid "Search page"
|
|
||||||
msgstr ""
|
|
34
src/I18n.php
34
src/I18n.php
|
@ -129,7 +129,7 @@ class I18n {
|
||||||
array('\\EesyPHP\\I18n', 'cli_extract_messages'),
|
array('\\EesyPHP\\I18n', 'cli_extract_messages'),
|
||||||
self :: ___("Extract messages that need to be translated"),
|
self :: ___("Extract messages that need to be translated"),
|
||||||
null,
|
null,
|
||||||
self :: ___("This command could be used to generate/update lang/messages.pot file.")
|
self :: ___("This command could be used to generate/update locales/messages.pot file.")
|
||||||
);
|
);
|
||||||
|
|
||||||
Cli :: add_command(
|
Cli :: add_command(
|
||||||
|
@ -137,7 +137,7 @@ class I18n {
|
||||||
array('\\EesyPHP\\I18n', 'cli_update_messages'),
|
array('\\EesyPHP\\I18n', 'cli_update_messages'),
|
||||||
self :: ___("Update messages in translation PO lang files"),
|
self :: ___("Update messages in translation PO lang files"),
|
||||||
null,
|
null,
|
||||||
self :: ___("This command could be used to init/update PO files in lang/*/LC_MESSAGES directories.")
|
self :: ___("This command could be used to init/update PO files in locales/*/LC_MESSAGES directories.")
|
||||||
);
|
);
|
||||||
|
|
||||||
Cli :: add_command(
|
Cli :: add_command(
|
||||||
|
@ -145,12 +145,12 @@ class I18n {
|
||||||
array('\\EesyPHP\\I18n', 'cli_compile_messages'),
|
array('\\EesyPHP\\I18n', 'cli_compile_messages'),
|
||||||
self :: ___(
|
self :: ___(
|
||||||
"Compile messages from existing translation PO lang files to ".
|
"Compile messages from existing translation PO lang files to ".
|
||||||
"corresponding MO files and JSON catalogs"
|
"corresponding MO files and JS catalogs"
|
||||||
),
|
),
|
||||||
null,
|
null,
|
||||||
self :: ___(
|
self :: ___(
|
||||||
"This command could be used to compile PO files in lang/*/LC_MESSAGES ".
|
"This command could be used to compile PO files in locales/*/LC_MESSAGES ".
|
||||||
"directories to MO files and as JSON catalogs in public_html/translations."
|
"directories to MO files and as JS catalogs in locales directory."
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -508,7 +508,7 @@ class I18n {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Command to compile messages from existing translation PO lang files
|
* Command to compile messages from existing translation PO lang files
|
||||||
* to corresponding MO files and as JSON catalog (for translation in JS).
|
* to corresponding MO files and as JS catalog (for translation in JS).
|
||||||
*
|
*
|
||||||
* @param array $command_args The command arguments
|
* @param array $command_args The command arguments
|
||||||
* @return bool
|
* @return bool
|
||||||
|
@ -530,27 +530,27 @@ class I18n {
|
||||||
$lang = $file;
|
$lang = $file;
|
||||||
Log :: debug(_("Lang alias symlink found: %s -> %s"), $lang, $real_lang_dir);
|
Log :: debug(_("Lang alias symlink found: %s -> %s"), $lang, $real_lang_dir);
|
||||||
|
|
||||||
// Create JSON catalog symlink (if not exists)
|
// Create JS catalog symlink (if not exists)
|
||||||
$js_link = self :: $root_path."/$lang.js";
|
$js_link = self :: $root_path."/$lang.js";
|
||||||
$link_target = "$real_lang_dir.js";
|
$link_target = "$real_lang_dir.js";
|
||||||
if (!file_exists($js_link)) {
|
if (!file_exists($js_link)) {
|
||||||
if (symlink($link_target, $js_link)) {
|
if (symlink($link_target, $js_link)) {
|
||||||
Log :: info(_("JSON catalog symlink for %s -> %s created (%s)"),
|
Log :: info(_("JS catalog symlink for %s -> %s created (%s)"),
|
||||||
$lang, $real_lang_dir, $js_link);
|
$lang, $real_lang_dir, $js_link);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Log :: error(_("Fail to create JSON catalog symlink for %s -> %s (%s)"),
|
Log :: error(_("Fail to create JS catalog symlink for %s -> %s (%s)"),
|
||||||
$lang, $real_lang_dir, $js_link);
|
$lang, $real_lang_dir, $js_link);
|
||||||
$error = True;
|
$error = True;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elseif (readlink($js_link) == $link_target) {
|
elseif (readlink($js_link) == $link_target) {
|
||||||
Log :: debug(_("JSON catalog symlink for %s -> %s already exist (%s)"),
|
Log :: debug(_("JS catalog symlink for %s -> %s already exist (%s)"),
|
||||||
$lang, $real_lang_dir, $js_link);
|
$lang, $real_lang_dir, $js_link);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Log :: warning(
|
Log :: warning(
|
||||||
_("JSON catalog file for %s already exist, but it's not a symlink to %s (%s)"),
|
_("JS catalog file for %s already exist, but it's not a symlink to %s (%s)"),
|
||||||
$lang, $real_lang_dir, $js_link
|
$lang, $real_lang_dir, $js_link
|
||||||
);
|
);
|
||||||
$error = True;
|
$error = True;
|
||||||
|
@ -591,21 +591,21 @@ class I18n {
|
||||||
$error = True;
|
$error = True;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compile messages from PO file to JSON catalog file
|
// Compile messages from PO file to JS catalog file
|
||||||
$json_catalog = self :: po2json($lang, $po_file);
|
$js_catalog = self :: po2json($lang, $po_file);
|
||||||
$js_file = self :: $root_path."/$lang.js";
|
$js_file = self :: $root_path."/$lang.js";
|
||||||
if(!$fd = fopen($js_file, 'w')) {
|
if(!$fd = fopen($js_file, 'w')) {
|
||||||
Log :: error(_("Fail to open %s JSON catalog file in write mode (%s)."),
|
Log :: error(_("Fail to open %s JS catalog file in write mode (%s)."),
|
||||||
$lang, $js_file);
|
$lang, $js_file);
|
||||||
$error = True;
|
$error = True;
|
||||||
}
|
}
|
||||||
elseif (fwrite($fd, sprintf("translations_data = %s;", $json_catalog)) === false) {
|
elseif (fwrite($fd, sprintf("translations_data = %s;", $js_catalog)) === false) {
|
||||||
Log :: error(_("Fail to write %s JSON catalog in file (%s)."),
|
Log :: error(_("Fail to write %s JS catalog in file (%s)."),
|
||||||
$lang, $js_file);
|
$lang, $js_file);
|
||||||
$error = True;
|
$error = True;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Log :: info(_("%s JSON catalog writed (%s)."), $lang, $js_file);
|
Log :: info(_("%s JS catalog writed (%s)."), $lang, $js_file);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
closedir($dh);
|
closedir($dh);
|
||||||
|
|
Loading…
Reference in a new issue