From 8d4381fba89bc1e15b7083092becbca37154058b Mon Sep 17 00:00:00 2001 From: yeshanshan Date: Wed, 13 Aug 2025 14:14:44 +0800 Subject: [PATCH] feat: update translation configurations and translations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Updated Transifex configuration format in .tx/config 2. Added new transifex.yaml configuration file 3. Updated multiple translation files with new context and translations 4. Added AboutDialog translations for various languages 5. Fixed line number references in translation files 6. Improved existing translations in several languages Log: Updated translation configurations and added new translations Influence: 1. Verify all translations display correctly in the UI 2. Check AboutDialog translations in different languages 3. Test theme switching with updated translations 4. Verify settings dialog translations 5. Test application with different system languages feat: 更新翻译配置和翻译内容 1. 更新了.tx/config中的Transifex配置格式 2. 新增了transifex.yaml配置文件 3. 更新了多个翻译文件,添加了新上下文和翻译 4. 为多种语言添加了AboutDialog的翻译 5. 修正了翻译文件中的行号引用 6. 改进了多个语言的现有翻译 Log: 更新翻译配置并添加新翻译 Influence: 1. 验证所有翻译在界面中正确显示 2. 检查不同语言的AboutDialog翻译 3. 使用更新后的翻译测试主题切换功能 4. 验证设置对话框的翻译 5. 使用不同系统语言测试应用程序 --- .tx/config | 2 +- .tx/transifex.yaml | 8 ++++++ src/translations/dtkdeclarative_ar.ts | 30 +++++++++++++++++----- src/translations/dtkdeclarative_ast.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_br.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_cs.ts | 26 ++++++++++++++++--- src/translations/dtkdeclarative_da.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_de.ts | 2 +- src/translations/dtkdeclarative_fa.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_fr.ts | 26 ++++++++++++++++--- src/translations/dtkdeclarative_gl_ES.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_hi_IN.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_hr.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_it.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_ko.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_lt.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_ms.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_ne.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_pt.ts | 32 ++++++++++++++++++------ src/translations/dtkdeclarative_pt_BR.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_ro.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_ru.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_sl.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_sr.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_tr.ts | 24 +++++++++++++++--- src/translations/dtkdeclarative_zh_CN.ts | 12 ++++----- 26 files changed, 486 insertions(+), 84 deletions(-) create mode 100644 .tx/transifex.yaml diff --git a/.tx/config b/.tx/config index c1ccf7490..1dfbbf551 100644 --- a/.tx/config +++ b/.tx/config @@ -3,7 +3,7 @@ host = https://www.transifex.com minimum_perc = 80 mode = developer -[deepin-tool-kit.dtkdeclarative] +[o:linuxdeepin:p:deepin-tool-kit:r:dtkdeclarative] file_filter = src/translations/dtkdeclarative_.ts source_file = src/translations/dtkdeclarative.ts source_lang = en diff --git a/.tx/transifex.yaml b/.tx/transifex.yaml new file mode 100644 index 000000000..59b9d85a6 --- /dev/null +++ b/.tx/transifex.yaml @@ -0,0 +1,8 @@ +filters: +- filter_type: file + source_file: src/translations/dtkdeclarative.ts + file_format: QT + source_language: en + translation_files_expression: src/translations/dtkdeclarative_.ts +settings: + pr_branch_name: transifex_update_ diff --git a/src/translations/dtkdeclarative_ar.ts b/src/translations/dtkdeclarative_ar.ts index 84a5d98ef..3e37104d7 100644 --- a/src/translations/dtkdeclarative_ar.ts +++ b/src/translations/dtkdeclarative_ar.ts @@ -7,6 +7,24 @@ حول + + AboutDialog + + + Version + الإصدار + + + + Homepage + الصفحة الرئيسية + + + + Description + الوصف + + HelpAction @@ -47,19 +65,19 @@ الموضوع - + Light Theme - موضوع فاتح + سمة فاتحة - + Dark Theme - موضوع غامق + سمة غامقة - + System Theme - موضوع النظام + سمة النظام \ No newline at end of file diff --git a/src/translations/dtkdeclarative_ast.ts b/src/translations/dtkdeclarative_ast.ts index c29a64625..2059868d3 100644 --- a/src/translations/dtkdeclarative_ast.ts +++ b/src/translations/dtkdeclarative_ast.ts @@ -7,6 +7,24 @@ Tocante a + + AboutDialog + + + Version + + + + + Homepage + + + + + Description + + + HelpAction @@ -47,17 +65,17 @@ Estilu - + Light Theme Estilu claru - + Dark Theme Estilu escuru - + System Theme Estilu del sistema diff --git a/src/translations/dtkdeclarative_br.ts b/src/translations/dtkdeclarative_br.ts index 6b9d9a2a5..818eb5f41 100644 --- a/src/translations/dtkdeclarative_br.ts +++ b/src/translations/dtkdeclarative_br.ts @@ -7,6 +7,24 @@ Diwar-benn + + AboutDialog + + + Version + + + + + Homepage + + + + + Description + + + HelpAction @@ -47,17 +65,17 @@ Tem - + Light Theme Tem sklaer - + Dark Theme Tem teñval - + System Theme Tem ar sistem diff --git a/src/translations/dtkdeclarative_cs.ts b/src/translations/dtkdeclarative_cs.ts index be784d5fb..7d8ad1259 100644 --- a/src/translations/dtkdeclarative_cs.ts +++ b/src/translations/dtkdeclarative_cs.ts @@ -7,6 +7,24 @@ O aplikaci + + AboutDialog + + + Version + Verze + + + + Homepage + Domovská stránka + + + + Description + Popis + + HelpAction @@ -36,7 +54,7 @@ Restore Defaults - Vráti na výchozí hodnoty + Vrátit na výchozí hodnoty @@ -47,17 +65,17 @@ Vzhled - + Light Theme Světlý vzhled - + Dark Theme Tmavý vzhled - + System Theme Systémový vzhled diff --git a/src/translations/dtkdeclarative_da.ts b/src/translations/dtkdeclarative_da.ts index 40c0995c8..d3e8241c0 100644 --- a/src/translations/dtkdeclarative_da.ts +++ b/src/translations/dtkdeclarative_da.ts @@ -7,6 +7,24 @@ Om + + AboutDialog + + + Version + + + + + Homepage + + + + + Description + + + HelpAction @@ -47,17 +65,17 @@ Tema - + Light Theme Lyst tema - + Dark Theme Mørkt tema - + System Theme Systemets tema diff --git a/src/translations/dtkdeclarative_de.ts b/src/translations/dtkdeclarative_de.ts index ee1bcc14b..e55200a98 100644 --- a/src/translations/dtkdeclarative_de.ts +++ b/src/translations/dtkdeclarative_de.ts @@ -17,7 +17,7 @@ Homepage - + Homepage diff --git a/src/translations/dtkdeclarative_fa.ts b/src/translations/dtkdeclarative_fa.ts index a93eb7c92..7bdd05aa0 100644 --- a/src/translations/dtkdeclarative_fa.ts +++ b/src/translations/dtkdeclarative_fa.ts @@ -7,6 +7,24 @@ درباره + + AboutDialog + + + Version + + + + + Homepage + + + + + Description + + + HelpAction @@ -47,17 +65,17 @@ تم - + Light Theme تم روشن - + Dark Theme تم تیره - + System Theme تم سیستم diff --git a/src/translations/dtkdeclarative_fr.ts b/src/translations/dtkdeclarative_fr.ts index 952b30164..7d29d9171 100644 --- a/src/translations/dtkdeclarative_fr.ts +++ b/src/translations/dtkdeclarative_fr.ts @@ -7,6 +7,24 @@ À propos + + AboutDialog + + + Version + Version + + + + Homepage + Page d'acceuil + + + + Description + Description + + HelpAction @@ -36,7 +54,7 @@ Restore Defaults - Réinitialiser par défaut + Réinitialiser @@ -47,17 +65,17 @@ Thème - + Light Theme Thème clair - + Dark Theme Thème sombre - + System Theme Thème du système diff --git a/src/translations/dtkdeclarative_gl_ES.ts b/src/translations/dtkdeclarative_gl_ES.ts index ef805a1e7..60df17ee6 100644 --- a/src/translations/dtkdeclarative_gl_ES.ts +++ b/src/translations/dtkdeclarative_gl_ES.ts @@ -7,6 +7,24 @@ Sobre + + AboutDialog + + + Version + Versión + + + + Homepage + Páxina de inicio + + + + Description + Descripción + + HelpAction @@ -47,17 +65,17 @@ Tema - + Light Theme Tema claro - + Dark Theme Tema escuro - + System Theme Tema do sistema diff --git a/src/translations/dtkdeclarative_hi_IN.ts b/src/translations/dtkdeclarative_hi_IN.ts index a5ba761c5..de8f0c08d 100644 --- a/src/translations/dtkdeclarative_hi_IN.ts +++ b/src/translations/dtkdeclarative_hi_IN.ts @@ -7,6 +7,24 @@ बारे में + + AboutDialog + + + Version + + + + + Homepage + + + + + Description + + + HelpAction @@ -47,17 +65,17 @@ थीम - + Light Theme हल्की थीम - + Dark Theme गहरी थीम - + System Theme सिस्टम थीम diff --git a/src/translations/dtkdeclarative_hr.ts b/src/translations/dtkdeclarative_hr.ts index 48751a11e..6ca852928 100644 --- a/src/translations/dtkdeclarative_hr.ts +++ b/src/translations/dtkdeclarative_hr.ts @@ -7,6 +7,24 @@ O programu + + AboutDialog + + + Version + + + + + Homepage + + + + + Description + + + HelpAction @@ -47,17 +65,17 @@ Tema - + Light Theme Svijetla tema - + Dark Theme Tamna tema - + System Theme Tema sustava diff --git a/src/translations/dtkdeclarative_it.ts b/src/translations/dtkdeclarative_it.ts index 61bdae257..57e76b1a9 100644 --- a/src/translations/dtkdeclarative_it.ts +++ b/src/translations/dtkdeclarative_it.ts @@ -7,6 +7,24 @@ Info + + AboutDialog + + + Version + Versione + + + + Homepage + Homepage + + + + Description + Descrizione + + HelpAction @@ -47,17 +65,17 @@ Tema - + Light Theme Tema chiaro - + Dark Theme Tema scuro - + System Theme Tema di Sistema diff --git a/src/translations/dtkdeclarative_ko.ts b/src/translations/dtkdeclarative_ko.ts index 552f20395..af1909032 100644 --- a/src/translations/dtkdeclarative_ko.ts +++ b/src/translations/dtkdeclarative_ko.ts @@ -7,6 +7,24 @@ 프로그램 정보 + + AboutDialog + + + Version + + + + + Homepage + + + + + Description + + + HelpAction @@ -47,17 +65,17 @@ 테마 - + Light Theme 밝은 색상 테마 - + Dark Theme 어두운 색상 테마 - + System Theme 시스템 테마 diff --git a/src/translations/dtkdeclarative_lt.ts b/src/translations/dtkdeclarative_lt.ts index 2f51fc644..bd2cdd538 100644 --- a/src/translations/dtkdeclarative_lt.ts +++ b/src/translations/dtkdeclarative_lt.ts @@ -7,6 +7,24 @@ Apie + + AboutDialog + + + Version + + + + + Homepage + + + + + Description + + + HelpAction @@ -47,17 +65,17 @@ Tema - + Light Theme Šviesi tema - + Dark Theme Tamsi tema - + System Theme Sistemos tema diff --git a/src/translations/dtkdeclarative_ms.ts b/src/translations/dtkdeclarative_ms.ts index d94c94e13..6bc292152 100644 --- a/src/translations/dtkdeclarative_ms.ts +++ b/src/translations/dtkdeclarative_ms.ts @@ -7,6 +7,24 @@ Perihal + + AboutDialog + + + Version + Versi + + + + Homepage + Laman Utama + + + + Description + Keterangan + + HelpAction @@ -47,17 +65,17 @@ Tema - + Light Theme Tema Cerah - + Dark Theme Tema Gelap - + System Theme Tema Sistem diff --git a/src/translations/dtkdeclarative_ne.ts b/src/translations/dtkdeclarative_ne.ts index 64f04782b..55559a9ca 100644 --- a/src/translations/dtkdeclarative_ne.ts +++ b/src/translations/dtkdeclarative_ne.ts @@ -7,6 +7,24 @@ बारेमा + + AboutDialog + + + Version + + + + + Homepage + + + + + Description + + + HelpAction @@ -47,17 +65,17 @@ थेम - + Light Theme लाईट थेम - + Dark Theme दर्क थेम - + System Theme सिस्टम थेम diff --git a/src/translations/dtkdeclarative_pt.ts b/src/translations/dtkdeclarative_pt.ts index d0898dc0b..fab156e42 100644 --- a/src/translations/dtkdeclarative_pt.ts +++ b/src/translations/dtkdeclarative_pt.ts @@ -7,6 +7,24 @@ Sobre + + AboutDialog + + + Version + Versão + + + + Homepage + Página inicial + + + + Description + Descrição + + HelpAction @@ -36,7 +54,7 @@ Restore Defaults - Restaurar Predefinições + Restaurar predefinições @@ -47,19 +65,19 @@ Tema - + Light Theme - Tema Claro + Tema claro - + Dark Theme - Tema Escuro + Tema escuro - + System Theme - Tema do Sistema + Tema do sistema \ No newline at end of file diff --git a/src/translations/dtkdeclarative_pt_BR.ts b/src/translations/dtkdeclarative_pt_BR.ts index 358796cc2..dadfe85ee 100644 --- a/src/translations/dtkdeclarative_pt_BR.ts +++ b/src/translations/dtkdeclarative_pt_BR.ts @@ -7,6 +7,24 @@ Sobre + + AboutDialog + + + Version + Versão + + + + Homepage + Página na Internet + + + + Description + Descrição + + HelpAction @@ -47,17 +65,17 @@ Tema - + Light Theme Claro - + Dark Theme Escuro - + System Theme Padrão diff --git a/src/translations/dtkdeclarative_ro.ts b/src/translations/dtkdeclarative_ro.ts index 76677b14b..e3450016e 100644 --- a/src/translations/dtkdeclarative_ro.ts +++ b/src/translations/dtkdeclarative_ro.ts @@ -7,6 +7,24 @@ Despre + + AboutDialog + + + Version + + + + + Homepage + + + + + Description + + + HelpAction @@ -47,17 +65,17 @@ Temă - + Light Theme Temă culoare deschisă - + Dark Theme Temă culoare întunecată - + System Theme Temă de sistem diff --git a/src/translations/dtkdeclarative_ru.ts b/src/translations/dtkdeclarative_ru.ts index edd125d03..b370dcfd4 100644 --- a/src/translations/dtkdeclarative_ru.ts +++ b/src/translations/dtkdeclarative_ru.ts @@ -7,6 +7,24 @@ О программе + + AboutDialog + + + Version + Версия + + + + Homepage + Домашняя страница + + + + Description + Описание + + HelpAction @@ -47,17 +65,17 @@ Тема - + Light Theme Светлая Тема - + Dark Theme Темная Тема - + System Theme Тема Системы diff --git a/src/translations/dtkdeclarative_sl.ts b/src/translations/dtkdeclarative_sl.ts index b52780444..b2bffe7e0 100644 --- a/src/translations/dtkdeclarative_sl.ts +++ b/src/translations/dtkdeclarative_sl.ts @@ -7,6 +7,24 @@ O tem + + AboutDialog + + + Version + Različica + + + + Homepage + Domača stran + + + + Description + Opis + + HelpAction @@ -47,17 +65,17 @@ Tema - + Light Theme Svetla tema - + Dark Theme Temna tema - + System Theme Sistemska tema diff --git a/src/translations/dtkdeclarative_sr.ts b/src/translations/dtkdeclarative_sr.ts index 784f724b1..6c2edeafa 100644 --- a/src/translations/dtkdeclarative_sr.ts +++ b/src/translations/dtkdeclarative_sr.ts @@ -7,6 +7,24 @@ О програму + + AboutDialog + + + Version + + + + + Homepage + + + + + Description + + + HelpAction @@ -47,17 +65,17 @@ Тема - + Light Theme Светла тема - + Dark Theme Тамна тема - + System Theme Системска тема diff --git a/src/translations/dtkdeclarative_tr.ts b/src/translations/dtkdeclarative_tr.ts index 186c988ed..da94d827e 100644 --- a/src/translations/dtkdeclarative_tr.ts +++ b/src/translations/dtkdeclarative_tr.ts @@ -7,6 +7,24 @@ Hakkında + + AboutDialog + + + Version + Sürüm + + + + Homepage + Anasayfa + + + + Description + Açıklama + + HelpAction @@ -47,17 +65,17 @@ Tema - + Light Theme Açık Tema - + Dark Theme Koyu Tema - + System Theme Sistem Teması diff --git a/src/translations/dtkdeclarative_zh_CN.ts b/src/translations/dtkdeclarative_zh_CN.ts index 2f1434ad3..316ab439f 100644 --- a/src/translations/dtkdeclarative_zh_CN.ts +++ b/src/translations/dtkdeclarative_zh_CN.ts @@ -1,6 +1,4 @@ - - - + AboutAction @@ -12,17 +10,17 @@ AboutDialog - + Version 版本 - + Homepage 主页 - + Description 描述 @@ -115,4 +113,4 @@ 跟随系统 - + \ No newline at end of file