better source combo

This commit is contained in:
Jean-Christian Paul Denis 2022-12-10 01:08:47 +01:00
parent 0bbdbf7748
commit dafb8d65d2
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
2 changed files with 7 additions and 4 deletions

View File

@ -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')) {

View File

@ -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."