fix(i18n): 补齐九语翻译并修复国际化检查
补齐历史缺译并统一整句插值。九语覆盖 100%,静态检查及 713 项单测通过。
This commit is contained in:
@@ -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 {
|
||||
Ban as ActionBan,
|
||||
ShieldCheck as ActionShieldCheck,
|
||||
@@ -908,7 +909,11 @@ const CreateMembershipModal = ({
|
||||
{t('每日额度')}:{renderQuota(selectedPlan.daily_quota, 2)}
|
||||
</div>
|
||||
<div>
|
||||
{t('原方案天数')}:{selectedPlan.duration_days} {t('天')}
|
||||
<Trans
|
||||
t={t}
|
||||
i18nKey='原方案天数:{{duration_days}} 天'
|
||||
values={{ duration_days: selectedPlan.duration_days }}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user