From 51762bd359779fa99e2e2b99f1e634c49b2ad2d2 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 2 Mar 2023 15:03:42 +0100 Subject: [PATCH] example: add App class usage example --- .../locales/fr_FR.UTF8/LC_MESSAGES/DEFAULT.mo | Bin 6999 -> 7243 bytes .../locales/fr_FR.UTF8/LC_MESSAGES/DEFAULT.po | 348 +++++++++--------- example/locales/messages.pot | 330 +++++++++-------- example/templates/homepage.tpl | 3 + 4 files changed, 349 insertions(+), 332 deletions(-) diff --git a/example/locales/fr_FR.UTF8/LC_MESSAGES/DEFAULT.mo b/example/locales/fr_FR.UTF8/LC_MESSAGES/DEFAULT.mo index 20b210840bf6aa68fe26c29d6a750286aa5da974..b59da189e0fae91c1676ae09adb5e8c9e33eabc9 100644 GIT binary patch delta 2133 zcmZwIe@vBC9LMp4U}#=Mp@P8lh>?OKTtx)B-n1VSWeFtm2d(vRdw{!cT;_8n*mBoq zTU-1=o3l;Vnrm*_KmH;Am5nXu$mJjX(Plqfv!-kOp`%)^1*_hl=bqcDb+*Inobx=- zInVi??{m4@@_B3ayRxF=hH`+qhI(a*FG=a06b(EqDtzYpJT`#`H7Lfpz!+a=~0dJ@^}HqDABxQ^Z^7dI{EJ z8$OONV-bFcC3p_k;srPUE$aE}co)v$3T<^hY_I^9a$(tu+)gX8lKuv~7h|Z2dr%X+ zgw;5NdhRIRgU7HO&mvQr3%D9*QO|videQ5;u2A1p1LsjYUci<3C$ed?GLnlxrPDe$ zIh#M&T!o7F{AH!%F@wYS%G0QG|7nN*ZIQEGpz*p_1|@Dgp)ET!D3{jqSnp*y+Zzuh6gz97P?$ zY1D)>Zu|?>PJTiq=kKon2kHfinOzf?qmr*0wUK7j^$yhYJ*Xqj4 z(f1#xQGnX5io%sIdO&3#Re8WB{w}Sq^`x^KwUMo^pXU+R(3hmLovKJFU$Pvdd5-$u zVj0knibA=Y`XE)m2|9v&dBQd7u!pKB#Hb3dj&KL{S?WKFK08HO5pL1>t1O{DL~T@u z!bcH)PHHQ}`J!*PgR1l2M&%^JADk%W3twvZ|A3%|g(M5ZP4vTj*^(PJaonl(mF?}+ zN2yOyRi4ffX8eBI{NRN}pN?{(E7uMGcJlXOs*-RWRcEf!OKk{Sxj%f7Vcsa&54iDX zbn~9+hT^KF-CiQ$2Z7C`ZDu$bSZ{PRl}vbKqc!o`XspqTAG;h`GyP&@var(}O>JZq8yrfGc_ZBWzw1r+S1cC(1%0L4 Ax&QzG delta 1890 zcmXxlSx8h-9LMpaPFe1@PG-*7W~P~@*_dXFW~FV~2x0p}8%0t&VMR=VFM%(%m?1qF z6xmDB1QA6i%{d zh@BYA^UYbO!UHgo6E~2LxzCpypW$%)j_NojHr#<5N7MG8?kmP&ScOAzJ*uBZOvWJU z!L6u)w(C64Hz!rWv#1$|Faa+klQVZvD{$Z1Ykg&XkJ_y-r~&t*9*`Ipe&8_VkQt5Y zFT)rTS49ba@SdEd4R!i+iE-?+L2OdB@umv@s zHXMT;s9d{}!1||9dBTCI_|=|BXFW&JE=AqA619YDP#xCe5Zr^BKnr>zj5&@Ov@a)x zx8x=IX@ADWSWYKp*ot0!oXq;qqSDU+EpY+8$`UNZa?HnlSb*noH@>mwSFzDWv=5_Z zd=Hgmz1BX|eIHP7g@*)Lfwiby=n7KN%r4+0yos9eN7PKeSbyON+AcED*-KiRp#E}I_A)%*XPiaJbSxVkU})zJj&4AfFBLS45UHN(|7 z0h>`PcMh}gAvWP(Jb+D%t^j}HcFZBMl)N37sQ3Rm6|OZss1d$HZNVp;jNeclr?E_G zSE6zzfL;t)AEEC1fy(k<$hI3d`=WL>YO5+S0#zpI{a48$Dx6w)b{ddMC9#O8CH#cS za$+{2LF5zv%R(yCi5UcoYUUCeIOBI-?|G=AywXHfocCYv?lMBls~I}43KkLLiE5&h zSW09Qnx$r>qAgI-OjWeBUP4R0gqTLCu-DH21TT*Bzfq-w+W)EHiu0`>9}?Yo2)!mM zQ;1B${vYX(lc=&-Uld;$CvTLjDuqN1L4G?wHcC2``C*)I_x~Q)5;KulKxmJYaBQFR zV-bmS2xT+BFV25JI+{=*I%PoUZQQA-_`O@}cWi9jwY4b+LTyP~qC++ApHcq+eT$%~ diff --git a/example/locales/fr_FR.UTF8/LC_MESSAGES/DEFAULT.po b/example/locales/fr_FR.UTF8/LC_MESSAGES/DEFAULT.po index e992957..a6984db 100644 --- a/example/locales/fr_FR.UTF8/LC_MESSAGES/DEFAULT.po +++ b/example/locales/fr_FR.UTF8/LC_MESSAGES/DEFAULT.po @@ -1,9 +1,9 @@ msgid "" msgstr "" "Project-Id-Version: \n" -"POT-Creation-Date: 2023-02-14 00:22+0100\n" +"POT-Creation-Date: 2023-03-02 15:01+0100\n" "PO-Revision-Date: \n" -"Last-Translator: Benjamin Renard \n" +"Last-Translator: Benjamin Renard \n" "Language-Team: \n" "Language: fr_FR\n" "MIME-Version: 1.0\n" @@ -12,6 +12,135 @@ 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" @@ -154,178 +283,29 @@ msgid "-m/--max-age Item expiration limit (in days, optional)" msgstr "" "-m/--max-age Limite d'expiration des éléments (en secondes, optionnel)" -#: 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 +#: templates/form.tpl:7 templates/search.tpl:36 templates/show.tpl:5 msgid "Name" msgstr "Nom" -#: templates/show.tpl:14 -msgid "Creation date" -msgstr "Date de création" - -#: templates/show.tpl:23 templates/search.tpl:11 templates/form.tpl:15 +#: templates/form.tpl:15 templates/search.tpl:11 templates/show.tpl:23 msgid "Status" msgstr "Statut" -#: templates/show.tpl:32 templates/form.tpl:25 +#: templates/form.tpl:25 templates/show.tpl:32 msgid "Description" msgstr "Description" -#: templates/show.tpl:35 -msgid "Unspecified." -msgstr "Non-spécifié." - -#: templates/show.tpl:42 templates/form.tpl:33 +#: templates/form.tpl:33 templates/show.tpl:42 msgid "Back" msgstr "Retour" -#: templates/show.tpl:43 templates/search.tpl:51 -msgid "Modify" -msgstr "Modifier" +#: templates/form.tpl:36 +msgid "Save" +msgstr "Enregistrer" -#: 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/form.tpl:38 templates/search.tpl:28 +msgid "Add" +msgstr "Ajouter" #: templates/search.tpl:8 msgid "Pattern" @@ -339,10 +319,6 @@ 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" @@ -355,6 +331,26 @@ 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é." @@ -365,6 +361,14 @@ 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 !" @@ -378,13 +382,17 @@ msgstr "" "les fonctionnalités de base." #: templates/homepage.tpl:8 +msgid "" +"The access to this application is available by the following URL: %1" +msgstr "" +"L'accès à cette application est possible via l'URL suivante : " +"%1" + +#: templates/homepage.tpl:11 msgid "This app contains some demo pages:" msgstr "Cette application contient quelques pages de démo :" -#: templates/homepage.tpl:9 +#: templates/homepage.tpl:12 msgid "Search page" msgstr "Page de recherche" - -#: templates/form.tpl:36 -msgid "Save" -msgstr "Enregistrer" diff --git a/example/locales/messages.pot b/example/locales/messages.pot index 4d6039d..1ae5342 100644 --- a/example/locales/messages.pot +++ b/example/locales/messages.pot @@ -1,11 +1,134 @@ msgid "" msgstr "" -"POT-Creation-Date: 2023-02-14 01:18+0100\n" -"PO-Revision-Date: 2023-02-14 01:18+0100\n" +"POT-Creation-Date: 2023-03-02 15:01+0100\n" +"PO-Revision-Date: 2023-03-02 15:01+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" @@ -143,171 +266,28 @@ msgstr "" msgid "-m/--max-age Item expiration limit (in days, optional)" msgstr "" -#: 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 +#: templates/form.tpl:7 templates/search.tpl:36 templates/show.tpl:5 msgid "Name" msgstr "" -#: templates/show.tpl:14 -msgid "Creation date" -msgstr "" - -#: templates/show.tpl:23 templates/search.tpl:11 templates/form.tpl:15 +#: templates/form.tpl:15 templates/search.tpl:11 templates/show.tpl:23 msgid "Status" msgstr "" -#: templates/show.tpl:32 templates/form.tpl:25 +#: templates/form.tpl:25 templates/show.tpl:32 msgid "Description" msgstr "" -#: templates/show.tpl:35 -msgid "Unspecified." -msgstr "" - -#: templates/show.tpl:42 templates/form.tpl:33 +#: templates/form.tpl:33 templates/show.tpl:42 msgid "Back" msgstr "" -#: templates/show.tpl:43 templates/search.tpl:51 -msgid "Modify" +#: templates/form.tpl:36 +msgid "Save" msgstr "" -#: 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" +#: templates/form.tpl:38 templates/search.tpl:28 +msgid "Add" msgstr "" #: templates/search.tpl:8 @@ -322,10 +302,6 @@ msgstr "" msgid "Reset" msgstr "" -#: templates/search.tpl:28 templates/form.tpl:38 -msgid "Add" -msgstr "" - #: templates/search.tpl:35 msgid "Date" msgstr "" @@ -338,6 +314,26 @@ 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 "" @@ -348,6 +344,14 @@ 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 "" @@ -359,13 +363,15 @@ msgid "" msgstr "" #: templates/homepage.tpl:8 +msgid "" +"The access to this application is available by the following URL: %1" +msgstr "" + +#: templates/homepage.tpl:11 msgid "This app contains some demo pages:" msgstr "" -#: templates/homepage.tpl:9 +#: templates/homepage.tpl:12 msgid "Search page" msgstr "" - -#: templates/form.tpl:36 -msgid "Save" -msgstr "" diff --git a/example/templates/homepage.tpl b/example/templates/homepage.tpl index 2891d16..8084839 100644 --- a/example/templates/homepage.tpl +++ b/example/templates/homepage.tpl @@ -4,6 +4,9 @@

{t}Hello, world!{/t}

{t}This is a simple app to show the different possibilities and basic functionality.{/t}

+

+ {t 1=App::get("public_root_url") escape=false}The access to this application is available by the following URL: %1{/t} +


{t}This app contains some demo pages:{/t}

{t}Search page{/t}