fix(i18n): 补齐九种语言的翻译并修复国际化检查

补齐页面缺译,统一动态文案的整句插值方式。
This commit is contained in:
zhanjunhao
2026-11-17 14:10:25 +08:00
parent ef3f405190
commit 67969a041d
146 changed files with 16591 additions and 11007 deletions
+11 -2
View File
@@ -16,6 +16,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
For commercial licensing, please contact support@quantumnous.com
*/
import { Trans } from 'react-i18next';
import {
Zap as ActionZap,
UserPlus as ActionUserPlus,
@@ -531,7 +532,11 @@ const Invite = () => {
)}
{remainingDays > 0 && (
<span className='ml-2 text-amber-600 dark:text-amber-300'>
({t('\u5269\u4f59')} {remainingDays} {t('\u5929')})
<Trans
t={t}
i18nKey='(剩余 {{remainingDays}} 天)'
values={{ remainingDays: remainingDays }}
/>
</span>
)}
</p>
@@ -683,7 +688,11 @@ const Invite = () => {
</div>
<div>
<Typography.Text strong className='block mb-2'>
{t('划转额度')} ({t('最低')} {renderQuota(getQuotaPerUnit())})
<Trans
t={t}
i18nKey='划转额度 (最低 {{value}})'
values={{ value: renderQuota(getQuotaPerUnit()) }}
/>
</Typography.Text>
<QuotaInput
minQuota={getQuotaPerUnit()}