Browse Source

Updated transifex config

script:

cd /mnt/Git-Projects/Friendica/friendica/addon/

echo "[main]
host = https://www.transifex.com
"

for folder in * ; do
	if [[ -s ${folder}/lang/C/messages.po ]]; then

	echo "[friendica.addon_${folder}_messagespo]
file_filter = ${folder}/lang/<lang>/messages.po
source_file = ${folder}/lang/C/messages.po
source_lang = en
type = PO
"
	fi;
done;
pull/800/head
Jeroen De Meerleer 2 years ago
parent
commit
9c2ba3cf10
1 changed files with 45 additions and 14 deletions
  1. +45
    -14
      .tx/config

+ 45
- 14
.tx/config View File

@ -1,6 +1,12 @@
[main]
host = https://www.transifex.com
[friendica.addon_advancedcontentfilter_messagespo]
file_filter = advancedcontentfilter/lang/<lang>/messages.po
source_file = advancedcontentfilter/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_blackout_messagespo]
file_filter = blackout/lang/<lang>/messages.po
source_file = blackout/lang/C/messages.po
@ -31,21 +37,21 @@ source_file = buglink/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_communityhome_messagespo]
file_filter = communityhome/lang/<lang>/messages.po
source_file = communityhome/lang/C/messages.po
[friendica.addon_catavatar_messagespo]
file_filter = catavatar/lang/<lang>/messages.po
source_file = catavatar/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_curweather_messagespo]
file_filter = curweather/lang/<lang>/messages.po
source_file = curweather/lang/C/messages.po
[friendica.addon_cookienotice_messagespo]
file_filter = cookienotice/lang/<lang>/messages.po
source_file = cookienotice/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_dav_messagespo]
file_filter = dav/lang/<lang>/messages.po
source_file = dav/lang/C/messages.po
[friendica.addon_curweather_messagespo]
file_filter = curweather/lang/<lang>/messages.po
source_file = curweather/lang/C/messages.po
source_lang = en
type = PO
@ -103,6 +109,12 @@ source_file = group_text/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_ifttt_messagespo]
file_filter = ifttt/lang/<lang>/messages.po
source_file = ifttt/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_ijpost_messagespo]
file_filter = ijpost/lang/<lang>/messages.po
source_file = ijpost/lang/C/messages.po
@ -175,6 +187,24 @@ source_file = mailstream/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_mathjax_messagespo]
file_filter = mathjax/lang/<lang>/messages.po
source_file = mathjax/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_membersince_messagespo]
file_filter = membersince/lang/<lang>/messages.po
source_file = membersince/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_morechoice_messagespo]
file_filter = morechoice/lang/<lang>/messages.po
source_file = morechoice/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_morepokes_messagespo]
file_filter = morepokes/lang/<lang>/messages.po
source_file = morepokes/lang/C/messages.po
@ -343,6 +373,12 @@ source_file = webrtc/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_widgets_messagespo]
file_filter = widgets/lang/<lang>/messages.po
source_file = widgets/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_windowsphonepush_messagespo]
file_filter = windowsphonepush/lang/<lang>/messages.po
source_file = windowsphonepush/lang/C/messages.po
@ -361,8 +397,3 @@ source_file = xmpp/lang/C/messages.po
source_lang = en
type = PO
[friendica.addon_yourls_messagespo]
file_filter = yourls/lang/<lang>/messages.po
source_file = yourls/lang/C/messages.po
source_lang = en
type = PO

Loading…
Cancel
Save