CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Isaac Clerencia <[EMAIL PROTECTED]>     05/09/19 18:24:35

Modified files:
        utils          : release-wesnoth-1.0.x 

Log message:
        Comment out language_defs for not included translations

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/utils/release-wesnoth-1.0.x.diff?tr1=1.4&tr2=1.5&r1=text&r2=text

Patches:
Index: wesnoth/utils/release-wesnoth-1.0.x
diff -u wesnoth/utils/release-wesnoth-1.0.x:1.4 
wesnoth/utils/release-wesnoth-1.0.x:1.5
--- wesnoth/utils/release-wesnoth-1.0.x:1.4     Mon Sep 19 15:19:06 2005
+++ wesnoth/utils/release-wesnoth-1.0.x Mon Sep 19 18:24:35 2005
@@ -95,6 +95,13 @@
        }
 }
 
+Dir.chdir("../src/")
+
+#Comment out language_def's from language.cpp
+toremove.each { |lang|
+       system("sed -i -e 's/language_def(\"#{lang}/\\/\\/&/' language.cpp")
+}
+
 Dir.chdir("../..")
 print "Compressing wesnoth\n"
 system("mv #{tarball} #{tarball}.old")


Reply via email to