-
Notifications
You must be signed in to change notification settings - Fork 330
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
Add localisation support #397
Merged
Merged
Changes from 29 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
31209d0
Add language support
ph1p a24242e
Add language support to main process
ph1p e022f34
Add breaks to language config
ph1p d280a9b
Spanish translation with the help of google translator 🤙
ph1p ab5003c
Move language files
ph1p c87a691
Remove unused resolve from webpack config
ph1p 1ec27bf
Add all items to setupMenu method to access translations
ph1p 4f9ab34
Update packages
ph1p 1dec0ef
Replace MinifyPlugin with UglifyJSPlugin, because of CALL_AND_RETRY_LAST
ph1p 56d4149
Fix test bug (https://github.com/electron/spectron/issues/244)
ph1p 7e643a3
Add i18n setup to file-manager.js
ph1p a687446
Fix archive button style (add space)
ph1p a151e77
Add enabled state to menu
ph1p 9d8b2b2
Add webpack-alias plugin for better path resolving (webpack.config.ba…
ph1p eb5eab8
Update package-lock.json
ph1p ae899aa
Remove PWD from .babelrc
ph1p 9cf203d
Add full translation (german, english)
ph1p 41d5986
Add missing translations
ph1p 07124f1
Add cache verification for npm on appveyor
perry-mitchell c8c1173
Update build file
ph1p bd6b1da
Merge branch 'master' of github.com:ph1p/buttercup-desktop
ph1p cece292
Add missing intl const
ph1p 099d118
Set spectron to fixed version
ph1p 0e7f3b6
Add missing translations to main menu
ph1p 06b6758
Fix language & config lookup
sallar 41b5cef
Merge branch 'master' of github.com:ph1p/buttercup-desktop
sallar 6b28025
Revert upgraded deps
sallar 6be7cd1
Upgrade webpack and babel
sallar 1511207
Update more deps
sallar b64d210
Revert package-lock file
sallar 0db4b88
Remove unnecessary scope in i18n setup
ph1p e04411e
Fix i18n import path
ph1p File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
{ | ||
"unlock-archive": "Entsperre ein Archiv um zu starten ({os}).", | ||
"welcome-back-title": "Willkommen zurück bei Buttercup.", | ||
"welcome-title": "Willkommen bei Buttercup.", | ||
"welcome-caption": "Du hast bis jetzt noch keine Archive. Warum fügst du nicht eins hinzu?", | ||
"open-archive-file": "Archiv öffnen", | ||
"new-archive-file": "Archiv erstellen", | ||
"connect-cloud-sources": "Einen Cloud Services verbinden", | ||
"add-archive": "Archiv hinzufügen", | ||
"open-archive": "Archiv öffnen", | ||
"cancel": "Abbrechen", | ||
"go-back": "Zurück", | ||
"new-archive": "Neues Archiv", | ||
"open-in-buttercup": "Mit Buttercup öffnen", | ||
"master-password": "Master Passwort", | ||
"confirm": "Bestätigen", | ||
"nevermind": "Abbrechen", | ||
"password": "Passwort", | ||
"language": "Sprache", | ||
"copy-to-clipboard": "In die Zwischenablage kopieren", | ||
"edit": "Bearbeiten", | ||
"view": "Darstellung", | ||
"window": "Fenster", | ||
"help": "Hilfe", | ||
"visit-our-website":"Besuche unsere Website", | ||
"privacy-policy":"Datenschutzrichtlinie", | ||
"view-changelog-for-v":"Changelog für v{version} aufrufen", | ||
"speech":"Sprachhilfe", | ||
"condensed-sidebar":"Kleine Sidebar", | ||
"auto-hide-menubar":"Menüleiste automatisch ausblenden", | ||
"new-group":"Neue Gruppe", | ||
"title-asc":"Titel: Aufsteigend", | ||
"title-desc":"Titel: Absteigend", | ||
"time-asc":"Zeit: Aufsteigend", | ||
"time-desc":"Zeit: Absteigend", | ||
"add-group":"Gruppe hinzufügen", | ||
"rename":"Umbenennen", | ||
"move-to-root":"Ins Hauptverzeichnis verschieben", | ||
"move-to-group":"In Gruppe verschieben", | ||
"move-to-trash":"In den Papierkorb verschieben", | ||
"delete":"Löschen", | ||
"delete-permanently":"Permanent löschen", | ||
"add-entry":"Eintrag hinzufügen", | ||
"search":"Suche", | ||
"select-or-create-an-entry":"Wähle oder erstelle einen Eintrag", | ||
"save":"Speichern", | ||
"empty-trash": "Papierkorb leeren", | ||
"empty-trash-question": "Willst du den Papierkorb wirklich leeren?", | ||
"no-custom-fields-info-text":"Noch keine benutzerdefinierten Felder hinzugefügt. Warum fügst du nicht ein paar hinzu?", | ||
"custom-fields":"Benutzerdefinierten Felder", | ||
"title":"Titel", | ||
"username":"Benutzername", | ||
"secure-password":"Sicheres Passwort", | ||
"untitled":"Ohne Titel", | ||
"add-new-field":"Neues Feld hinzufügen", | ||
"copy":"Kopieren", | ||
"hide":"Verbergen", | ||
"reveal":"Aufdecken", | ||
"reveal-password":"Passwort anzeigen", | ||
"installing":"Installiere", | ||
"update-available-message":"Buttercup {version} ist verfügbar. Klicke hier zum Installieren.", | ||
"archive-saved-loading-info":"Dein Archiv wird gespeichert.<br>Schließt automatisch", | ||
"unlock":"Entsperren", | ||
"open":"Öffnen", | ||
"change-color":"Farbe wechseln", | ||
"import":"Importieren", | ||
"import-from-type":"Von {name} Archiv (.{extension})", | ||
"import-to-type":"Zu {name}", | ||
"archive-remove-with-name":"Entferne {name}", | ||
"dropbox-connection-failed-info":"Die Verbindung zum Dropbox-Server ist fehlgeschlagen. Bitte versuche es später noch einmal.", | ||
"connect-to-dropbox":"Mit Dropbox verbinden", | ||
"authenticate-with-dropbox":"Authentifizieren mit Dropbox", | ||
"dropbox-description-text":"Verbinde Buttercup mit deinem Dropbox-Konto, um deine Archive zu lesen und zu speichern.<br /> Wir speichern keine deiner Dropbox-Daten.", | ||
"webdav-connection-failed-info":"Die Verbindung zu {endpoint} ist fehlgeschlagen. Bitte überprüfe deine Anmeldeinformationen und versuche es erneut.", | ||
"connect-to-wedav": "Verbindung zu {title} Server herstellen", | ||
"webdav-description-text":"Gib Benutzername, Passwort und deine {title} Server-Adresse an, um eine Verbindung herzustellen und ein Buttercup-Archiv auszuwählen. Wir <strong>speichern</strong> die Anmeldeinformationen und verschlüsseln sie.", | ||
"name":"Name", | ||
"size":"Größe", | ||
"date":"Datum", | ||
"open-url-in-browser": "URL im Browser öffnen", | ||
"new-field": "Neues Feld", | ||
"label": "Bezeichnung", | ||
"archive": "Archiv", | ||
"file": "Datei" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
{ | ||
"welcome-back-title": "Welcome back to Buttercup.", | ||
"unlock-archive": "Unlock an archive to begin ({os}).", | ||
"welcome-title": "Welcome to Buttercup.", | ||
"welcome-caption": "You haven't added any archives yet. Why not add one?", | ||
"open-archive-file": "Open Archive File", | ||
"new-archive-file": "New Archive File", | ||
"connect-cloud-sources": "Connect Cloud Sources", | ||
"add-archive": "Add Archive", | ||
"cancel": "Cancel", | ||
"go-back": "Go Back", | ||
"new-archive": "New Archive", | ||
"open-archive": "Open Archive", | ||
"open-in-buttercup": "Open in Buttercup", | ||
"master-password": "Master Password", | ||
"confirm": "Confirm", | ||
"nevermind": "Nevermind", | ||
"password": "Password", | ||
"language": "Language", | ||
"copy-to-clipboard": "Copy To Clipboard", | ||
"edit": "Edit", | ||
"view": "View", | ||
"window": "Window", | ||
"help": "Help", | ||
"visit-our-website":"Visit Our Website", | ||
"privacy-policy":"Privacy Policy", | ||
"view-changelog-for-v":"View Changelog For v{version}", | ||
"speech":"Speech", | ||
"condensed-sidebar":"Condensed Sidebar", | ||
"auto-hide-menubar":"Auto Hide Menubar", | ||
"new-group":"New Group", | ||
"title-asc":"Title: Ascending", | ||
"title-desc":"Title: Descending", | ||
"time-asc":"Time: Ascending", | ||
"time-desc":"Time: Descending", | ||
"add-group":"Add Group", | ||
"rename":"Rename", | ||
"move-to-root":"Move to Root", | ||
"move-to-group":"Move to Group", | ||
"move-to-trash":"Move to Trash", | ||
"delete":"Delete", | ||
"delete-permanently":"Delete Permanently", | ||
"add-entry":"Add Entry", | ||
"search":"Search", | ||
"select-or-create-an-entry":"Select or Create an Entry", | ||
"save":"Save", | ||
"empty-trash": "Empty Trash", | ||
"empty-trash-question": "Are you sure you want to empty Trash?", | ||
"no-custom-fields-info-text":"No custom fields yet. Why not add one?", | ||
"custom-fields":"Custom Fields", | ||
"title":"Title", | ||
"username":"Username", | ||
"secure-password":"Secure password", | ||
"untitled":"Untitled", | ||
"add-new-field":"Add New Field", | ||
"copy":"Copy", | ||
"hide":"Hide", | ||
"reveal":"Reveal", | ||
"reveal-password":"Reveal Password", | ||
"installing":"Installing", | ||
"update-available-message":"Buttercup {version} is available. Click here to install now.", | ||
"archive-saved-loading-info":"Your archive is being saved.<br>Exiting automatically", | ||
"unlock":"Unlock", | ||
"open":"Open", | ||
"change-color":"Change Color", | ||
"import":"Import", | ||
"import-from-type":"From {name} archive (.{extension})", | ||
"import-to-type":"To {name}", | ||
"archive-remove-with-name":"Remove {name}", | ||
"dropbox-connection-failed-info":"Connection to Dropbox server failed. Please try again later", | ||
"connect-to-dropbox":"Connect to Dropbox", | ||
"authenticate-with-dropbox":"Authenticate with Dropbox", | ||
"dropbox-description-text":"Connect Buttercup to your Dropbox account to read and save your archives.<br />We won't save your Dropbox username or password.", | ||
"webdav-connection-failed-info":"Connection to {endpoint} failed. Please check your credentials and try again.", | ||
"connect-to-wedav": "Connect to {title} Server", | ||
"webdav-description-text":"Enter your {title} Endpoint Address, Username and Password to connect and choose a Buttercup Archive. We <strong>will save</strong> your credentials and encrypt it.", | ||
"name":"Name", | ||
"size":"Size", | ||
"date":"Date", | ||
"open-url-in-browser": "Open URL in Browser", | ||
"new-field": "New Field", | ||
"label": "Label", | ||
"archive": "Archive", | ||
"file": "File" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"welcome-back-title": "Bienvenido de nuevo a Buttercup.", | ||
"unlock-archive": "Desbloquee un archivo para comenzar ({os}).", | ||
"welcome-title": "Bienvenido a Buttercup.", | ||
"welcome-caption":"Aún no ha agregado ningún archivo. ¿Por qué no agregar uno?", | ||
"open-archive-file": "Abrir archivo de archivo", | ||
"new-archive-file": "Nuevo archivo archivado", | ||
"connect-cloud-sources": "Connect Cloud Sources", | ||
"add-archive": "Agregar archivo", | ||
"cancel": "Cancelar", | ||
"go-back": "Volver atrás", | ||
"new-archive": "Nuevo archivo", | ||
"open-in-buttercup": "Abrir en Buttercup", | ||
"master_password": "Contraseña maestra", | ||
"confirm": "Confirmar", | ||
"nevermind": "No importa", | ||
"password": "Contraseña", | ||
"language": "Idioma", | ||
"copy-to-clipboard": "Copiar al portapapeles" | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does uglifyJS support ES6 which we are using? I think the reason I used Babili was that it was the only one that supported ES6 out of the box.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jep. Documentation says, that i can use the
ecma
option (https://github.com/webpack-contrib/uglifyjs-webpack-plugin#uglifyoptions)