diff --git a/index.php b/index.php
index 9f45142..577e1a7 100644
--- a/index.php
+++ b/index.php
@@ -16,8 +16,6 @@ if (!defined('DC_CONTEXT_ADMIN')) {
dcPage::check(dcCore::app()->auth->makePermissions([dcAuth::PERMISSION_CONTENT_ADMIN]));
-$page_title = __('URL handlers');
-
try {
# Read default handlers
$handlers = myUrlHandlers::getDefaults();
@@ -39,7 +37,7 @@ try {
if (empty($handlers[$name])) {
throw new Exception(sprintf(
- __('Handler "%s" doesn\'t exist.'),
+ __('Uknown handler "%s".'),
html::escapeHTML($name)
));
}
@@ -101,43 +99,54 @@ try {
?>
-
+
blog->name) => '',
- '' . $page_title . '' => '',
- ]
- ) .
- dcPage::notices();
+echo
+dcPage::breadcrumb(
+ [
+ html::escapeHTML(dcCore::app()->blog->name) => '',
+ __('URL handlers') => '',
+ ]
+) .
+dcPage::notices();
-?>
-
-
-
-
-
-
-
+?>
diff --git a/locales/fr/main.po b/locales/fr/main.po
index 8e17967..0359849 100644
--- a/locales/fr/main.po
+++ b/locales/fr/main.po
@@ -1,58 +1,39 @@
msgid ""
msgstr ""
-"Project-Id-Version: myUrlHandlers Dotclear module\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-02-24 22:10+0100\n"
-"PO-Revision-Date: 2011-02-24 22:10+0100\n"
-"Last-Translator: Alex Pirine \n"
-"Language-Team: Oleksandr Syenchuk \n"
-"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
+"Project-Id-Version: myUrlHandlers 2022.11.26\n"
+"POT-Creation-Date: \n"
+"PO-Revision-Date: 2022-12-09T23:55:36+00:00\n"
+"Last-Translator: Jean-Christian Denis\n"
+"Language-Team: \n"
+"MIME-Version: 1.0\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Poedit-Language: French\n"
-"X-Poedit-KeywordsList: __\n"
-"X-Poedit-Basepath: ../..\n"
-"X-Poedit-Country: FRANCE\n"
-"X-Poedit-SourceCharset: utf-8\n"
-"X-Poedit-SearchPath-0: .\n"
+"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-#: _admin.php:15
-#: index.php:87
-#: index.php:90
msgid "URL handlers"
msgstr "Gestionnaires d'URL"
-#: index.php:40
-#, php-format
-msgid "Handler \"%s\" doesn't exist."
+msgid "Uknown handler \"%s\"."
msgstr "Le gestionnaire \"%s\" n'existe pas."
-#: index.php:45
-#, php-format
msgid "Invalid URL for handler \"%s\"."
msgstr "URL invalide pour le gestionnaire \"%s\"."
-#: index.php:58
-#, php-format
msgid "Duplicate URL in handlers \"%s\"."
msgstr "Doublon d'URL dans les gestionnaires \"%s\"."
-#: index.php:67
msgid "URL handlers have been successfully updated."
msgstr "Les gestionnaires d'URL ont été mis à jour avec succès."
-#: index.php:74
msgid "URL handlers have been successfully restored."
msgstr "Les gestionnaires d'URL ont été restaurés avec succès."
-#: index.php:99
msgid "No URL handler to configure."
msgstr "Il n'y a aucun gestionnaire d'URL à définir."
-#: index.php:101
msgid "You can write your own URL for each handler of this list."
msgstr "Vous pouvez écrire votre propre URL pour chaque gestionnaire de cette liste."
-#: index.php:120
-msgid "Reset"
-msgstr "Réinitialiser"
\ No newline at end of file
+msgid "URL handlers list"
+msgstr "Liste des gestionnaires d'URL"
+