From: Marcel Werk Date: Fri, 1 Jul 2016 14:06:45 +0000 (+0200) Subject: Added some missing language variables X-Git-Tag: 3.0.0_Beta_1~1289 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43d055d309d4d24f1394c1ef317b5954753c6b67;p=GitHub%2FWoltLab%2FWCF.git Added some missing language variables --- diff --git a/wcfsetup/install/files/acp/templates/articleAdd.tpl b/wcfsetup/install/files/acp/templates/articleAdd.tpl index 9c7594cfee..e797c1b2a0 100644 --- a/wcfsetup/install/files/acp/templates/articleAdd.tpl +++ b/wcfsetup/install/files/acp/templates/articleAdd.tpl @@ -28,7 +28,7 @@ require(['WoltLab/WCF/Media/Manager/Select'], function(MediaManagerSelect) { new MediaManagerSelect({ - dialogTitle: '{lang}wcf.acp.article.image.dialog.title{/lang}', + dialogTitle: '{lang}wcf.acp.media.chooseImage{/lang}', fileTypeFilters: { isImage: 1 } @@ -160,7 +160,7 @@ {@$images[0]->getThumbnailTag('small')} {/if} -

{lang}wcf.acp.article.image.button.chooseImage{/lang}

+

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

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

{lang}wcf.acp.article.image.button.chooseImage{/lang}

+

{lang}wcf.acp.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 1e6b0501ea..7a361d34db 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.box.image.dialog.title{/lang}', + dialogTitle: '{lang}wcf.acp.media.chooseImage{/lang}', fileTypeFilters: { isImage: 1 } @@ -251,7 +251,7 @@ {@$images[0]->getThumbnailTag('small')} {/if} -

{lang}wcf.acp.box.image.button.chooseImage{/lang}

+

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

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

{lang}wcf.acp.box.image.button.chooseImage{/lang}

+

{lang}wcf.acp.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/categoryAdd.tpl b/wcfsetup/install/files/acp/templates/categoryAdd.tpl index 5f06921461..10ee9ee1ad 100644 --- a/wcfsetup/install/files/acp/templates/categoryAdd.tpl +++ b/wcfsetup/install/files/acp/templates/categoryAdd.tpl @@ -130,7 +130,7 @@ {/if} -
+
{if $errorField == 'showOrder'} diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index ad207fcfa6..b73d100e15 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -72,6 +72,7 @@ + {$article->getTitle()} wirklich löschen?]]> @@ -83,6 +84,7 @@ + @@ -597,6 +599,10 @@ + + + + diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 54917bace9..ffea3f29e5 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -72,6 +72,7 @@ + {$article->getTitle()}?]]> @@ -83,6 +84,7 @@ + @@ -596,6 +598,10 @@ Examples for medium ID detection: + + + +