[evolvis-commits] r17618: evolvis-translations pending merges:↵ Thorsten Glaser 2011-10-21 for space and traffic reasons, omit !de locales from built src pkg↵ Thorsten Glaser 2011-10-21 placeholder

mirabilos at evolvis.org mirabilos at evolvis.org
Fri Oct 21 16:16:11 CEST 2011


Author: mirabilos
Date: 2011-10-21 16:16:11 +0200 (Fri, 21 Oct 2011)
New Revision: 17618

Added:
   trunk/gforge_base/evolvisforge-5.1/.undelivered-translations/
   trunk/gforge_base/evolvisforge-5.1/.undelivered-translations/.dir
Modified:
   trunk/gforge_base/evolvisforge-5.1/src/BuildDSC.sh
   trunk/gforge_base/evolvisforge-5.1/src/README.evolvis
   trunk/gforge_base/evolvisforge-5.1/src/utils/manage-translations.sh
Log:
evolvis-translations pending merges:
  Thorsten Glaser 2011-10-21 for space and traffic reasons, omit !de locales from built src pkg
    Thorsten Glaser 2011-10-21 placeholder


Modified: trunk/gforge_base/evolvisforge-5.1/src/BuildDSC.sh
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/BuildDSC.sh	2011-10-21 14:16:07 UTC (rev 17617)
+++ trunk/gforge_base/evolvisforge-5.1/src/BuildDSC.sh	2011-10-21 14:16:11 UTC (rev 17618)
@@ -1,4 +1,5 @@
 #!/bin/mksh
+# modified for Evolvis 5.1
 # $MirOS: contrib/hosted/tg/deb/BuildDSC.sh,v 1.12 2011/10/20 16:38:08 tg Exp $
 #-
 # Copyright (c) 2010, 2011
@@ -123,11 +124,18 @@
 curname=${mydir##*/}
 newname=$pkgstem-$upstreamversion
 [[ $newname = $curname ]] || mv "$curname" "$newname"
+### BEGIN evolvis-5.1 PART 1
+mv "$newname"/translations/* .undelivered-translations/
+mv .undelivered-translations/{de.po,fusionforge.pot} "$newname"/translations/
+### END evolvis-5.1 PART 1
 cd "$newname"
 dpkg-buildpackage -rfakeroot -S -I -i
 rv=$?
 fakeroot debian/rules clean
 cd ..
+### BEGIN evolvis-5.1 PART 2
+mv .undelivered-translations/* "$newname"/translations/
+### END evolvis-5.1 PART 2
 [[ $newname = $curname ]] || mv "$newname" "$curname"
 
 cd "$curname"

Modified: trunk/gforge_base/evolvisforge-5.1/src/README.evolvis
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/README.evolvis	2011-10-21 14:16:07 UTC (rev 17617)
+++ trunk/gforge_base/evolvisforge-5.1/src/README.evolvis	2011-10-21 14:16:11 UTC (rev 17618)
@@ -6,6 +6,12 @@
 stallation, or RPM packaging).
 
 
+5.1 stuff:
+
+• We only support and ship the German translation at the
+  moment (and of course, English untranslated strings)
+
+
 New stuff:
 
 • put www-data into group list (for www/mail/admin/index.php)

Modified: trunk/gforge_base/evolvisforge-5.1/src/utils/manage-translations.sh
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/utils/manage-translations.sh	2011-10-21 14:16:07 UTC (rev 17617)
+++ trunk/gforge_base/evolvisforge-5.1/src/utils/manage-translations.sh	2011-10-21 14:16:11 UTC (rev 17618)
@@ -15,6 +15,11 @@
 
 locales=$(cd translations; ls *.po | sed 's/.po$//' | sort)
 
+# Evolvis only keeps track of the German translation, for now
+if [ -s README.evolvis ]; then
+	locales=de
+fi
+
 print_stats () {
     for l in $(echo $locales | xargs -n 1 | sort) ; do
 	printf "* %5s: " $l
@@ -36,11 +41,6 @@
 	check_syntax
 	;;
     refresh)
-	# Evolvis only keeps track of the German translation
-	if [ -s "$(dirname "$0")/../README.evolvis" ] ; then
-	    locales=de
-	fi
-
 	rm translations/fusionforge.pot
 	
 	find . -type f \( -name \*.php -or -name users -or -name projects \) \



More information about the evolvis-commits mailing list