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
+14 -14
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 {
RefreshCw as ActionRefreshCw,
Plus as ActionPlus,
@@ -1542,7 +1543,7 @@ const ExpertPlatform = () => {
<div className='expert-card-title'>
<h3>{item.model_name}</h3>
<span className='expert-card-key'>
channel #{item.channel_id}
{t('渠道 #{{id}}', { id: item.channel_id })}
</span>
</div>
<Tag
@@ -2514,19 +2515,18 @@ const ExpertPlatform = () => {
{selectedCase?.workload_type === 'agent-worker' &&
reconciliationRunBilling[selectedCase?.workload_id] && (
<Text type='warning'>
{t(
'“实际配额”按任务全生命周期总额录入(含先前各步已结算部分)。当前已结算',
)}
:{' '}
{
reconciliationRunBilling[selectedCase.workload_id]
.effective_quota
}{' '}
· {t('预留')}:{' '}
{
reconciliationRunBilling[selectedCase.workload_id]
.reserved_quota
}
<Trans
t={t}
i18nKey='“实际配额”按任务全生命周期总额录入(含先前各步已结算部分)。当前已结算: {{effective_quota}} · 预留: {{reserved_quota}}'
values={{
effective_quota:
reconciliationRunBilling[selectedCase.workload_id]
.effective_quota,
reserved_quota:
reconciliationRunBilling[selectedCase.workload_id]
.reserved_quota,
}}
/>
</Text>
)}
{selectedCase?.workload_type === 'connector-write' && (