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

I18n #155

Draft
wants to merge 2 commits into
base: release
Choose a base branch
from
Draft

I18n #155

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
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"handle-callback-err": "error",
"key-spacing": "error",
"keyword-spacing": "error",
"linebreak-style": ["error", "windows"],
"linebreak-style": ["error"],
"new-cap": ["error", {"newIsCap": true}],
"no-array-constructor": "error",
"no-caller": "error",
Expand Down
8 changes: 7 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"eslint.validate": [ "javascript", "svelte" ]
"eslint.validate": [
"javascript",
"svelte"
],
"i18n-ally.localesPaths": [
"assets/lang"
]
}
86 changes: 86 additions & 0 deletions assets/lang/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"action": {
"install": {},
"repair": {
"log": {
"killing": "Beende Discord...",
"killed": "✅ Discord beendet",
"deleting_shims": "Lösche Shims...",
"deleted_shims": "✅ Shims gelöscht",
"deleting_modules": "Lösche Discord-Module...",
"deleted_modules": "✅ Discord-Module gelöscht"
},
"notice": {
"restart": {
"title": "BetterDiscord neuinstallieren?",
"message": "Nach dem Reperaturvorgang muss BetterDiscord neu installiert werden. Möchstest du das jetzt tun?",
"button.yes": "Ja",
"button.no": "Nein"
},
"complete": {
"title": "Neuinstalltion fertig",
"message": "Bitte starte Discord manuell neu um die Reperatur zu vervollständigen."
}
}
},
"uninstall": {
"log": {
"killing": "Beende Discord...",
"killed": "✅ Discord beendet",
"deleting_shims": "Lösche Shims...",
"deleted_shims": "✅ Shims gelöscht"
}
}
},
"footer": {
"button": {
"back": "Zurück",
"close": "Beenden",
"next": "Weiter",
"action": {
"install": "Installieren",
"repair": "Reparieren",
"uninstall": "Deinstallieren"
}
},
"social": {
"website": "Zur Website",
"github": "Zum Quellcode on GitHub",
"support": "BetterDiscord unterstützen"
}
},
"notice": {
"kill": {
"title": "Beende Discord",
"message": "BetterDiscord konnte Discord nicht beenden. Bitte stelle sicher das Discord komplett beendet wurde und starte den Vorgang erneut."
},
"restart": {
"title": "Starte Discord neu",
"message": "BetterDiscord konnte Discord nicht neustarten. Bitte starte es manuell neu."
}
},
"page": {
"actions": {
"title": "Wähle eine Aktion",
"install": "BetterDiscord installieren",
"repair": "BetterDiscord reparieren",
"uninstall": "BetterDiscord deinstallieren"
},
"license": {
"title": "Lizenzvereinbarung",
"accept": "Ich akzeptiere die Lizenzvereinbarung."
},
"perform_action": {
"install": "Installieren",
"repair": "Reparieren",
"uninstall": "Deinstallieren"
},
"platforms": {
"title": "Wähle eine Discord Version"
}
},
"textdisplay": {
"copied": "Kopiert!",
"copy": "Kopieren"
}
}
86 changes: 86 additions & 0 deletions assets/lang/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"action": {
"install": {},
"repair": {
"log": {
"killing": "Killing Discord...",
"killed": "✅ Discord Killed",
"deleting_shims": "Deleting shims...",
"deleted_shims": "✅ Shims deleted",
"deleting_modules": "Deleting Discord modules...",
"deleted_modules": "✅ Discord modules deleted"
},
"notice": {
"restart": {
"title": "Reinstall BetterDiscord?",
"message": "After repairing, you need to reinstall BetterDiscord. Would you like to do that now?",
"button.yes": "Yes",
"button.no": "No"
},
"complete": {
"title": "Reinstall Complete",
"message": "Please relaunch discord manually to finish the repair."
}
}
},
"uninstall": {
"log": {
"killing": "Killing Discord...",
"killed": "✅ Discord Killed",
"deleting_shims": "Deleting shims...",
"deleted_shims": "✅ Shims deleted"
}
}
},
"footer": {
"button": {
"back": "Back",
"close": "Close",
"next": "Next",
"action": {
"install": "Install",
"repair": "Repair",
"uninstall": "Uninstall"
}
},
"social": {
"website": "Visit Website",
"github": "View Source on GitHub",
"support": "Support BetterDiscord"
}
},
"notice": {
"kill": {
"title": "Shutdown Discord",
"message": "BetterDiscord could not shut down Discord. Please make sure Discord is fully closed, then run the installer again."
},
"restart": {
"title": "Restart Discord",
"message": "BetterDiscord could not restart Discord. Please restart it manually."
}
},
"page": {
"actions": {
"title": "Choose an Action",
"install": "Install BetterDiscord",
"repair": "Repair BetterDiscord",
"uninstall": "Uninstall BetterDiscord"
},
"license": {
"title": "License Agreement",
"accept": "I accept the license agreement."
},
"perform_action": {
"install": "Install",
"repair": "Repair",
"uninstall": "Uninstall"
},
"platforms": {
"title": "Choose Discord Versions"
}
},
"textdisplay": {
"copied": "Copied!",
"copy": "Copy"
}
}
Loading