fix(i18n): 补齐九语翻译并修复国际化检查
补齐历史缺译并统一整句插值。九语覆盖 100%,静态检查及 713 项单测通过。
This commit is contained in:
@@ -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 {
|
||||
Copy as ActionCopy,
|
||||
ReceiptText as ActionReceiptText,
|
||||
@@ -1050,11 +1051,17 @@ function Bills({ t, readOnly }) {
|
||||
/>
|
||||
<div style={{ marginTop: 8 }}>
|
||||
<Text type='tertiary' size='small'>
|
||||
{t('争议对象')}:{' '}
|
||||
{disputeTarget?.layer === 1
|
||||
? disputeTarget?.customer_name
|
||||
: disputeTarget?.source_partner_name}{' '}
|
||||
· {t('返佣(元)')} {fmtYuan(disputeTarget?.rebate_yuan)}
|
||||
<Trans
|
||||
t={t}
|
||||
i18nKey='争议对象: {{value}} · 返佣(元) {{value2}}'
|
||||
values={{
|
||||
value:
|
||||
disputeTarget?.layer === 1
|
||||
? disputeTarget?.customer_name
|
||||
: disputeTarget?.source_partner_name,
|
||||
value2: fmtYuan(disputeTarget?.rebate_yuan),
|
||||
}}
|
||||
/>
|
||||
</Text>
|
||||
</div>
|
||||
<Form key={disputeTarget?.id || 0} onSubmit={dispute}>
|
||||
|
||||
Reference in New Issue
Block a user