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

补齐历史缺译并统一整句插值。九语覆盖 100%,静态检查及 713 项单测通过。
This commit is contained in:
zhanjunhao
2026-11-17 14:10:25 +08:00
parent ef93825c07
commit e7a7541b2b
146 changed files with 16591 additions and 11007 deletions
@@ -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 {
ChevronRight as ActionChevronRight,
ChevronDown as ActionChevronDown,
@@ -212,7 +213,11 @@ const DeptNode = memo(({ data, selected }) => {
</div>
<div className='mt-1.5 flex items-center gap-2 flex-wrap'>
<Text type='tertiary' size='small'>
{t('子部门')} {childCount} · {t('排序')} {dept.sort || 0}
<Trans
t={t}
i18nKey='子部门 {{childCount}} · 排序 {{value}}'
values={{ childCount: childCount, value: dept.sort || 0 }}
/>
</Text>
<Tooltip content={t('查看直属成员')}>
<button