Skip to content

Commit

Permalink
update transifex configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksiy-Yakovenko committed Oct 16, 2023
1 parent 26efaa8 commit a714930
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions .tx/config
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
[main]
host = https://www.transifex.com

[deadbeef-player.deadbeef]
file_filter = po/<lang>.po
source_file = po/deadbeef.pot
source_lang = en
type = PO
[o:deadbeef-player:p:deadbeef-player:r:deadbeef]
file_filter = po/<lang>.po
source_file = po/deadbeef.pot
type = PO
minimum_perc = 0
resource_name = deadbeef
replace_edited_strings = false
keep_translations = false

2 changes: 1 addition & 1 deletion scripts/tx-sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a714930

Please sign in to comment.