From 5ebc0c576111231183311bd94e97fa9b2976b8f4 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Tue, 20 Dec 2022 21:04:27 +0100 Subject: [PATCH] add number of aliases --- index.php | 1 + locales/fr/main.po | 11 ++++++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/index.php b/index.php index 3f10d7e..98e4531 100644 --- a/index.php +++ b/index.php @@ -84,6 +84,7 @@ if ($part == 'new') { } else { echo '
' . + '

' . sprintf(__('There is %s alias.', 'There are %s aliases.', count($aliases)), count($aliases)) . '

' . '
' . '' . '' . diff --git a/locales/fr/main.po b/locales/fr/main.po index 50bb9c2..c61c638 100644 --- a/locales/fr/main.po +++ b/locales/fr/main.po @@ -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"
' . __('Aliases list') . '