Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
b893c5c6
Commit
b893c5c6
authored
Aug 16, 2016
by
Matthew Taylor
Committed by
GitHub
Aug 16, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #845 from mewtaylor/issue/new-languages
Add fur, sq and te to language list
parents
54e99808
f3de2d1d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
26 deletions
+31
-26
languages.json
languages.json
+25
-22
src/components/footer/www/footer.jsx
src/components/footer/www/footer.jsx
+5
-3
src/components/languagechooser/languagechooser.jsx
src/components/languagechooser/languagechooser.jsx
+1
-1
No files found.
languages.json
View file @
b893c5c6
{
{
"en"
:
"English"
,
"ab"
:
"Аҧсшәа"
,
"ar"
:
"العربية"
,
"an"
:
"Aragonés"
,
"an"
:
"Aragonés"
,
"ast"
:
"Asturianu"
,
"ast"
:
"Asturianu"
,
"id"
:
"Bahasa Indonesia"
,
"id"
:
"Bahasa Indonesia"
,
"ms"
:
"Bahasa Melayu"
,
"ms"
:
"Bahasa Melayu"
,
"bg"
:
"Български"
,
"ca"
:
"Català"
,
"ca"
:
"Català"
,
"cs"
:
"Česky"
,
"cs"
:
"Česky"
,
"cy"
:
"Cymraeg"
,
"cy"
:
"Cymraeg"
,
...
@@ -12,62 +14,63 @@
...
@@ -12,62 +14,63 @@
"de"
:
"Deutsch"
,
"de"
:
"Deutsch"
,
"yum"
:
"Edible Scratch"
,
"yum"
:
"Edible Scratch"
,
"et"
:
"Eesti"
,
"et"
:
"Eesti"
,
"el"
:
"Ελληνικά"
,
"en"
:
"English"
,
"eo"
:
"Esperanto"
,
"eo"
:
"Esperanto"
,
"es"
:
"Español"
,
"es"
:
"Español"
,
"eu"
:
"Euskara"
,
"eu"
:
"Euskara"
,
"fa"
:
"فارسی"
,
"fr"
:
"Français"
,
"fr"
:
"Français"
,
"fur"
:
"furlan"
,
"ga"
:
"Gaeilge"
,
"ga"
:
"Gaeilge"
,
"gd"
:
"Gàidhlig"
,
"gd"
:
"Gàidhlig"
,
"gl"
:
"Galego"
,
"gl"
:
"Galego"
,
"ko"
:
"한국어"
,
"hy"
:
"Հայերեն"
,
"he"
:
"עִבְרִית"
,
"hi"
:
"हिन्दी"
,
"hr"
:
"Hrvatski"
,
"hr"
:
"Hrvatski"
,
"is"
:
"Íslenska"
,
"is"
:
"Íslenska"
,
"it"
:
"Italiano"
,
"it"
:
"Italiano"
,
"kn"
:
"ಭಾಷೆ-ಹೆಸರು"
,
"rw"
:
"Kinyarwanda"
,
"rw"
:
"Kinyarwanda"
,
"km"
:
"សំលៀកបំពាក"
,
"ht"
:
"Kreyòl"
,
"ht"
:
"Kreyòl"
,
"ku"
:
"Kurdî"
,
"ku"
:
"Kurdî"
,
"la"
:
"Latina"
,
"la"
:
"Latina"
,
"lv"
:
"Latviešu"
,
"lv"
:
"Latviešu"
,
"lt"
:
"Lietuvių"
,
"lt"
:
"Lietuvių"
,
"mk"
:
"Македонски"
,
"hu"
:
"Magyar"
,
"hu"
:
"Magyar"
,
"ml"
:
"മലയാളം"
,
"mt"
:
"Malti"
,
"mt"
:
"Malti"
,
"mr"
:
"मराठी"
,
"cat"
:
"Meow"
,
"cat"
:
"Meow"
,
"mn"
:
"Монгол хэл"
,
"my"
:
"မြန်မာဘာသာ"
,
"nl"
:
"Nederlands"
,
"nl"
:
"Nederlands"
,
"ja"
:
"日本語"
,
"ja-hr"
:
"にほんご"
,
"nb"
:
"Norsk Bokmål"
,
"nb"
:
"Norsk Bokmål"
,
"nn"
:
"Norsk Nynorsk"
,
"nn"
:
"Norsk Nynorsk"
,
"uz"
:
"Oʻzbekcha"
,
"uz"
:
"Oʻzbekcha"
,
"th"
:
"ไทย"
,
"pl"
:
"Polski"
,
"pl"
:
"Polski"
,
"pt"
:
"Português"
,
"pt"
:
"Português"
,
"pt-br"
:
"Português Brasileiro"
,
"pt-br"
:
"Português Brasileiro"
,
"ro"
:
"Română"
,
"ro"
:
"Română"
,
"ru"
:
"Русский"
,
"sc"
:
"Sardu"
,
"sc"
:
"Sardu"
,
"sq"
:
"shqiptar"
,
"sk"
:
"Slovenčina"
,
"sk"
:
"Slovenčina"
,
"sl"
:
"Slovenščina"
,
"sl"
:
"Slovenščina"
,
"sr"
:
"Српски"
,
"fi"
:
"suomi"
,
"fi"
:
"suomi"
,
"sv"
:
"Svenska"
,
"sv"
:
"Svenska"
,
"te"
:
"తెలుగు"
,
"nai"
:
"Tepehuan"
,
"nai"
:
"Tepehuan"
,
"vi"
:
"Tiếng Việt"
,
"vi"
:
"Tiếng Việt"
,
"tr"
:
"Türkçe"
,
"tr"
:
"Türkçe"
,
"ab"
:
"Аҧсшәа"
,
"ar"
:
"العربية"
,
"bg"
:
"Български"
,
"el"
:
"Ελληνικά"
,
"fa"
:
"فارسی"
,
"he"
:
"עִבְרִית"
,
"hi"
:
"हिन्दी"
,
"hy"
:
"Հայերեն"
,
"ja"
:
"日本語"
,
"ja-hr"
:
"にほんご"
,
"km"
:
"សំលៀកបំពាក"
,
"kn"
:
"ಭಾಷೆ-ಹೆಸರು"
,
"ko"
:
"한국어"
,
"mk"
:
"Македонски"
,
"ml"
:
"മലയാളം"
,
"mn"
:
"Монгол хэл"
,
"mr"
:
"मराठी"
,
"my"
:
"မြန်မာဘာသာ"
,
"ru"
:
"Русский"
,
"sr"
:
"Српски"
,
"th"
:
"ไทย"
,
"uk"
:
"Українська"
,
"uk"
:
"Українська"
,
"zh-cn"
:
"简体中文"
,
"zh-cn"
:
"简体中文"
,
"zh-tw"
:
"正體中文"
"zh-tw"
:
"正體中文"
...
...
src/components/footer/www/footer.jsx
View file @
b893c5c6
var
React
=
require
(
'
react
'
);
var
React
=
require
(
'
react
'
);
var
FormattedMessage
=
require
(
'
react-intl
'
).
FormattedMessage
;
var
ReactIntl
=
require
(
'
react-intl
'
);
var
FormattedMessage
=
ReactIntl
.
FormattedMessage
;
var
injectIntl
=
ReactIntl
.
injectIntl
;
var
FooterBox
=
require
(
'
../container/footer.jsx
'
);
var
FooterBox
=
require
(
'
../container/footer.jsx
'
);
var
LanguageChooser
=
require
(
'
../../languagechooser/languagechooser.jsx
'
);
var
LanguageChooser
=
require
(
'
../../languagechooser/languagechooser.jsx
'
);
...
@@ -204,7 +206,7 @@ var Footer = React.createClass({
...
@@ -204,7 +206,7 @@ var Footer = React.createClass({
</
dl
>
</
dl
>
</
div
>
</
div
>
</
MediaQuery
>
</
MediaQuery
>
<
LanguageChooser
/>
<
LanguageChooser
locale=
{
this
.
props
.
intl
.
locale
}
/>
<
div
className=
"copyright"
>
<
div
className=
"copyright"
>
<
p
>
<
p
>
...
@@ -216,4 +218,4 @@ var Footer = React.createClass({
...
@@ -216,4 +218,4 @@ var Footer = React.createClass({
}
}
});
});
module
.
exports
=
Footer
;
module
.
exports
=
injectIntl
(
Footer
)
;
src/components/languagechooser/languagechooser.jsx
View file @
b893c5c6
...
@@ -16,7 +16,7 @@ var LanguageChooser = React.createClass({
...
@@ -16,7 +16,7 @@ var LanguageChooser = React.createClass({
getDefaultProps
:
function
()
{
getDefaultProps
:
function
()
{
return
{
return
{
languages
:
languages
,
languages
:
languages
,
locale
:
window
.
_locale
locale
:
'
en
'
};
};
},
},
onSetLanguage
:
function
(
name
,
value
)
{
onSetLanguage
:
function
(
name
,
value
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment