From 0787f6ead26d13c3118d1116f79b3d9753839eaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Fri, 30 Nov 2012 09:06:07 +0100 Subject: [PATCH] Update i18n from Calibre2Opds If Excel 64Bits is used the following needs to be done : Private Declare Function -> Private Declare PtrSafe Function ByRef lpWideCharStr As Long -> ByRef lpWideCharStr As LongPtr --- lang/Localization_de.json | 20 ++++++++++++++++++-- lang/Localization_en.json | 9 +++++++-- lang/Localization_es.json | 3 +++ lang/Localization_fr.json | 3 +++ lang/Localization_it.json | 3 +++ lang/Localization_ru.json | 3 +++ tools/export_file.txt | 2 +- 7 files changed, 38 insertions(+), 5 deletions(-) diff --git a/lang/Localization_de.json b/lang/Localization_de.json index a9738df..818aca1 100644 --- a/lang/Localization_de.json +++ b/lang/Localization_de.json @@ -31,6 +31,7 @@ "content.series":"Serien: ", "content.series.data":"Buch {0} der {1} - Reihe", "content.publisher":"Verlag: ", +"content.published":"Veröffentlicht:", "content.publisher.data":"Veröffentlicht {1} von {0}", "content.summary":"Inhalt: ", "bookentry.series":"Buch {0} der {1} - Reihe", @@ -76,9 +77,21 @@ "splitByLetter.book.other":"Andere Bücher", "main.title":"Calibre Bibliothek", "main.summary":"{0} hat {1} katalogisierte Bücher", +"startup.newhome":"Standard-Konfigurationsverzeichnis wurde in {0} umgeleitet", +"startup.redirectfound":".redirect-Datei in {0} gefunden", +"startup.redirectreadfail":"… konnte .redirect-Datei nicht lesen", +"startup.redirectnotfound":"… Verzeichnis {0} für Umleitung nicht gefunden", +"startup.redirectabandoned":"… Umleitung nicht durchgeführt", +"startup.redirecting":"Home-Verzeichnis in {0} umgeleitet", +"startup.configusing":"Benutze Konfigurations-Verzeichnis {0}", +"startup.folderuserhome":"Suche Konfigurations-Verzeichnis in Benutzer-Verzeichnis {0}", +"startup.foldertilde":"Suche Konfigurations-Verzeichnis in ~ („Tilde-Verzeichnis“) {0}", +"startup.folderjar":"Suche Konfigurations-Verzeichnis ab der .jar-Datei {0}", +"startup.foldernotexist":"… angegebener Verzeichnis existiert nicht", +"i18n.and":"und", "i18n.downloads":"Downloads, Links und andere Kataloge", "i18n.links":"Links und andere Kataloge", -"i18n.coversection":"Cover", +"i18n.coversection":"Umschlag", "i18n.downloadfile":"Download Datei", "i18n.downloadsection":"Downloads", "i18n.relatedsection":"Verwandte Kataloge", @@ -90,6 +103,9 @@ "about.title":"Calibre2Opds Dokumentation", "about.summary":"Anmerkungen zur Verwendung von Calibre2Opds", "usage.intro":"Die Optionen werden der Konfigurationsdatei in {0} entnommen", +"config.Language.label":"Sprache", +"config.Language.description":"Diese Einstellung ändert die verwendete Sprache des Programms; verwende den Standard ISO Sprachcode (z.B. EN, FR, DE …)", +"config.Language.possible":"Mögliche Werte : {0}", "intro.goal":"Erstelle OPDS und HTML Kataloge der Calibre eBooks Datenbank", "intro.wiki.title":"Calibre2opds Projektseite:", "intro.wiki.url":"http://calibre2opds.com", @@ -100,6 +116,6 @@ "intro.team.list4":"Douglas Steele - Programmierung", "intro.team.list5":"Jane Litte - Beta Tests und moralische Unterstützung", "intro.thanks.1":"Speziellen Dank an Kb Sriram, der nicht nur Trook, eine exzellente und OPDS kompatible ", -"intro.thanks.2":"Bibliotheksverwaltung programmierte, sondern auch einen Nook spendete !", +"intro.thanks.2":"Bibliotheksverwaltung programmierte, sondern auch einen Nook spendete!", "fin":"fin" } diff --git a/lang/Localization_en.json b/lang/Localization_en.json index 661efaf..41a234b 100644 --- a/lang/Localization_en.json +++ b/lang/Localization_en.json @@ -32,8 +32,10 @@ "content.series.data":"Book {0} in the {1} series", "content.publisher":"Publisher:", "content.published":"Published:", +"content.added":"Added: ", +"content.modified":"Modified:", "content.publisher.data":"Published {1} by {0}", -"content.summary":"Summary:", +"content.summary":"Summary", "bookentry.series":"Book {0} in the {1} series", "bookentry.author":"{0} by {1}", "bookentry.tags":"{0} in {1}", @@ -97,12 +99,15 @@ "i18n.relatedsection":"Related catalogs", "i18n.linksection":"External links", "i18n.backToMain":"Back to the main page of the catalog", -"i18n.summarysection":"Summary", +"i18n.summarysection":"Description", "i18n.dateGenerated":"Catalog generated on {0}", "deeplevel.summary":"{0} broken up by authors, tags, etc. ", "about.title":"Calibre2Opds Documentation", "about.summary":"Notes on using Calibre2Opds", "usage.intro":"The options are taken from the configuration file located at {0}", +"config.Language.label":"Language", +"config.Language.description":"This setting changes the language used by the program ; use the standard ISO language code (e.g. EN, FR, DE...)", +"config.Language.possible":"Possible values : {0}", "intro.goal":"Generate OPDS and HTML catalogs from your Calibre ebooks database", "intro.wiki.title":"The project''s home : ", "intro.wiki.url":"http://calibre2opds.com", diff --git a/lang/Localization_es.json b/lang/Localization_es.json index f5f5477..92045b7 100644 --- a/lang/Localization_es.json +++ b/lang/Localization_es.json @@ -86,6 +86,9 @@ "about.title":"Documentación de Calibre2Opds", "about.summary":"Notas de Uso", "usage.intro":"Las opciones provienen del fichero de configuración presente en: {0}", +"config.Language.label":"Idioma", +"config.Language.description":"Esta opción cambia el idioma del programa; use un código ISO estándar (ej: EN, FR, DE, ES...)", +"config.Language.possible":"Valores posibles: {0}", "intro.goal":"Genear catálogos OPDS y HTML desde la biblioteca de calibre", "intro.team.title":"El equipo de Calibre2Opds:", "intro.team.list1":"David Pierron - Programador principal", diff --git a/lang/Localization_fr.json b/lang/Localization_fr.json index f29c5e7..f43db41 100644 --- a/lang/Localization_fr.json +++ b/lang/Localization_fr.json @@ -90,6 +90,9 @@ "about.title":"Documentation de Calibre2Opds", "about.summary":"Notes d'utilisation", "usage.intro":"Les options sont tirées du fichier de configuration qui se trouve ici : {0}", +"config.Language.label":"Langue", +"config.Language.description":"Fixe la langue utilisée par le programme ; Code ISO Standard (ex: EN, FR, DE...)", +"config.Language.possible":"Valeurs proposées : {0}", "intro.goal":"Génère des catalogues OPDS et HTML à partir de votre base de données de Calibre", "intro.wiki.title":"Le site du projet :", "intro.team.title":"L'équipe Calibre2Opds :", diff --git a/lang/Localization_it.json b/lang/Localization_it.json index a80b8e2..414687f 100644 --- a/lang/Localization_it.json +++ b/lang/Localization_it.json @@ -87,6 +87,9 @@ "about.title":"Documentazione di Calibre2Opds", "about.summary":"Note d'utilizzo", "usage.intro":"Le opzioni sono prese dal file di configuraziones che si trova qui: {0}", +"config.Language.label":"Lingua", +"config.Language.description":"Scegli la lingua da utilizzare ; usa il codice ISO standard (es: EN, FR, DE...)", +"config.Language.possible":"Valori proposti: {0}", "intro.goal":"Crea cataloghi OPDS e HTML a partire dalla tua banca dati di Calibre", "intro.wiki.title":"Il sito del progetto: ", "intro.team.title":"Il team Calibre2Opds:", diff --git a/lang/Localization_ru.json b/lang/Localization_ru.json index 58d656b..dc35b32 100644 --- a/lang/Localization_ru.json +++ b/lang/Localization_ru.json @@ -89,6 +89,9 @@ "about.title":"Документация Calibre2Opds", "about.summary":"Примечания по использованию Calibre2Opds", "usage.intro":"Эта опция взята из файла конфигурации, расположенного в {0}", +"config.Language.label":"Язык", +"config.Language.description":"Эта опция устанавливает язык, используемый программой; используйте стандартный ISO код языка (например, EN, FR, DE...)", +"config.Language.possible":"Возможные значения : {0}", "intro.goal":"Генерация OPDS и HTML каталогов вашей базы электронных книг Calibre", "intro.team.title":"Команда Calibre2Opds :", "intro.team.list1":"David Pierron - главный программист", diff --git a/tools/export_file.txt b/tools/export_file.txt index 805e09c..f706a7f 100644 --- a/tools/export_file.txt +++ b/tools/export_file.txt @@ -37,7 +37,7 @@ Sub Export_File(sType, iCol As Integer) iBlankLines = iBlankLines + 1 Else iBlankLines = 0 - If Not isComment(sTemp) And Not sTemp Like "config*" And Not sTemp Like "gui*" And Not sTemp Like "error*" And Not sTemp Like "info*" And Not sTemp Like "stats*" Then + If Not isComment(sTemp) And (Not (sTemp Like "config*") Or sTemp Like "config.Language*") And Not sTemp Like "gui*" And Not sTemp Like "error*" And Not sTemp Like "info*" And Not sTemp Like "stats*" Then sOut = """" & sTemp & """" & ":" ' Print #oFile, "="; sTemp = shSheet.Cells(iRow, iCol).Value