From 04ef12068c64bbe61e24e9bc6db0e1fae37df12a Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 27 Jun 2016 22:09:04 +0200 Subject: [PATCH] Added some missing language variables (page management) --- .../files/acp/templates/articleAdd.tpl | 6 +- .../install/files/acp/templates/boxAdd.tpl | 14 ++-- .../install/files/acp/templates/pageAdd.tpl | 74 +++++++++---------- .../files/acp/templates/pageAddDialog.tpl | 6 +- .../install/files/acp/templates/pageList.tpl | 16 ++-- .../lib/acp/form/ArticleAddForm.class.php | 1 - .../files/lib/acp/page/PageListPage.class.php | 11 +-- wcfsetup/install/lang/de.xml | 38 +++++++++- wcfsetup/install/lang/en.xml | 36 +++++++++ 9 files changed, 139 insertions(+), 63 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/articleAdd.tpl b/wcfsetup/install/files/acp/templates/articleAdd.tpl index 1789658a3e..9c7594cfee 100644 --- a/wcfsetup/install/files/acp/templates/articleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/articleAdd.tpl @@ -87,7 +87,7 @@
- + {if $errorField == 'username'} {if $errorType == 'empty'} @@ -179,7 +179,7 @@
- + {if $errorField == 'title'} {if $errorType == 'empty'} @@ -293,7 +293,7 @@ languageID} class="formError"{/if}>
- + {if $errorField == 'title'|concat:$availableLanguage->languageID} {if $errorType == 'empty'} diff --git a/wcfsetup/install/files/acp/templates/boxAdd.tpl b/wcfsetup/install/files/acp/templates/boxAdd.tpl index 81b3ff535c..aeaa1087d0 100644 --- a/wcfsetup/install/files/acp/templates/boxAdd.tpl +++ b/wcfsetup/install/files/acp/templates/boxAdd.tpl @@ -36,7 +36,7 @@
-

{if $action == 'add'}{if $isMultilingual}{lang}wcf.acp.box.addMultilingual{/lang}{else}{lang}wcf.acp.box.add{/lang}{/if}{else}{lang}wcf.acp.box.edit{/lang}{/if}

+

{if $action == 'add'}{lang}wcf.acp.box.add{/lang}{else}{lang}wcf.acp.box.edit{/lang}{/if}