Compare commits
No commits in common. "51762bd359779fa99e2e2b99f1e634c49b2ad2d2" and "5ca3208c916bfc54958b77d5e930e2c81d3155f2" have entirely different histories.
51762bd359
...
5ca3208c91
5 changed files with 334 additions and 361 deletions
Binary file not shown.
|
@ -1,9 +1,9 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"POT-Creation-Date: 2023-03-02 15:01+0100\n"
|
||||
"POT-Creation-Date: 2023-02-14 00:22+0100\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: Benjamin Renard <brenard@easter-eggs.com>\n"
|
||||
"Last-Translator: Benjamin Renard <brenard@zionetrix.net>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: fr_FR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
@ -12,135 +12,6 @@ msgstr ""
|
|||
"X-Generator: Poedit 2.4.2\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: includes/url-helpers.php:9
|
||||
msgid "Invalid element identifier."
|
||||
msgstr "Identifiant d'élément invalide."
|
||||
|
||||
#: includes/url-helpers.php:13 includes/url-public.php:236
|
||||
#: includes/url-public.php:263
|
||||
#, php-format
|
||||
msgid "Item #% s not found."
|
||||
msgstr "L'élément #%s est introuvable."
|
||||
|
||||
#: includes/url-public.php:38
|
||||
msgid "Any"
|
||||
msgstr "Peu importe"
|
||||
|
||||
#: includes/url-public.php:96
|
||||
msgid ""
|
||||
"An error occurred while listing the items. If the problem persists, please "
|
||||
"contact support."
|
||||
msgstr ""
|
||||
"Une erreur est survenue en listant les éléments. Si le problème persiste, "
|
||||
"merci de prendre contact avec le support."
|
||||
|
||||
#: includes/url-public.php:111
|
||||
msgid "Search"
|
||||
msgstr "Rechercher"
|
||||
|
||||
#: includes/url-public.php:134
|
||||
#, php-format
|
||||
msgid "Element %s"
|
||||
msgstr "Élément %s"
|
||||
|
||||
#: includes/url-public.php:153
|
||||
#, php-format
|
||||
msgid "The element '% s' has been created."
|
||||
msgstr "L'élément '%s' a bien été créé."
|
||||
|
||||
#: includes/url-public.php:157
|
||||
msgid "An error occurred while saving this item."
|
||||
msgstr "Une erreur est survenue en enregistrant cet élément."
|
||||
|
||||
#: includes/url-public.php:164
|
||||
msgid ""
|
||||
"There are errors preventing this item from being saved. Please correct them "
|
||||
"before attempting to add this item."
|
||||
msgstr ""
|
||||
"Des erreurs empêchent l'enregistrement de cet élément. Merci de les corriger "
|
||||
"avant de tenter d'ajouter cet élément."
|
||||
|
||||
#: includes/url-public.php:171
|
||||
msgid "New"
|
||||
msgstr "Nouveau"
|
||||
|
||||
#: includes/url-public.php:181
|
||||
msgid "You cannot edit this item."
|
||||
msgstr "Vous ne pouvez pas modifier cet élément."
|
||||
|
||||
#: includes/url-public.php:194
|
||||
#, php-format
|
||||
msgid "You have not made any changes to element '% s'."
|
||||
msgstr "Vous n'avez apporté aucune modification à l'élément '%s'."
|
||||
|
||||
#: includes/url-public.php:198
|
||||
#, php-format
|
||||
msgid "The element '% s' has been updated successfully."
|
||||
msgstr "L'élément '%s' a bien été mise à jour."
|
||||
|
||||
#: includes/url-public.php:202
|
||||
msgid "An error occurred while updating this item."
|
||||
msgstr "Une erreur est survenue en mettant à jour cet élément."
|
||||
|
||||
#: includes/url-public.php:210
|
||||
msgid ""
|
||||
"There are errors preventing this item from being saved. Please correct them "
|
||||
"before attempting to save your changes."
|
||||
msgstr ""
|
||||
"Des erreurs empêchent l'enregistrement de cet élément. Merci de les corriger "
|
||||
"avant de tenter d'enregistrer vos modifications."
|
||||
|
||||
#: includes/url-public.php:222
|
||||
#, php-format
|
||||
msgid "Element %s: Modification"
|
||||
msgstr "Élément %s : Modification"
|
||||
|
||||
#: includes/url-public.php:240
|
||||
msgid "This item is already archived."
|
||||
msgstr "Cet élément est déjà archivé."
|
||||
|
||||
#: includes/url-public.php:243
|
||||
msgid "You cannot archive this item."
|
||||
msgstr "Vous ne pouvez pas archiver cet élément."
|
||||
|
||||
#: includes/url-public.php:246
|
||||
#, php-format
|
||||
msgid "The element '% s' has been archived successfully."
|
||||
msgstr "L'élément '%s' a bien été archivé."
|
||||
|
||||
#: includes/url-public.php:249
|
||||
msgid "An error occurred while archiving this item."
|
||||
msgstr "Une erreur est survenue en archivant cet élément."
|
||||
|
||||
#: includes/url-public.php:266
|
||||
msgid "You cannot delete this item."
|
||||
msgstr "Vous ne pouvez pas supprimer cet élément."
|
||||
|
||||
#: includes/url-public.php:269
|
||||
#, php-format
|
||||
msgid "The element '% s' has been deleted successfully."
|
||||
msgstr "L'élément '%s' a bien été supprimé."
|
||||
|
||||
#: includes/url-public.php:272
|
||||
msgid "An error occurred while deleting this item."
|
||||
msgstr "Une erreur est survenue en supprimant cet élément."
|
||||
|
||||
#: includes/core.php:57
|
||||
msgid "Pending"
|
||||
msgstr "En attente"
|
||||
|
||||
#: includes/core.php:58
|
||||
msgid "Validated"
|
||||
msgstr "Validé"
|
||||
|
||||
#: includes/core.php:59
|
||||
msgid "Refused"
|
||||
msgstr "Refusé"
|
||||
|
||||
#: includes/core.php:60
|
||||
msgid "Archived"
|
||||
msgstr "Archivé"
|
||||
|
||||
#: includes/cli.php:23
|
||||
#, php-format
|
||||
msgid "Item #%s:\n"
|
||||
|
@ -283,29 +154,178 @@ msgid "-m/--max-age Item expiration limit (in days, optional)"
|
|||
msgstr ""
|
||||
"-m/--max-age Limite d'expiration des éléments (en secondes, optionnel)"
|
||||
|
||||
#: templates/form.tpl:7 templates/search.tpl:36 templates/show.tpl:5
|
||||
#: includes/url-helpers.php:9
|
||||
msgid "Invalid element identifier."
|
||||
msgstr "Identifiant d'élément invalide."
|
||||
|
||||
#: includes/url-helpers.php:13 includes/url-public.php:236
|
||||
#: includes/url-public.php:263
|
||||
#, php-format
|
||||
msgid "Item #% s not found."
|
||||
msgstr "L'élément #%s est introuvable."
|
||||
|
||||
#: includes/core.php:51
|
||||
msgid "Pending"
|
||||
msgstr "En attente"
|
||||
|
||||
#: includes/core.php:52
|
||||
msgid "Validated"
|
||||
msgstr "Validé"
|
||||
|
||||
#: includes/core.php:53
|
||||
msgid "Refused"
|
||||
msgstr "Refusé"
|
||||
|
||||
#: includes/core.php:54
|
||||
msgid "Archived"
|
||||
msgstr "Archivé"
|
||||
|
||||
#: includes/url-public.php:38
|
||||
msgid "Any"
|
||||
msgstr "Peu importe"
|
||||
|
||||
#: includes/url-public.php:96
|
||||
msgid ""
|
||||
"An error occurred while listing the items. If the problem persists, please "
|
||||
"contact support."
|
||||
msgstr ""
|
||||
"Une erreur est survenue en listant les éléments. Si le problème persiste, "
|
||||
"merci de prendre contact avec le support."
|
||||
|
||||
#: includes/url-public.php:111
|
||||
msgid "Search"
|
||||
msgstr "Rechercher"
|
||||
|
||||
#: includes/url-public.php:134
|
||||
#, php-format
|
||||
msgid "Element %s"
|
||||
msgstr "Élément %s"
|
||||
|
||||
#: includes/url-public.php:153
|
||||
#, php-format
|
||||
msgid "The element '% s' has been created."
|
||||
msgstr "L'élément '%s' a bien été créé."
|
||||
|
||||
#: includes/url-public.php:157
|
||||
msgid "An error occurred while saving this item."
|
||||
msgstr "Une erreur est survenue en enregistrant cet élément."
|
||||
|
||||
#: includes/url-public.php:164
|
||||
msgid ""
|
||||
"There are errors preventing this item from being saved. Please correct them "
|
||||
"before attempting to add this item."
|
||||
msgstr ""
|
||||
"Des erreurs empêchent l'enregistrement de cet élément. Merci de les corriger "
|
||||
"avant de tenter d'ajouter cet élément."
|
||||
|
||||
#: includes/url-public.php:171
|
||||
msgid "New"
|
||||
msgstr "Nouveau"
|
||||
|
||||
#: includes/url-public.php:181
|
||||
msgid "You cannot edit this item."
|
||||
msgstr "Vous ne pouvez pas modifier cet élément."
|
||||
|
||||
#: includes/url-public.php:194
|
||||
#, php-format
|
||||
msgid "You have not made any changes to element '% s'."
|
||||
msgstr "Vous n'avez apporté aucune modification à l'élément '%s'."
|
||||
|
||||
#: includes/url-public.php:198
|
||||
#, php-format
|
||||
msgid "The element '% s' has been updated successfully."
|
||||
msgstr "L'élément '%s' a bien été mise à jour."
|
||||
|
||||
#: includes/url-public.php:202
|
||||
msgid "An error occurred while updating this item."
|
||||
msgstr "Une erreur est survenue en mettant à jour cet élément."
|
||||
|
||||
#: includes/url-public.php:210
|
||||
msgid ""
|
||||
"There are errors preventing this item from being saved. Please correct them "
|
||||
"before attempting to save your changes."
|
||||
msgstr ""
|
||||
"Des erreurs empêchent l'enregistrement de cet élément. Merci de les corriger "
|
||||
"avant de tenter d'enregistrer vos modifications."
|
||||
|
||||
#: includes/url-public.php:222
|
||||
#, php-format
|
||||
msgid "Element %s: Modification"
|
||||
msgstr "Élément %s : Modification"
|
||||
|
||||
#: includes/url-public.php:240
|
||||
msgid "This item is already archived."
|
||||
msgstr "Cet élément est déjà archivé."
|
||||
|
||||
#: includes/url-public.php:243
|
||||
msgid "You cannot archive this item."
|
||||
msgstr "Vous ne pouvez pas archiver cet élément."
|
||||
|
||||
#: includes/url-public.php:246
|
||||
#, php-format
|
||||
msgid "The element '% s' has been archived successfully."
|
||||
msgstr "L'élément '%s' a bien été archivé."
|
||||
|
||||
#: includes/url-public.php:249
|
||||
msgid "An error occurred while archiving this item."
|
||||
msgstr "Une erreur est survenue en archivant cet élément."
|
||||
|
||||
#: includes/url-public.php:266
|
||||
msgid "You cannot delete this item."
|
||||
msgstr "Vous ne pouvez pas supprimer cet élément."
|
||||
|
||||
#: includes/url-public.php:269
|
||||
#, php-format
|
||||
msgid "The element '% s' has been deleted successfully."
|
||||
msgstr "L'élément '%s' a bien été supprimé."
|
||||
|
||||
#: includes/url-public.php:272
|
||||
msgid "An error occurred while deleting this item."
|
||||
msgstr "Une erreur est survenue en supprimant cet élément."
|
||||
|
||||
#: templates/show.tpl:5 templates/search.tpl:36 templates/form.tpl:7
|
||||
msgid "Name"
|
||||
msgstr "Nom"
|
||||
|
||||
#: templates/form.tpl:15 templates/search.tpl:11 templates/show.tpl:23
|
||||
#: templates/show.tpl:14
|
||||
msgid "Creation date"
|
||||
msgstr "Date de création"
|
||||
|
||||
#: templates/show.tpl:23 templates/search.tpl:11 templates/form.tpl:15
|
||||
msgid "Status"
|
||||
msgstr "Statut"
|
||||
|
||||
#: templates/form.tpl:25 templates/show.tpl:32
|
||||
#: templates/show.tpl:32 templates/form.tpl:25
|
||||
msgid "Description"
|
||||
msgstr "Description"
|
||||
|
||||
#: templates/form.tpl:33 templates/show.tpl:42
|
||||
#: templates/show.tpl:35
|
||||
msgid "Unspecified."
|
||||
msgstr "Non-spécifié."
|
||||
|
||||
#: templates/show.tpl:42 templates/form.tpl:33
|
||||
msgid "Back"
|
||||
msgstr "Retour"
|
||||
|
||||
#: templates/form.tpl:36
|
||||
msgid "Save"
|
||||
msgstr "Enregistrer"
|
||||
#: templates/show.tpl:43 templates/search.tpl:51
|
||||
msgid "Modify"
|
||||
msgstr "Modifier"
|
||||
|
||||
#: templates/form.tpl:38 templates/search.tpl:28
|
||||
msgid "Add"
|
||||
msgstr "Ajouter"
|
||||
#: templates/show.tpl:44 templates/search.tpl:52
|
||||
msgid "Are you sure you want to archive this item?"
|
||||
msgstr "Êtes-vous sûre de vouloir archiver cet élément ?"
|
||||
|
||||
#: templates/show.tpl:44 templates/search.tpl:52
|
||||
msgid "Archive"
|
||||
msgstr "Archiver"
|
||||
|
||||
#: templates/show.tpl:45 templates/search.tpl:53
|
||||
msgid "Are you sure you want to delete this item?"
|
||||
msgstr "Êtes-vous sûre de vouloir supprimer cet élément ?"
|
||||
|
||||
#: templates/show.tpl:45 templates/search.tpl:53
|
||||
msgid "Delete"
|
||||
msgstr "Supprimer"
|
||||
|
||||
#: templates/search.tpl:8
|
||||
msgid "Pattern"
|
||||
|
@ -319,6 +339,10 @@ msgstr "Nb par page"
|
|||
msgid "Reset"
|
||||
msgstr "Réinitialiser"
|
||||
|
||||
#: templates/search.tpl:28 templates/form.tpl:38
|
||||
msgid "Add"
|
||||
msgstr "Ajouter"
|
||||
|
||||
#: templates/search.tpl:35
|
||||
msgid "Date"
|
||||
msgstr "Date"
|
||||
|
@ -331,26 +355,6 @@ msgstr "Actions"
|
|||
msgid "View"
|
||||
msgstr "Voir"
|
||||
|
||||
#: templates/search.tpl:51 templates/show.tpl:43
|
||||
msgid "Modify"
|
||||
msgstr "Modifier"
|
||||
|
||||
#: templates/search.tpl:52 templates/show.tpl:44
|
||||
msgid "Are you sure you want to archive this item?"
|
||||
msgstr "Êtes-vous sûre de vouloir archiver cet élément ?"
|
||||
|
||||
#: templates/search.tpl:52 templates/show.tpl:44
|
||||
msgid "Archive"
|
||||
msgstr "Archiver"
|
||||
|
||||
#: templates/search.tpl:53 templates/show.tpl:45
|
||||
msgid "Are you sure you want to delete this item?"
|
||||
msgstr "Êtes-vous sûre de vouloir supprimer cet élément ?"
|
||||
|
||||
#: templates/search.tpl:53 templates/show.tpl:45
|
||||
msgid "Delete"
|
||||
msgstr "Supprimer"
|
||||
|
||||
#: templates/search.tpl:59
|
||||
msgid "No item found."
|
||||
msgstr "Aucun élément trouvé."
|
||||
|
@ -361,14 +365,6 @@ msgid_plural "Elements %1 to %2 on %3"
|
|||
msgstr[0] "%3 élément"
|
||||
msgstr[1] "Éléments %1 à %2 sur %3"
|
||||
|
||||
#: templates/show.tpl:14
|
||||
msgid "Creation date"
|
||||
msgstr "Date de création"
|
||||
|
||||
#: templates/show.tpl:35
|
||||
msgid "Unspecified."
|
||||
msgstr "Non-spécifié."
|
||||
|
||||
#: templates/homepage.tpl:5
|
||||
msgid "Hello, world!"
|
||||
msgstr "Bonjour tout le monde !"
|
||||
|
@ -382,17 +378,13 @@ msgstr ""
|
|||
"les fonctionnalités de base."
|
||||
|
||||
#: templates/homepage.tpl:8
|
||||
msgid ""
|
||||
"The access to this application is available by the following URL: <a href="
|
||||
"\"%1\">%1</a>"
|
||||
msgstr ""
|
||||
"L'accès à cette application est possible via l'URL suivante : <a href=\"%1\">"
|
||||
"%1</a>"
|
||||
|
||||
#: templates/homepage.tpl:11
|
||||
msgid "This app contains some demo pages:"
|
||||
msgstr "Cette application contient quelques pages de démo :"
|
||||
|
||||
#: templates/homepage.tpl:12
|
||||
#: templates/homepage.tpl:9
|
||||
msgid "Search page"
|
||||
msgstr "Page de recherche"
|
||||
|
||||
#: templates/form.tpl:36
|
||||
msgid "Save"
|
||||
msgstr "Enregistrer"
|
||||
|
|
|
@ -1,134 +1,11 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"POT-Creation-Date: 2023-03-02 15:01+0100\n"
|
||||
"PO-Revision-Date: 2023-03-02 15:01+0100\n"
|
||||
"POT-Creation-Date: 2023-02-14 01:18+0100\n"
|
||||
"PO-Revision-Date: 2023-02-14 01:18+0100\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: includes/url-helpers.php:9
|
||||
msgid "Invalid element identifier."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-helpers.php:13 includes/url-public.php:236
|
||||
#: includes/url-public.php:263
|
||||
#, php-format
|
||||
msgid "Item #% s not found."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:38
|
||||
msgid "Any"
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:96
|
||||
msgid ""
|
||||
"An error occurred while listing the items. If the problem persists, please "
|
||||
"contact support."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:111
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:134
|
||||
#, php-format
|
||||
msgid "Element %s"
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:153
|
||||
#, php-format
|
||||
msgid "The element '% s' has been created."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:157
|
||||
msgid "An error occurred while saving this item."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:164
|
||||
msgid ""
|
||||
"There are errors preventing this item from being saved. Please correct them "
|
||||
"before attempting to add this item."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:171
|
||||
msgid "New"
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:181
|
||||
msgid "You cannot edit this item."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:194
|
||||
#, php-format
|
||||
msgid "You have not made any changes to element '% s'."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:198
|
||||
#, php-format
|
||||
msgid "The element '% s' has been updated successfully."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:202
|
||||
msgid "An error occurred while updating this item."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:210
|
||||
msgid ""
|
||||
"There are errors preventing this item from being saved. Please correct them "
|
||||
"before attempting to save your changes."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:222
|
||||
#, php-format
|
||||
msgid "Element %s: Modification"
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:240
|
||||
msgid "This item is already archived."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:243
|
||||
msgid "You cannot archive this item."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:246
|
||||
#, php-format
|
||||
msgid "The element '% s' has been archived successfully."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:249
|
||||
msgid "An error occurred while archiving this item."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:266
|
||||
msgid "You cannot delete this item."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:269
|
||||
#, php-format
|
||||
msgid "The element '% s' has been deleted successfully."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:272
|
||||
msgid "An error occurred while deleting this item."
|
||||
msgstr ""
|
||||
|
||||
#: includes/core.php:57
|
||||
msgid "Pending"
|
||||
msgstr ""
|
||||
|
||||
#: includes/core.php:58
|
||||
msgid "Validated"
|
||||
msgstr ""
|
||||
|
||||
#: includes/core.php:59
|
||||
msgid "Refused"
|
||||
msgstr ""
|
||||
|
||||
#: includes/core.php:60
|
||||
msgid "Archived"
|
||||
msgstr ""
|
||||
|
||||
#: includes/cli.php:23
|
||||
#, php-format
|
||||
msgid "Item #%s:\n"
|
||||
|
@ -266,28 +143,171 @@ msgstr ""
|
|||
msgid "-m/--max-age Item expiration limit (in days, optional)"
|
||||
msgstr ""
|
||||
|
||||
#: templates/form.tpl:7 templates/search.tpl:36 templates/show.tpl:5
|
||||
#: includes/url-helpers.php:9
|
||||
msgid "Invalid element identifier."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-helpers.php:13 includes/url-public.php:236
|
||||
#: includes/url-public.php:263
|
||||
#, php-format
|
||||
msgid "Item #% s not found."
|
||||
msgstr ""
|
||||
|
||||
#: includes/core.php:51
|
||||
msgid "Pending"
|
||||
msgstr ""
|
||||
|
||||
#: includes/core.php:52
|
||||
msgid "Validated"
|
||||
msgstr ""
|
||||
|
||||
#: includes/core.php:53
|
||||
msgid "Refused"
|
||||
msgstr ""
|
||||
|
||||
#: includes/core.php:54
|
||||
msgid "Archived"
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:38
|
||||
msgid "Any"
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:96
|
||||
msgid ""
|
||||
"An error occurred while listing the items. If the problem persists, please "
|
||||
"contact support."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:111
|
||||
msgid "Search"
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:134
|
||||
#, php-format
|
||||
msgid "Element %s"
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:153
|
||||
#, php-format
|
||||
msgid "The element '% s' has been created."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:157
|
||||
msgid "An error occurred while saving this item."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:164
|
||||
msgid ""
|
||||
"There are errors preventing this item from being saved. Please correct them "
|
||||
"before attempting to add this item."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:171
|
||||
msgid "New"
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:181
|
||||
msgid "You cannot edit this item."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:194
|
||||
#, php-format
|
||||
msgid "You have not made any changes to element '% s'."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:198
|
||||
#, php-format
|
||||
msgid "The element '% s' has been updated successfully."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:202
|
||||
msgid "An error occurred while updating this item."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:210
|
||||
msgid ""
|
||||
"There are errors preventing this item from being saved. Please correct them "
|
||||
"before attempting to save your changes."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:222
|
||||
#, php-format
|
||||
msgid "Element %s: Modification"
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:240
|
||||
msgid "This item is already archived."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:243
|
||||
msgid "You cannot archive this item."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:246
|
||||
#, php-format
|
||||
msgid "The element '% s' has been archived successfully."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:249
|
||||
msgid "An error occurred while archiving this item."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:266
|
||||
msgid "You cannot delete this item."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:269
|
||||
#, php-format
|
||||
msgid "The element '% s' has been deleted successfully."
|
||||
msgstr ""
|
||||
|
||||
#: includes/url-public.php:272
|
||||
msgid "An error occurred while deleting this item."
|
||||
msgstr ""
|
||||
|
||||
#: templates/show.tpl:5 templates/search.tpl:36 templates/form.tpl:7
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#: templates/form.tpl:15 templates/search.tpl:11 templates/show.tpl:23
|
||||
#: templates/show.tpl:14
|
||||
msgid "Creation date"
|
||||
msgstr ""
|
||||
|
||||
#: templates/show.tpl:23 templates/search.tpl:11 templates/form.tpl:15
|
||||
msgid "Status"
|
||||
msgstr ""
|
||||
|
||||
#: templates/form.tpl:25 templates/show.tpl:32
|
||||
#: templates/show.tpl:32 templates/form.tpl:25
|
||||
msgid "Description"
|
||||
msgstr ""
|
||||
|
||||
#: templates/form.tpl:33 templates/show.tpl:42
|
||||
#: templates/show.tpl:35
|
||||
msgid "Unspecified."
|
||||
msgstr ""
|
||||
|
||||
#: templates/show.tpl:42 templates/form.tpl:33
|
||||
msgid "Back"
|
||||
msgstr ""
|
||||
|
||||
#: templates/form.tpl:36
|
||||
msgid "Save"
|
||||
#: templates/show.tpl:43 templates/search.tpl:51
|
||||
msgid "Modify"
|
||||
msgstr ""
|
||||
|
||||
#: templates/form.tpl:38 templates/search.tpl:28
|
||||
msgid "Add"
|
||||
#: templates/show.tpl:44 templates/search.tpl:52
|
||||
msgid "Are you sure you want to archive this item?"
|
||||
msgstr ""
|
||||
|
||||
#: templates/show.tpl:44 templates/search.tpl:52
|
||||
msgid "Archive"
|
||||
msgstr ""
|
||||
|
||||
#: templates/show.tpl:45 templates/search.tpl:53
|
||||
msgid "Are you sure you want to delete this item?"
|
||||
msgstr ""
|
||||
|
||||
#: templates/show.tpl:45 templates/search.tpl:53
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: templates/search.tpl:8
|
||||
|
@ -302,6 +322,10 @@ msgstr ""
|
|||
msgid "Reset"
|
||||
msgstr ""
|
||||
|
||||
#: templates/search.tpl:28 templates/form.tpl:38
|
||||
msgid "Add"
|
||||
msgstr ""
|
||||
|
||||
#: templates/search.tpl:35
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
@ -314,26 +338,6 @@ msgstr ""
|
|||
msgid "View"
|
||||
msgstr ""
|
||||
|
||||
#: templates/search.tpl:51 templates/show.tpl:43
|
||||
msgid "Modify"
|
||||
msgstr ""
|
||||
|
||||
#: templates/search.tpl:52 templates/show.tpl:44
|
||||
msgid "Are you sure you want to archive this item?"
|
||||
msgstr ""
|
||||
|
||||
#: templates/search.tpl:52 templates/show.tpl:44
|
||||
msgid "Archive"
|
||||
msgstr ""
|
||||
|
||||
#: templates/search.tpl:53 templates/show.tpl:45
|
||||
msgid "Are you sure you want to delete this item?"
|
||||
msgstr ""
|
||||
|
||||
#: templates/search.tpl:53 templates/show.tpl:45
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: templates/search.tpl:59
|
||||
msgid "No item found."
|
||||
msgstr ""
|
||||
|
@ -344,14 +348,6 @@ msgid_plural "Elements %1 to %2 on %3"
|
|||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
|
||||
#: templates/show.tpl:14
|
||||
msgid "Creation date"
|
||||
msgstr ""
|
||||
|
||||
#: templates/show.tpl:35
|
||||
msgid "Unspecified."
|
||||
msgstr ""
|
||||
|
||||
#: templates/homepage.tpl:5
|
||||
msgid "Hello, world!"
|
||||
msgstr ""
|
||||
|
@ -363,15 +359,13 @@ msgid ""
|
|||
msgstr ""
|
||||
|
||||
#: templates/homepage.tpl:8
|
||||
msgid ""
|
||||
"The access to this application is available by the following URL: <a href="
|
||||
"\"%1\">%1</a>"
|
||||
msgstr ""
|
||||
|
||||
#: templates/homepage.tpl:11
|
||||
msgid "This app contains some demo pages:"
|
||||
msgstr ""
|
||||
|
||||
#: templates/homepage.tpl:12
|
||||
#: templates/homepage.tpl:9
|
||||
msgid "Search page"
|
||||
msgstr ""
|
||||
|
||||
#: templates/form.tpl:36
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
|
|
@ -4,9 +4,6 @@
|
|||
<div class="jumbotron">
|
||||
<h1 class="display-4">{t}Hello, world!{/t}</h1>
|
||||
<p class="lead">{t}This is a simple app to show the different possibilities and basic functionality.{/t}</p>
|
||||
<p class="lead">
|
||||
{t 1=App::get("public_root_url") escape=false}The access to this application is available by the following URL: <a href="%1">%1</a>{/t}
|
||||
</p>
|
||||
<hr class="my-4">
|
||||
<p>{t}This app contains some demo pages:{/t}</p>
|
||||
<a class="btn btn-primary btn-lg" href="item" role="button">{t}Search page{/t}</a>
|
||||
|
|
14
src/Tpl.php
14
src/Tpl.php
|
@ -177,9 +177,9 @@ class Tpl {
|
|||
|
||||
foreach(App :: get('templates.static_directories', null, 'array') as $path)
|
||||
self :: register_static_directory($path);
|
||||
|
||||
self :: register_function('var_dump', array('EesyPHP\\Tpl', 'smarty_var_dump'));
|
||||
}
|
||||
self :: register_function('var_dump', array('EesyPHP\\Tpl', 'smarty_var_dump'));
|
||||
self :: register_class('App', '\\EesyPHP\\App');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -223,16 +223,6 @@ class Tpl {
|
|||
self :: $smarty -> registerPlugin("function", $name, $callable);
|
||||
}
|
||||
|
||||
/**
|
||||
* Register a class usable from template files
|
||||
* @param string $class_name The class name
|
||||
* @param string $class_ref The class reference (eg: \EesyPHP\App)
|
||||
* @return void
|
||||
*/
|
||||
public static function register_class($class_name, $class_ref) {
|
||||
self :: $smarty -> registerClass($class_name, $class_ref);
|
||||
}
|
||||
|
||||
/**
|
||||
* Assign template variable
|
||||
* @param string $name The variable name
|
||||
|
|
Loading…
Reference in a new issue