From 325cd0ec0b091dc20273d38a5e592462e1818188 Mon Sep 17 00:00:00 2001 From: Bas Date: Fri, 10 Feb 2017 14:52:36 +0100 Subject: [PATCH 1/2] Fix Dutch translation (#4509) After compiling + running the recently added Dutch translation I found it didn't work as I had forgotten to add nl to store.js. Now it is working. --- js/src/i18n/store.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/js/src/i18n/store.js b/js/src/i18n/store.js index 559f863d7..43e580dd8 100644 --- a/js/src/i18n/store.js +++ b/js/src/i18n/store.js @@ -19,22 +19,25 @@ import { action, observable, transaction } from 'mobx'; import { addLocaleData } from 'react-intl'; import de from 'react-intl/locale-data/de'; import en from 'react-intl/locale-data/en'; +import nl from 'react-intl/locale-data/nl'; import store from 'store'; import { DEFAULT_LOCALE, DEFAULT_LOCALES, LS_STORE_KEY } from './constants'; import languages from './languages'; import deMessages from './de'; import enMessages from './en'; +import nlMessages from './nl'; let instance = null; const LANGUAGES = flatten({ languages }); const MESSAGES = { de: Object.assign(flatten(deMessages), LANGUAGES), - en: Object.assign(flatten(enMessages), LANGUAGES) + en: Object.assign(flatten(enMessages), LANGUAGES), + nl: Object.assign(flatten(nlMessages), LANGUAGES) }; -addLocaleData([...de, ...en]); +addLocaleData([...de, ...en, ...nl]); export default class Store { @observable locale = DEFAULT_LOCALE; From 51f74f8d80f0e756f9d0c2e77c3cf92044de5773 Mon Sep 17 00:00:00 2001 From: GitLab Build Bot Date: Fri, 10 Feb 2017 14:04:00 +0000 Subject: [PATCH 2/2] [ci skip] js-precompiled 20170210-135944 --- Cargo.lock | 2 +- js/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0e4f4ae22..97ebf381c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1623,7 +1623,7 @@ dependencies = [ [[package]] name = "parity-ui-precompiled" version = "1.4.0" -source = "git+https://github.com/ethcore/js-precompiled.git#086ef689513b478463289c5b5845fb6a232f17ec" +source = "git+https://github.com/ethcore/js-precompiled.git#8ffd65aa7cd10a2e440bd55970cd68d8d07589fd" dependencies = [ "parity-dapps-glue 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", ] diff --git a/js/package.json b/js/package.json index 66b4de382..efc5f6ff5 100644 --- a/js/package.json +++ b/js/package.json @@ -1,6 +1,6 @@ { "name": "parity.js", - "version": "0.3.78", + "version": "0.3.79", "main": "release/index.js", "jsnext:main": "src/index.js", "author": "Parity Team ",