From a714930d2737d1eb00f5dace37cc1982dad256a9 Mon Sep 17 00:00:00 2001 From: Oleksiy Yakovenko Date: Mon, 16 Oct 2023 18:40:46 +0200 Subject: [PATCH] update transifex configuration --- .tx/config | 13 ++++++++----- scripts/tx-sync.sh | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.tx/config b/.tx/config index 94ae4a45e7..d3f5ba9311 100644 --- a/.tx/config +++ b/.tx/config @@ -1,9 +1,12 @@ [main] host = https://www.transifex.com -[deadbeef-player.deadbeef] -file_filter = po/.po -source_file = po/deadbeef.pot -source_lang = en -type = PO +[o:deadbeef-player:p:deadbeef-player:r:deadbeef] +file_filter = po/.po +source_file = po/deadbeef.pot +type = PO +minimum_perc = 0 +resource_name = deadbeef +replace_edited_strings = false +keep_translations = false diff --git a/scripts/tx-sync.sh b/scripts/tx-sync.sh index 4b9d073203..6709beced2 100755 --- a/scripts/tx-sync.sh +++ b/scripts/tx-sync.sh @@ -7,7 +7,7 @@ cd po PATH="/usr/local/opt/gettext/bin:$PATH" make update-po cd .. tx push -s -tx pull -a -f --no-interactive +tx pull -a -f for i in po/*.po ; do if ! [[ $(git diff $i | grep '+msgstr') ]]; then