New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Korean translation #610

Merged
merged 3 commits into from Feb 1, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+541 −4
Diff settings

Always

Just for now

Copy path View file
@@ -8,6 +8,7 @@ import es from 'react-intl/locale-data/es'
import de from 'react-intl/locale-data/de'
import af from 'react-intl/locale-data/af'
import ja from 'react-intl/locale-data/ja'
import ko from 'react-intl/locale-data/ko'
import { Router } from 'react-router-dom'
import createBrowserHistory from 'history/createBrowserHistory'
import PiwikReactRouter from 'piwik-react-router'
@@ -28,7 +29,7 @@ import './index.css'
import '../node_modules/leaflet.markercluster/dist/MarkerCluster.css'
import '../node_modules/leaflet.markercluster/dist/MarkerCluster.Default.css'

addLocaleData([...en, ...fr, ...es, ...de, ...af, ...ja])
addLocaleData([...en, ...fr, ...es, ...de, ...af, ...ja, ...ko])

/** Attach user's current locale to react-intl IntlProvider */
const ConnectedIntl = WithUserLocale(props => (
Copy path View file
@@ -308,6 +308,7 @@
"Locale.fr.label": "fr (Français)",
"Locale.af.label": "af (Afrikaans)",
"Locale.ja.label": "ja (日本語)",
"Locale.ko.label": "ko (한국어)",
"map.name.openStreetMap": "OpenStreetMap",
"map.attribution.openStreetMap": "&copy; <a href='https://openstreetmap.org'>OpenStreetMap</a> contributors, <a href='https://creativecommons.org/licenses/by-sa/2.0/'>CC-BY-SA</a>",
"map.name.openCycleMap": "OpenCycleMap",
Copy path View file
@@ -309,6 +309,7 @@
"Locale.fr.label": "fr (Français)",
"Locale.af.label": "af (Afrikaans)",
"Locale.ja.label": "ja (日本語)",
"Locale.ko.label": "ko (한국어)",
"map.name.openStreetMap": "OpenStreetMap",
"map.attribution.openStreetMap": "&copy; <a href='https://openstreetmap.org'>OpenStreetMap</a> contributors, <a href='https://creativecommons.org/licenses/by-sa/2.0/'>CC-BY-SA</a>",
"map.name.openCycleMap": "OpenCycleMap",
Copy path View file
@@ -518,5 +518,6 @@
"Locale.de.label": "de (Deutsch)",
"Locale.fr.label": "fr (Français)",
"Locale.af.label": "af (Afrikaans)",
"Locale.ja.label": "ja (日本語)"
"Locale.ja.label": "ja (日本語)",
"Locale.ko.label": "ko (한국어)"
}
Copy path View file
@@ -308,6 +308,7 @@
"Locale.fr.label": "fr (Français)",
"Locale.af.label": "af (Afrikaans)",
"Locale.ja.label": "ja (日本語)",
"Locale.ko.label": "ko (한국어)",
"map.name.openStreetMap": "OpenStreetMap",
"map.attribution.openStreetMap": "&copy; <a href='https://openstreetmap.org'>OpenStreetMap</a> contributors, <a href='https://creativecommons.org/licenses/by-sa/2.0/'>CC-BY-SA</a>",
"map.name.openCycleMap": "OpenCycleMap",
Copy path View file
@@ -308,6 +308,7 @@
"Locale.fr.label": "fr (Français)",
"Locale.af.label": "af (Afrikaans)",
"Locale.ja.label": "ja (日本語)",
"Locale.ko.label": "ko (한국어)",
"map.name.openStreetMap": "OpenStreetMap",
"map.attribution.openStreetMap": "&copy; <a href='https://openstreetmap.org'>OpenStreetMap</a> contributors, <a href='https://creativecommons.org/licenses/by-sa/2.0/'>CC-BY-SA</a>",
"map.name.openCycleMap": "OpenCycleMap",
Copy path View file
@@ -247,7 +247,7 @@
"Admin.manageTasks.controls.exportCSV.label": "CSVをエクスポート",
"Metrics.tasks.evaluatedByUser.label": "ユーザー評価済のタスク",
"AutosuggestTextBox.labels.noResults": "一致なし",
"Form.textUpload.prompt": "Drop GeoJSONファイルをここにドロップするか、クリックしてファイルを選択",
"Form.textUpload.prompt": "GeoJSONファイルをここにドロップするか、クリックしてファイルを選択",
"Form.textUpload.readonly": "既存のファイルが使われます",
"Form.controls.addPriorityRule.label": "ルールを追加",
"ChallengeFilterSubnav.filter.difficulty.label": "難易度",
@@ -509,5 +509,6 @@
"Locale.de.label": "de (Deutsch)",
"Locale.fr.label": "fr (Français)",
"Locale.af.label": "af (Afrikaans)",
"Locale.ja.label": "ja (日本語)"
"Locale.ja.label": "ja (日本語)",
"Locale.ko.label": "ko (한국어)"
}
Copy path View file

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -8,6 +8,7 @@ import frMessages from '../../../lang/fr.json'
import deMessages from '../../../lang/de.json'
import afMessages from '../../../lang/af.json'
import jaMessages from '../../../lang/ja.json'
import koMessages from '../../../lang/ko.json'

// Supported locales.
export const Locale = Object.freeze({
@@ -17,6 +18,7 @@ export const Locale = Object.freeze({
de: 'de',
af: 'af',
ja: 'ja',
ko: 'ko',
})

/**
@@ -38,6 +40,7 @@ export const translatedMessages = Object.freeze({
[Locale.de]: deMessages,
[Locale.af]: afMessages,
[Locale.ja]: jaMessages,
[Locale.ko]: koMessages,
})

/**
@@ -28,4 +28,8 @@ export default defineMessages({
id: "Locale.ja.label",
defaultMessage: "ja (日本語)",
},
ko: {
id: "Locale.ko.label",
defaultMessage: "ko (한국어)",
},
})
ProTip! Use n and p to navigate between commits in a pull request.