From 9f5b768d8401d342968bdc0f6498497b7f212465 Mon Sep 17 00:00:00 2001 From: reger Date: Fri, 8 Jan 2016 01:10:09 +0100 Subject: [PATCH 1/6] fix typo in translation (de,hi) for AccessTracker_p - rem some not translated in ru (-> currently best maintained translation) --- locales/de.lng | 8 ++- locales/hi.lng | 8 +-- locales/ru.lng | 171 ++++++++++++++++++++----------------------------- 3 files changed, 80 insertions(+), 107 deletions(-) diff --git a/locales/de.lng b/locales/de.lng index 652381536..9406270bd 100644 --- a/locales/de.lng +++ b/locales/de.lng @@ -48,10 +48,10 @@ Showing #[num]# requests.==Gezeigt werden #[num]# Anfragen. >Path<==>Pfad< Date<==Datum< Access Count During==Erfasster Zugriff während der -last Second==letzten Sekunde -last Minute==letzten Minute +last Second==letzte Sekunde +last Minute==letzte Minute last 10 Minutes==letzten 10 Minuten -last Hour==letzten Stunde +last Hour==letzte Stunde The following hosts are registered as source for brute-force requests to protected pages==Die folgenden Hosts wurden als Quelle von Brute-Force Attacken auf geschützte Seiten erkannt #>Host==>Host Access Times==Zugriffszeiten @@ -3710,6 +3710,8 @@ Pictures==Bilder #File: yacysearchtrailer.html #--------------------------- Show search results for "#[query]#" on map==Zeige die Suchergebnisse für "#[query]#" auf der Karte +>Documents==>Text +>Images==>Bilder >Protocol==>Netzdienste >Provider==>Anbieter >Filetype==>Dateityp diff --git a/locales/hi.lng b/locales/hi.lng index 04cbf8b91..c00568206 100644 --- a/locales/hi.lng +++ b/locales/hi.lng @@ -21,10 +21,10 @@ Showing #[num]# requests.==अनुरोधों को संख्या >Path<==>मार्ग< Date<==तारीख< Access Count During==पहुंच के दौरान गिनती -last second==आखिरी सेकंड -last minute==आखिरी मिनट +last Second==आखिरी सेकंड +last Minute==आखिरी मिनट last 10 Minutes==पिछले दस मिनट -last hour==पिछला एक घंटा +last Hour==पिछला एक घंटा The following hosts are registered as source for brute-force requests to protected pages==निम्नलिखित होस्ट संरक्षित पृष्ठों के लिए brute-force अनुरोधों के लिए स्रोत के रूप में पंजीकृत हैं #>Host==>होस्ट Access Times==एक्सेस समय @@ -650,7 +650,7 @@ Target for Click on Search Results== खोज परिणाम पर क् "_parent" (the parent frame of a frameset)== "_पैरेंट " (एक फ्रेमसेट के पैरेंट फ्रेम ) "_top" (top of all frames)== "_टॉप " (ऊपर के सभी फ्रेम ) "searchresult" (a default custom page name for search results)== "खोजपरिणाम " (खोज परिणामों करने के लिए एक डिफ़ॉल्ट कस्टम पेज का नाम ) -Change Search Page"== "पृष्ठ को बदलें" +"Change Search Page"=="पृष्ठ को बदलें" "Set to Default Values"=="डिफ़ॉल्ट मान पर सेट करें" The search page can be integrated in your own web pages with an iframe. Simply use the following code:== खोज पृष्ठ एक आइफ्रेम साथ अपने स्वयं के वेब पृष्ठों में एकीकृत किया जा सकता है. बस निम्नलिखित कोड का उपयोग करें: This would look like:== इस तरह दिखेगा: diff --git a/locales/ru.lng b/locales/ru.lng index 327264ea7..8ae988940 100644 --- a/locales/ru.lng +++ b/locales/ru.lng @@ -120,9 +120,9 @@ Select the desired inbuilt functionality==Выберите нужный встр Add DOCTYPE:==Добавить DOCTYPE: Add DOCTYPE information if not given. This is required for IE to render position:absolute correctly.==Добавить информацию DOCTYPE, если не задано. Это может потребоваться для просмотра позиции через Internet Explorer. Reparse webpage:==Повторная обработка вэб-страницы: -Put webpage back into schema (htmlparser document) to allow node by node manipulation.==Setze Webseite zurück ins Schema (htmlpaser Dokuement), um Knoten bei Knoten Manipulation zu ermöglichen. -Show overlay interaction buttons:==Zeige Overlay Schaltflächen zur Interaktion: -Show overlay interaction buttons.==Zeige Overlay Schaltflächen zur Interaktion. +#Put webpage back into schema (htmlparser document) to allow node by node manipulation.==Setze Webseite zurück ins Schema (htmlpaser Dokuement), um Knoten bei Knoten Manipulation zu ermöglichen. +#Show overlay interaction buttons:==Zeige Overlay Schaltflächen zur Interaktion: +#Show overlay interaction buttons.==Zeige Overlay Schaltflächen zur Interaktion. "Submit"=="Сохранить" #----------------------------- @@ -1175,16 +1175,16 @@ Edit Profile==Изменить профиль "Submit changes"=="Подтвердить изменения" Name==Название Collections (comma-separated list)==Хранилища (список через запятую) -URL Must-Match Filter -URL Must-Not-Match Filter -IP Must-Match Filter -IP Must-Not-Match Filter -Country Must-Match Filter -URL No-Depth-Limit Must-Match Filter -Indexing URL Must-Match Filter -Indexing URL Must-Not-Match Filter -Indexing Content Must-Match Filter -Indexing Content Must-Not-Match Filter +#URL Must-Match Filter +#URL Must-Not-Match Filter +#IP Must-Match Filter +#IP Must-Not-Match Filter +#Country Must-Match Filter +#URL No-Depth-Limit Must-Match Filter +#Indexing URL Must-Match Filter +#Indexing URL Must-Not-Match Filter +#Indexing Content Must-Match Filter +#Indexing Content Must-Not-Match Filter Cache Strategy (NOCACHE,IFFRESH,IFEXIST,CACHEONLY)==Использование кэша (без кэша, если новее, если сушествует, только кэш) Crawl Depth==Глубина индексации Recrawl If Older==Переиндексировать, если старше @@ -1443,12 +1443,12 @@ Solr Schema==Схема Solr #File: CrawlStartIntranet_p.html #--------------------------- #Intranet Crawl Start==Запустить индексирование интранета -When an index domain is configured to contain intranet links,==Wenn eine Index Domain konfiguriert wurde die Intranet Links enthält, -the intranet may be scanned for available servers.==kann dieses Intranet auf verfügbare Server gescannt werden. -Please select below the servers in your intranet that you want to fetch into the search index.==Bitte in der folgenden Server Liste aus Ihrem Intranet auswählen, welche Sie in den Suchindex aufnehmen wollen. -This network definition does not allow intranet links.==Diese Netzwerk Konfiguration erlaubt keine Intranet Links. -A list of intranet servers is only available if you confiugure YaCy to index intranet targets.==Eine Liste mit Servern aus dem Intranet ist nur verfügbar, wenn Sie YaCy auch konfiguriert haben Intranetseiten zu indexieren. -To do so, open the Basic Configuration servlet and select the 'Intranet Indexing' use case.==Um diese Einstellung vorzunehmen, bitte im Servlet Basis Konfiguration den Anwendungsfall 'Intranet Indexierung' auswählen. +#When an index domain is configured to contain intranet links,==Wenn eine Index Domain konfiguriert wurde die Intranet Links enthält, +#the intranet may be scanned for available servers.==kann dieses Intranet auf verfügbare Server gescannt werden. +#Please select below the servers in your intranet that you want to fetch into the search index.==Bitte in der folgenden Server Liste aus Ihrem Intranet auswählen, welche Sie in den Suchindex aufnehmen wollen. +#This network definition does not allow intranet links.==Diese Netzwerk Konfiguration erlaubt keine Intranet Links. +#A list of intranet servers is only available if you confiugure YaCy to index intranet targets.==Eine Liste mit Servern aus dem Intranet ist nur verfügbar, wenn Sie YaCy auch konfiguriert haben Intranetseiten zu indexieren. +#To do so, open the Basic Configuration servlet and select the 'Intranet Indexing' use case.==Um diese Einstellung vorzunehmen, bitte im Servlet Basis Konfiguration den Anwendungsfall 'Intranet Indexierung' auswählen. Available Intranet Server==Доступный интранет-сервер #>IP<==>IP-адрес< #>URL<==>URL-адрес< @@ -1897,7 +1897,7 @@ No entry found for URL-hash==Не найдено для хэш URL-адреса "Delete URL"=="Удалить URL-адрес" this may produce unresolved references at other word indexes but they do not harm==это может привести к неразрешённым ссылкам на другие слова индексов, но это не нанесёт вреда "Delete URL and remove all references from words"=="Удалить ссылки, включая ссылки из слов" -delete the reference to this url at every other word where the reference exists (very extensive, but prevents unresolved references)==löscht die Referenz zu dieser URL und jedem anderen Wort, wo die Referenz existiert (sehr umfassend, aber bewahrt vor ungelösten Referenzen) +#delete the reference to this url at every other word where the reference exists (very extensive, but prevents unresolved references)==löscht die Referenz zu dieser URL und jedem anderen Wort, wo die Referenz existiert (sehr umfassend, aber bewahrt vor ungelösten Referenzen) #----------------------------- #File: IndexCreateLoaderQueue_p.html @@ -2075,24 +2075,24 @@ This is the most generic option: select a set of documents using a solr query.== #--------------------------- YaCy '#[clientname]#': Index Import==YaCy '#[clientname]#': Index Import #Crawling Queue Import==Crawling Puffer Import -Index DB Import==Index Datenbank Import -The local index currently consists of (at least) #[wcount]# reverse word indexes and #[ucount]# URL references.==Der lokale Index besteht zur Zeit aus (mindestens) #[wcount]# Wörtern und #[ucount]# URLs. -Import Job with the same path already started.==Ein Import mit dem selben Pfad ist bereits gestartet. +#Index DB Import==Index Datenbank Import +#The local index currently consists of (at least) #[wcount]# reverse word indexes and #[ucount]# URL references.==Der lokale Index besteht zur Zeit aus (mindestens) #[wcount]# Wörtern und #[ucount]# URLs. +#Import Job with the same path already started.==Ein Import mit dem selben Pfad ist bereits gestartet. Starting new Job==Начать новое задание Import Type:==Импорт типа: Cache Size==Размер кэша -Usage Examples==Benutzungs-
beispiele -"Path to the PLASMADB directory of the foreign peer"=="Pfad zum PLASMADB Verzeichnis des fremden Peer" +#Usage Examples==Benutzungs-
beispiele +#"Path to the PLASMADB directory of the foreign peer"=="Pfad zum PLASMADB Verzeichnis des fremden Peer" Import Path:==Путь импорта: "Start Import"=="Импорт начат" Attention:==Внимание: -Always do a backup of your source and destination database before starting to use this import function.==Machen Sie immer ein Backup von Ihrer Quell- und Zieldatenbank, bevor Sie die Import-Funktion nutzen. +#Always do a backup of your source and destination database before starting to use this import function.==Machen Sie immer ein Backup von Ihrer Quell- und Zieldatenbank, bevor Sie die Import-Funktion nutzen. Currently running jobs==Выполняющиеся задания Job Type==Тип задания >Path==>Путь Status==Состояние -Elapsed
Time==Verstrichene
Zeit -Time
Left==verbl.
Zeit +#Elapsed
Time==Verstrichene
Zeit +#Time
Left==verbl.
Zeit Abort Import==Прервать импорт Pause Import==Приостановить импорт Finished::Running::Paused==Завершено::Запущено::Приостановлено @@ -2112,21 +2112,21 @@ You need to have at least the following directories and files in this path:==В >Directory==>Директория >Yes<==>Да< >No<==>Нет< -The LoadedURL Database containing all loaded and indexed URLs==Die 'geladene URLs'-Datenbank, enthält alle geladenen und indexierten URLs -The assortment directory containing parts of the word index.==Das Assortment-Verzeichnis, enthält Teile des Wort-Index. -The words directory containing parts of the word index.==Das Wort-Verzeichnis, enthält Teile des Wort-Index. -The assortment file that should be imported.==Die Assortment-Datei die importiert werden soll. -The assortment file must have the postfix==Die Assortment-Datei muss den Suffix -.db".==.db" haben. -If you would like to import an assortment file from the PLASMADBACLUSTERABKP== Wenn Sie eine Assortment-Datei aus PLASMADBACLUSTERABKP importieren wollen, -you have to rename it first.==müssen Sie sie zuerst umbenennen. ->Notes:==>Anmerkung: -Please note that the imported words are useless if the destination peer doesn't know==Bitte bedenken Sie, dass die importierten Wörter nutzlos sind, wenn der Ziel-Peer nicht weiß, -the URLs the imported words belongs to.==zu welchen URLs sie gehören. -Crawling Queue Import:==Crawler-Puffer-Import: -Contains data about the crawljob an URL belongs to==Enthält Daten über den Crawljob, zu dem eine URL gehört -The crawling queue==Der Crawler-Puffer -Various stack files that belong to the crawling queue==Verschiedene Stack-Dateien, die zum Crawler-Puffer gehören +#The LoadedURL Database containing all loaded and indexed URLs==Die 'geladene URLs'-Datenbank, enthält alle geladenen und indexierten URLs +#The assortment directory containing parts of the word index.==Das Assortment-Verzeichnis, enthält Teile des Wort-Index. +#The words directory containing parts of the word index.==Das Wort-Verzeichnis, enthält Teile des Wort-Index. +#The assortment file that should be imported.==Die Assortment-Datei die importiert werden soll. +#The assortment file must have the postfix==Die Assortment-Datei muss den Suffix +#.db".==.db" haben. +#If you would like to import an assortment file from the PLASMADBACLUSTERABKP== Wenn Sie eine Assortment-Datei aus PLASMADBACLUSTERABKP importieren wollen, +#you have to rename it first.==müssen Sie sie zuerst umbenennen. +#>Notes:==>Anmerkung: +#Please note that the imported words are useless if the destination peer doesn't know==Bitte bedenken Sie, dass die importierten Wörter nutzlos sind, wenn der Ziel-Peer nicht weiß, +#the URLs the imported words belongs to.==zu welchen URLs sie gehören. +#Crawling Queue Import:==Crawler-Puffer-Import: +#Contains data about the crawljob an URL belongs to==Enthält Daten über den Crawljob, zu dem eine URL gehört +#The crawling queue==Der Crawler-Puffer +#Various stack files that belong to the crawling queue==Verschiedene Stack-Dateien, die zum Crawler-Puffer gehören #----------------------------- #File: IndexImportMediawiki_p.html @@ -2352,24 +2352,24 @@ Available after successful loading of rss feed in preview==Станет дост #File: Messages_p.html #--------------------------- ->Messages==>Nachrichten -Date==Datum -From==Von -To==An ->Subject==>Betreff -Action==Aktion -From:==Von: -To:==An: -Date:==Datum: +#>Messages==>Nachrichten +#Date==Datum +#From==Von +#To==An +#>Subject==>Betreff +#Action==Aktion +#From:==Von: +#To:==An: +#Date:==Datum: #Subject:==Betreff: ->view==>anzeigen -reply==antworten ->delete==>löschen -Compose Message==Nachrichtenerstellung -Send message to peer==Sende eine Nachricht an Peer -"Compose"=="Erstellen" -Message:==Nachricht: -inbox==Posteingang +#>view==>anzeigen +#reply==antworten +#>delete==>löschen +#Compose Message==Nachrichtenerstellung +#Send message to peer==Sende eine Nachricht an Peer +#"Compose"=="Erstellen" +#Message:==Nachricht: +#inbox==Posteingang #----------------------------- #File: MessageSend_p.html @@ -2394,8 +2394,8 @@ The message has not been sent yet!==Сообщение еще не отправ The peer is alive but cannot respond. Sorry.==Узел в сети, но не отвечает. Your message has been sent. The target peer responded:==Ваше сообщение отправлено. Узел получателя ответил: The target peer is alive but did not receive your message. Sorry.==Узел получателя в сети, но не смог получить ваше сообщение. -Here is a copy of your message, so you can copy it to save it for further attempts:==Hier ist eine Kopie Ihrer Nachricht. Sie können diese kopieren, speichern und es später nochmal versuchen: -You cannot call this page directly. Instead, use a link on the Network page.==Sie können diese Seite nicht direkt aufrufen. Benutzen Sie stattdessen einen Link auf der Netzwerk Seite. +#Here is a copy of your message, so you can copy it to save it for further attempts:==Hier ist eine Kopie Ihrer Nachricht. Sie können diese kopieren, speichern und es später nochmal versuchen: +#You cannot call this page directly. Instead, use a link on the Network page.==Sie können diese Seite nicht direkt aufrufen. Benutzen Sie stattdessen einen Link auf der Netzwerk Seite. #----------------------------- #File: Network.html @@ -2826,10 +2826,10 @@ Page.== #File: QuickCrawlLink_p.html #--------------------------- -Quick Crawl Link==Schnell Crawl Link +#Quick Crawl Link==Schnell Crawl Link Quickly adding Bookmarks:==Быстрое добавление закладок: -Simply drag and drop the link shown below to your Browsers Toolbar/Link-Bar.==Ziehen Sie einfach den unten stehenden Link auf Ihre Browser Toolbar/Linkbar. -If you click on it while browsing, the currently viewed website will be inserted into the YaCy crawling queue for indexing.==Wenn Sie, während Sie surfen, auf dieses Lesezeichen klicken, wird die gerade betrachtete Seite zum YaCy Crawler-Puffer hinzugefügt, um indexiert zu werden. +#Simply drag and drop the link shown below to your Browsers Toolbar/Link-Bar.==Ziehen Sie einfach den unten stehenden Link auf Ihre Browser Toolbar/Linkbar. +#If you click on it while browsing, the currently viewed website will be inserted into the YaCy crawling queue for indexing.==Wenn Sie, während Sie surfen, auf dieses Lesezeichen klicken, wird die gerade betrachtete Seite zum YaCy Crawler-Puffer hinzugefügt, um indexiert zu werden. Crawl with YaCy==Индексировать с YaCy Title:==Заголовок: Link:==Ссылка: @@ -2840,35 +2840,6 @@ Unable to create new crawling profile for URL:==Невозможно созда Unable to add URL to crawler queue:==Невозможно добавить ссылку в очередь индексатора: #----------------------------- -#File: Ranking_p.html -#--------------------------- -Ranking Configuration==Ranking Einstellungen -The document ranking influences the order of the search result entities.==Das Dokument Ranking beeinflusst die Reihenfolge der Suchergebnis Datensätze. -A ranking is computed using a number of attributes from the documents that match with the search word.==Ein Ranking wird berechnet mit einer Anzahl von Attributen aus den Dokumenten die das gesuchte Wort enthalten. -The attributes are first normalized over all search results and then the normalized attribut is multiplied with the ranking coefficient computed from this list.==Die Attribute werden zuerst über alle Suchergebnisse normalisiert und dann wird das normalisierte Attribut multpliziert mit dem Ranking Koeffizienten der aus dieser Liste errechnet wird. -The ranking coefficient grows exponentially with the ranking levels given in the following table.==Der Ranking Koeffizient wächst exponential mit den Ranking Werten die in der folgenden Tabelle festgelegt werden. -If you increase a single value by one, then the strength of the parameter doubles.==Wenn Sie einen einzelnen Wert um eins erhöhen wird die Stärke des Parameters verdoppelt. -Pre-Ranking==Vor-Ranking - -# Aktuell sind die Werte und Hover over Information in der Ranking_p.java hartcodiert und können nicht übersetzt werden -# -#Date==Datum -#a higher ranking level prefers younger documents.==Ein höherer Ranking Level bevorzugt jüngere Dokumente -#The age of a document is measured using the date submitted by the remote server as document date==Das Alter eines Dokuments wird gemessen anhand des Dokument Datums das der Remote Server übermittelt - -There are two ranking stages:==Es gibt zwei Phasen beim Ranking. -first all results are ranked using the pre-ranking and from the resulting list the documents are ranked again with a post-ranking.==Zuerst werden alle Resultate nach dem Vor-Ranking geranked und aus der resultierenden Liste werden die Dokumente erneut im Nach-Ranking sortiert. -The two stages are separated because they need statistical information from the result of the pre-ranking.==Die zwei Phasen sind getrennt weil statistische Informationen aus dem Ergebnis des Vor-Rankings benötigt werden. - -Post-Ranking==Nach-Ranking - -#Application Of Prefer Pattern==Anwendung eines bevorzugten Musters -#a higher ranking level prefers documents where the url matches the prefer pattern given in a search request.==Ein höherer Ranking Level bevorzugt Dokumente deren URL auf das bevorzugte Muster einer Suchanfrage passt. - -"Set as Default Ranking"=="Als Standard Ranking speichern" -"Re-Set to Built-In Ranking"=="Auf ursprüngliche Werte zurücksetzen" -#----------------------------- - #File: RankingRWI_p.html #--------------------------- RWI Ranking Configuration<==Конфигурация ранжирования RWI< @@ -3435,7 +3406,7 @@ YaCy will be restarted after installation==YaCy будет перезапуще #File: Supporter.html #--------------------------- Supporter<==Спонсор< -"Please enter a comment to your link recommendation. (Your Vote is also considered without a comment.)" +#"Please enter a comment to your link recommendation. (Your Vote is also considered without a comment.)" Supporter are switched off for users without authorization==Спонсоры отключены для пользователей, не прошедших авторизацию "bookmark"=="Закладки" "Add to bookmarks"=="Добавить в закладки" @@ -3443,7 +3414,7 @@ Supporter are switched off for users without authorization==Спонсоры о "Give positive vote"=="Ссылка понравилась" "negative vote"=="Не понравилось" "Give negative vote"=="Ссылка не понравилась" -provided by YaCy peers with an URL in their profile. This shows only URLs from peers that are currently online.==bereitgestellt durch YaCy Peers mit einer URL in ihrem Profil. Es werden nur URLs von Peers angezeigt, die online sind. +#provided by YaCy peers with an URL in their profile. This shows only URLs from peers that are currently online.==bereitgestellt durch YaCy Peers mit einer URL in ihrem Profil. Es werden nur URLs von Peers angezeigt, die online sind. #----------------------------- #File: Surftips.html @@ -3683,7 +3654,7 @@ Sorry, the function you have requested is not yet available!==Извините, #File: Table_YMark_p.html #--------------------------- Table Viewer==Просмотр таблиц -YMark Table Administration==YMark Tabellen Administration +#YMark Table Administration==YMark Tabellen Administration Table Editor: showing table==Редактор таблицы: показать таблицу "Edit Selected Row"=="Изменить выбранную строку" "Add a new Row"=="Добавить новую строку" @@ -3750,8 +3721,8 @@ Password: Images==>Картинки >Movies==>Фильмы From e3d53f0248cf1b61407685378659dca47b0c5a1a Mon Sep 17 00:00:00 2001 From: reger Date: Fri, 8 Jan 2016 02:46:29 +0100 Subject: [PATCH 2/6] add de translation for IndexExport_p --- locales/de.lng | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/locales/de.lng b/locales/de.lng index 9406270bd..97a6760c4 100644 --- a/locales/de.lng +++ b/locales/de.lng @@ -1786,6 +1786,39 @@ There are #[num]# entries in the rejected-queue:==Es befinden sich #[num]# Eintr Fail-Reason==Fehlermeldung #----------------------------- +#File: IndexExport_p.html +#--------------------------- +#URL Database Administration==URL Database Administration +#Index Export +The local index currently contains #[ucount]# documents.==Der lokale Index enthält im Moment #[ucount]# Dokumente. +Loaded URL Export==Export geladener URLs +Export File==Export-Datei +#URL Filter +#>query< +#Export Format +Full Data Records:==Komplette Datensätze +(Rich and full-text Solr data, one document per line in one large xml file, can be processed with shell tools, can be imported with DATA/SURROGATE/in/)==(vollständige Solr Daten, ein Dokument pro Zeile in einer grossen xml Datei, kann mit Kommandozeilentools bearbeitet werden, kann aus DATA/SURROGATE/in/ importiert werden) +#> XML (RSS)< +Full URL List:==Liste mit vollständiger URL: +Plain Text List (URLs only)==Einfache Text Liste (nur URLs) +HTML (URLs with title)==HTML (URLs mit Titel) +Only Domain:==Liste mit nur Domainnamen: +Plain Text List (domains only)==Einfache Text Liste (nur Domains) +HTML (domains as URLs, no title)==HTML (Domains als URLs, kein Titel) +>Only Text:==>Nur Text: +Fulltext of Search Index Text==Voller Text der Indexdokumente +#"Export" +Export to file #[exportfile]# is running .. #[urlcount]# Documents so far==Export nach Datei #[exportfile]# läuft .. #[urlcount]# Dokumente bisher +Finished export of #[urlcount]# Documents to file==Export beendet und #[urlcount]# Dokumente gespeichert in Datei +Import this file by moving it to DATA/SURROGATES/in==Verschiebe diese Datei nach DATA/SURROGATES/in um sie zu importieren +Export to file #[exportfile]# failed:==Export in Datei #[exportfile]# fehlgeschlagen: +Dump and Restore of Solr Index==Dump und Wiederherstellen des Solr Index +"Create Dump"=="Erstelle Dump" +Dump File==Dump Datei +"Restore Dump"=="Stelle Dump wieder her" +Stored a solr dump to file==Solr Dump gespeichert in Datei +#----------------------------- + #File: ContentIntegrationPHPBB3_p.html #--------------------------- Content Integration: Retrieval from phpBB3 Databases==Integration von Inhalt: Import aus phpBB3 Datenbanken From 04161912a5c55aef3a1b45054e953b6c76806330 Mon Sep 17 00:00:00 2001 From: reger Date: Sat, 9 Jan 2016 01:19:06 +0100 Subject: [PATCH 3/6] fix tray icon switch (using predefined/correct config name) --- htroot/Status.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htroot/Status.java b/htroot/Status.java index 3e44717fb..a137ce0ea 100644 --- a/htroot/Status.java +++ b/htroot/Status.java @@ -103,11 +103,11 @@ public class Status redirect = true; } else if ( post.containsKey("popup") ) { final boolean trigger_enabled = post.getBoolean("popup"); - sb.setConfig("browserPopUpTrigger", trigger_enabled); + sb.setConfig(SwitchboardConstants.BROWSER_POP_UP_TRIGGER, trigger_enabled); redirect = true; } else if ( post.containsKey("tray") ) { final boolean trigger_enabled = post.getBoolean("tray"); - sb.setConfig("trayIcon", trigger_enabled); + sb.setConfig(SwitchboardConstants.TRAY_ICON_ENABLED, trigger_enabled); redirect = true; } @@ -303,7 +303,7 @@ public class Status prop.put("otherPeers", "0"); // not online } - if ( !sb.getConfigBool("browserPopUpTrigger", false) ) { + if ( !sb.getConfigBool(SwitchboardConstants.BROWSER_POP_UP_TRIGGER, false) ) { prop.put("popup", "0"); } else { prop.put("popup", "1"); @@ -311,7 +311,7 @@ public class Status if ( !OS.isWindows ) { prop.put("tray", "2"); - } else if ( !sb.getConfigBool("trayIcon", false) ) { + } else if ( !sb.getConfigBool(SwitchboardConstants.TRAY_ICON_ENABLED, false) ) { prop.put("tray", "0"); } else { prop.put("tray", "1"); From b29db4640cba6c18fa329591f4bbd63fabb5db95 Mon Sep 17 00:00:00 2001 From: reger Date: Sat, 9 Jan 2016 20:32:47 +0100 Subject: [PATCH 4/6] update Maven pom - add release-profile to create the release archive only if profile is activated (speeding up normal compilation) - bind install of the 2 jar's not available in repository to validate phase (was clean) to automatically add these to local repository (with disadvantage it's done every time) --- pom.xml | 54 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/pom.xml b/pom.xml index 969da8d1c..6770b091e 100644 --- a/pom.xml +++ b/pom.xml @@ -120,27 +120,6 @@ - - - maven-assembly-plugin - 2.5.3 - - - assembly.xml - - yacy_v${project.version}_${DSTAMP}_${releaseNr} - RELEASE - false - - - - package - - single - - - - @@ -265,7 +244,7 @@ install-webcat-jar - clean + validate install-file @@ -281,7 +260,7 @@ install-J7Zip-jar - clean + validate install-file @@ -301,6 +280,35 @@ + + + release-profile + + + + maven-assembly-plugin + 2.5.3 + + + assembly.xml + + yacy_v${project.version}_${DSTAMP}_${releaseNr} + RELEASE + false + + + + package + + single + + + + + + + + report From ff278249648f5191ff7615d0dcad2cc0967a2b11 Mon Sep 17 00:00:00 2001 From: reger Date: Sun, 10 Jan 2016 01:16:31 +0100 Subject: [PATCH 5/6] fix swfParser reading file signature before passing to library (current version expects data w/o signature) --- .../net/yacy/document/parser/swfParser.java | 25 +++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/source/net/yacy/document/parser/swfParser.java b/source/net/yacy/document/parser/swfParser.java index 47e0ac516..93cb00aa7 100644 --- a/source/net/yacy/document/parser/swfParser.java +++ b/source/net/yacy/document/parser/swfParser.java @@ -71,6 +71,19 @@ public class swfParser extends AbstractParser implements Parser { final SWF2HTML swf2html = new SWF2HTML(); String contents = ""; try { + // read and check file signature (library expect stream positioned after signature) + // magic bytes according to specification http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/swf/pdf/swf-file-format-spec.pdf + // 0x46, 0x57, 0x53 (“FWS”) signature indicates an uncompressed SWF file + // 0x43, 0x57, 0x53 (“CWS”) indicates that the entire file after the first 8 bytes was compressed by using the ZLIB + // 0x5a, 0x57, 0x53 (“ZWS”) indicates that the entire file after the first 8 bytes was compressed by using the LZMA + int magic = source.read(); + if (magic != 'F') // F=uncompressed, C= ZIP-compressed Z=LZMA-compressed + throw new Parser.Failure("compressed swf file not supported", location); // compressed not supported yet + magic = source.read(); // always 'W' + if (magic != 'W') throw new Parser.Failure("not a swf file (wrong file signature)", location); + magic = source.read(); // always 'S' + if (magic != 'S') throw new Parser.Failure("not a swf file (wrong file signature)", location); + contents = swf2html.convertSWFToHTML(source); } catch (final NegativeArraySizeException e) { throw new Parser.Failure(e.getMessage(), location); @@ -82,8 +95,6 @@ public class swfParser extends AbstractParser implements Parser { String url = null; String urlnr = null; final String linebreak = System.getProperty("line.separator"); - final List abstrct = new ArrayList(); - //TreeSet images = null; final List anchors = new ArrayList(); int urls = 0; int urlStart = -1; @@ -120,17 +131,17 @@ public class swfParser extends AbstractParser implements Parser { replaceAll("\n"," "). replaceAll("\r"," "). replaceAll("\t"," ")), // title - "", // TODO: AUTHOR - "", + null, // TODO: AUTHOR + null, null, // an array of section headlines - abstrct, // an abstract - 0.0f, 0.0f, + null, // an abstract + 0.0d, 0.0d, contents, // the parsed document text anchors, // a map of extracted anchors null, null, false, - new Date())}; // a treeset of image URLs + new Date())}; } catch (final Exception e) { if (e instanceof InterruptedException) throw (InterruptedException) e; From 8271f783ca68e08182e832fb6d4780e12f0eba53 Mon Sep 17 00:00:00 2001 From: reger Date: Mon, 11 Jan 2016 01:38:45 +0100 Subject: [PATCH 6/6] upd pom javadoc goal to not fail a build on javadoc errors --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index 6770b091e..e12372ccc 100644 --- a/pom.xml +++ b/pom.xml @@ -163,6 +163,7 @@ htroot/*.java + false