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;
This commit is contained in:
Jeroen De Meerleer 2019-01-30 14:05:58 +01:00
parent 6620d99273
commit 9c2ba3cf10

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,9 +37,15 @@ 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_cookienotice_messagespo]
file_filter = cookienotice/lang/<lang>/messages.po
source_file = cookienotice/lang/C/messages.po
source_lang = en
type = PO
@ -43,12 +55,6 @@ source_file = curweather/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
source_lang = en
type = PO
[friendica.addon_diaspora_messagespo]
file_filter = diaspora/lang/<lang>/messages.po
source_file = diaspora/lang/C/messages.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