chore: more localisation

This commit is contained in:
Lewis Crichton 2024-06-09 10:59:03 +01:00
parent 22e5396684
commit a4d4d981e0
No known key found for this signature in database
10 changed files with 215 additions and 131 deletions

View file

@ -10,6 +10,7 @@ usageMatchRegex:
refactorTemplates:
- "$t(\"$1\")"
- "{$t(\"$1\")}"
- "<Translate i18nKey=\"$1\" />"
monopoly: true

View file

@ -24,6 +24,7 @@ import { proxyLazy } from "@utils/lazy";
import { Margins } from "@utils/margins";
import { classes, isObjectEmpty } from "@utils/misc";
import { ModalCloseButton, ModalContent, ModalFooter, ModalHeader, ModalProps, ModalRoot, ModalSize } from "@utils/modal";
import { $t } from "@utils/translation";
import { OptionType, Plugin } from "@utils/types";
import { findByPropsLazy, findComponentByCodeLazy } from "@webpack";
import { Button, Clickable, FluxDispatcher, Forms, React, Text, Tooltip, UserStore, UserUtils } from "@webpack/common";
@ -129,7 +130,7 @@ export default function PluginModal({ plugin, onRestartNeeded, onClose, transiti
function renderSettings() {
if (!hasSettings || !plugin.options) {
return <Forms.FormText>There are no settings for this plugin.</Forms.FormText>;
return <Forms.FormText>{$t("vencord.noSettings")}</Forms.FormText>;
} else {
const options = Object.entries(plugin.options).map(([key, setting]) => {
if (setting.hidden) return null;
@ -227,7 +228,7 @@ export default function PluginModal({ plugin, onRestartNeeded, onClose, transiti
</div>
)}
<Forms.FormSection className={Margins.bottom16}>
<Forms.FormTitle tag="h3">Settings</Forms.FormTitle>
<Forms.FormTitle tag="h3">{$t("vencord.settings")}</Forms.FormTitle>
{renderSettings()}
</Forms.FormSection>
</ModalContent>
@ -242,7 +243,7 @@ export default function PluginModal({ plugin, onRestartNeeded, onClose, transiti
>
Cancel
</Button>
<Tooltip text="You must fix all errors before saving" shouldShow={!canSubmit()}>
<Tooltip text={$t("vencord.settingsErrors")} shouldShow={!canSubmit()}>
{({ onMouseEnter, onMouseLeave }) => (
<Button
size={Button.Sizes.SMALL}
@ -252,12 +253,12 @@ export default function PluginModal({ plugin, onRestartNeeded, onClose, transiti
onMouseLeave={onMouseLeave}
disabled={!canSubmit()}
>
Save & Close
{$t("vencord.saveAndClose")}
</Button>
)}
</Tooltip>
</Flex>
{saveError && <Text variant="text-md/semibold" style={{ color: "var(--text-danger)" }}>Error while saving: {saveError}</Text>}
{saveError && <Text variant="text-md/semibold" style={{ color: "var(--text-danger)" }}>{$t("vencord.settingsSaveError", { saveError })}</Text>}
</Flex>
</ModalFooter>}
</ModalRoot>

View file

@ -33,6 +33,7 @@ import { Margins } from "@utils/margins";
import { classes, isObjectEmpty } from "@utils/misc";
import { openModalLazy } from "@utils/modal";
import { useAwaiter } from "@utils/react";
import { lowercaseify } from "@utils/text";
import { $t } from "@utils/translation";
import { Plugin } from "@utils/types";
import { findByPropsLazy } from "@webpack";
@ -66,19 +67,19 @@ function ReloadRequiredCard({ required }: { required: boolean; }) {
<Card className={cl("info-card", { "restart-card": required })}>
{required ? (
<>
<Forms.FormTitle tag="h5">Restart required!</Forms.FormTitle>
<Forms.FormTitle tag="h5">{$t("vencord.pluginHeader.reloadHeader")}</Forms.FormTitle>
<Forms.FormText className={cl("dep-text")}>
Restart now to apply new plugins and their settings
{$t("vencord.pluginHeader.reloadDescription")}
</Forms.FormText>
<Button onClick={() => location.reload()}>
Restart
{$t("vencord.pluginHeader.restart")}
</Button>
</>
) : (
<>
<Forms.FormTitle tag="h5">Plugin Management</Forms.FormTitle>
<Forms.FormText>Press the cog wheel or info icon to get more info on a plugin</Forms.FormText>
<Forms.FormText>Plugins with a cog wheel have settings you can modify!</Forms.FormText>
<Forms.FormTitle tag="h5">{$t("vencord.pluginHeader.managementHeader")}</Forms.FormTitle>
<Forms.FormText>{$t("vencord.pluginHeader.iconInformation")}</Forms.FormText>
<Forms.FormText>{$t("vencord.pluginHeader.cogWheel")}</Forms.FormText>
</>
)}
</Card>
@ -153,7 +154,7 @@ export function PluginCard({ plugin, disabled, onRestartNeeded, onMouseEnter, on
return (
<AddonCard
name={plugin.name}
description={plugin.description}
description={$t(`${lowercaseify(plugin.name)}.description`)}
isNew={isNew}
enabled={isEnabled()}
setEnabled={toggleEnabled}
@ -184,10 +185,10 @@ export default function PluginSettings() {
React.useEffect(() => {
return () => void (changes.hasChanges && Alerts.show({
title: "Restart required",
title: $t("vencord.restartRequired"),
body: (
<>
<p>The following plugins require a restart:</p>
<p>$t("vencord.pluginsNeedRestart")</p>
<div>{changes.map((s, i) => (
<>
{i > 0 && ", "}
@ -196,8 +197,8 @@ export default function PluginSettings() {
))}</div>
</>
),
confirmText: "Restart now",
cancelText: "Later!",
confirmText: $t("vencord.restartNow"),
cancelText: $t("vencord.restartLater"),
onConfirm: () => location.reload()
}));
}, []);
@ -303,7 +304,7 @@ export default function PluginSettings() {
}
} else {
plugins = requiredPlugins = <Text variant="text-md/normal">No plugins meet search criteria.</Text>;
plugins = requiredPlugins = <Text variant="text-md/normal">{$t("vencord.noSearchResults")}</Text>;
}
return (
@ -311,18 +312,18 @@ export default function PluginSettings() {
<ReloadRequiredCard required={changes.hasChanges} />
<Forms.FormTitle tag="h5" className={classes(Margins.top20, Margins.bottom8)}>
Filters
{$t("vencord.pluginFilters")}
</Forms.FormTitle>
<div className={cl("filter-controls")}>
<TextInput autoFocus value={searchValue.value} placeholder="Search for a plugin..." onChange={onSearch} className={Margins.bottom20} />
<TextInput autoFocus value={searchValue.value} placeholder={$t("vencord.search.placeholder")} onChange={onSearch} className={Margins.bottom20} />
<div className={InputStyles.inputWrapper}>
<Select
options={[
{ label: "Show All", value: SearchStatus.ALL, default: true },
{ label: "Show Enabled", value: SearchStatus.ENABLED },
{ label: "Show Disabled", value: SearchStatus.DISABLED },
{ label: "Show New", value: SearchStatus.NEW }
{ label: $t("vencord.search.all"), value: SearchStatus.ALL, default: true },
{ label: $t("vencord.search.enabled"), value: SearchStatus.ENABLED },
{ label: $t("vencord.search.disabled"), value: SearchStatus.DISABLED },
{ label: $t("vencord.search.new"), value: SearchStatus.NEW }
]}
serialize={String}
select={onStatusChange}
@ -332,7 +333,7 @@ export default function PluginSettings() {
</div>
</div>
<Forms.FormTitle className={Margins.top20}>Plugins</Forms.FormTitle>
<Forms.FormTitle className={Margins.top20}>{$t("vencord.plugins")}</Forms.FormTitle>
<div className={cl("grid")}>
{plugins}
@ -341,7 +342,7 @@ export default function PluginSettings() {
<Forms.FormDivider className={Margins.top20} />
<Forms.FormTitle tag="h5" className={classes(Margins.top20, Margins.bottom8)}>
Required Plugins
{$t("vencord.requiredPlugins")}
</Forms.FormTitle>
<div className={cl("grid")}>
{requiredPlugins}
@ -353,7 +354,7 @@ export default function PluginSettings() {
function makeDependencyList(deps: string[]) {
return (
<React.Fragment>
<Forms.FormText>This plugin is required by:</Forms.FormText>
<Forms.FormText>{$t("vencord.pluginRequiredBy")}</Forms.FormText>
{deps.map((dep: string) => <Forms.FormText className={cl("dep-text")}>{dep}</Forms.FormText>)}
</React.Fragment>
);

View file

@ -20,6 +20,7 @@ import { Flex } from "@components/Flex";
import { Margins } from "@utils/margins";
import { classes } from "@utils/misc";
import { downloadSettingsBackup, uploadSettingsBackup } from "@utils/settingsSync";
import { $t } from "@utils/translation";
import { Button, Card, Text } from "@webpack/common";
import { SettingsTab, wrapTab } from "./shared";
@ -29,21 +30,19 @@ function BackupRestoreTab() {
<SettingsTab title="Backup & Restore">
<Card className={classes("vc-settings-card", "vc-backup-restore-card")}>
<Flex flexDirection="column">
<strong>Warning</strong>
<span>Importing a settings file will overwrite your current settings.</span>
<strong>{$t("vencord.warning")}</strong>
<span>{$t("vencord.backupAndRestore.importWarning")}</span>
</Flex>
</Card>
<Text variant="text-md/normal" className={Margins.bottom8}>
You can import and export your Vencord settings as a JSON file.
This allows you to easily transfer your settings to another device,
or recover your settings after reinstalling Vencord or Discord.
{$t("vencord.backupAndRestore.description")}
</Text>
<Text variant="text-md/normal" className={Margins.bottom8}>
Settings Export contains:
{$t("vencord.backupAndRestore.exportContains")}
<ul>
<li>&mdash; Custom QuickCSS</li>
<li>&mdash; Theme Links</li>
<li>&mdash; Plugin Settings</li>
<li>&mdash; {$t("vencord.backupAndRestore.customQuickcss")}</li>
<li>&mdash; {$t("vencord.backupAndRestore.themeLinks")}</li>
<li>&mdash; {$t("vencord.backupAndRestore.pluginSettings")}</li>
</ul>
</Text>
<Flex>
@ -51,13 +50,13 @@ function BackupRestoreTab() {
onClick={() => uploadSettingsBackup()}
size={Button.Sizes.SMALL}
>
Import Settings
{$t("vencord.backupAndRestore.importSettings")}
</Button>
<Button
onClick={downloadSettingsBackup}
size={Button.Sizes.SMALL}
>
Export Settings
{$t("vencord.backupAndRestore.exportSettings")}
</Button>
</Flex>
</SettingsTab>

View file

@ -23,6 +23,7 @@ import { Link } from "@components/Link";
import { authorizeCloud, cloudLogger, deauthorizeCloud, getCloudAuth, getCloudUrl } from "@utils/cloud";
import { Margins } from "@utils/margins";
import { deleteCloudSettings, getCloudSettings, putCloudSettings } from "@utils/settingsSync";
import { $t, Translate } from "@utils/translation";
import { Alerts, Button, Forms, Switch, Tooltip } from "@webpack/common";
import { SettingsTab, wrapTab } from "./shared";
@ -45,8 +46,8 @@ async function eraseAllData() {
if (!res.ok) {
cloudLogger.error(`Failed to erase data, API returned ${res.status}`);
showNotification({
title: "Cloud Integrations",
body: `Could not erase all data (API returned ${res.status}), please contact support.`,
title: $t("vencord.cloudIntegrations"),
body: $t("vencord.cloud.integrations.eraseError", { status: res.status }),
color: "var(--red-360)"
});
return;
@ -56,8 +57,8 @@ async function eraseAllData() {
await deauthorizeCloud();
showNotification({
title: "Cloud Integrations",
body: "Successfully erased all data.",
title: $t("vencord.cloudIntegrations"),
body: $t("vencord.cloud.integrations.eraseSuccess"),
color: "var(--green-360)"
});
}
@ -69,8 +70,7 @@ function SettingsSyncSection() {
return (
<Forms.FormSection title="Settings Sync" className={Margins.top16}>
<Forms.FormText variant="text-md/normal" className={Margins.bottom20}>
Synchronize your settings to the cloud. This allows easy synchronization across multiple devices with
minimal effort.
{$t("vencord.cloud.settings.description")}
</Forms.FormText>
<Switch
key="cloud-sync"
@ -78,15 +78,15 @@ function SettingsSyncSection() {
value={cloud.settingsSync}
onChange={v => { cloud.settingsSync = v; }}
>
Settings Sync
{$t("vencord.settingsSync")}
</Switch>
<div className="vc-cloud-settings-sync-grid">
<Button
size={Button.Sizes.SMALL}
disabled={!sectionEnabled}
onClick={() => putCloudSettings(true)}
>Sync to Cloud</Button>
<Tooltip text="This will overwrite your local settings with the ones on the cloud. Use wisely!">
>{$t("vencord.cloud.settings.syncToCloud")}</Button>
<Tooltip text={$t("vencord.cloud.settings.overwriteWarning")}>
{({ onMouseLeave, onMouseEnter }) => (
<Button
onMouseLeave={onMouseLeave}
@ -95,7 +95,7 @@ function SettingsSyncSection() {
color={Button.Colors.RED}
disabled={!sectionEnabled}
onClick={() => getCloudSettings(true, true)}
>Sync from Cloud</Button>
>{$t("vencord.cloud.settings.syncFromCloud")}</Button>
)}
</Tooltip>
<Button
@ -103,7 +103,7 @@ function SettingsSyncSection() {
color={Button.Colors.RED}
disabled={!sectionEnabled}
onClick={() => deleteCloudSettings()}
>Delete Cloud Settings</Button>
>{$t("vencord.cloud.settings.deleteCloudSettings")}</Button>
</div>
</Forms.FormSection>
);
@ -116,22 +116,22 @@ function CloudTab() {
<SettingsTab title="Vencord Cloud">
<Forms.FormSection title="Cloud Settings" className={Margins.top16}>
<Forms.FormText variant="text-md/normal" className={Margins.bottom20}>
Vencord comes with a cloud integration that adds goodies like settings sync across devices.
It <Link href="https://vencord.dev/cloud/privacy">respects your privacy</Link>, and
the <Link href="https://github.com/Vencord/Backend">source code</Link> is AGPL 3.0 licensed so you
can host it yourself.
<Translate i18nKey="vencord.cloud.integrations.description">
<Link href="https://vencord.dev/cloud/privacy" />
<Link href="https://github.com/Vencord/Backend" />
</Translate>
</Forms.FormText>
<Switch
key="backend"
value={settings.cloud.authenticated}
onChange={v => { v && authorizeCloud(); if (!v) settings.cloud.authenticated = v; }}
note="This will request authorization if you have not yet set up cloud integrations."
note={$t("vencord.cloud.integrations.authorizationNote")}
>
Enable Cloud Integrations
{$t("vencord.cloud.integrations.enable")}
</Switch>
<Forms.FormTitle tag="h5">Backend URL</Forms.FormTitle>
<Forms.FormTitle tag="h5">{$t("vencord.cloud.integrations.backendUrl")}</Forms.FormTitle>
<Forms.FormText className={Margins.bottom8}>
Which backend to use when using cloud integrations.
{$t("vencord.cloud.integrations.backendNote")}
</Forms.FormText>
<CheckedTextInput
key="backendUrl"
@ -145,14 +145,14 @@ function CloudTab() {
color={Button.Colors.RED}
disabled={!settings.cloud.authenticated}
onClick={() => Alerts.show({
title: "Are you sure?",
body: "Once your data is erased, we cannot recover it. There's no going back!",
title: $t("vencord.areYouSure"),
body: $t("vencord.cloud.integrations.eraseWarning"),
onConfirm: eraseAllData,
confirmText: "Erase it!",
confirmText: $t("vencord.cloud.integrations.eraseIt"),
confirmColor: "vc-cloud-erase-data-danger-btn",
cancelText: "Nevermind"
cancelText: $t("vencord.nevermind")
})}
>Erase All Data</Button>
>{$t("vencord.cloud.integrations.eraseAllData")}</Button>
<Forms.FormDivider className={Margins.top16} />
</Forms.FormSection >
<SettingsSyncSection />

View file

@ -29,6 +29,7 @@ import { classes } from "@utils/misc";
import { openModal } from "@utils/modal";
import { showItemInFolder } from "@utils/native";
import { useAwaiter } from "@utils/react";
import { $t } from "@utils/translation";
import { findByPropsLazy, findLazy } from "@webpack";
import { Button, Card, Forms, React, showToast, TabBar, TextArea, useEffect, useRef, useState } from "@webpack/common";
import type { ComponentType, Ref, SyntheticEvent } from "react";
@ -202,17 +203,17 @@ function ThemesTab() {
return (
<>
<Card className="vc-settings-card">
<Forms.FormTitle tag="h5">Find Themes:</Forms.FormTitle>
<Forms.FormTitle tag="h5">{$t("vencord.themes.findThemes")}</Forms.FormTitle>
<div style={{ marginBottom: ".5em", display: "flex", flexDirection: "column" }}>
<Link style={{ marginRight: ".5em" }} href="https://betterdiscord.app/themes">
BetterDiscord Themes
{$t("vencord.themes.betterDiscord")}
</Link>
<Link href="https://github.com/search?q=discord+theme">GitHub</Link>
</div>
<Forms.FormText>If using the BD site, click on "Download" and place the downloaded .theme.css file into your themes folder.</Forms.FormText>
<Forms.FormText>{$t("vencord.themes.betterDiscordNote")}</Forms.FormText>
</Card>
<Forms.FormSection title="Local Themes">
<Forms.FormSection title={$t("vencord.themes.local")}>
<Card className="vc-settings-quick-actions-card">
<>
{IS_WEB ?
@ -221,7 +222,7 @@ function ThemesTab() {
size={Button.Sizes.SMALL}
disabled={themeDirPending}
>
Upload Theme
{$t("vencord.themes.upload")}
<FileInput
ref={fileInputRef}
onChange={onFileUpload}
@ -235,20 +236,20 @@ function ThemesTab() {
size={Button.Sizes.SMALL}
disabled={themeDirPending}
>
Open Themes Folder
{$t("vencord.themes.openFolder")}
</Button>
)}
<Button
onClick={refreshLocalThemes}
size={Button.Sizes.SMALL}
>
Load missing Themes
{$t("vencord.themes.loadMissing")}
</Button>
<Button
onClick={() => VencordNative.quickCss.openEditor()}
size={Button.Sizes.SMALL}
>
Edit QuickCSS
{$t("vencord.themes.editQuickCss")}
</Button>
{Vencord.Settings.plugins.ClientTheme.enabled && (
@ -262,7 +263,7 @@ function ThemesTab() {
))}
size={Button.Sizes.SMALL}
>
Edit ClientTheme
{$t("clientTheme.edit")}
</Button>
)}
</>
@ -303,12 +304,12 @@ function ThemesTab() {
return (
<>
<Card className="vc-settings-card vc-text-selectable">
<Forms.FormTitle tag="h5">Paste links to css files here</Forms.FormTitle>
<Forms.FormText>One link per line</Forms.FormText>
<Forms.FormText>Make sure to use direct links to files (raw or github.io)!</Forms.FormText>
<Forms.FormTitle tag="h5">{$t("vencord.themes.pasteLinks")}</Forms.FormTitle>
<Forms.FormText>{$t("vencord.themes.oneLinkPerLine")}</Forms.FormText>
<Forms.FormText>{$t("vencord.themes.useDirect")}</Forms.FormText>
</Card>
<Forms.FormSection title="Online Themes" tag="h5">
<Forms.FormSection title={$t("vencord.themes.online")} tag="h5">
<TextArea
value={themeText}
onChange={setThemeText}
@ -337,13 +338,13 @@ function ThemesTab() {
className="vc-settings-tab-bar-item"
id={ThemeTab.LOCAL}
>
Local Themes
{$t("vencord.themes.local")}
</TabBar.Item>
<TabBar.Item
className="vc-settings-tab-bar-item"
id={ThemeTab.ONLINE}
>
Online Themes
{$t("vencord.themes.online")}
</TabBar.Item>
</TabBar>

View file

@ -37,6 +37,8 @@ export const wordsToPascal = (words: string[]) =>
export const wordsToTitle = (words: string[]) =>
words.map(w => w[0].toUpperCase() + w.slice(1)).join(" ");
export const lowercaseify = (text: string) => text[0].toLowerCase() + text.slice(1);
const units = ["years", "months", "weeks", "days", "hours", "minutes", "seconds"] as const;
type Units = typeof units[number];

View file

@ -0,0 +1,4 @@
{
"description": "Recreation of the old client theme experiment. Add a color to your Discord client theme",
"edit": "Edit ClientTheme"
}

View file

@ -0,0 +1,3 @@
{
"description": "Assists with translating Vencord"
}

View file

@ -1,58 +1,130 @@
{
"ohNo": "Oh no!",
"errorBoundaryDescription": "An error occurred while rendering this Component. More info can be found below and in your console.",
"failureUpdate": "Uh Oh! Failed to render this Page. However, there is an update available that might fix it. Would you like to update and restart now?",
"pluginRestart": "Restart to apply changes!",
"requiredPlugin": "This plugin is required for Vencord to function.",
"new": "NEW",
"pluginContributed": {
"one": "This person has <0>contributed</0> to one plugin!",
"other": "This person has <0>contributed</0> to {count} plugins!",
"zero": "This person has not made any plugins. They likely <0>contributed</0> to Vencord in other ways!"
"areYouSure": "Are you sure?",
"backupAndRestore": {
"customQuickcss": "Custom QuickCSS",
"description": "You can import and export your Vencord settings as a JSON file. This allows you to easily transfer your settings to another device, or recover your settings after reinstalling Vencord or Discord.",
"exportContains": "Settings Export contains:",
"exportSettings": "Export Settings",
"importSettings": "Import Settings",
"importWarning": "Importing a settings file will overwrite your current settings.",
"pluginSettings": "Plugin Settings",
"themeLinks": "Theme Links"
},
"clipboardNotSupported": "Your browser does not support copying to clipboard",
"cloud": {
"integrations": {
"authorizationNote": "This will request authorization if you have not yet set up cloud integrations.",
"backendNote": "Which backend to use when using cloud integrations.",
"backendUrl": "Backend URL",
"description": "Vencord comes with a cloud integration that adds goodies like settings sync across devices. It <0>respects your privacy</0>, and the <1>source code</1> is AGPL 3.0 licensed so you can host it yourself.",
"enable": "Enable Cloud Integrations",
"enabled": "Cloud integrations enabled!",
"eraseAllData": "Erase All Data",
"eraseError": "Could not erase all data (API returned {status}), please contact support.",
"eraseIt": "Erase it!",
"eraseSuccess": "Successfully erased all data.",
"eraseWarning": "Once your data is erased, we cannot recover it. There's no going back!",
"reauthenticate": "We've noticed you have cloud integrations enabled in another client! Due to limitations, you will need to re-authenticate to continue using them. Click here to go to the settings page to do so!",
"setupFailure": {
"generic": "Setup failed ({error}).",
"missingSecret": "Setup failed (no secret returned?).",
"oauth": "Setup failed (couldn't retrieve OAuth configuration)."
}
},
"update": {
"available": "A Vencord update is available!",
"clickToRestart": "Click here to restart",
"clickToView": "Click here to view the update",
"updated": "Vencord has been updated!"
},
"cloudIntegrations": "Cloud Integrations",
"cloudSettings": "Cloud Settings",
"cloud": {
"integrations": {
"enabled": "Cloud integrations enabled!",
"reauthenticate": "We've noticed you have cloud integrations enabled in another client! Due to limitations, you will need to re-authenticate to continue using them. Click here to go to the settings page to do so!",
"setupFailure": {
"generic": "Setup failed ({error}).",
"missingSecret": "Setup failed (no secret returned?).",
"oauth": "Setup failed (couldn't retrieve OAuth configuration)."
}
},
"settings": {
"deleteError": {
"api": "Could not delete settings (API returned {status}).",
"generic": "Could not delete settings ({error})."
},
"deleted": "Settings deleted from cloud!",
"localNewer": "Your local settings are newer than the cloud ones.",
"nothingOnline": "There are no settings in the cloud.",
"syncErrorDown": {
"api": "Could not synchronize settings from the cloud (API returned {status}).",
"generic": "Could not synchronize settings from the cloud ({error})."
},
"syncErrorUp": {
"api": "Could not synchronize settings to the cloud (API returned {status}).",
"generic": "Could not synchronize settings to the cloud ({error})."
},
"syncSuccess": "Synchronized settings to the cloud!",
"upToDate": "Your settings are up to date.",
"updated": "Your settings have been updated! Click here to restart to fully apply changes!"
}
},
"copiedToClipboard": "Copied to clipboard!",
"clipboardNotSupported": "Your browser does not support copying to clipboard",
"failedToImport": "Failed to import settings: {error}",
"importedSettings": "Settings successfully imported. Restart to apply changes!",
"updaterRepeatFailed": "That also failed :( Try updating or re-installing with the installer!",
"gitCopyNewer": "Your local copy has more recent commits. Please stash or reset them."
"settings": {
"deleteCloudSettings": "Delete Cloud Settings",
"deleteError": {
"api": "Could not delete settings (API returned {status}).",
"generic": "Could not delete settings ({error})."
},
"deleted": "Settings deleted from cloud!",
"description": "Synchronize your settings to the cloud. This allows easy synchronization across multiple devices with minimal effort.",
"localNewer": "Your local settings are newer than the cloud ones.",
"nothingOnline": "There are no settings in the cloud.",
"overwriteWarning": "This will overwrite your local settings with the ones on the cloud. Use wisely!",
"syncErrorDown": {
"api": "Could not synchronize settings from the cloud (API returned {status}).",
"generic": "Could not synchronize settings from the cloud ({error})."
},
"syncErrorUp": {
"api": "Could not synchronize settings to the cloud (API returned {status}).",
"generic": "Could not synchronize settings to the cloud ({error})."
},
"syncFromCloud": "Sync from Cloud",
"syncSuccess": "Synchronized settings to the cloud!",
"syncToCloud": "Sync to Cloud",
"upToDate": "Your settings are up to date.",
"updated": "Your settings have been updated! Click here to restart to fully apply changes!"
}
},
"cloudIntegrations": "Cloud Integrations",
"cloudSettings": "Cloud Settings",
"copiedToClipboard": "Copied to clipboard!",
"errorBoundaryDescription": "An error occurred while rendering this Component. More info can be found below and in your console.",
"failedToImport": "Failed to import settings: {error}",
"failureUpdate": "Uh Oh! Failed to render this Page. However, there is an update available that might fix it. Would you like to update and restart now?",
"gitCopyNewer": "Your local copy has more recent commits. Please stash or reset them.",
"importedSettings": "Settings successfully imported. Restart to apply changes!",
"nevermind": "Nevermind",
"new": "NEW",
"noSearchResults": "No plugins meet search criteria.",
"noSettings": "There are no settings for this plugin.",
"ohNo": "Oh no!",
"pluginContributed": {
"one": "This person has <0>contributed</0> to one plugin!",
"other": "This person has <0>contributed</0> to {count} plugins!",
"zero": "This person has not made any plugins. They likely <0>contributed</0> to Vencord in other ways!"
},
"pluginFilters": "Filters",
"pluginHeader": {
"cogWheel": "Plugins with a cog wheel have settings you can modify!",
"iconInformation": "Press the cog wheel or info icon to get more info on a plugin.",
"managementHeader": "Plugin Management",
"reloadDescription": "Restart now to apply new plugins and their settings",
"reloadHeader": "Restart required!",
"restart": "Restart"
},
"pluginRequiredBy": "This plugin is required by:",
"pluginRestart": "Restart to apply changes!",
"plugins": "Plugins",
"pluginsNeedRestart": "The following plugins require a restart:",
"requiredPlugin": "This plugin is required for Vencord to function.",
"requiredPlugins": "Required Plugins",
"restartLater": "Later!",
"restartNow": "Restart now",
"restartRequired": "Restart required",
"saveAndClose": "Save & Close",
"search": {
"all": "Show All",
"disabled": "Show Disabled",
"enabled": "Show Enabled",
"new": "Show New",
"placeholder": "Search for a plugin..."
},
"settings": "Settings",
"settingsErrors": "You must fix all errors before saving",
"settingsSaveError": "Error while saving: {saveError}",
"settingsSync": "Settings Sync",
"themes": {
"betterDiscord": "BetterDiscord Themes",
"betterDiscordNote": "If using the BD site, click on \"Download\" and place the downloaded .theme.css file into your themes folder.",
"editQuickCss": "Edit QuickCSS",
"findThemes": "Find Themes:",
"loadMissing": "Load missing Themes",
"local": "Local Themes",
"oneLinkPerLine": "One link per line.",
"online": "Online Themes",
"openFolder": "Open Themes Folder",
"pasteLinks": "Paste links to css files here",
"upload": "Upload Theme",
"useDirect": "Make sure to use direct links to files (raw or github.io)!"
},
"update": {
"available": "A Vencord update is available!",
"clickToRestart": "Click here to restart",
"clickToView": "Click here to view the update",
"updated": "Vencord has been updated!"
},
"updaterRepeatFailed": "That also failed :( Try updating or re-installing with the installer!",
"warning": "Warning"
}