Permalink
Browse files

Correctly generate name for copying on settings

  • Loading branch information...
1 parent 3814089 commit 8571255f5249a74f9ddbc6559a07ad056df654d5 @jun66j5 jun66j5 committed Oct 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tools/createLocaleFiles.rb
@@ -79,7 +79,7 @@ def outputGoogleChromeJson fileName, locale, messages, block
end
end
fp.puts sprintf(' "%s": {' , key)
- fp.puts sprintf(' "message": "%s"', message.gsub(/\n/, '\n').gsub(/\t/, '\t').gsub(/\"/, '\"'))
+ fp.puts sprintf(' "message": "%s"', message.gsub(/\$/, '$$').gsub(/\n/, '\n').gsub(/\t/, '\t').gsub(/\"/, '\"'))
if i != messages.length - 1
fp.puts " },"
else

0 comments on commit 8571255

Please sign in to comment.