move translation
This commit is contained in:
parent
acc041ef1c
commit
7e7f12a659
3 changed files with 20 additions and 14 deletions
|
|
@ -1,10 +0,0 @@
|
|||
{
|
||||
"description": "Assists with translating Equicord",
|
||||
"settings": {
|
||||
"forceLocale": {
|
||||
"description": "Force a different locale for Equicord to use",
|
||||
"followDiscord": "Default (follow Discord)"
|
||||
},
|
||||
"showMissingKeys": "If the current locale is missing translations, show the keys instead of falling back to English"
|
||||
}
|
||||
}
|
||||
|
|
@ -2211,5 +2211,21 @@
|
|||
"description": "Helps us provide support to you",
|
||||
"debug": "Send Equicord debug info",
|
||||
"plugins": "Send Equicord plugin list"
|
||||
},
|
||||
"noTrack": {
|
||||
"description": "Disable Discord's tracking (analytics/'science'), metrics and Sentry crash reporting",
|
||||
"settings": {
|
||||
"disableAnalytics": "Disable Discord's tracking (analytics/'science')"
|
||||
}
|
||||
},
|
||||
"translation": {
|
||||
"description": "Assists with translating Equicord",
|
||||
"settings": {
|
||||
"forceLocale": {
|
||||
"description": "Force a different locale for Equicord to use",
|
||||
"followDiscord": "Default (follow Discord)"
|
||||
},
|
||||
"showMissingKeys": "If the current locale is missing translations, show the keys instead of falling back to English"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13,10 +13,10 @@ import { i18n } from "@webpack/common";
|
|||
const settings = definePluginSettings({
|
||||
forceLocale: {
|
||||
type: OptionType.SELECT,
|
||||
description: t("translation.settings.forceLocale.description"),
|
||||
description: t("vencord.translation.settings.forceLocale.description"),
|
||||
options: [
|
||||
{
|
||||
label: t("translation.settings.forceLocale.followDiscord"),
|
||||
label: t("vencord.translation.settings.forceLocale.followDiscord"),
|
||||
value: "",
|
||||
default: true,
|
||||
},
|
||||
|
|
@ -31,7 +31,7 @@ const settings = definePluginSettings({
|
|||
},
|
||||
showMissingKeys: {
|
||||
type: OptionType.BOOLEAN,
|
||||
description: t("translation.settings.showMissingKeys"),
|
||||
description: t("vencord.translation.settings.showMissingKeys"),
|
||||
default: false
|
||||
}
|
||||
});
|
||||
|
|
@ -39,7 +39,7 @@ const settings = definePluginSettings({
|
|||
export default definePlugin({
|
||||
name: "Translation",
|
||||
required: true,
|
||||
description: t("translation.description"),
|
||||
description: t("vencord.translation.description"),
|
||||
authors: [Devs.lewisakura],
|
||||
|
||||
settings,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue