Use language items for box positions in menu management
authorMarcel Werk <burntime@woltlab.com>
Mon, 26 Sep 2016 14:29:08 +0000 (16:29 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 26 Sep 2016 14:29:08 +0000 (16:29 +0200)
wcfsetup/install/files/acp/templates/menuAdd.tpl
wcfsetup/install/files/acp/templates/menuList.tpl
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index 943fc33857eae4b605261bb998133134c09a0c82..6402b54291b8d4c08076d10e6e39e59a3aec2398 100644 (file)
@@ -48,7 +48,7 @@
                                <dd>
                                        <select name="position" id="position">
                                                {foreach from=$availablePositions item=availablePosition}
-                                                       <option value="{@$availablePosition}"{if $availablePosition == $position} selected{/if}>{@$availablePosition}</option>
+                                                       <option value="{@$availablePosition}"{if $availablePosition == $position} selected{/if}>{lang}wcf.acp.box.position.{@$availablePosition}{/lang}</option>
                                                {/foreach}
                                        </select>
                                        
index 3d748e8acdb8858216ee4784367708824ebc28cc..a17291e6dcf003def9e54af6be72027171800166 100644 (file)
@@ -58,7 +58,7 @@
                                                <td class="columnID columnPageID">{@$menu->menuID}</td>
                                                <td class="columnTitle"><a href="{link controller='MenuEdit' id=$menu->menuID}{/link}">{lang}{$menu->title}{/lang}</a></td>
                                                <td class="columnDigits columnItems"><a href="{link controller='MenuItemList' id=$menu->menuID}{/link}">{#$menu->items}</a></td>
-                                               <td class="columnText columnPosition">{$menu->position}</td>
+                                               <td class="columnText columnPosition">{lang}wcf.acp.box.position.{@$menu->position}{/lang}</td>
                                                <td class="columnDigits columnShowOrder">{#$menu->showOrder}</td>
                                                
                                                {event name='columns'}
index 1c71d399c541af7edca179ad9f5fc99587489f66..828d6861939b794eed16d18a9ff4c71034e556a9 100644 (file)
                <item name="wcf.acp.box.position.bottom"><![CDATA[Unter Inhaltsbereich]]></item>
                <item name="wcf.acp.box.position.footerBoxes"><![CDATA[Fußzeile]]></item>
                <item name="wcf.acp.box.position.footer"><![CDATA[Seitenende]]></item>
+               <item name="wcf.acp.box.position.mainMenu"><![CDATA[Hauptmenü]]></item>
                <item name="wcf.acp.box.settings"><![CDATA[Einstellungen]]></item>
                <item name="wcf.acp.box.settings.limit"><![CDATA[Maximale Anzahl]]></item>
                <item name="wcf.acp.box.showHeader"><![CDATA[Box-Titel anzeigen]]></item>
index b8d2905a8f94f7a68b55cdb10f3a26d6ee6f127c..cf7291e7df0debf04eec6eca325f6545ba4bdfe0 100644 (file)
@@ -178,6 +178,7 @@ Examples for medium ID detection:
                <item name="wcf.acp.box.position.bottom"><![CDATA[TODO: Unter Inhaltsbereich]]></item>
                <item name="wcf.acp.box.position.footerBoxes"><![CDATA[TODO: Fußzeile]]></item>
                <item name="wcf.acp.box.position.footer"><![CDATA[TODO: Seitenende]]></item>
+               <item name="wcf.acp.box.position.mainMenu"><![CDATA[Main Menu]]></item>
                <item name="wcf.acp.box.settings"><![CDATA[Settings]]></item>
                <item name="wcf.acp.box.settings.limit"><![CDATA[Maximum Number of Items]]></item>
                <item name="wcf.acp.box.showHeader"><![CDATA[Show box title]]></item>