Use language items for box positions
authorMatthias Schmidt <gravatronics@live.com>
Tue, 20 Sep 2016 16:13:45 +0000 (18:13 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 20 Sep 2016 16:13:45 +0000 (18:13 +0200)
wcfsetup/install/files/acp/templates/boxAdd.tpl
wcfsetup/install/files/acp/templates/boxList.tpl
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index d0f76da7818f38af1879e66eef6a544b0b32a3dc..23f80b95bb111ff198d75b95715d2787e2e8e0ea 100644 (file)
                                        <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 4e6f41da3f9c5546bd4e0bc819d643e58c470ada..42bc2c8393ba1c8486c26828c3119d6e1de4bbe8 100644 (file)
@@ -52,7 +52,7 @@
                                        <select name="position" id="boxPosition">
                                                <option value="0">{lang}wcf.acp.box.position{/lang}</option>
                                                {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>
                                </dd>
                                                <td class="columnID columnBoxID">{@$box->boxID}</td>
                                                <td class="columnTitle columnName"><a href="{link controller='BoxEdit' id=$box->boxID}{/link}">{$box->name}</a></td>
                                                <td class="columnText columnBoxType">{$box->boxType}</td>
-                                               <td class="columnText columnPosition">{$box->position}</td>
+                                               <td class="columnText columnPosition">{lang}wcf.acp.box.position.{@$box->position}{/lang}</td>
                                                
                                                {event name='columns'}
                                        </tr>
index 068c532c1025a829fa0f5e9552dc46d20b4205de..8903bca0539abf420b9e2e317658c1442f73a134 100644 (file)
                <item name="wcf.acp.box.name.error.notUnique"><![CDATA[Dieser Name wird bereits von einer anderen Box verwendet.]]></item>
                <item name="wcf.acp.box.position"><![CDATA[Position]]></item>
                <item name="wcf.acp.box.position.error.invalid"><![CDATA[Die ausgewählte Position ist ungültig.]]></item>
+               <item name="wcf.acp.box.position.hero"><![CDATA[Hero]]></item>
+               <item name="wcf.acp.box.position.headerBoxes"><![CDATA[Kopfzeile]]></item>
+               <item name="wcf.acp.box.position.top"><![CDATA[Über Inhaltsbereich]]></item>
+               <item name="wcf.acp.box.position.sidebarLeft"><![CDATA[Linke Seitenleiste]]></item>
+               <item name="wcf.acp.box.position.contentTop"><![CDATA[Im Inhaltsbereich oben]]></item>
+               <item name="wcf.acp.box.position.sidebarRight"><![CDATA[Rechte Seitenleiste]]></item>
+               <item name="wcf.acp.box.position.contentBottom"><![CDATA[Im Inhaltsbereich unten]]></item>
+               <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.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 d8f18b38a0b2f61ab5f38e2548f865e00b750dda..5a335c270702bc1dd35703363ab57b22f79ac31d 100644 (file)
@@ -168,6 +168,16 @@ Examples for medium ID detection:
                <item name="wcf.acp.box.name.error.notUnique"><![CDATA[Name is already in use.]]></item>
                <item name="wcf.acp.box.position"><![CDATA[Position]]></item>
                <item name="wcf.acp.box.position.error.invalid"><![CDATA[The selected position is invalid.]]></item>
+               <item name="wcf.acp.box.position.hero"><![CDATA[TODO: Hero]]></item>
+               <item name="wcf.acp.box.position.headerBoxes"><![CDATA[TODO: Kopfzeile]]></item>
+               <item name="wcf.acp.box.position.top"><![CDATA[TODO: Über Inhaltsbereich]]></item>
+               <item name="wcf.acp.box.position.sidebarLeft"><![CDATA[TODO: Linke Seitenleiste]]></item>
+               <item name="wcf.acp.box.position.contentTop"><![CDATA[TODO: Im Inhaltsbereich oben]]></item>
+               <item name="wcf.acp.box.position.sidebarRight"><![CDATA[TODO: Rechte Seitenleiste]]></item>
+               <item name="wcf.acp.box.position.contentBottom"><![CDATA[TODO: Im Inhaltsbereich unten]]></item>
+               <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.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>