From 53f1501feda4a8fcfd72a66f4a2f017e9a19e3d1 Mon Sep 17 00:00:00 2001 From: Marcel Werk <burntime@woltlab.com> Date: Wed, 21 Sep 2016 17:31:33 +0200 Subject: [PATCH] Added missing language variables --- .../install/files/acp/templates/__pageAddContent.tpl | 3 +-- .../files/js/WoltLabSuite/Core/Ui/Page/Search.js | 1 - wcfsetup/install/lang/de.xml | 10 +++++++++- wcfsetup/install/lang/en.xml | 10 +++++++++- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/__pageAddContent.tpl b/wcfsetup/install/files/acp/templates/__pageAddContent.tpl index 6f3fe335d0..ad33852c0f 100644 --- a/wcfsetup/install/files/acp/templates/__pageAddContent.tpl +++ b/wcfsetup/install/files/acp/templates/__pageAddContent.tpl @@ -7,8 +7,7 @@ 'wcf.page.search.error.tooShort': '{lang}wcf.page.search.error.tooShort{/lang}', 'wcf.page.search.error.noResults': '{lang}wcf.page.search.error.noResults{/lang}', 'wcf.page.search.name': '{lang}wcf.page.search.name{/lang}', - 'wcf.page.search.results': '{lang}wcf.page.search.results{/lang}', - 'wcf.page.search.results.description': '{lang}wcf.page.search.results.description{/lang}' + 'wcf.page.search.results': '{lang}wcf.page.search.results{/lang}' }); }) </script> diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Search.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Search.js index 917a2273cd..44b4aa1bfd 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Search.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Page/Search.js @@ -120,7 +120,6 @@ define(['Ajax', 'EventKey', 'Language', 'StringUtil', 'Dom/Util', 'Ui/Dialog'], + '<section id="wcfUiPageSearchResultContainer" class="section" style="display: none;">' + '<header class="sectionHeader">' + '<h2 class="sectionTitle">' + Language.get('wcf.page.search.results') + '</h2>' - + '<p class="sectionDescription">' + Language.get('wcf.page.search.results.description') + '</p>' + '</header>' + '<ol id="wcfUiPageSearchResultList" class="containerList"></ol>' + '</section>' diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index 7fece132cd..40c75f5ad4 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -2379,6 +2379,7 @@ Fehler sind beispielsweise: <item name="wcf.editor.button.link"><![CDATA[Link]]></item> <item name="wcf.editor.button.lists"><![CDATA[Liste]]></item> <item name="wcf.editor.button.media"><![CDATA[Media]]></item> + <item name="wcf.editor.button.page"><![CDATA[CMS-Seite]]></item> <item name="wcf.editor.button.quote"><![CDATA[Zitat]]></item> <item name="wcf.editor.button.redo"><![CDATA[Wiederholen]]></item> <item name="wcf.editor.button.size"><![CDATA[SchriftgröÃe]]></item> @@ -2642,6 +2643,7 @@ Fehler sind beispielsweise: <item name="wcf.media.upload.success"><![CDATA[Die Datei wurde erfolgreich hochgeladen.]]></item> <item name="wcf.media.uploader"><![CDATA[Hochgeladen von]]></item> <item name="wcf.media.uploadTime"><![CDATA[Datum hochgeladen]]></item> + <item name="wcf.media.search.noResults"><![CDATA[Es wurden keine Ergebnisse gefunden.]]></item> </category> <category name="wcf.message"> @@ -2840,8 +2842,14 @@ Fehler sind beispielsweise: <item name="wcf.page.pageObjectID.search.com.woltlab.wcf.Article"><![CDATA[Artikeltitel durchsuchen]]></item> <item name="wcf.page.pageObjectID.search.com.woltlab.wcf.CategoryArticleList"><![CDATA[Kategorietitel durchsuchen]]></item> <item name="wcf.page.pageObjectID.search.com.woltlab.wcf.User"><![CDATA[Benutzernamen durchsuchen]]></item> - <item name="wcf.page.pageObjectID.search.noResults"><![CDATA[TODO]]></item> + <item name="wcf.page.pageObjectID.search.noResults"><![CDATA[Es wurden keine Ergebnisse gefunden.]]></item> <item name="wcf.page.pageObjectID.search.results"><![CDATA[Suchergebnisse]]></item> + <item name="wcf.page.pageObjectID.search.terms"><![CDATA[Durchsuchen]]></item> + <item name="wcf.page.search"><![CDATA[Seiten durchsuchen]]></item> + <item name="wcf.page.search.error.noResults"><![CDATA[Es wurden keine Ergebnisse gefunden.]]></item> + <item name="wcf.page.search.error.tooShort"><![CDATA[Der Suchbegriff ist zu kurz.]]></item> + <item name="wcf.page.search.name"><![CDATA[Seitennamen durchsuchen]]></item> + <item name="wcf.page.search.results"><![CDATA[Suchergebnisse]]></item> </category> <category name="wcf.paidSubscription"> diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 1c67f6338c..41ee31cf7a 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -2341,6 +2341,7 @@ Errors are: <item name="wcf.editor.button.link"><![CDATA[Link]]></item> <item name="wcf.editor.button.lists"><![CDATA[List]]></item> <item name="wcf.editor.button.media"><![CDATA[Media]]></item> + <item name="wcf.editor.button.page"><![CDATA[CMS Page]]></item> <item name="wcf.editor.button.quote"><![CDATA[Quote]]></item> <item name="wcf.editor.button.redo"><![CDATA[Redo]]></item> <item name="wcf.editor.button.size"><![CDATA[Font Size]]></item> @@ -2603,6 +2604,7 @@ Errors are: <item name="wcf.media.upload.success"><![CDATA[The file has been successfully uploaded.]]></item> <item name="wcf.media.uploader"><![CDATA[Uploaded By]]></item> <item name="wcf.media.uploadTime"><![CDATA[Upload Date]]></item> + <item name="wcf.media.search.noResults"><![CDATA[The search returned no results.]]></item> </category> <category name="wcf.message"> @@ -2801,8 +2803,14 @@ Errors are: <item name="wcf.page.pageObjectID.search.com.woltlab.wcf.Article"><![CDATA[Search Article Titles]]></item> <item name="wcf.page.pageObjectID.search.com.woltlab.wcf.CategoryArticleList"><![CDATA[Search Category Titles]]></item> <item name="wcf.page.pageObjectID.search.com.woltlab.wcf.User"><![CDATA[Search Usernames]]></item> - <item name="wcf.page.pageObjectID.search.noResults"><![CDATA[TODO]]></item> + <item name="wcf.page.pageObjectID.search.noResults"><![CDATA[The search returned no results.]]></item> <item name="wcf.page.pageObjectID.search.results"><![CDATA[Search Results]]></item> + <item name="wcf.page.pageObjectID.search.terms"><![CDATA[Search]]></item> + <item name="wcf.page.search"><![CDATA[Search Pages]]></item> + <item name="wcf.page.search.error.noResults"><![CDATA[The search returned no results.]]></item> + <item name="wcf.page.search.error.tooShort"><![CDATA[The entered keyword is too short.]]></item> + <item name="wcf.page.search.name"><![CDATA[Search Page Names]]></item> + <item name="wcf.page.search.results"><![CDATA[Search Results]]></item> </category> <category name="wcf.acp.page"> -- 2.20.1