Added missing phrases
authorAlexander Ebert <ebert@woltlab.com>
Thu, 31 Mar 2016 21:34:04 +0000 (23:34 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Thu, 31 Mar 2016 21:34:11 +0000 (23:34 +0200)
com.woltlab.wcf/templates/pageMenuMobile.tpl
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index 870b1eeed36514099c2d065accf1f75355bf6ad3..3bccaebbd57acce506e18dc26a12aecd7a0967ae 100644 (file)
@@ -1,11 +1,11 @@
 {* main menu / page options / breadcrumbs *}
-<div id="pageMainMenuMobile" class="pageMainMenuMobile menuOverlayMobile" data-page-logo="{$__wcf->getPath()}images/default-logo.png">
-       <ol class="menuOverlayItemList" data-title="TODO: menu">
-               <li class="menuOverlayTitle">TODO: menu</li>
+<div id="pageMainMenuMobile" class="pageMainMenuMobile menuOverlayMobile" data-page-logo="{$__wcf->getPath()}images/default-logo.png"> {* TODO: use real path *}
+       <ol class="menuOverlayItemList" data-title="{lang}wcf.menu.page{/lang}">
+               <li class="menuOverlayTitle">{lang}wcf.menu.page{/lang}</li>
                <li class="menuOverlayItem">
                        <a href="#" class="menuOverlayItemLink box24">
                                <span class="icon icon24 fa-sitemap"></span>
-                               <span class="menuOverlayItemTitle">TODO: navigation</span>
+                               <span class="menuOverlayItemTitle">{lang}wcf.menu.page.navigation{/lang}</span>
                        </a>
                        <ol class="menuOverlayItemList">
                                {foreach from=$__wcf->getBoxHandler()->getBoxes('mainMenu')[0]->getMenu()->getMenuItemNodeList() item=menuItemNode}
@@ -30,7 +30,7 @@
                        <li class="menuOverlayItem">
                                <a href="#" class="menuOverlayItemLink box24">
                                        <span class="icon icon24 fa-gears"></span>
-                                       <span class="menuOverlayItemTitle">TODO: page options</span>
+                                       <span class="menuOverlayItemTitle">{lang}wcf.menu.page.options{/lang}</span>
                                </a>
                                <ol class="menuOverlayItemList">
                                        {content}
                        </li>
                {/hascontent}
                {hascontent}
-                       <li class="menuOverlayTitle">TODO: current location</li>
-                       <li class="menuOverlayItem">
-                               <a href="#" class="menuOverlayItemLink box24">
-                                       <span class="icon icon24 fa-cogs"></span>
-                                       <span class="menuOverlayItemTitle">TODO: current location</span>
-                               </a>
-                               <ol class="menuOverlayItemList">
-                                       {content}
-                                       {assign var=__breadcrumbsDepth value=0}
-                                       {foreach from=$__wcf->getBreadcrumbs() item=$breadcrumb}
-                                               <li class="menuOverlayItem">
-                                                       <a href="{$breadcrumb->getURL()}" class="menuOverlayItemLink">
-                                                               <span class="menuOverlayItemTitle"{if $__breadcrumbsDepth} style="padding-left: {$__breadcrumbsDepth * 10}px" {/if}>
-                                                                       <span class="icon icon24 fa-{if $__breadcrumbsDepth}caret-right{else}home{/if}"></span>
-                                                                       {$breadcrumb->getLabel()}
-                                                               </span>
-                                                       </a>
-                                               </li>
-                                               {assign var=__breadcrumbsDepth value=$__breadcrumbsDepth + 1}
-                                       {/foreach}
-                                       {/content}
-                               </ol>
-                       </li>
+                       <li class="menuOverlayTitle">{lang}wcf.menu.page.location{/lang}</li>
+                       {content}
+                               {assign var=__breadcrumbsDepth value=0}
+                               {foreach from=$__wcf->getBreadcrumbs() item=$breadcrumb}
+                                       <li class="menuOverlayItem">
+                                               <a href="{$breadcrumb->getURL()}" class="menuOverlayItemLink">
+                                                       <span class="menuOverlayItemTitle"{if $__breadcrumbsDepth} style="padding-left: {$__breadcrumbsDepth * 10}px" {/if}>
+                                                               <span class="icon icon24 fa-{if $__breadcrumbsDepth}caret-right{else}home{/if}"></span>
+                                                               {$breadcrumb->getLabel()}
+                                                       </span>
+                                               </a>
+                                       </li>
+                                       {assign var=__breadcrumbsDepth value=$__breadcrumbsDepth + 1}
+                               {/foreach}
+                       {/content}
                {/hascontent}
                
                <li class="menuOverlayItemSpacer"></li>
@@ -81,7 +73,7 @@
 
 {* user menu *}
 <div id="pageUserMenuMobile" class="pageUserMenuMobile menuOverlayMobile" data-page-logo="{$__wcf->getPath()}images/default-logo.png">
-       <ol class="menuOverlayItemList" data-title="TODO: user menu">
+       <ol class="menuOverlayItemList" data-title="{lang}wcf.menu.user{/lang}">
                {if $__wcf->user->userID}
                        {* logged-in *}
                        <li class="menuOverlayTitle">{lang}wcf.user.controlPanel{/lang}</li>
index ecbeaa0e762924412cfa6fccce7998caa165a58f..43a980866c6de09150271d149f7a64c04fbb217c 100644 (file)
@@ -2295,6 +2295,7 @@ Fehler sind beispielsweise:
                <item name="wcf.global.reason"><![CDATA[Begründung]]></item>
                <item name="wcf.global.settings"><![CDATA[Einstellungen]]></item>
                <item name="wcf.global.bulkProcessing.warning"><![CDATA[Die Massenbearbeitung führt die unten ausgewählte Aktion <b>ohne zusätzliche Sicherheitsabfrage</b> aus!]]></item>
+               <item name="wcf.global.search"><![CDATA[Suche]]></item>
        </category>
        
        <category name="wcf.global.form">
@@ -2422,6 +2423,12 @@ Fehler sind beispielsweise:
        
        <category name="wcf.menu">
                <!-- category for menus and menu items -->
+               
+               <item name="wcf.menu.page"><![CDATA[Menü]]></item>
+               <item name="wcf.menu.page.location"><![CDATA[Aktueller Ort]]></item>
+               <item name="wcf.menu.page.navigation"><![CDATA[Navigation]]></item>
+               <item name="wcf.menu.page.options"><![CDATA[Optionen]]></item>
+               <item name="wcf.menu.user"><![CDATA[Benutzer-Menü]]></item>
        </category>
        
        <category name="wcf.moderation">
index 0445b3f35fe86e0787e30550c52652d189b4afbe..e5730ed2d0dd469602627599ac6bc5c3f5e43157 100644 (file)
@@ -2296,6 +2296,7 @@ Errors are:
                <item name="wcf.global.button.showAll"><![CDATA[Show All]]></item>
                <item name="wcf.global.reason"><![CDATA[Reason]]></item>
                <item name="wcf.global.settings"><![CDATA[Settings]]></item>
+               <item name="wcf.global.search"><![CDATA[Search]]></item>
        </category>
        
        <category name="wcf.global.form">
@@ -2451,6 +2452,12 @@ Errors are:
        
        <category name="wcf.menu">
                <!-- category for menus and menu items -->
+               
+               <item name="wcf.menu.page"><![CDATA[Menu]]></item>
+               <item name="wcf.menu.page.location"><![CDATA[Current Location]]></item>
+               <item name="wcf.menu.page.navigation"><![CDATA[Navigation]]></item>
+               <item name="wcf.menu.page.options"><![CDATA[Options]]></item>
+               <item name="wcf.menu.user"><![CDATA[User Menu]]></item>
        </category>
        
        <category name="wcf.moderation">