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
@@ -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