diff --git a/i18n/en/translation.json b/i18n/en/translation.json
index b51c4dd25..f9cdbfd6f 100644
--- a/i18n/en/translation.json
+++ b/i18n/en/translation.json
@@ -1,8 +1,8 @@
{
- "description": "Assists with translating Vencord",
+ "description": "Assists with translating Equicord",
"settings": {
"forceLocale": {
- "description": "Force a different locale for Vencord to use",
+ "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"
diff --git a/i18n/en/vencord.json b/i18n/en/vencord.json
index 57bc72cb9..86c4981f6 100644
--- a/i18n/en/vencord.json
+++ b/i18n/en/vencord.json
@@ -1,4 +1,22 @@
{
+ "donate": "Donate",
+ "invite": "Invite",
+ "loading": "Loading...",
+ "logs": {
+ "cancel": "Cancel",
+ "clearLog": "Clear Log",
+ "clearLogConfirmation": "Are you sure you would like to clear this log? This can't be undone.",
+ "logCleared": "Log has been cleared",
+ "clearLogs": "Clear Logs",
+ "clearLogsConfirmation": "Are you sure you would like to clear these logs? This can't be undone.",
+ "logsCleared": "Selected logs have been cleared",
+ "hideLogs": "Hide Logs",
+ "showLogs": "Show Logs",
+ "clearAllLogs": "Clear All Logs",
+ "clearAll": "Clear All",
+ "clearAllLogsConfirmation": "Are you sure you would like to clear all logs? This can't be undone.",
+ "allLogsCleared": "All logs have been cleared"
+ },
"addonCard": {
"new": "NEW"
},
@@ -18,8 +36,6 @@
"subtitle": "Thank you for contributing!",
"title": "Contributions"
},
- "donate": "Donate",
- "invite": "Invite",
"donorCard": {
"donated": {
"vencordDescription": "All Vencord users can see your badge! You can manage your perks by messaging @{v}.",
@@ -68,13 +84,74 @@
"plugins_one": "This person has <0>contributed0> to {count} plugin!",
"plugins_other": "This person has <0>contributed0> to {count} plugins!"
}
- }
+ },
+ "requiredToFunction": "This plugin is required for Equicord to function",
+ "pluginRequiredBy": "This plugin is required by: {pluginNames}",
+ "noDescription": "No description available",
+ },
+ "changelog": {
+ "manager": {
+ "minutes_one": "{count} minute ago",
+ "minutes_other": "{count} minutes ago",
+ "hours_one": "{count} hour ago",
+ "hours_other": "{count} hours ago",
+ "days_one": "{count} day ago",
+ "days_other": "{count} days ago"
+ },
+ "updateCard": {
+ "upToDate": "Repository check: {fromHash} (up to date)",
+ "outOfDate": "Repository check: {fromHash} → {toHash}",
+ "update": "Update: {fromHash} → {toHash}",
+ "commits_zero": " • No new commits",
+ "commits_one": " • {count} commit available",
+ "commits_other": " • {count} commits available",
+ "newPluginsCount": " • {plugins} new plugins",
+ "updatedPluginsCount": " • {plugins} updated plugins",
+ "newSettingsCount": " • {settings} new settings",
+ "updatedPlugins": "Updated Plugins",
+ "newSettings": "New Settings",
+ "newSettingInPlugin": "New setting in {pluginName}"
+ },
+ "newPluginsSection": {
+ "newPluginsCount": "New Plugins ({count})",
+ "recentlyAddedPlugins": "The following plugins have been added in recent updates:",
+ "numMorePlugins_one": "+{count} more plugin",
+ "numMorePlugins_other": "+{count} more plugins"
+ },
+ "missingRepoInfo": "Failed to retrieve repository information",
+ "alreadyUpToDate": "Already up todate with repository",
+ "foundCommits_zero": "No new commits",
+ "foundCommits_one": "Found {count} commit from repository",
+ "foundCommits_other": "Found {count} commits from repository",
+ "loggedCommits": "Logged commits from your latest update",
+ "upToDateLocalCopy": "Repository is up to date with your local copy",
+ "failedToFetchRepo": "Failed to fetch from repository",
+ "checkYourConnection": "Failed to connect to repository. Check your internet connection",
+ "failedtoFetchCommits": "Could not fetch commits from repository",
+ "repository": "Repository",
+ "viewRecentChanges": "View the most recent changes to Equicord. This fetches commits directly from the repository to show you what's new",
+ "failedToRetrieve": "Failed to retrieve - check console",
+ "upToDate": "Repository Up To Date",
+ "fetchRepo": "Fetch from Repository",
+ "checkYourInternet": "Make sure you have an internet connection and try again",
+ "recentChanges": "Recent Changes",
+ "updatedPluginsCount": "Updated Plugins ({plugins})",
+ "codeChanges_zero": "No Code Changes",
+ "codeChanges_one": "Code Changes ({count} commit)",
+ "codeChanges_other": "Code Changes ({count} commits)",
+ "emptyChangelog": "No commits available ahead of your current version. Click \"Fetch from Repository\" to check for new changes",
+ "updateLogs_zero": "No Update Logs",
+ "updateLogs_one": "Update Logs ({count} log)",
+ "updateLogs_other": "Update Logs ({count} logs)",
+ "previousSessions": "Previous update sessions with their commit history and plugin changes",
+ "title": "Changelog"
},
"restartRequired": {
"body": "A restart is required to apply this change",
"cancel": "Later!",
"confirm": "Restart now",
- "title": "Restart Required"
+ "title": "Restart Required",
+ "plugins": "The following plugins require a restart:"
},
"title": "Settings",
"transparent": {
diff --git a/src/components/settings/tabs/changelog/NewPluginsSection.tsx b/src/components/settings/tabs/changelog/NewPluginsSection.tsx
index 8d0b42af0..129251db7 100644
--- a/src/components/settings/tabs/changelog/NewPluginsSection.tsx
+++ b/src/components/settings/tabs/changelog/NewPluginsSection.tsx
@@ -13,6 +13,7 @@ import { PluginCard } from "@components/settings/tabs/plugins/PluginCard";
import { ChangeList } from "@utils/ChangeList";
import { Margins } from "@utils/margins";
import { useForceUpdater } from "@utils/react";
+import { t } from "@utils/translation";
import { Button, React, Tooltip } from "@webpack/common";
import Plugins from "~plugins";
@@ -78,11 +79,11 @@ export function NewPluginsSection({
return (
- New Plugins ({sortedPlugins.length})
+ {t("vencord.settings.changelog.newPluginsSection.newPluginsCount", { count: sortedPlugins.length })}
- The following plugins have been added in recent updates:
+ {t("vencord.settings.changelog.newPluginsSection.recentlyAddedPlugins")}
@@ -94,7 +95,7 @@ export function NewPluginsSection({
) ||
plugin.name.endsWith("API");
const tooltipText = plugin.required
- ? "This plugin is required for Equicord to function."
+ ? t("vencord.settings.plugins.requiredToFunction")
: makeDependencyList(
depMap[plugin.name]?.filter(
d => settings.plugins[d].enabled,
@@ -152,7 +153,7 @@ export function NewPluginsSection({
- The following plugins require a restart:
+ {t("vencord.settings.restartRequired.plugins")}
{changelog.map(entry => (
@@ -638,9 +634,7 @@ function ChangelogContent() {
!error && (
- No commits available ahead of your current version.
- Click "Fetch from Repository" to check for new
- changes.
+ {t("vencord.settings.changelog.emptyChangelog")}
)
@@ -654,12 +648,10 @@ function ChangelogContent() {
style={{ marginBottom: "1em" }}
/>
- Update Logs ({changelogHistory.length}{" "}
- {changelogHistory.length === 1 ? "log" : "logs"})
+ {t("vencord.settings.changelog.updateLogs", { count: changelogHistory.length })}
- Previous update sessions with their commit history and
- plugin changes.
+ {t("vencord.settings.changelog.previousSessions")}
@@ -673,11 +665,11 @@ function ChangelogContent() {
onToggleExpand={() => toggleLogExpanded(log.id)}
onClearLog={logId => {
Alerts.show({
- title: "Clear Log",
- body: "Are you sure you would like to clear this log? This can't be undone.",
- confirmText: "Clear Log",
+ title: t("vencord.logs.clearLog"),
+ body: t("vencord.logs.clearLogConfirmation"),
+ confirmText: t("vencord.logs.clearLog"),
confirmColor: "danger",
- cancelText: "Cancel",
+ cancelText: t("vencord.logs.cancel"),
onConfirm: async () => {
await clearIndividualLog(logId);
await loadChangelogHistory();
@@ -691,7 +683,7 @@ function ChangelogContent() {
),
);
Toasts.show({
- message: "Log has been cleared",
+ message: t("vencord.logs.logCleared"),
id: Toasts.genId(),
type: Toasts.Type.SUCCESS,
options: {
@@ -713,10 +705,10 @@ function ChangelogContent() {
function ChangelogTab() {
return (
-
+
);
}
-export default wrapTab(ChangelogTab, "Changelog");
+export default wrapTab(ChangelogTab, t("vencord.settings.changelog.title"));
diff --git a/src/components/settings/tabs/plugins/ContributorModal.tsx b/src/components/settings/tabs/plugins/ContributorModal.tsx
index dfa5ce347..bba9f240d 100644
--- a/src/components/settings/tabs/plugins/ContributorModal.tsx
+++ b/src/components/settings/tabs/plugins/ContributorModal.tsx
@@ -11,6 +11,7 @@ import { classNameFactory } from "@api/Styles";
import ErrorBoundary from "@components/ErrorBoundary";
import { HeadingPrimary } from "@components/Heading";
import { Link } from "@components/Link";
+import { Paragraph } from "@components/Paragraph";
import { EquicordDevsById, VencordDevsById } from "@utils/constants";
import { fetchUserProfile } from "@utils/discord";
import { classes } from "@utils/misc";
@@ -94,16 +95,20 @@ function ContributorModal({ user }: { user: User; }) {
{plugins.length ? (
-
- This person has {ContributedHyperLink} to some plugins!
-
+
+
+ This person has {ContributedHyperLink} to some plugins!
+
+
) : (
-
- This person has not made any plugins. They likely {ContributedHyperLink}
- to Vencord in other ways!
-
+
+
+ This person has not made any plugins. They likely {ContributedHyperLink}
+ to Equicord in other ways!
+
+
)}
{!!plugins.length && (
diff --git a/src/components/settings/tabs/vencord/index.tsx b/src/components/settings/tabs/vencord/index.tsx
index 6d000cd3b..886ea9673 100644
--- a/src/components/settings/tabs/vencord/index.tsx
+++ b/src/components/settings/tabs/vencord/index.tsx
@@ -334,11 +334,14 @@ function DonateButtonComponent() {
+ style={{ marginTop: "1em" }}
+ link="https://github.com/sponsors/thororen1234"
+ />
+ style={{ marginTop: "1em" }}
+ />
);
}