From dafb8d65d27c77a3a29cc3b77558cefd674e17b2 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 10 Dec 2022 01:08:47 +0100 Subject: [PATCH] better source combo --- index.php | 4 ++-- locales/fr/main.po | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index c327300..31b7a25 100644 --- a/index.php +++ b/index.php @@ -60,8 +60,8 @@ if (in_array($part, ['new', 'copycat'])) { } $combo_source = [ - ' — ' => 'empty', - 'post.html' => 'post', + __('Empty template') => 'empty', + 'post.html' => 'post', ]; if (dcCore::app()->auth->check(dcCore::app()->auth->makePermissions([dcPages::PERMISSION_PAGES]), dcCore::app()->blog->id) && dcCore::app()->plugins->moduleExists('pages')) { diff --git a/locales/fr/main.po b/locales/fr/main.po index f7f4445..1edbd4a 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: templator 1.4-dev\n" +"Project-Id-Version: templator 1.4\n" "POT-Creation-Date: \n" -"PO-Revision-Date: 2022-12-07T20:57:29+00:00\n" +"PO-Revision-Date: 2022-12-10T00:07:54+00:00\n" "Last-Translator: Jean-Christian Denis\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -64,6 +64,9 @@ msgstr "supprimer le template" msgid "File already exists." msgstr "Le fichier existe déjà" +msgid "Empty template" +msgstr "Template vide" + msgid "Filename is empty." msgstr "Le nom de fichier est vide."