Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "Translate!" button for easy translation via Google Translate #82

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion eclipse-rbe-plugin/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.ui.editors,
org.eclipse.ui.ide,
org.eclipse.ui.views,
org.eclipse.jdt.ui;resolution:=optional
org.eclipse.jdt.ui;resolution:=optional,
com.fasterxml.jackson.core.jackson-databind,
com.fasterxml.jackson.core.jackson-annotations,
com.fasterxml.jackson.core.jackson-core


18 changes: 13 additions & 5 deletions eclipse-rbe-plugin/OSGI-INF/l10n/bundle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ editor.new.tab = New...
editor.new.title = New properties file:
editor.properties = Properties
editor.rbe = ResourceBundle Editor
editor.translate = Translate!
editor.wiz.add = Add -->
editor.wiz.browse = Browse...
editor.wiz.bundleName = &Base Name:
Expand All @@ -41,11 +42,14 @@ editor.wiz.selectFolder = Select a folder
editor.wiz.selected = Selected locales
editor.wiz.title = ResourceBundle (Properties Files)

error.init.badencoding = Malformed \\uxxxx encoding found in this string:
error.init.ui = Cannot initialize visual component.
error.newfile.cannotCreate = Cannot create new file.
error.newfile.cannotOpen = Cannot open newly created file.
error.seeLogs = See log file for details.
error.init.badencoding = Malformed \\uxxxx encoding found in this string:
error.init.ui = Cannot initialize visual component.
error.newfile.cannotCreate = Cannot create new file.
error.newfile.cannotOpen = Cannot open newly created file.
error.seeLogs = See log file for details.
error.translate.errForLang = Errors occurred for the following languages: {0}
error.translate.noTextToTranslate = There is nothing to be translated. Provide text for at least one language and leave at least one language empty.
error.translate.notranslation = No translation found in server response

key.add = &Add
key.collapseAll = Co&llapse All
Expand Down Expand Up @@ -101,6 +105,10 @@ prefs.showGeneratedBy = Show "Generated By..." header comment (s
prefs.spacesAroundEquals = At least one space each side of equal signs.
prefs.supportFragments = Support loading of resources from fragment
prefs.supportNL = Support Eclipse "nl" structure for plugin internationalization.
prefs.translate.apiKey = Google API-Key
prefs.translate.defaultLang = Default Language
prefs.translate.google = Google Translate
prefs.translate.intro = Register a google cloud API key in order to enable translations via "Google Translate" service.
prefs.wrapAlignEquals = Align wrapped lines with equal signs.
prefs.wrapIndent = How many spaces to use for indentation:
prefs.wrapIndent.error = The 'How many spaces to use...' field must be numeric.
Expand Down
18 changes: 13 additions & 5 deletions eclipse-rbe-plugin/OSGI-INF/l10n/bundle_de.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ editor.new.tab = Neu...
editor.new.title = Neue Dateieigenschaften
editor.properties = Eigenschaften
editor.rbe = ResourceBundle Editor
editor.translate = \u00DCbersetzen!
editor.wiz.add = Hinzuf\u00FCgen -->
editor.wiz.browse = Durchsuchen...
editor.wiz.bundleName = Basisname
Expand All @@ -41,11 +42,14 @@ editor.wiz.selectFolder = W\u00E4hle einen Ordner
editor.wiz.selected = Gew\u00E4hlte Lokalisierung
editor.wiz.title = ResourceBundle (Properties Dateien)

error.init.badencoding = Malformed \\uxxxx encoding found in this string:
error.init.ui = Kann die visuelle Komponente nicht initialisieren.
error.newfile.cannotCreate = Kann keine neue Datei erstellen.
error.newfile.cannotOpen = Kann die neu angelegte Datei nicht \u00F6ffnen.
error.seeLogs = Siehe Log-Datei f\u00FCr Details.
error.init.badencoding = Malformed \\uxxxx encoding found in this string:
error.init.ui = Kann die visuelle Komponente nicht initialisieren.
error.newfile.cannotCreate = Kann keine neue Datei erstellen.
error.newfile.cannotOpen = Kann die neu angelegte Datei nicht \u00F6ffnen.
error.seeLogs = Siehe Log-Datei f\u00FCr Details.
error.translate.errForLang = F\u00FCr die folgenden Sprachen sind Fehler aufgetreten: {0}
error.translate.noTextToTranslate = Es gibt nichts zu \u00FCbersetzen. Geben Sie Text f\u00FCr mindestens eine Sprache an und lassen Sie mindestens eine Sprache leer.
error.translate.notranslation = Keine \u00DCbersetzung in Serverantwort gefunden

key.add = &Anf\u00FCgen
key.collapseAll = Alle &zusammenklappen
Expand Down Expand Up @@ -100,6 +104,10 @@ prefs.showGeneratedBy = Zeige "Erstellt von..." Kopfzeilenkommen
prefs.spacesAroundEquals = Mindestens ein Leerzeichen links und rechts eines Gleichheitszeichens lassen.
prefs.supportFragments = Laden von Ressourcen aus Fragment-Projekten unterst\u00FCtzen
prefs.supportNL = Unterst\u00FCtzen der Eclipse "nl"-Struktur f\u00FCr PlugIn-Internationalisierung.
prefs.translate.apiKey = Google API-Key
prefs.translate.defaultLang = Sprache der Vorgabe
prefs.translate.google = Google Translate
prefs.translate.intro = Registrieren Sie einen Google-Cloud API-Key um automatische \u00DCbersetzungen via "Google Translate" zu erm\u00F6glichen.
prefs.wrapAlignEquals = Ausrichten umgebrochener Zeilen mit gleichen Zeichen.
prefs.wrapIndent = Anzahl der Leerzeichen f\u00FCr die Einr\u00FCckung:
prefs.wrapIndent.error = Das "Anzahl der Leerzeichen f\u00FCr die Einr\u00FCckung"-Feld mu\u00DF numerisch sein.
Expand Down
18 changes: 13 additions & 5 deletions eclipse-rbe-plugin/OSGI-INF/l10n/bundle_es.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ editor.new.tab = Nuevo...
editor.new.title = Nuevo archivo properties:
editor.properties = Propiedades
editor.rbe = ResourceBundle Editor
editor.translate = \u00A1Traducir!
editor.wiz.add = Agregar -->
editor.wiz.browse = Examinar...
editor.wiz.bundleName = Nombre:
Expand All @@ -41,11 +42,14 @@ editor.wiz.selectFolder = Seleccionar una carpeta
editor.wiz.selected = Idiomas seleccionados
editor.wiz.title = ResourceBundle (Archivos Properties)

error.init.badencoding = Se ha detectado una codificaci\u00F3n \\\\uxxxx err\u00F3nea en este texto:
error.init.ui = No se pudo inicializar el componente gr\u00E1fico.
error.newfile.cannotCreate = No se pudo crear el archivo nuevo.
error.newfile.cannotOpen = No se pudo abrir el archivo reci\u00E9n creado.
error.seeLogs = Para m\u00E1s detalles vea el registro.
error.init.badencoding = Se ha detectado una codificaci\u00F3n \\\\uxxxx err\u00F3nea en este texto:
error.init.ui = No se pudo inicializar el componente gr\u00E1fico.
error.newfile.cannotCreate = No se pudo crear el archivo nuevo.
error.newfile.cannotOpen = No se pudo abrir el archivo reci\u00E9n creado.
error.seeLogs = Para m\u00E1s detalles vea el registro.
error.translate.errForLang = Ocurrieron errores para los siguientes idiomas: {0}
error.translate.noTextToTranslate = No hay nada que traducir. Proporcione texto para al menos un idioma y deje al menos un idioma vac\u00EDo.
error.translate.notranslation = No se encontr\u00F3 traducci\u00F3n en la respuesta del servidor

key.add = &Agregar
key.collapseAll = Co&lapsar todo
Expand Down Expand Up @@ -101,6 +105,10 @@ prefs.showGeneratedBy = Incluir comentario de "Generated By..."
prefs.spacesAroundEquals = Incluir por lo menos un espacio a cada lado del signo igual.
prefs.supportFragments = Soportar la carga de recursos desde fragmentos
prefs.supportNL = Soportar estructura de Eclipse "nl" para internacionalizaci\u00F3n de plugins.
prefs.translate.apiKey = Clave de la API de Google
prefs.translate.defaultLang = idioma predeterminado
prefs.translate.google = Google Translate
prefs.translate.intro = Registre una clave API de Google Cloud para habilitar las traducciones autom\u00E1ticas a trav\u00E9s de "Google Translate".
prefs.wrapAlignEquals = Alinear renglones con el signo igual.
prefs.wrapIndent = N\u00FAmero de espacios utilizados para la indentaci\u00F3n:
prefs.wrapIndent.error = El n\u00FAmero de espacios utilizados debe ser num\u00E9rico.
Expand Down
18 changes: 13 additions & 5 deletions eclipse-rbe-plugin/OSGI-INF/l10n/bundle_fr.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ editor.new.tab = Nouveau...
editor.new.title = Nouveau fichier de propri\u00E9t\u00E9s :
editor.properties = Propri\u00E9t\u00E9s
editor.rbe = \u00C9diteur de ResourceBundle
editor.translate = Traduire!
editor.wiz.add = Ajouter -->
editor.wiz.browse = Naviguer...
editor.wiz.bundleName = Nom de base:
Expand All @@ -41,11 +42,14 @@ editor.wiz.selectFolder = S\u00E9lectionner un dossier
editor.wiz.selected = Locales s\u00E9lection\u00E9es
editor.wiz.title = ResourceBundle (Fichiers de propri\u00E9t\u00E9s)

error.init.badencoding = Malformed \\uxxxx encoding found in this string:
error.init.ui = Impossible d'initializer unes composante visuelle.
error.newfile.cannotCreate = Impossible de cr\u00E9er un nouveau fichier.
error.newfile.cannotOpen = Impossible d'ouvrir le nouveau fichier.
error.seeLogs = Voir le fichier journal.
error.init.badencoding = Malformed \\uxxxx encoding found in this string:
error.init.ui = Impossible d'initializer unes composante visuelle.
error.newfile.cannotCreate = Impossible de cr\u00E9er un nouveau fichier.
error.newfile.cannotOpen = Impossible d'ouvrir le nouveau fichier.
error.seeLogs = Voir le fichier journal.
error.translate.errForLang = Des erreurs se sont produites pour les langues suivantes\u00A0: {0}
error.translate.noTextToTranslate = Il n'y a rien \u00E0 traduire. Fournissez du texte pour au moins une langue et laissez au moins une langue vide.
error.translate.notranslation = Aucune traduction trouv\u00E9e dans la r\u00E9ponse du serveur

key.add = &Ajouter
key.collapseAll = &Fermer tous
Expand Down Expand Up @@ -100,6 +104,10 @@ prefs.showGeneratedBy = Afficher le commentaire d'en-t\u00EAte "
prefs.spacesAroundEquals = Au moins un espace chaque c\u00F4t\u00E9 des symboles d'\u00E9gal.
prefs.supportFragments = Supporte le chargement des ressources de fragment
prefs.supportNL = Supporter la structure "nl" d'Eclipse pour l'internationalization des rustines.
prefs.translate.apiKey = Cl\u00E9 API Google
prefs.translate.defaultLang = langage par d\u00E9faut
prefs.translate.google = Google Translate
prefs.translate.intro = Enregistrez une cl\u00E9 API Google Cloud pour activer les traductions automatiques via "Google Translate".
prefs.wrapAlignEquals = Aligner les lignes coup\u00E9es avec les symboles d'\u00E9gal.
prefs.wrapIndent = Combien d'espaces \u00E0 utiliser pour l'indentation :
prefs.wrapIndent.error = Le champ 'Combien d'espace \u00E0 utiliser...' doit \u00EAtre num\u00E9rique.
Expand Down
18 changes: 13 additions & 5 deletions eclipse-rbe-plugin/OSGI-INF/l10n/bundle_it.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ editor.new.tab = Nuovo...
editor.new.title = Nuovo file di properties:
editor.properties = Properties
editor.rbe = Editor di Resource Bundle
editor.translate = Tradurre!
editor.wiz.add = Aggiungi -->
editor.wiz.browse = Sfoglia...
editor.wiz.bundleName = &Prefisso:
Expand All @@ -41,11 +42,14 @@ editor.wiz.selectFolder = Selezionare una cartella
editor.wiz.selected = Locale selezionati
editor.wiz.title = ResourceBundle (File di properties)

error.init.badencoding = La seguente stringa contiene una codifica X non corretta:
error.init.ui = Non \u00E8 possibile inizializzare il componente visuale.
error.newfile.cannotCreate = Non si pu\u00F2 creare un nuovo file.
error.newfile.cannotOpen = Non si pu\u00F2 aprire il file appena creato.
error.seeLogs = Vedi il file di log per i dettagli.
error.init.badencoding = La seguente stringa contiene una codifica X non corretta:
error.init.ui = Non \u00E8 possibile inizializzare il componente visuale.
error.newfile.cannotCreate = Non si pu\u00F2 creare un nuovo file.
error.newfile.cannotOpen = Non si pu\u00F2 aprire il file appena creato.
error.seeLogs = Vedi il file di log per i dettagli.
error.translate.errForLang = Si sono verificati errori per le seguenti lingue: {0}
error.translate.noTextToTranslate = Non c'\u00E8 niente da tradurre. Fornisci testo per almeno una lingua e lascia vuota almeno una lingua.
error.translate.notranslation = Nessuna traduzione trovata nella risposta del server

key.add = &Aggiungi
key.collapseAll = Com&primi tutto
Expand Down Expand Up @@ -100,6 +104,10 @@ prefs.showGeneratedBy = Inserisci commento "Generato da..." in t
prefs.spacesAroundEquals = Inserisci spazio prima e dopo segni di uguale.
prefs.supportFragments = Supporte le chargement des ressources de fragment
prefs.supportNL = Supporta l'internazionalizzazione dei plugin di Eclipse (directories "nl").
prefs.translate.apiKey = Chiave API di Google
prefs.translate.defaultLang = lingua di default
prefs.translate.google = Google Traduttore
prefs.translate.intro = Registra una chiave API Google Cloud per abilitare le traduzioni automatiche tramite "Google Translate".
prefs.wrapAlignEquals = Allinea le linee spezzate con i segni di uguale.
prefs.wrapIndent = Numero di spazi per l'indentazione
prefs.wrapIndent.error = Il numero di spazi per l'indentazione deve essere un valore numerico.
Expand Down
18 changes: 13 additions & 5 deletions eclipse-rbe-plugin/OSGI-INF/l10n/bundle_ja.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ editor.new.tab = \u65B0\u898F...
editor.new.title = \u65B0\u898F\u30D7\u30ED\u30D1\u30C6\u30A3\u30D5\u30A1\u30A4\u30EB:
editor.properties = \u30D7\u30ED\u30D1\u30C6\u30A3
editor.rbe = \u30EA\u30BD\u30FC\u30B9\u30D0\u30F3\u30C9\u30EB\u30A8\u30C7\u30A3\u30BF
editor.translate = \u7FFB\u8A33\uFF01
editor.wiz.add = \u8FFD\u52A0 -->
editor.wiz.browse = \u53C2\u7167...
editor.wiz.bundleName = \u30D9\u30FC\u30B9\u540D(&B):
Expand All @@ -41,11 +42,14 @@ editor.wiz.selectFolder = \u30D5\u30A9\u30EB\u30C0\u3092\u9078\u629E
editor.wiz.selected = \u9078\u629E\u6E08\u307F\u30ED\u30B1\u30FC\u30EB
editor.wiz.title = \u30EA\u30BD\u30FC\u30B9\u30D0\u30F3\u30C9\u30EB(\u30D7\u30ED\u30D1\u30C6\u30A3\u30D5\u30A1\u30A4\u30EB)

error.init.badencoding = \u4E0D\u6B63\u306A \\uxxxx \u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u304C\u6B21\u306E\u6587\u5B57\u5217\u304B\u3089\u691C\u51FA\u3055\u308C\u307E\u3057\u305F:
error.init.ui = \u30D3\u30B8\u30E5\u30A2\u30EB\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u521D\u671F\u5316\u51FA\u6765\u307E\u305B\u3093\u3067\u3057\u305F\u3002
error.newfile.cannotCreate = \u30D5\u30A1\u30A4\u30EB\u3092\u751F\u6210\u51FA\u6765\u307E\u305B\u3093\u3002
error.newfile.cannotOpen = \u751F\u6210\u3055\u308C\u305F\u30D5\u30A1\u30A4\u30EB\u3092\u958B\u3051\u307E\u305B\u3093\u3002
error.seeLogs = \u8A73\u7D30\u306F\u30ED\u30B0\u30D5\u30A1\u30A4\u30EB\u3092\u53C2\u7167\u3057\u3066\u4E0B\u3055\u3044\u3002
error.init.badencoding = \u4E0D\u6B63\u306A \\uxxxx \u30A8\u30F3\u30B3\u30FC\u30C7\u30A3\u30F3\u30B0\u304C\u6B21\u306E\u6587\u5B57\u5217\u304B\u3089\u691C\u51FA\u3055\u308C\u307E\u3057\u305F:
error.init.ui = \u30D3\u30B8\u30E5\u30A2\u30EB\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u3092\u521D\u671F\u5316\u51FA\u6765\u307E\u305B\u3093\u3067\u3057\u305F\u3002
error.newfile.cannotCreate = \u30D5\u30A1\u30A4\u30EB\u3092\u751F\u6210\u51FA\u6765\u307E\u305B\u3093\u3002
error.newfile.cannotOpen = \u751F\u6210\u3055\u308C\u305F\u30D5\u30A1\u30A4\u30EB\u3092\u958B\u3051\u307E\u305B\u3093\u3002
error.seeLogs = \u8A73\u7D30\u306F\u30ED\u30B0\u30D5\u30A1\u30A4\u30EB\u3092\u53C2\u7167\u3057\u3066\u4E0B\u3055\u3044\u3002
error.translate.errForLang = \u6B21\u306E\u8A00\u8A9E\u3067\u30A8\u30E9\u30FC\u304C\u767A\u751F\u3057\u307E\u3057\u305F\uFF1A{0}
error.translate.noTextToTranslate = \u7FFB\u8A33\u3059\u308B\u3082\u306E\u306F\u3042\u308A\u307E\u305B\u3093\u3002\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8A00\u8A9E\u306E\u30C6\u30AD\u30B9\u30C8\u3092\u63D0\u4F9B\u3057\u3001\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8A00\u8A9E\u3092\u7A7A\u306E\u307E\u307E\u306B\u3057\u307E\u3059\u3002
error.translate.notranslation = \u30B5\u30FC\u30D0\u30FC\u306E\u5FDC\u7B54\u306B\u7FFB\u8A33\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093

key.add = \u8FFD\u52A0(&A)
key.collapseAll = \u5168\u3066\u30C4\u30EA\u30FC\u3092\u305F\u305F\u3080(&l)
Expand Down Expand Up @@ -100,6 +104,10 @@ prefs.showGeneratedBy = "Generated By..."\u30D8\u30C3\u30C0\u30F
prefs.spacesAroundEquals = \u30A4\u30B3\u30FC\u30EB\u8A18\u53F7\u306E\u4E21\u8107\u306B\u30B9\u30DA\u30FC\u30B9\u3092\u633F\u5165\u3059\u308B
prefs.supportFragments = Supporte le chargement des ressources de fragment
prefs.supportNL = \u30D7\u30E9\u30B0\u30A4\u30F3\u306E\u56FD\u969B\u5316(i18n)\u6642\u306B\u4F7F\u3046Eclipse\u306E"nl"\u69CB\u9020\u3092\u30B5\u30DD\u30FC\u30C8\u3059\u308B
prefs.translate.apiKey = GoogleAPI\u30AD\u30FC
prefs.translate.defaultLang = \u65E2\u5B9A\u306E\u8A00\u8A9E
prefs.translate.google = \u30B0\u30FC\u30B0\u30EB\u7FFB\u8A33
prefs.translate.intro = Google Cloud API\u30AD\u30FC\u3092\u767B\u9332\u3057\u3066\u3001\u300CGoogle\u7FFB\u8A33\u300D\u306B\u3088\u308B\u81EA\u52D5\u7FFB\u8A33\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002
prefs.wrapAlignEquals = \u30A4\u30B3\u30FC\u30EB\u8A18\u53F7\u306E\u4F4D\u7F6E\u306B\u884C\u3092\u6574\u5217\u3059\u308B
prefs.wrapIndent = \u30A4\u30F3\u30C7\u30F3\u30C8\u30B5\u30A4\u30BA(\u30B9\u30DA\u30FC\u30B9\u6570):
prefs.wrapIndent.error = '\u30A4\u30F3\u30C7\u30F3\u30C8\u30B5\u30A4\u30BA(\u30B9\u30DA\u30FC\u30B9\u6570):'\u9805\u76EE\u306F\u6570\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044
Expand Down
Loading