Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
keep and update existing xlf translation master instead of create new in utility CreateTranslationMasters + small fixes in lng's
reger2343e3f1cda2
diff --git a/locales/cn.lng b/locales/cn.lngindex addf92924..417b53fd1 100644--- a/locales/cn.lng+++ b/locales/cn.lng@@ -590,7 +590,6 @@ Parser Configuration==解析配置Content Parser Settings==内容解析设置With this settings you can activate or deactivate parsing of additional content-types based on their MIME-types.==此设置能开启/关闭依据文件类型(MIME)的内容解析.For a detailed description of the various MIME-types take a look at==关于MIME的详细描述请参考-http://www.iana.org/assignments/media-types/</a>==http://www.iana.org/assignments/media-types/</a>.enable/disable Parser==Parser 开启 / 关闭# --- Parser Names are hard-coded BEGIN ---##Mime-Type==MIME Typdiff --git a/locales/de.lng b/locales/de.lngindex 9acc45b14..f2d55f2a7 100644--- a/locales/de.lng+++ b/locales/de.lng@@ -633,7 +633,7 @@ YaCy can operate a computing grid of YaCy peers or as a stand-alone node.==Sie kTo control that all participants within a web indexing domain have access to the same domain,==Um zu kontrollieren, dass alle Teilnehmer innerhalb einer Indexierungs Domain Zugriff zu der selben Domain haben,this network definition must be equal to all members of the same YaCy network.==müssen diese Netzwerkdefinitionen bei allen Mitgliedern des YaCy Netzwerkes gleich sein.Network Definition==Netzwerk Definition-Network Nick==Netzwerk Nick+Network Nick==Netzwerk NameLong Description==Lange BeschreibungIndexing Domain==Indexierungs Domain#DHT==DHTdiff --git a/locales/fr.lng b/locales/fr.lngindex 8ec4d3073..b0b30137a 100644--- a/locales/fr.lng+++ b/locales/fr.lng@@ -1427,7 +1427,7 @@ Forwarding host password:==Weiterleitender Host mot de passe#By default, the access is not limited,==Standardmäßig ist der Zugang unbeschränkt,#because this function is needed to spawn the p2p index-sharing function.==da dies notwendig ist um den P2P-Indextausch zu ermöglichen.#If you block access to your server (setting anything else than '*'), then you will also be blocked==Wenn Sie den Zugang zu Ihrem Server blockieren (Einstellen von irgendetwas anderem als '*') dann werden Sie auch davon ausgeschlossen-from using other peers' indexes for search service.==den Index anderer Noeuds zur Suche zu verwenden.+#from using other peers' indexes for search service.==den Index anderer Noeuds zur Suche zu verwenden.#However, blocking access may be correct in enterprise environments where you only want to index your==Wie auch immer, in Unternehmensumgebungen kann ein Blockieren richtig sein,#company's own web pages.==wenn Sie nur die Unternehmenseigenen Websites indexieren wollen.#staticIP (optional):==statische IP (optional):@@ -1676,12 +1676,12 @@ This peer's name==Name dieses Noeuds#This peer's statistics==Statistik dieses Noeuds#Unknown==unbekanntUptime==En ligne depuis-Connects (==Verbindungen (+#Connects (==Verbindungen (#"connected Juniors"=="verbundene Juniors"#"connected Seniors"=="verbundene Seniors"#"connected Principals"=="verbundene Principals"#"disconnected peers"=="nichtverbundene Noeuds"-peers/hour==Noeuds/Stunde+peers/hour==Noeuds/heure#This peer's status==Status dieses Noeuds#Virgin - You have not published your peer seed yet. This happens automatically, just wait. While you have this status you are not allowed to search other peers.==Virgin - Ihr Noeud ist dem Netzwerk noch nicht bekannt. Warten Sie noch ein wenig, dies geschieht automatisch. Während Sie diesen Status haben, ist es Ihnen nicht erlaubt andere Noeuds zu durchsuchen.#Junior - You cannot be reached from outside. A possible reason is that you are behind a firewall, NAT or Router. But you can <a href="index.html">search the internet</a> using the other peers' global index on your own search page. We encourage you to open your firewall for the port you configured (usually: 8080), or to set up a 'virtual server' in your router settings (often called DMZ). Please be fair, contribute your own index to the global index.==Junior - Ihr Noeud kann nicht von außen erreicht werden. Ein möglicher Grund ist, dass Sie sich hinter einer Firewall, NAT oder einem Router befinden. Trotzdem können Sie <a href="index.html">das Internet durchsuchen</a>, indem Sie den globalen Index der anderen Noeuds von Ihrer Suchseite aus benutzen. Wir möchten Sie ermutigen den Port, den Sie für YaCy eingestellt haben (Vorgabe: 8080) in Ihrer Firewall zu öffnen, oder einen "virtuellen Server" in Ihrem Router aufzusetzten (oft auch DMZ genannt). Bitte seien Sie fair und tragen Sie Ihren Teil zum globalen Index bei!diff --git a/locales/hi.lng b/locales/hi.lngindex 16b281b28..b82841bdc 100644--- a/locales/hi.lng+++ b/locales/hi.lng@@ -492,8 +492,7 @@ Size and position (width | height | position)==आकार और स्थिSpecifies where the dialog should be displayed. Possible values for position: 'center', 'left', 'right', 'top', 'bottom', or an array containing a coordinate pair (in pixel offset from top left of viewport) or the possible string values (e.g. ['right','top'] for top right corner)==निर्दिष्ट करता है जहाँ संवाद प्रदर्शित किया जाना चाहिए. पद के लिए संभावित मान: 'केंद्र ' 'बाएँ ', 'ठीक ' 'शीर्ष ' 'नीचे ', या एक समन्वय जोड़ी (पिक्सेल में शीर्ष बाएँ से ऑफसेट युक्त सरणी के व्यूपोर्ट ) या संभव स्ट्रिंग मूल्यों (जैसे [ 'ठीक ' 'शीर्ष ' ] ऊपरी दाएँ कोने के लिए )Animation effects (show | hide)==एनिमेशन प्रभाव (शो | छिपाने )The effect to be used. Possible values: 'blind', 'clip', 'drop', 'explode', 'fold', 'puff', 'slide', 'scale', 'size', 'pulsate'.==रभाव इस्तेमाल किया जाएगा. संभावित मान: 'अंधा ' 'क्लिप ' 'ड्रॉप ' 'विस्फोट ' 'गुना ' 'कश ' 'स्लाइड ' 'पैमाने ' , 'आकार ' 'धड़कना '-Interaction (modal | resizable)==-इंटरेक्शन (मोडल | बदलने योग्य )+Interaction (modal | resizable)==इंटरेक्शन (मोडल | बदलने योग्य )If modal is set to true, the dialog will have modal behavior; other items on the page will be disabled (i.e. cannot be interacted with).==मोडल सही पर सेट किया जाता है, तो संवाद मोडल व्यवहार होगा; पेज पर अन्य मदों (यानी के साथ बातचीत नहीं कर सकते हैं) निष्क्रिय किया जाएगाModal dialogs create an overlay below the dialog but above other page elements.==मोडल संवाद संवाद नीचे लेकिन अन्य पृष्ठ तत्वों ऊपर ओवरले बनाIf resizable is set to true, the dialog will be resizeable.==बदलने योग्य सत्य पर नियत किया जाता है, तो संवाद resizeable होगाdiff --git a/locales/ja.lng b/locales/ja.lngindex 09e76f655..07369c82f 100644--- a/locales/ja.lng+++ b/locales/ja.lng@@ -646,7 +646,7 @@ Other portal settings can be adjusted in <a href="ConfigPortal.html">Generic Sea>Vocabulary<==>語彙<>Title of Result<==>結果の題名<Description and text snippet of the search result==検索結果の説明とテキストのスニペット-http://url-of-the-search-result.net==http://url-of-the-search-result.net+#http://url-of-the-search-result.net==http://url-of-the-search-result.net42 kbyte<==42 kB<>Metadata<==>メタデータ<#>Parser<==>構文解析器<diff --git a/locales/ru.lng b/locales/ru.lngindex 75dfa650f..359cda54b 100644--- a/locales/ru.lng+++ b/locales/ru.lng@@ -798,7 +798,6 @@ Parser Configuration==Конфигурация парсераContent Parser Settings==Настройки анализа контентаWith this settings you can activate or deactivate parsing of additional content-types based on their MIME-types.==С помощью этих настроек вы можете включить или выключить анализ дополнительных типов контента.For a detailed description of the various MIME-types take a look at==Детальное описание различных типов файлов смотрите на-http://www.iana.org/assignments/media-types/</a>==http://www.iana.org/assignments/media-types/</a>If you want to test a specific parser you can do so using the==Если вы желаете тестировать специальные парсеры, вы также можете использовать>File Viewer<==>просмотр файлов<> enable/disable<==> Включено / Выключено<@@ -976,7 +975,7 @@ Other portal settings can be adjusted in==Другие настройки пор>Collection<==>Хранилище<>Title of Result<==>Заголовок результата<Description and text snippet of the search result==Описание и фрагмент текста результата поиска-http://url-of-the-search-result.net==http://url-of-the-search-result.net+#http://url-of-the-search-result.net==http://url-of-the-search-result.net42 kbyte<==42 КБайт<>Metadata<==>Метаданные<>Parser<==>Анализ<diff --git a/locales/sk.lng b/locales/sk.lngindex 5abf7ea8c..56ad7c5ff 100644--- a/locales/sk.lng+++ b/locales/sk.lng@@ -1552,7 +1552,6 @@ Changes will take effect immediately.==Zmeny su okamzite ucinne.Content Parser Settings==Nastavenia parsera obsahuWith this settings you can activate or deactivate parsing of additional content-types based on their MIME-types.==S tymito nastavenia mozete zapnut alebo vypnut parsovanie dodatocnych suborov na zaklade ich mime-typov.For a detailed description of the various MIME-types take a look at==Detailny popis rozlicnych mime-typov najdete na-http://www.iana.org/assignments/media-types/</a>==http://www.iana.org/assignments/media-types/</a>.Changes take effect immediately==Zmeny su okamzite ucinne#-----------------------------diff --git a/locales/uk.lng b/locales/uk.lngindex 1c681e2c9..8d466e9f0 100644--- a/locales/uk.lng+++ b/locales/uk.lng@@ -622,7 +622,6 @@ Parser Configuration==Настройка обробникаContent Parser Settings==Налаштування обробника вмістуWith this settings you can activate or deactivate parsing of additional content-types based on their MIME-types.==З допомогою цих настройок можна вмикати і вимикати обробку додаткових типів даних на основі їхніх MIME-типів.For a detailed description of the various MIME-types take a look at==Для докладного опису різних типів MIME дивіться-http://www.iana.org/assignments/media-types/</a>==https://www.iana.org/assignments/media-types/</a>If you want to test a specific parser you can do so using the <a href="ViewFile.html">File Viewer</a>==Якщо потрібно перевірити незвичайний аналізатор, це можна зробити з допомогою <a href="ViewFile.html">переглядача файлів</a>enable/disable Parser==Ввім./Вимк. обробник# --- Parser Names are hard-coded BEGIN ---diff --git a/source/net/yacy/utils/translation/CreateTranslationMasters.java b/source/net/yacy/utils/translation/CreateTranslationMasters.javaindex 8c5a48daa..930c8e252 100644--- a/source/net/yacy/utils/translation/CreateTranslationMasters.java+++ b/source/net/yacy/utils/translation/CreateTranslationMasters.java@@ -81,12 +81,18 @@ public class CreateTranslationMasters extends TranslatorXliff {/*** Create a master translation list by reading all translation files+ * If a masterOutputFile exists, content is preserved (loaded first)** @param masterOutpuFile output file (xliff format)* @throws IOException*/- public void createMasterTranslationLists(File masterOutpuFile) throws IOException {- Map<String, Map<String, String>> xliffTrans = new TreeMap();+ public void createMasterTranslationLists(File masterOutputFile) throws IOException {+ Map<String, Map<String, String>> xliffTrans;+ if (masterOutputFile.exists()) // if file exists, conserve existing master content (may be updated by external tool)+ xliffTrans = TranslatorXliff.loadTranslationsListsFromXliff(masterOutputFile);+ else+ xliffTrans = new TreeMap();+List<String> lngFiles = Translator.langFiles(new File("locales"));for (String filename : lngFiles) {// load translation list@@ -134,7 +140,7 @@ public class CreateTranslationMasters extends TranslatorXliff {}}// save as xliff file w/o language code- saveAsXliff(null, masterOutpuFile, xliffTrans);+ saveAsXliff(null, masterOutputFile, xliffTrans);}/**diff --git a/source/net/yacy/utils/translation/TranslatorXliff.java b/source/net/yacy/utils/translation/TranslatorXliff.javaindex 8e8157595..1f5fea3af 100644--- a/source/net/yacy/utils/translation/TranslatorXliff.java+++ b/source/net/yacy/utils/translation/TranslatorXliff.java@@ -253,8 +253,8 @@ public class TranslatorXliff extends Translator {output.write("# -----------------------\n");output.write("# This is a part of YaCy, a peer-to-peer based web search engine\n\n");output.write("# Each translation list starts with #File: relative/path/to/file\n");- output.write("# followed by the translations OriginalText==TranslatedText\n");- output.write("# Comment lines start with #\n\n");+ output.write("# followed by the translations OriginalText==TranslatedText (in one line)\n");+ output.write("# Comment lines or not translated lines start with #\n\n");// special handling of "ConfigLanguage_p.html" to list on top of all other// because of some important identifier