Browse Source

feat(i18n): enable Irish language

renovate/lint-staged-8.x
Tom Kirkpatrick 6 years ago
parent
commit
2ac4953827
No known key found for this signature in database GPG Key ID: 72203A8EC5967EA8
  1. 5
      app/lib/utils/i18n.js

5
app/lib/utils/i18n.js

@ -13,6 +13,7 @@ import el from 'react-intl/locale-data/el'
import en from 'react-intl/locale-data/en' import en from 'react-intl/locale-data/en'
import es from 'react-intl/locale-data/es' import es from 'react-intl/locale-data/es'
import fr from 'react-intl/locale-data/fr' import fr from 'react-intl/locale-data/fr'
import ga from 'react-intl/locale-data/ga'
import hr from 'react-intl/locale-data/hr' import hr from 'react-intl/locale-data/hr'
import ja from 'react-intl/locale-data/ja' import ja from 'react-intl/locale-data/ja'
import nl from 'react-intl/locale-data/nl' import nl from 'react-intl/locale-data/nl'
@ -32,6 +33,7 @@ import elTranslationMessages from '../../translations/el-GR.json'
import enTranslationMessages from '../../translations/en.json' import enTranslationMessages from '../../translations/en.json'
import esTranslationMessages from '../../translations/es-ES.json' import esTranslationMessages from '../../translations/es-ES.json'
import frTranslationMessages from '../../translations/fr-FR.json' import frTranslationMessages from '../../translations/fr-FR.json'
import gaTranslationMessages from '../../translations/ga-IE.json'
import hrTranslationMessages from '../../translations/hr-HR.json' import hrTranslationMessages from '../../translations/hr-HR.json'
import jaTranslationMessages from '../../translations/ja-JP.json' import jaTranslationMessages from '../../translations/ja-JP.json'
import nlTranslationMessages from '../../translations/nl-NL.json' import nlTranslationMessages from '../../translations/nl-NL.json'
@ -55,6 +57,7 @@ addLocaleData([
...en, ...en,
...es, ...es,
...fr, ...fr,
...ga,
...hr, ...hr,
...ja, ...ja,
...nl, ...nl,
@ -76,6 +79,7 @@ export const locales = [
'en', 'en',
'es', 'es',
'fr', 'fr',
'ga',
'hr', 'hr',
'ja', 'ja',
'nl', 'nl',
@ -125,6 +129,7 @@ export const translationMessages = {
cs: csTranslationMessages, cs: csTranslationMessages,
nl: nlTranslationMessages, nl: nlTranslationMessages,
fr: frTranslationMessages, fr: frTranslationMessages,
ga: gaTranslationMessages,
de: deTranslationMessages, de: deTranslationMessages,
el: elTranslationMessages, el: elTranslationMessages,
ja: jaTranslationMessages, ja: jaTranslationMessages,

Loading…
Cancel
Save