Upload files to "languages"

This commit is contained in:
2025-12-06 03:38:03 +00:00
parent 1c668db7f1
commit 7aef832401
5 changed files with 354 additions and 0 deletions

1
languages/__init__.py Normal file
View File

@@ -0,0 +1 @@
# just to enable the subdirectory

111
languages/de.py Normal file
View File

@@ -0,0 +1,111 @@
__license__ = 'GPL v3'
__copyright__ = '2015, dloraine'
__docformat__ = 'restructuredtext en'
de = {
# CONFIG MENU
# custom columns (ini.py)
'Artists Custom Columns:': 'Eigene Spalten für Künstler:',
'Other Custom Columns:': 'Andere Eigene Spalten:',
'Penciller:': 'Zeichner:',
'Inker:': 'Inker:',
'Colorist:': 'Colorist:',
'Letterer:': 'Letterer:',
'Cover Artist:': 'Cover Künstler:',
'Editor:': 'Editor:',
'Translator:': 'Translator:',
'Story Arc:': 'Story Bogen:',
'Characters:': 'Charactere:',
'Teams:': 'Teams:',
'Locations:': 'Orte:',
'Volume:': 'Band:',
'Genre:': 'Genre:',
'Number of issues:': 'Anzahl der Ausgaben:',
'Pages:': 'Seiten:',
'Image size:': 'Bildgröße:',
'Comicvine link:': 'Comicvine link:',
'Manga:': 'Manga:',
# options (ini.py)
'Options:': 'Optionen:',
'Write metadata in zip comment': 'Schreibe die Metadaten in den Zip-Kommentar',
'Write metadata in ComicInfo.xml': 'Schreibe die Metadaten in die ComicInfo.xml Datei',
'Import metadata from zip comment': 'Importiere die Metadaten aus dem Zip-Kommentar',
'Import metadata from ComicInfo.xml': 'Importiere die Metadaten aus der ComicInfo.xml Datei',
'Auto convert cbr to cbz': 'Konvertiere cbr Dateien automatisch zu cbz Dateien',
'Also convert rar and zip to cbz': 'Konvertiere auch rar und zip Dateien zu cbz Dateien',
'Auto convert while importing to calibre': 'Konvertiere auch beim Importieren automatisch',
'Delete cbr after conversion': 'Lösche die cbr Datei nach dem Konvertieren',
'Swap names to "LN, FN" when importing metadata': 'Vertausche Vor- und Nachnamen beim Importieren',
'Import tags from comic metadata': 'Importiere die Schlagwörter aus den Comic-Metadaten',
'If checked, overwrites the tags in calibre.': 'Überschreibe die Schlagwörter in Calibre',
'Auto count pages if importing': 'Zähle Seiten beim importieren',
'Get the image size if importing': 'Bestimme die Bildgröße beim importieren',
# main_buton (ini.py)
'Main Button Action (needs a calibre restart):': 'Haupt-Button Aktion (erfordert einen Neustart):',
'Embed metadata': 'Bette Metadaten ein',
'Import metadata': 'Importiere Metadaten',
# toolbar_buttons (ini.py)
'Menu Buttons:': 'Menü Buttons:',
'Show embed both button': 'Zeige den Button um beide Metadaten einzubetten',
'Show embed cbi button': 'Zeige den Button um cbi-Metadaten einzubetten',
'Show embed cix button': 'Zeige den Button um cix-Metadaten einzubetten',
'Show import both button': 'Zeige den Button um beide Metadaten zu importieren',
'Show import cix button': 'Zeige den Button um cix-Metadaten zu importieren',
'Show import cbi button': 'Zeige den Button um cbi-Metadaten zu importieren',
'Show convert button': 'Zeige den Konvertierungs-Button',
'Show embed cover button (experimental)': 'Zeige den Button zum einbetten des Covers (experimentell)',
'Show count pages button': 'Zeige den Button zum zählen der Seiten',
'Show get image size button': 'Zeige den Button zur Bestimmung der Bildgröße',
'Show remove metadata button': 'Zeige den Button zur Entfernung von Metadaten',
# TOOLBAR MENU
# (ini.py)
'Import Metadata from the comic archive into calibre': 'Importiere die Metadaten aus dem Comic',
'Import Comic Rack Metadata from the comic archive into calibre': 'Importiere die Comic Rack Metadaten aus dem Comic',
'Import Comment Metadata from the comic archive into calibre': 'Importiere die Metadaten aus dem Kommentar des Comics',
'Embed both Comic Metadata types': 'Bette beide Metadaten-Typen ein',
'Only embed Metadata in zip comment': 'Bette die Metadaten nur in den Zip-Kommentar ein',
'Only embed Metadata in ComicInfo.xml': 'Bette die Metadaten nur in die ComicInfo.xml Datei ein',
'Only convert to cbz': 'Konvertiere die Dateien zu cbz Dateien',
'Embed the calibre cover': 'Bette das Calibre Cover ein',
'Count pages': 'Zähle Seiten',
'Remove metadata': 'Entferne Metadaten',
'Get image size': 'Bestimme die Bildgröße',
# main button (ui.py)
'Import Comic Metadata': 'Metadaten importieren',
'Imports the metadata from the comic to calibre': 'Importiere die Metadaten aus dem Comic',
'Embed Comic Metadata': 'Metadaten einbetten',
'Embeds calibres metadata into the comic': 'Bette Calibres Metadaten in das Comic ein',
# config button (ui.py)
'Configure': 'Optionen',
# COMPLETED MESSAGES (main.py)
'Updated Calibre Metadata': 'Calibre Metadaten wurden aktualisiert',
'Updated calibre metadata for {} book(s)': 'Die Metadaten für {} Comics wurden aktualisiert',
'The following books had no metadata: {}': 'Die folgenden Comics haben keine Metadaten: {}',
'Updated comics': 'Comic Dateien wurden aktualisiert',
'Updated the metadata in the files of {} comics': 'Die Metadaten in {} Comic Dateien wurden aktualisiert',
'The following books were not updated: {}': 'Die folgenden Comic Dateien wurden nicht aktualisiert: {}',
'Converted files': 'Dateien wurden konverttiert',
'Converted {} book(s) to cbz': '{} Comics wurden in das cbz Format konvertiert',
'The following books were not converted: {}': 'Die folgenden Comics wurden nicht konvertiert: {}',
'Updated Covers': 'Die Cover wurden aktualisiert',
'Embeded {} covers': '{} Cover wurden eingebettet',
'The following covers were not embeded: {}': 'Die folgenden Cover wurden nicht eingebettet: {}',
'Counted pages': 'Seiten gezählt',
'Counted pages in {} comics': 'Seiten in {} comics gezählt',
'The following comics were not counted: {}': 'Die folgenden Comics wurden nicht gezählt: {}',
'The following comics were converted to cbz: {}': 'Die folgenden Comics wurden in das cbz Format konvertiert: {}',
'Removed metadata': 'Metadaten wurden entfernt',
'Removed metadata in {} comics': 'Metadaten aus {} Comics entfernt',
'The following comics did not have metadata removed: {}': 'Aus den folgenden Comics wurden die Metadaten nicht entfernt: {}',
# ERRORS
# (ui.py)
'Cannot update metadata': 'Metadaten können nicht aktualisiert werden',
'No embed format selected': 'Kein passendes Format gewählt',
# (main.py)
'Cannot update metadata': 'Metadaten können nicht aktualisiert werden',
'No books selected': 'Keine Bücher wurden ausgewählt'
# end
}

111
languages/en.py Normal file
View File

@@ -0,0 +1,111 @@
__license__ = 'GPL v3'
__copyright__ = '2015, dloraine'
__docformat__ = 'restructuredtext en'
en = {
# CONFIG MENU
# custom columns (ini.py)
'Artists Custom Columns:': 'Artists Custom Columns:',
'Other Custom Columns:': 'Other Custom Columns:',
'Penciller:': 'Penciller:',
'Inker:': 'Inker:',
'Colorist:': 'Colorist:',
'Letterer:': 'Letterer:',
'Cover Artist:': 'Cover Artist:',
'Editor:': 'Editor:',
'Translator:': 'Translator:',
'Story Arc:': 'Story Arc:',
'Characters:': 'Characters:',
'Teams:': 'Teams:',
'Locations:': 'Locations:',
'Volume:': 'Volume:',
'Genre:': 'Genre:',
'Number of issues:': 'Number of issues:',
'Pages:': 'Pages:',
'Image size:': 'Image size:',
'Comicvine link:': 'Comicvine link:',
'Manga:': 'Manga:',
# options (ini.py)
'Options:': 'Options:',
'Write metadata in zip comment': 'Write metadata in zip comment',
'Write metadata in ComicInfo.xml': 'Write metadata in ComicInfo.xml',
'Import metadata from zip comment': 'Import metadata from zip comment',
'Import metadata from ComicInfo.xml': 'Import metadata from ComicInfo.xml',
'Auto convert cbr to cbz': 'Auto convert cbr to cbz',
'Also convert rar and zip to cbz': 'Also convert rar and zip to cbz',
'Auto convert while importing to calibre': 'Auto convert while importing to calibre',
'Delete cbr after conversion': 'Delete cbr after conversion',
'Swap names to "LN, FN" when importing metadata': 'Swap names to "LN, FN" when importing metadata',
'Import tags from comic metadata': 'Import tags from comic metadata',
'If checked, overwrites the tags in calibre.': 'If checked, overwrites the tags in calibre.',
'Auto count pages if importing': 'Auto count pages if importing',
'Get the image size if importing': 'Get the image size if importing',
# main_buton (ini.py)
'Main Button Action (needs a calibre restart):': 'Main Button Action (needs a calibre restart):',
'Embed metadata': 'Embed metadata',
'Import metadata': 'Import metadata',
# toolbar_buttons (ini.py)
'Menu Buttons:': 'Menu Buttons:',
'Show embed both button': 'Show embed both button',
'Show embed cbi button': 'Show embed cbi button',
'Show embed cix button': 'Show embed cix button',
'Show import both button': 'Show import both button',
'Show import cix button': 'Show import cix button',
'Show import cbi button': 'Show import cbi button',
'Show convert button': 'Show convert button',
'Show embed cover button (experimental)': 'Show embed cover button (experimental)',
'Show count pages button': 'Show count pages button',
'Show get image size button': 'Show get image size button',
'Show remove metadata button': 'Show remove metadata button',
# TOOLBAR MENU
# (ini.py)
'Import Metadata from the comic archive into calibre': 'Import Metadata from the comic archive into calibre',
'Import Comic Rack Metadata from the comic archive into calibre': 'Import Comic Rack Metadata from the comic archive into calibre',
'Import Comment Metadata from the comic archive into calibre': 'Import Comment Metadata from the comic archive into calibre',
'Embed both Comic Metadata types': 'Embed both Comic Metadata types',
'Only embed Metadata in zip comment': 'Only embed Metadata in zip comment',
'Only embed Metadata in ComicInfo.xml': 'Only embed Metadata in ComicInfo.xml',
'Only convert to cbz': 'Only convert to cbz',
'Embed the calibre cover': 'Embed the calibre cover',
'Count pages': 'Count pages',
'Remove metadata': 'Remove metadata',
'Get image size': 'Get image size',
# main button (ui.py)
'Import Comic Metadata': 'Import Comic Metadata',
'Imports the metadata from the comic to calibre': 'Imports the metadata from the comic to calibre',
'Embed Comic Metadata': 'Embed Comic Metadata',
'Embeds calibres metadata into the comic': 'Embeds calibres metadata into the comic',
# config button (ui.py)
'Configure': 'Configure',
# COMPLETED MESSAGES (main.py)
'Updated Calibre Metadata': 'Updated Calibre Metadata',
'Updated calibre metadata for {} book(s)': 'Updated calibre metadata for {} book(s)',
'The following books had no metadata: {}': 'The following books had no metadata: {}',
'Updated comics': 'Updated comics',
'Updated the metadata in the files of {} comics': 'Updated the metadata in the files of {} comics',
'The following books were not updated: {}': 'The following books were not updated: {}',
'Converted files': 'Converted files',
'Converted {} book(s) to cbz': 'Converted {} book(s) to cbz',
'The following books were not converted: {}': 'The following books were not converted: {}',
'Updated Covers': 'Updated Covers',
'Embeded {} covers': 'Embeded {} covers',
'The following covers were not embeded: {}': 'The following covers were not embeded: {}',
'Counted pages': 'Counted pages',
'Counted pages in {} comics': 'Counted pages in {} comics',
'The following comics were not counted: {}': 'The following comics were not counted: {}',
'The following comics were converted to cbz: {}': 'The following comics were converted to cbz: {}',
'Removed metadata': 'Removed metadata',
'Removed metadata in {} comics': 'Removed metadata in {} comics',
'The following comics did not have metadata removed: {}': 'The following comics did not have metadata removed: {}',
# ERRORS
# (ui.py)
'Cannot update metadata': 'Cannot update metadata',
'No embed format selected': 'No embed format selected',
# (main.py)
'Cannot update metadata': 'Cannot update metadata',
'No books selected': 'No books selected'
# end
}

110
languages/es.py Normal file
View File

@@ -0,0 +1,110 @@
__license__ = 'GPL v3'
__copyright__ = '2015, dloraine'
__docformat__ = 'restructuredtext es'
es = {
# CONFIG MENU
# custom columns (ini.py)
'Artists Custom Columns:': 'Columnas personalizadas de artistas:',
'Other Custom Columns:': 'Otras columnas personalizadas:',
'Penciller:': 'Dibujante:',
'Inker:': 'Entintador:',
'Colorist:': 'Colorista:',
'Letterer:': 'Rotulador:',
'Cover Artist:': 'Artista de portada:',
'Editor:': 'Editor:',
'Story Arc:': 'Arco narrativo:',
'Characters:': 'Caracteres:',
'Teams:': 'Equipos:',
'Locations:': 'Ubicaciones:',
'Volume:': 'Volumen:',
'Genre:': 'Género:',
'Number of issues:': 'Número de volumenes:',
'Pages:': 'Páginas:',
'Image size:': 'Tamaño Imagen:',
'Comicvine link:': 'Comicvine enlace:',
'Manga:': 'Manga:',
# options (ini.py)
"Options:": "Opciones:",
'Write metadata in zip comment': 'Escribir metadatos en comentario zip',
'Write metadata in ComicInfo.xml': 'Escribir metadatos en ComicInfo.xml',
'Import metadata from zip comment': 'Importar metadatos desde comentario zip',
'Import metadata from ComicInfo.xml': 'Importar metadatos desde Comicinfo.xml',
'Auto convert cbr to cbz': 'Conversión automática de cbr a cbz',
'Also convert rar and zip to cbz': 'También convierta rar y zip a cbz',
'Auto convert while importing to calibre': 'Conversión automática al importar a calibre',
'Delete cbr after conversion': 'Eliminar cbr después de la conversión',
'Swap names to "LN, FN" when importing metadata': 'Cambie los nombres a "LN, FN" al importar metadatos',
'Import tags from comic metadata': 'Importar etiquetas de metadatos de cómics',
'If checked, overwrites the tags in calibre.': 'Si está marcado, sobrescribe las etiquetas en calibre.',
'Auto count pages if importing': 'Conteo automático de páginas si se importa',
'Get the image size if importing': 'Obtenga el tamaño de la imagen si la importa',
# main_buton (ini.py)
"Main Button Action (needs a calibre restart):": "Acción del botón principal (necesita reiniciar calibre):",
'Embed metadata': 'Insertar metadatos',
'Import metadata': 'Importar metadatatos',
# toolbar_buttons (ini.py)
"Menu Buttons:": "Botones de menú:",
'Show embed both button': 'Mostrar botón para insertar ambos',
'Show embed cbi button': 'Mostrar botón insertar cbi',
'Show embed cix button': 'Mostrar botón insertar cix',
'Show import both button': 'Mostrar botón importar ambos',
'Show import cix button': 'Mostrar botón importar cix',
'Show import cbi button': 'Mostrar botón importar cbi',
'Show convert button': 'Mostrar botón de conversión',
'Show embed cover button (experimental)': 'Mostrar botón para insertar portada (experimental)',
'Show count pages button': 'Botón Mostrar recuento de páginas',
'Show get image size button': 'Mostrar botón para obtener tamaño de imagen',
'Show remove metadata button': 'Mostrar el botón para eliminar metadatos',
# TOOLBAR MENU
# (ini.py)
'Import Metadata from the comic archive into calibre': 'Importar metadatos del archivo de cómics a calibre',
"Import Comic Rack Metadata from the comic archive into calibre": "Importar metadatos de Comic Rack del archivo de cómics a calibre",
"Import Comment Metadata from the comic archive into calibre": "Importar metadatos de comentarios del archivo de cómics a calibre",
"Embed both Comic Metadata types": "Incrustar ambos tipos de metadatos de cómic",
"Only embed Metadata in zip comment": "Incrustar sólo metadatos en el comentario zip",
"Only embed Metadata in ComicInfo.xml": "Solo incrustar metadatos en ComicInfo.xml",
"Only convert to cbz": "Solo convertir a cbz",
"Embed the calibre cover": "Incrustar la cubierta del calibre",
"Count pages": "Contar páginas",
'Remove metadata': 'Eliminar metadatos',
"Get image size": "Obtener tamaño de imagen",
# main button (ui.py)
'Import Comic Metadata': 'Importar metadatos del cómic',
'Imports the metadata from the comic to calibre': 'Importa los metadatos del cómic a calibre',
'Embed Comic Metadata': 'Incrustar metadatos del cómic',
'Embeds calibres metadata into the comic': 'Incrusta metadatos de calibre en el cómic',
# config button (ui.py)
"Configure": "Configurar",
# COMPLETED MESSAGES (main.py)
"Updated Calibre Metadata": "Metadatos de calibre actualizados",
'Updated calibre metadata for {} book(s)': 'Metadatos de calibre actualizados para {} libro(s)',
'The following books had no metadata: {}': 'Los siguientes libros no tenían metadatos: {}',
"Updated comics": "Cómics actualizados",
'Updated the metadata in the files of {} comics': 'Actualizados los metadatos en los archivos de {} comics',
'The following books were not updated: {}': 'Los siguientes libros no fueron actualizados: {}',
"Converted files": "Archivos convertidos",
'Converted {} book(s) to cbz': 'Convertido {} libro(s) a cbz',
'The following books were not converted: {}': 'Los siguientes libros no se convirtieron: {}',
"Updated Covers": "Portadas Actualizadas",
'Embeded {} covers': 'Portadas {} incrustadas',
'The following covers were not embeded: {}': 'Las siguientes portadas no fueron incrustadas: {}',
"Counted pages": "Páginas contadas",
'Counted pages in {} comics': 'Páginas contadas en {} cómics',
'The following comics were not counted: {}': 'No se contaron los siguientes cómics: {}',
"The following comics were converted to cbz: {}": "Los siguientes cómics fueron convertidos a cbz: {}",
'Removed metadata': 'Metadatos eliminados',
'Removed metadata in {} comics': 'Se eliminaron metadatos en {} cómics',
'The following comics did not have metadata removed: {}': 'A los siguientes cómics no se les eliminaron metadatos: {}',
# ERRORS
# (ui.py)
'Cannot update metadata': 'No se pueden actualizar los metadatos',
'No embed format selected': 'No se ha seleccionado ningún formato de inserción',
# (main.py)
'Cannot update metadata': 'No se pueden actualizar los metadatos',
'No books selected': 'No hay libros seleccionados'
# end
}

21
languages/lang.py Normal file
View File

@@ -0,0 +1,21 @@
__license__ = 'GPL v3'
__copyright__ = '2015, dloraine'
__docformat__ = 'restructuredtext en'
from calibre.utils.localization import get_lang
from .en import en
from .es import es
from .de import de
lang_dict = {
"en": en,
"es": es,
"de": de
}
lang = get_lang()
_L = lang_dict["en"]
if lang != "en" and lang in lang_dict:
_L.update(lang_dict[lang])