From b2071aa88fee28bdac809cf4076181d0cfcda7ee Mon Sep 17 00:00:00 2001 From: chenwei Date: Tue, 26 May 2020 10:47:37 +0800 Subject: [PATCH] feat:Add a script to update the translation file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加更新翻译文件的脚本 --- .transifexrc | 6 ++++++ lupdate.sh | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 .transifexrc create mode 100755 lupdate.sh diff --git a/.transifexrc b/.transifexrc new file mode 100644 index 000000000..21c4b05c0 --- /dev/null +++ b/.transifexrc @@ -0,0 +1,6 @@ +[https://www.transifex.com] +api_hostname = https://api.transifex.com +hostname = https://www.transifex.com +password = 1/fed29a347a3f79abfe438d15d1af9dceac2ba39d +username = api + diff --git a/lupdate.sh b/lupdate.sh new file mode 100755 index 000000000..09f07dc7f --- /dev/null +++ b/lupdate.sh @@ -0,0 +1,4 @@ +#!/bin/bash +rm ./translations/dde-dock.ts +lupdate ./ -ts ./translations/dde-dock.ts +tx push -s -b uos