From a9566c33d162d795c09468b71db049ccfbde919d Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sat, 10 Sep 2016 13:12:35 +0200 Subject: [PATCH] Added missing language variables --- .../files/acp/templates/articleAdd.tpl | 6 +-- .../install/files/acp/templates/boxAdd.tpl | 6 +-- .../install/files/acp/templates/mediaList.tpl | 5 +-- wcfsetup/install/lang/de.xml | 40 +++++++++++++++++-- wcfsetup/install/lang/en.xml | 10 +++-- 5 files changed, 50 insertions(+), 17 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/articleAdd.tpl b/wcfsetup/install/files/acp/templates/articleAdd.tpl index 4f3989bbd5..875a0f6ddb 100644 --- a/wcfsetup/install/files/acp/templates/articleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/articleAdd.tpl @@ -30,7 +30,7 @@ require(['WoltLabSuite/Core/Media/Manager/Select'], function(MediaManagerSelect) { new MediaManagerSelect({ - dialogTitle: '{lang}wcf.acp.media.chooseImage{/lang}', + dialogTitle: '{lang}wcf.media.chooseImage{/lang}', fileTypeFilters: { isImage: 1 } @@ -164,7 +164,7 @@ {@$images[0]->getThumbnailTag('small')} {/if} -

{lang}wcf.acp.media.chooseImage{/lang}

+

{lang}wcf.media.chooseImage{/lang}

{if $errorField == 'image'} {lang}wcf.acp.article.image.error.{@$errorType}{/lang} @@ -278,7 +278,7 @@ {@$images[$availableLanguage->languageID]->getThumbnailTag('small')} {/if} -

{lang}wcf.acp.media.chooseImage{/lang}

+

{lang}wcf.media.chooseImage{/lang}

languageID]|isset} value="{@$imageID[$availableLanguage->languageID]}"{/if}> {if $errorField == 'image'|concat:$availableLanguage->languageID} {lang}wcf.acp.article.image.error.{@$errorType}{/lang} diff --git a/wcfsetup/install/files/acp/templates/boxAdd.tpl b/wcfsetup/install/files/acp/templates/boxAdd.tpl index 6a259f760d..33d22a70ba 100644 --- a/wcfsetup/install/files/acp/templates/boxAdd.tpl +++ b/wcfsetup/install/files/acp/templates/boxAdd.tpl @@ -27,7 +27,7 @@ AcpUiBoxHandler.init(handlers); new MediaManagerSelect({ - dialogTitle: '{lang}wcf.acp.media.chooseImage{/lang}', + dialogTitle: '{lang}wcf.media.chooseImage{/lang}', fileTypeFilters: { isImage: 1 } @@ -253,7 +253,7 @@ {@$images[0]->getThumbnailTag('small')} {/if} -

{lang}wcf.acp.media.chooseImage{/lang}

+

{lang}wcf.media.chooseImage{/lang}

{if $errorField == 'image'} {lang}wcf.acp.box.image.error.{@$errorType}{/lang} @@ -326,7 +326,7 @@ {@$images[$availableLanguage->languageID]->getThumbnailTag('small')} {/if} -

{lang}wcf.acp.media.chooseImage{/lang}

+

{lang}wcf.media.chooseImage{/lang}

languageID]|isset} value="{@$imageID[$availableLanguage->languageID]}"{/if}> {if $errorField == 'image'|concat:$availableLanguage->languageID} {lang}wcf.acp.box.image.error.{@$errorType}{/lang} diff --git a/wcfsetup/install/files/acp/templates/mediaList.tpl b/wcfsetup/install/files/acp/templates/mediaList.tpl index 12ac77e78b..8613705ce5 100644 --- a/wcfsetup/install/files/acp/templates/mediaList.tpl +++ b/wcfsetup/install/files/acp/templates/mediaList.tpl @@ -1,4 +1,4 @@ -{include file='header' pageTitle='wcf.acp.media.list'} +{include file='header' pageTitle='wcf.media.media'}