Unverified Commit e59d3337 authored by Susan Rati Lane's avatar Susan Rati Lane Committed by Jeffrey I. Schiller

Polish translation (#1729)

Translation Credit to: Krzysztof Kucner

Change-Id: I29298525dd017abdf4880e9d2f80a23aa4936a82
parent a59ac22e
...@@ -133,6 +133,8 @@ ...@@ -133,6 +133,8 @@
<extend-property name="locale" values="nl"/> <extend-property name="locale" values="nl"/>
<!-- German --> <!-- German -->
<extend-property name="locale" values="de"/> <extend-property name="locale" values="de"/>
<!-- Polish -->
<extend-property name="locale" values="pl"/>
<set-property-fallback name="locale" value="en"/> <set-property-fallback name="locale" value="en"/>
<collapse-all-properties/> <collapse-all-properties/>
......
...@@ -12,5 +12,6 @@ ...@@ -12,5 +12,6 @@
"pt_BR": "Português do Brasil", "pt_BR": "Português do Brasil",
"pt": "Português", "pt": "Português",
"hu": "Magyar", "hu": "Magyar",
"nl": "Nederlands" "nl": "Nederlands",
"pl": "Polski"
} }
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
'../lib/blockly/msg/js/pt.js', '../lib/blockly/msg/js/pt.js',
'../lib/blockly/msg/js/hu.js', '../lib/blockly/msg/js/hu.js',
'../lib/blockly/msg/js/de.js', '../lib/blockly/msg/js/de.js',
'../lib/blockly/msg/js/pl.js',
// English should always come last as the base language // English should always come last as the base language
'../lib/blockly/msg/js/en.js', '../lib/blockly/msg/js/en.js',
...@@ -38,6 +39,7 @@ ...@@ -38,6 +39,7 @@
'./src/msg/hu/_messages.js', './src/msg/hu/_messages.js',
'./src/msg/nl/_messages.js', './src/msg/nl/_messages.js',
'./src/msg/de/_messages.js', './src/msg/de/_messages.js',
'./src/msg/pl/_messages.js',
// English should always come last as the base language // English should always come last as the base language
'./src/msg/en/_messages.js', './src/msg/en/_messages.js',
......
...@@ -24,6 +24,7 @@ goog.require('AI.Blockly.Msg.pt'); ...@@ -24,6 +24,7 @@ goog.require('AI.Blockly.Msg.pt');
goog.require('AI.Blockly.Msg.hu'); goog.require('AI.Blockly.Msg.hu');
goog.require('AI.Blockly.Msg.nl'); goog.require('AI.Blockly.Msg.nl');
goog.require('AI.Blockly.Msg.de'); goog.require('AI.Blockly.Msg.de');
goog.require('AI.Blockly.Msg.pl');
Blockly.language_switch = { Blockly.language_switch = {
// Switch between languages // Switch between languages
...@@ -84,6 +85,10 @@ Blockly.language_switch = { ...@@ -84,6 +85,10 @@ Blockly.language_switch = {
Blockly.Msg.de.switch_blockly_language_to_de.init(); Blockly.Msg.de.switch_blockly_language_to_de.init();
Blockly.Msg.de.switch_language_to_german.init(); Blockly.Msg.de.switch_language_to_german.init();
break; break;
case 'pl':
Blockly.Msg.pl.switch_blockly_language_to_pl.init();
Blockly.Msg.pl.switch_language_to_polish.init();
break;
case 'en_US': case 'en_US':
case 'en': case 'en':
default: default:
......
This diff is collapsed.
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