From 259a449f15a54e4e09799c7355a725fa5636a213 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Tue, 21 Aug 2012 17:16:07 +0000 Subject: [PATCH] document the script I made for tx/po management + svnup ;) --- repos-to-tx.sh | 14 +++++++++++--- svnup.sh | 4 ++++ tx-to-repos.sh | 9 ++++++++- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/repos-to-tx.sh b/repos-to-tx.sh index 98b85270..43e139b1 100755 --- a/repos-to-tx.sh +++ b/repos-to-tx.sh @@ -1,14 +1,22 @@ #!/bin/bash +#------------------------------------------------------------ +# Short doc: launch this after big changes, so that +# people who translate the project have the new strings ;) +#------------------------------------------------------------ + +# Long doc: # Take each sub-project of AlternC -# (EXPECTED IN PARENT FOLDERS) +# (EXPECTED IN PARENT FOLDERS of alternc/trunk/) # (yes, one day we will be united again ;) ) # and regenerate the .POT # then regenerate the .PO for each language # then merge them into one big .po file and -# put them in the altenrc-i18n repository +# put them in the lang/ folder # -# finally, push all those files to transifex +# finally, push en_US to transifex +# to be translated. + pushd ../.. diff --git a/svnup.sh b/svnup.sh index 8996541f..874b333a 100755 --- a/svnup.sh +++ b/svnup.sh @@ -1,5 +1,9 @@ #!/bin/bash +# If you have all the AlternC's repositories in one folder, +# like alternc/trunk/ alternc-mailman/trunk/ ... +# this script do svn update on all of them ;) + pushd ../.. for i in alternc alternc-bounces alternc-jabber alternc-munin alternc-procmail alternc-stats alternc-apps alternc-changepass alternc-mailman alternc-philesight alternc-secondarymx alternc-sympa alternc-awstats alternc-doc alternc-mergelog alternc-phpcron alternc-slavedns alternc-webalizer diff --git a/tx-to-repos.sh b/tx-to-repos.sh index b6516fc1..2a9068bd 100755 --- a/tx-to-repos.sh +++ b/tx-to-repos.sh @@ -1,7 +1,14 @@ #!/bin/bash +#------------------------------------------------------------ +# Short doc: launch this when people said they translated +# the program in Transifex, so that their translation appears +# in the production package. +#------------------------------------------------------------ + +# Long doc: # Take each sub-project of AlternC -# (EXPECTED IN PARENT FOLDERS) +# (EXPECTED IN PARENT FOLDERS of alternc/trunk/) # (yes, one day we will be united again ;) ) # and get the TRANSLATED strings from transifex # then put them at the right places in the repositories