From 58e52f7814b232d56f2dd06950a51a7d5f2f0b03 Mon Sep 17 00:00:00 2001 From: myml Date: Wed, 4 Sep 2024 16:27:56 +0800 Subject: [PATCH] chore: update transifex config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新transifex配置, 接入新的国际化翻译工作流 --- .tx/config | 22 ---------------------- .tx/deepin.conf | 1 - .tx/transifex.yaml | 21 +++++++++++++++++++++ 3 files changed, 21 insertions(+), 23 deletions(-) delete mode 100644 .tx/config delete mode 100644 .tx/deepin.conf create mode 100644 .tx/transifex.yaml diff --git a/.tx/config b/.tx/config deleted file mode 100644 index 3f73a880..00000000 --- a/.tx/config +++ /dev/null @@ -1,22 +0,0 @@ -[main] -host = https://www.transifex.com -minimum_perc = 80 -mode = developer - -[o:linuxdeepin:p:deepin-desktop-environment:r:dde-calendar] -file_filter = translations/dde-calendar_.ts -source_file = translations/dde-calendar_en_US.ts -source_lang = en_US -type = QT - -[o:linuxdeepin:p:deepin-desktop-environment:r:dde-calendar_desktop] -file_filter = translations/desktop/desktop_.ts -source_file = translations/desktop/desktop.ts -source_lang = en -type = QT - -[o:linuxdeepin:p:deepin-desktop-environment:r:dde-calendar-service] -file_filter = translations/dde-calendar-service_.ts -source_file = translations/dde-calendar-service_en_US.ts -source_lang = en_US -type = QT diff --git a/.tx/deepin.conf b/.tx/deepin.conf deleted file mode 100644 index 7172f9c8..00000000 --- a/.tx/deepin.conf +++ /dev/null @@ -1 +0,0 @@ -[transifex] \ No newline at end of file diff --git a/.tx/transifex.yaml b/.tx/transifex.yaml new file mode 100644 index 00000000..f7a9da06 --- /dev/null +++ b/.tx/transifex.yaml @@ -0,0 +1,21 @@ +# SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd. +# +# SPDX-License-Identifier: CC0-1.0 +filters: + - filter_type: file + source_file: translations/dde-calendar_en_US.ts + file_format: QT + source_language: en_US + translation_files_expression: translations/dde-calendar_.ts + - filter_type: file + source_file: translations/desktop/desktop.ts + file_format: QT + source_language: en_US + translation_files_expression: translations/desktop/desktop_.ts + - filter_type: file + source_file: translations/dde-calendar-service_en_US.ts + file_format: QT + source_language: en_US + translation_files_expression: translations/dde-calendar-service_.ts +settings: + pr_branch_name: o:linuxdeepin:p:deepin-desktop-environment:r:dde-calendar-service \ No newline at end of file