add number of aliases

This commit is contained in:
Jean-Christian 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 { } else {
echo echo
'<form action="' . dcCore::app()->admin->getPageURL() . '" method="post">' . '<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">' . '<div class="table-outer">' .
'<table>' . '<table>' .
'<caption>' . __('Aliases list') . '</caption>' . '<caption>' . __('Aliases list') . '</caption>' .

View file

@ -1,9 +1,9 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "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" "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" "Last-Translator: Jean-Christian Denis\n"
"Language-Team: \n" "Language-Team: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -23,7 +23,7 @@ msgid "Alias destination is empty."
msgstr "La destination de l'alias est vide." msgstr "La destination de l'alias est vide."
msgid "Aliases successfully updated." msgid "Aliases successfully updated."
msgstr "Alias mise à jour avec succès." msgstr "Alias mis à jour avec succès."
msgid "Alias successfully created." msgid "Alias successfully created."
msgstr "Alias créer avec succès." 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" msgid "No alias"
msgstr "Aucun 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" msgid "Aliases list"
msgstr "Liste des alias" msgstr "Liste des alias"