updated to winboard internationalization scripts
authorH.G. Muller <h.g.muller@hccnet.nl>
Tue, 6 Oct 2009 03:02:50 +0000 (20:02 -0700)
committerArun Persaud <arun@nubati.net>
Tue, 6 Oct 2009 03:02:50 +0000 (20:02 -0700)
Also a slight improvement of the internationalization scripting, to prevent it from crashing on messages containin a slash.

winboard/metascript.txt

index 63de32d..ac746d1 100644 (file)
@@ -1,6 +1,7 @@
 1,$g/""/d\r
 1,$g/^[^"]*$/d\r
 1,$g/\\/s//&&/g\r
+1,$g/\//s//\\&/g\r
 1,$g/&[^"]*"$/s//\\&/\r
 1,$s/===/\/s\/\//\r
 1,$s/$/\/gp/\r