Initial Dutch translations (#4484)

* Create settings.js

* Create index.js

* Update constants.js

* Update languages.js
This commit is contained in:
Bas 2017-02-09 16:48:36 +01:00 committed by Gav Wood
parent 1534bbb7cb
commit 8f6108fdc9
4 changed files with 87 additions and 2 deletions

View File

@ -17,7 +17,7 @@
const DEFAULT_LOCALE = 'en';
const DEFAULT_LOCALES = process.env.NODE_ENV === 'production'
? ['en']
: ['en', 'de'];
: ['en', 'de', 'nl'];
const LS_STORE_KEY = '_parity::locale';
export {

View File

@ -16,5 +16,6 @@
export default {
de: 'Deutsch',
en: 'English'
en: 'English',
nl: 'Nederlands'
};

21
js/src/i18n/nl/index.js Normal file
View File

@ -0,0 +1,21 @@
// Copyright 2015-2017 Parity Technologies (UK) Ltd.
// This file is part of Parity.
// Parity is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// Parity is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
import settings from './settings';
export default {
settings
};

View File

@ -0,0 +1,63 @@
// Copyright 2015-2017 Parity Technologies (UK) Ltd.
// This file is part of Parity.
// Parity is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// Parity is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
export default {
label: 'Instellingen',
background: {
label: 'Achtergrond'
},
parity: {
label: 'Parity'
},
proxy: {
label: 'Proxy'
},
views: {
label: 'Weergaven',
accounts: {
label: 'Accounts'
},
addresses: {
label: 'Adresboek'
},
apps: {
label: 'Applicaties'
},
contracts: {
label: 'Contracten'
},
status: {
label: 'Status'
},
signer: {
label: 'Signer'
},
settings: {
label: 'Instellingen'
}
}
};