Commit 184195f5 authored by neil.fraser@gmail.com's avatar neil.fraser@gmail.com Committed by carlospamg

Fix hyphenated language names in Closure (e.g. zh-hans).

git-svn-id: http://blockly.googlecode.com/svn/trunk@1750 c400ca83-b69d-9dd7-9705-49c6b8615e23
parent 1f84dd3b
......@@ -96,7 +96,7 @@ goog.provide('Blockly.Msg.{0}');
goog.require('Blockly.Msg');
""".format(target_lang))
""".format(target_lang.replace('-', '.')))
# For each key in the source language file, output the target value
# if present; otherwise, output the source language value with a
# warning comment.
......
......@@ -2,7 +2,7 @@
'use strict';
goog.provide('Blockly.Msg.pt-br');
goog.provide('Blockly.Msg.pt.br');
goog.require('Blockly.Msg');
......
......@@ -2,7 +2,7 @@
'use strict';
goog.provide('Blockly.Msg.zh-hans');
goog.provide('Blockly.Msg.zh.hans');
goog.require('Blockly.Msg');
......
......@@ -2,7 +2,7 @@
'use strict';
goog.provide('Blockly.Msg.zh-hant');
goog.provide('Blockly.Msg.zh.hant');
goog.require('Blockly.Msg');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment