fix: fix namespace for i18n keys (#7025)

This commit is contained in:
白熱
2026-06-06 17:03:38 +08:00
committed by GitHub
parent 3e6892c725
commit 9346b221b4
40 changed files with 116 additions and 2 deletions
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: 'التحقق من صحة البيانات',
operators: {
legal: 'نوع قانوني',
},
validFail: {
value: 'يُرجى إدخال قيمة',
common: 'يُرجى إدخال قيمة أو صيغة',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: 'Validació de dades',
operators: {
legal: 'és tipus legal',
},
validFail: {
value: 'Si us plau, introdueix un valor',
common: 'Si us plau, introdueix un valor o una fórmula',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: 'Datenüberprüfung',
operators: {
legal: 'ist gültiger Typ',
},
validFail: {
value: 'Bitte einen Wert eingeben',
common: 'Bitte Wert oder Formel eingeben',
@@ -17,6 +17,9 @@
const locale = {
'sheets-data-validation-ui': {
title: 'Data validation',
operators: {
legal: 'is legal type',
},
validFail: {
value: 'Please input a value',
common: 'Please input value or formula',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: 'Validación de datos',
operators: {
legal: 'es tipo legal',
},
validFail: {
value: 'Por favor, introduce un valor',
common: 'Por favor, introduce un valor o fórmula',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: 'اعتبارسنجی داده',
operators: {
legal: 'نوع قانونی است',
},
validFail: {
value: 'لطفا یک مقدار وارد کنید',
common: 'لطفا مقدار یا فرمول را وارد کنید',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: 'Validation des données',
operators: {
legal: 'est de type légal',
},
validFail: {
value: 'Veuillez entrer une valeur',
common: 'Veuillez entrer une valeur ou une formule',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: 'Validasi data',
operators: {
legal: 'tipe yang sah',
},
validFail: {
value: 'Harap masukkan nilai',
common: 'Harap masukkan nilai atau rumus',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: 'Convalida dati',
operators: {
legal: 'è un tipo valido',
},
validFail: {
value: 'Inserisci un valore',
common: 'Inserisci valore o formula',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: 'データの入力規則',
operators: {
legal: '有効な形式',
},
validFail: {
value: '値を入力してください',
common: '値または数式を入力してください',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: '데이터 유효성 검사',
operators: {
legal: '유효한 형식',
},
validFail: {
value: '값을 입력하세요',
common: '값 또는 수식을 입력하세요',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: 'Sprawdzanie poprawności danych',
operators: {
legal: 'jest prawidłowym typem',
},
validFail: {
value: 'Wprowadź wartość',
common: 'Wprowadź wartość lub formułę',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: 'Validação de dados',
operators: {
legal: 'é tipo válido',
},
validFail: {
value: 'Insira um valor',
common: 'Insira um valor ou fórmula',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: 'Проверка данных',
operators: {
legal: 'является допустимым типом',
},
validFail: {
value: 'Пожалуйста, введите значение',
common: 'Пожалуйста, введите значение или формулу',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: 'Overenie údajov',
operators: {
legal: 'je platný typ',
},
validFail: {
value: 'Zadajte hodnotu',
common: 'Zadajte hodnotu alebo vzorec',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: 'Xác thực dữ liệu',
operators: {
legal: 'là kiểu hợp lệ',
},
validFail: {
value: 'Vui lòng nhập một giá trị hợp lệ',
common: 'Vui lòng nhập giá trị hoặc công thức',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: '数据验证',
operators: {
legal: '是合法类型',
},
validFail: {
value: '请输入一个合法值',
common: '请输入值或公式',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: '資料驗證',
operators: {
legal: '是合法類型',
},
validFail: {
value: '請輸入一個合法值',
common: '請輸入數值或公式',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-data-validation-ui': {
title: '資料驗證',
operators: {
legal: '是合法類型',
},
validFail: {
value: '請輸入一個合法值',
common: '請輸入數值或公式',
@@ -312,7 +312,7 @@ export function DataValidationDetail() {
options={[
{
value: '',
label: localeService.t('data-validation.operators.legal'),
label: localeService.t('sheets-data-validation-ui.operators.legal'),
},
...operators.map((op, i) => ({
value: `${op}`,
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: 'صورة',
uploadLoading: {
loading: 'جارٍ التحميل..., المتبقي',
},
upload: {
float: 'صورة عائمة',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: 'Imatge',
uploadLoading: {
loading: 'S\'està carregant..., restant',
},
upload: {
float: 'Imatge flotant',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: 'Bild',
uploadLoading: {
loading: 'Wird geladen..., verbleibend',
},
upload: {
float: 'Schwebendes Bild',
@@ -17,6 +17,9 @@
const locale = {
'sheets-drawing-ui': {
title: 'Image',
uploadLoading: {
loading: 'Loading..., remaining',
},
upload: {
float: 'Float Image',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: 'Imagen',
uploadLoading: {
loading: 'Cargando..., restante',
},
upload: {
float: 'Imagen flotante',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: 'تصویر',
uploadLoading: {
loading: 'در حال بارگیری...، باقی مانده',
},
upload: {
float: 'شناور کردن تصویر',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: 'Image',
uploadLoading: {
loading: 'Chargement..., restant',
},
upload: {
float: 'Image flottante',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: 'Gambar',
uploadLoading: {
loading: 'Memuat..., tersisa',
},
upload: {
float: 'Gambar Mengambang',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: 'Immagine',
uploadLoading: {
loading: 'Caricamento..., rimanente',
},
upload: {
float: 'Immagine fluttuante',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: '画像',
uploadLoading: {
loading: '読み込み中...',
},
upload: {
float: 'セル上に配置',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: '이미지',
uploadLoading: {
loading: '로딩중...',
},
upload: {
float: '플로팅 이미지',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: 'Obraz',
uploadLoading: {
loading: 'Ładowanie..., pozostało',
},
upload: {
float: 'Obraz swobodny',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: 'Imagem',
uploadLoading: {
loading: 'Carregando..., restante',
},
upload: {
float: 'Imagem flutuante',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: 'Изображение',
uploadLoading: {
loading: 'Загрузка...',
},
upload: {
float: 'Плавающее изображение',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: 'Obrázok',
uploadLoading: {
loading: 'Načítava sa..., zostáva',
},
upload: {
float: 'Plávajúci obrázok',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: 'Hình ảnh',
uploadLoading: {
loading: 'Đang tải lên, hiện còn lại',
},
upload: {
float: 'Hình ảnh nổi',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: '图片',
uploadLoading: {
loading: '正在上传,当前剩余',
},
upload: {
float: '浮动图片',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: '圖片',
uploadLoading: {
loading: '正在上傳,目前剩餘',
},
upload: {
float: '浮動圖片',
@@ -19,6 +19,9 @@ import type enUS from './en-US';
const locale: typeof enUS = {
'sheets-drawing-ui': {
title: '圖片',
uploadLoading: {
loading: '正在上傳,目前剩餘',
},
upload: {
float: '浮動圖片',
@@ -66,7 +66,7 @@ export class DrawingPopupMenuController extends RxDisposable {
messageDisposable = this._messageService.show({
id: MESSAGE_ID,
type: MessageType.Loading,
content: `${this._localeService.t('sheets-ui.uploadLoading.loading')}: ${status}`,
content: `${this._localeService.t('sheets-drawing-ui.uploadLoading.loading')}: ${status}`,
duration: 0,
});
} else if (status === 0) {