Skip to content

Commit 869f65e

Browse files
Lang: Add new languages to en.js (#383)
1 parent a83af8f commit 869f65e

File tree

2 files changed

+28
-10
lines changed

2 files changed

+28
-10
lines changed

editor.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ <h2><i class="fa fa-cogs"></i> <strong>{{ title }}</strong></h2>
354354
<li><span title="Korean"><a lang="ko" href="#" class="action lang-choice" id="ko" tabindex="129">한국어</a></span></li>
355355
<li><span title="Norwegian Bokmal"><a lang="nb" href="#" class="action lang-choice" id="nb" tabindex="130">Norsk Bokmal</a></span></li>
356356
<li><span title="Norwegian Nynorsk"><a lang="nn" href="#" class="action lang-choice" id="nn" tabindex="131">Norsk Nynorsk</a></span></li>
357-
<li><span title="Portugese"><a lang="pt" href="#" class="action lang-choice" id="pt" tabindex="132">Português</a></span></li>
357+
<li><span title="Portuguese"><a lang="pt" href="#" class="action lang-choice" id="pt" tabindex="132">Português</a></span></li>
358358
<li><span title="Serbian"><a lang="sr" href="#" class="action lang-choice" id="sr" tabindex="133">Српски</a></span></li>
359359
</ul>
360360
<div><a id="add-language-link" class="action" title="Add a language translation to the Editor" href="https://support.microbit.org/support/solutions/articles/19000106022-translating-the-micro-bit-python-editor" target="_blank" tabindex="134">Add a language</a></div>

lang/en.js

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,6 @@ var LANGUAGE = {
119119
'en': {
120120
'title': 'English'
121121
},
122-
'es': {
123-
'title': 'Spanish'
124-
},
125-
'pl': {
126-
'title': 'Polish'
127-
},
128-
'hr': {
129-
'title': 'Croatian'
130-
},
131122
'zh-CN': {
132123
'title': 'Chinese (simplified)'
133124
},
@@ -136,6 +127,33 @@ var LANGUAGE = {
136127
},
137128
'zh-TW': {
138129
'title': 'Chinese (traditional, Taiwan)'
130+
},
131+
'hr': {
132+
'title': 'Croatian'
133+
},
134+
'pl': {
135+
'title': 'Polish'
136+
},
137+
'es': {
138+
'title': 'Spanish'
139+
},
140+
'fr': {
141+
'title': 'French'
142+
},
143+
'ko': {
144+
'title': 'Korean'
145+
},
146+
'nb': {
147+
'title': 'Norwegian Bokmal'
148+
},
149+
'nn': {
150+
'title': 'Norwegian Nynorsk'
151+
},
152+
'pt': {
153+
'title': 'Portuguese'
154+
},
155+
'sr': {
156+
'title': 'Serbian'
139157
}
140158
},
141159
'static-strings': {

0 commit comments

Comments
 (0)