add number of aliases

This commit is contained in:
Jean-Christian Paul Denis 2022-12-20 21:04:27 +01:00
parent 1bc9e6e7bf
commit 5ebc0c5761
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
2 changed files with 9 additions and 3 deletions

View File

@ -84,6 +84,7 @@ if ($part == 'new') {
} else {
echo
'<form action="' . dcCore::app()->admin->getPageURL() . '" method="post">' .
'<p>' . sprintf(__('There is %s alias.', 'There are %s aliases.', count($aliases)), count($aliases)) . '</p>' .
'<div class="table-outer">' .
'<table>' .
'<caption>' . __('Aliases list') . '</caption>' .

View File

@ -1,9 +1,9 @@
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Project-Id-Version: alias 1.3\n"
"Project-Id-Version: alias 1.4\n"
"POT-Creation-Date: \n"
"PO-Revision-Date: 2022-12-04T14:55:20+00:00\n"
"PO-Revision-Date: 2022-12-20T20:03:59+00:00\n"
"Last-Translator: Jean-Christian Denis\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
@ -23,7 +23,7 @@ msgid "Alias destination is empty."
msgstr "La destination de l'alias est vide."
msgid "Aliases successfully updated."
msgstr "Alias mise à jour avec succès."
msgstr "Alias mis à jour avec succès."
msgid "Alias successfully created."
msgstr "Alias créer avec succès."
@ -43,6 +43,11 @@ msgstr "Ne pas mettre l'URL du blog \"%s\" dans les champs."
msgid "No alias"
msgstr "Aucun alias"
msgid "There is %s alias."
msgid_plural "There are %s aliases."
msgstr[0] "Il y a %s alias."
msgstr[1] "Il y a %s alias."
msgid "Aliases list"
msgstr "Liste des alias"