From 530537e4c014baf37a7b733c1ba0e0495e0514cd Mon Sep 17 00:00:00 2001 From: Saivann Date: Mon, 7 Apr 2014 10:42:25 -0400 Subject: [PATCH] Add support for local language codes in updatetx.rb --- _contrib/updatetx.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_contrib/updatetx.rb b/_contrib/updatetx.rb index 55039c0e..09f467cd 100755 --- a/_contrib/updatetx.rb +++ b/_contrib/updatetx.rb @@ -14,7 +14,7 @@ else lang = ARGV[0] end -lang = lang.gsub(/[^a-z]/,'') +lang = lang.gsub(/[^a-zA-Z_]/,'') if !File.exist?('_translations/' + lang + '.yml') print "Wrong language code. \n"