diff --git a/src/components/setting/mods/misc-viewer.tsx b/src/components/setting/mods/misc-viewer.tsx index ca94aa0..505c4ab 100644 --- a/src/components/setting/mods/misc-viewer.tsx +++ b/src/components/setting/mods/misc-viewer.tsx @@ -168,13 +168,13 @@ export const MiscViewer = forwardRef((props, ref) => { } > {[ - { key: "Never Clean", value: 0 }, - { key: "Retain 7 Days", value: 1 }, - { key: "Retain 30 Days", value: 2 }, - { key: "Retain 90 Days", value: 3 }, + { key: t("Never Clean"), value: 0 }, + { key: t("Retain _n Days", { n: 7 }), value: 1 }, + { key: t("Retain _n Days", { n: 30 }), value: 2 }, + { key: t("Retain _n Days", { n: 90 }), value: 3 }, ].map((i) => ( - {t(i.key)} + {i.key} ))} diff --git a/src/locales/en.json b/src/locales/en.json index e13c711..8d7f443 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -222,9 +222,7 @@ "Auto Columns": "Auto Columns", "Auto Log Clean": "Auto Log Clean", "Never Clean": "Never Clean", - "Retain 7 Days": "Retain 7 Days", - "Retain 30 Days": "Retain 30 Days", - "Retain 90 Days": "Retain 90 Days", + "Retain _n Days": "Retain {{n}} Days", "Default Latency Test": "Default Latency Test", "Default Latency Timeout": "Default Latency Timeout", "Hotkey Setting": "Hotkey Setting", diff --git a/src/locales/fa.json b/src/locales/fa.json index 16bc5bd..b122419 100644 --- a/src/locales/fa.json +++ b/src/locales/fa.json @@ -222,9 +222,7 @@ "Auto Columns": "ستون‌های خودکار", "Auto Log Clean": "پاکسازی خودکار لاگ", "Never Clean": "هرگز پاک نکن", - "Retain 7 Days": "نگهداری به مدت 7 روز", - "Retain 30 Days": "نگهداری به مدت 30 روز", - "Retain 90 Days": "نگهداری به مدت 90 روز", + "Retain _n Days": "نگهداری به مدت {{n}} روز", "Default Latency Test": "آزمون تأخیر پیش‌فرض", "Default Latency Timeout": "زمان انتظار تأخیر پیش‌فرض", "Hotkey Setting": "تنظیمات کلیدهای میانبر", diff --git a/src/locales/ru.json b/src/locales/ru.json index a1f91d9..ec4ac17 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -222,9 +222,7 @@ "Auto Columns": "Авто колонки", "Auto Log Clean": "Автоматическая очистка журналов", "Never Clean": "Никогда не очищать", - "Retain 7 Days": "Сохранять 7 дней", - "Retain 30 Days": "Сохранять 30 дней", - "Retain 90 Days": "Сохранять 90 дней", + "Retain _n Days": "Сохранять {{n}} дней", "Default Latency Test": "Ссылка на тестирование задержки по умолчанию", "Default Latency Timeout": "Таймаут задержки по умолчанию", "Hotkey Setting": "Настройки клавиатурных сокращений", diff --git a/src/locales/zh.json b/src/locales/zh.json index 804367e..979d42e 100644 --- a/src/locales/zh.json +++ b/src/locales/zh.json @@ -222,9 +222,7 @@ "Auto Columns": "自动列数", "Auto Log Clean": "自动清理日志", "Never Clean": "不清理", - "Retain 7 Days": "保留7天", - "Retain 30 Days": "保留30天", - "Retain 90 Days": "保留90天", + "Retain _n Days": "保留{{n}}天", "Default Latency Test": "默认测试链接", "Default Latency Timeout": "测试超时时间", "Hotkey Setting": "热键设置",