feat:Add a script to update the translation file

添加更新翻译文件的脚本
This commit is contained in:
chenwei 2020-05-26 10:47:37 +08:00
parent 9f9c0f4a84
commit b2071aa88f
2 changed files with 10 additions and 0 deletions

6
.transifexrc Normal file
View File

@ -0,0 +1,6 @@
[https://www.transifex.com]
api_hostname = https://api.transifex.com
hostname = https://www.transifex.com
password = 1/fed29a347a3f79abfe438d15d1af9dceac2ba39d
username = api

4
lupdate.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
rm ./translations/dde-dock.ts
lupdate ./ -ts ./translations/dde-dock.ts
tx push -s -b uos