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
}
{@$images[0]->getThumbnailTag('small')}
{/if}
</div>
- <p class="button jsMediaSelectButton" data-store="imageID0" data-display="imageDisplay">{lang}wcf.acp.article.image.button.chooseImage{/lang}</p>
+ <p class="button jsMediaSelectButton" data-store="imageID0" data-display="imageDisplay">{lang}wcf.acp.media.chooseImage{/lang}</p>
<input type="hidden" name="imageID[0]" id="imageID0"{if $imageID[0]|isset} value="{@$imageID[0]}"{/if}>
{if $errorField == 'image'}
<small class="innerError">{lang}wcf.acp.article.image.error.{@$errorType}{/lang}</small>
{@$images[$availableLanguage->languageID]->getThumbnailTag('small')}
{/if}
</div>
- <p class="button jsMediaSelectButton" data-store="imageID{@$availableLanguage->languageID}" data-display="imageDisplay{@$availableLanguage->languageID}">{lang}wcf.acp.article.image.button.chooseImage{/lang}</p>
+ <p class="button jsMediaSelectButton" data-store="imageID{@$availableLanguage->languageID}" data-display="imageDisplay{@$availableLanguage->languageID}">{lang}wcf.acp.media.chooseImage{/lang}</p>
<input type="hidden" name="imageID[{@$availableLanguage->languageID}]" id="imageID{@$availableLanguage->languageID}"{if $imageID[$availableLanguage->languageID]|isset} value="{@$imageID[$availableLanguage->languageID]}"{/if}>
{if $errorField == 'image'|concat:$availableLanguage->languageID}
<small class="innerError">{lang}wcf.acp.article.image.error.{@$errorType}{/lang}</small>
AcpUiBoxHandler.init(handlers);
new MediaManagerSelect({
- dialogTitle: '{lang}wcf.acp.box.image.dialog.title{/lang}',
+ dialogTitle: '{lang}wcf.acp.media.chooseImage{/lang}',
fileTypeFilters: {
isImage: 1
}
{@$images[0]->getThumbnailTag('small')}
{/if}
</div>
- <p class="button jsMediaSelectButton" data-store="imageID0" data-display="imageDisplay">{lang}wcf.acp.box.image.button.chooseImage{/lang}</p>
+ <p class="button jsMediaSelectButton" data-store="imageID0" data-display="imageDisplay">{lang}wcf.acp.media.chooseImage{/lang}</p>
<input type="hidden" name="imageID[0]" id="imageID0"{if $imageID[0]|isset} value="{@$imageID[0]}"{/if}>
{if $errorField == 'image'}
<small class="innerError">{lang}wcf.acp.box.image.error.{@$errorType}{/lang}</small>
{@$images[$availableLanguage->languageID]->getThumbnailTag('small')}
{/if}
</div>
- <p class="button jsMediaSelectButton" data-store="imageID{@$availableLanguage->languageID}" data-display="imageDisplay{@$availableLanguage->languageID}">{lang}wcf.acp.box.image.button.chooseImage{/lang}</p>
+ <p class="button jsMediaSelectButton" data-store="imageID{@$availableLanguage->languageID}" data-display="imageDisplay{@$availableLanguage->languageID}">{lang}wcf.acp.media.chooseImage{/lang}</p>
<input type="hidden" name="imageID[{@$availableLanguage->languageID}]" id="imageID{@$availableLanguage->languageID}"{if $imageID[$availableLanguage->languageID]|isset} value="{@$imageID[$availableLanguage->languageID]}"{/if}>
{if $errorField == 'image'|concat:$availableLanguage->languageID}
<small class="innerError">{lang}wcf.acp.box.image.error.{@$errorType}{/lang}</small>
{/if}
<dl{if $errorField == 'showOrder'} class="formError"{/if}>
- <dt><label for="showOrder">{@$objectType->getProcessor()->getLanguageVariable('showOrder')}</label></dt>
+ <dt><label for="showOrder">{lang}wcf.global.showOrder{/lang}</label></dt>
<dd>
<input type="number" id="showOrder" name="showOrder" value="{$showOrder}" min="0" class="short">
{if $errorField == 'showOrder'}
<item name="wcf.acp.article.author"><![CDATA[Autor]]></item>
<item name="wcf.acp.article.button.viewArticle"><![CDATA[Vorschau anzeigen]]></item>
<item name="wcf.acp.article.category"><![CDATA[Kategorie]]></item>
+ <item name="wcf.acp.article.content"><![CDATA[Inhalt]]></item>
<item name="wcf.acp.article.delete.confirmMessage"><![CDATA[Wollen Sie den Artikel <span class="confirmationObject">{$article->getTitle()}</span> wirklich löschen?]]></item>
<item name="wcf.acp.article.enableComments"><![CDATA[Kommentare aktivieren]]></item>
<item name="wcf.acp.article.i18n"><![CDATA[Mehrsprachigkeit]]></item>
<item name="wcf.acp.article.publicationStatus.unpublished"><![CDATA[Unveröffentlicht]]></item>
<item name="wcf.acp.article.publicationStatus.published"><![CDATA[Veröffentlicht]]></item>
<item name="wcf.acp.article.publicationStatus.delayed"><![CDATA[Zeitgesteuerte Veröffentlichung]]></item>
+ <item name="wcf.acp.article.teaser"><![CDATA[Einleitungstext]]></item>
</category>
<category name="wcf.acp.attachment">
<item name="wcf.acp.masterPassword.init.description"><![CDATA[Das Hauptkennwort ist ein zusätzlicher Schutz für sicherheitskritische Funktionen. Sie sollten ein möglichst sicheres Kennwort verwenden, dass sich von Ihrem regulären Administrator-Kennwort unterscheidet, Dritten nicht bekannt ist und auch nicht auf anderen Internetseiten verwendet wird.]]></item>
</category>
+ <category name="wcf.acp.media">
+ <item name="wcf.acp.media.chooseImage"><![CDATA[Bild auswählen]]></item>
+ </category>
+
<category name="wcf.acp.menu">
<item name="wcf.acp.menu.link.management"><![CDATA[Verwaltung]]></item>
<item name="wcf.acp.menu.link.maintenance"><![CDATA[Wartung]]></item>
<item name="wcf.acp.article.author"><![CDATA[Author]]></item>
<item name="wcf.acp.article.button.viewArticle"><![CDATA[Show Preview]]></item>
<item name="wcf.acp.article.category"><![CDATA[Category]]></item>
+ <item name="wcf.acp.article.content"><![CDATA[Content]]></item>
<item name="wcf.acp.article.delete.confirmMessage"><![CDATA[Do you really want to delete the article <span class="confirmationObject">{$article->getTitle()}</span>?]]></item>
<item name="wcf.acp.article.enableComments"><![CDATA[Enable comments]]></item>
<item name="wcf.acp.article.i18n"><![CDATA[Multilingualism]]></item>
<item name="wcf.acp.article.publicationStatus.unpublished"><![CDATA[Unpublished]]></item>
<item name="wcf.acp.article.publicationStatus.published"><![CDATA[Published]]></item>
<item name="wcf.acp.article.publicationStatus.delayed"><![CDATA[Delayed publishing]]></item>
+ <item name="wcf.acp.article.teaser"><![CDATA[Teaser]]></item>
</category>
<category name="wcf.acp.attachment">
<item name="wcf.acp.masterPassword.init.description"><![CDATA[The master password is the last line of defense, protecting both critical settings and sensitive data. One should choose a rather strong password which is neither known to any 3rd party person nor re-used on other web pages.]]></item>
</category>
+ <category name="wcf.acp.media">
+ <item name="wcf.acp.media.chooseImage"><![CDATA[Select Image]]></item>
+ </category>
+
<category name="wcf.acp.menu">
<item name="wcf.acp.menu.link.management"><![CDATA[Management]]></item>
<item name="wcf.acp.menu.link.maintenance"><![CDATA[Maintenance]]></item>