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 {
|
||||
Plus as ActionPlus,
|
||||
X as ActionX,
|
||||
@@ -106,8 +107,14 @@ const ImageUrlInput = ({
|
||||
</Typography.Text>
|
||||
) : (
|
||||
<Typography.Text className='text-xs text-gray-500 mb-2 block'>
|
||||
{t('已添加')} {imageUrls.length} {t('张图片')}
|
||||
{disabled ? ` (${t('自定义模式下不可用')})` : ''}
|
||||
<Trans
|
||||
t={t}
|
||||
i18nKey='已添加 {{length}} 张图片{{value}}'
|
||||
values={{
|
||||
length: imageUrls.length,
|
||||
value: disabled ? ` (${t('自定义模式下不可用')})` : '',
|
||||
}}
|
||||
/>
|
||||
</Typography.Text>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user