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

补齐历史缺译并统一整句插值。九语覆盖 100%,静态检查及 713 项单测通过。
This commit is contained in:
zhanjunhao
2026-11-17 14:10:25 +08:00
parent 936ece78ff
commit ac9bbfd472
146 changed files with 16591 additions and 11007 deletions
+17 -7
View File
@@ -17,6 +17,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 {
Check as ActionCheck,
Copy as ActionCopy,
@@ -280,7 +281,11 @@ const AdminOrder = () => {
if (displayName || username) {
return displayName || username;
}
return <span className='text-gray-400'>User#{record.user_id}</span>;
return (
<span className='text-gray-400'>
{t('用户 #{{id}}', { id: record.user_id })}
</span>
);
},
},
{ title: t('用户ID'), dataIndex: 'user_id', width: 70 },
@@ -326,12 +331,17 @@ const AdminOrder = () => {
{formatUSDMinor(record.provider_net_amount_minor)}
</div>
<div>
{t('结算状态')}:{' '}
{t(
payPalSettlementStateMap[record.paypal_settlement_state] ||
record.paypal_settlement_state ||
'未知',
)}
<Trans
t={t}
i18nKey='结算状态: {{label}}'
values={{
label: t(
payPalSettlementStateMap[record.paypal_settlement_state] ||
record.paypal_settlement_state ||
'未知',
),
}}
/>
</div>
</div>
);