Added some missing language variables
authorMarcel Werk <burntime@woltlab.com>
Fri, 1 Jul 2016 14:06:45 +0000 (16:06 +0200)
committerMarcel Werk <burntime@woltlab.com>
Fri, 1 Jul 2016 14:06:53 +0000 (16:06 +0200)
wcfsetup/install/files/acp/templates/articleAdd.tpl
wcfsetup/install/files/acp/templates/boxAdd.tpl
wcfsetup/install/files/acp/templates/categoryAdd.tpl
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index 9c7594cfeef7843957d95ad8661855c4d6c3d583..e797c1b2a029c53cdb8662c0a8db07a2de4cdfa0 100644 (file)
@@ -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
                                }
                                                                {@$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>
index 1e6b0501ea8a49e6d1f1f23185bda86a5288b6c9..7a361d34dbff951c04d41db40d73133491c096ff 100644 (file)
@@ -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
                                }
                                                                                {@$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>
index 5f069214618731f0609f68fbbe5647e022e4afa1..10ee9ee1ad2f000c96caa7e6fb5e49f69e1cda3b 100644 (file)
                {/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'}
index ad207fcfa649493f587bde3b9f55b8b8bce74565..b73d100e1559479016f8f9526139ab5d82e23c85 100644 (file)
@@ -72,6 +72,7 @@
                <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>
@@ -83,6 +84,7 @@
                <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>
index 54917bace9f10849c5b0ca6ddb9e2dbe8f07beee..ffea3f29e5cddacd06cf0fd0e7aa0b5569748aec 100644 (file)
@@ -72,6 +72,7 @@
                <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>
@@ -83,6 +84,7 @@
                <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">
@@ -596,6 +598,10 @@ Examples for medium ID detection:
                <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>