chore(i18n): common.*

This commit is contained in:
Slinetrac
2025-11-02 22:13:14 +08:00
Unverified
parent 3512caebae
commit 64904eac15
56 changed files with 1630 additions and 776 deletions

View File

@@ -253,7 +253,7 @@ export const ProviderButton = () => {
color="text.secondary"
noWrap
>
<small>{t("Update At")}: </small>
<small>{t("common.labels.updateAt")}: </small>
{time.fromNow()}
</Typography>
</Box>
@@ -271,11 +271,17 @@ export const ProviderButton = () => {
justifyContent: "space-between",
}}
>
<span title={t("Used / Total") as string}>
<span
title={t("common.labels.usedTotal") as string}
>
{parseTraffic(upload + download)} /{" "}
{parseTraffic(total)}
</span>
<span title={t("Expire Time") as string}>
<span
title={
t("common.labels.expireTime") as string
}
>
{parseExpire(expire)}
</span>
</Box>
@@ -334,7 +340,7 @@ export const ProviderButton = () => {
<DialogActions>
<Button onClick={handleClose} variant="outlined">
{t("Close")}
{t("common.actions.close")}
</Button>
</DialogActions>
</Dialog>

View File

@@ -156,7 +156,11 @@ const SortableItem = ({ proxy, index, onRemove }: SortableItemProps) => {
{proxy.delay !== undefined && (
<Chip
label={proxy.delay > 0 ? `${proxy.delay}ms` : t("timeout") || "超时"}
label={
proxy.delay > 0
? `${proxy.delay}ms`
: t("common.labels.timeout") || "超时"
}
size="small"
color={
proxy.delay > 0 && proxy.delay < 200

View File

@@ -372,7 +372,7 @@ export const ProxyGroups = (props: Props) => {
}, [renderList]);
if (mode === "direct") {
return <BaseEmpty text={t("clash_mode_direct")} />;
return <BaseEmpty text={t("proxies.page.messages.directMode")} />;
}
if (isChainMode) {