* Update account.js * Update accounts.js * finished writeContract.js translate * translated web, walletSetting * 添加注释 * 添加注释 * 翻译1 * 翻译1,存疑1 * 翻译1,没毛病 * 翻译1,存疑1 * Translated addAddress & addContract * 翻译1 * Translated connection.js * Translated contract.js * Translated contracts.js * translated dapps.js * translated deleteAccount * Translated createWallet.js * Translated editMeta.js * Translated errors.js * Translated extension.js * translated deployContract * Translated executeContract.js * Update home.js * Translated home.js * Translated loadContract.js * Translated parityBar.js * translated faucet * Translated passwordChange.js * Translated saveContract.js * translated firstRun * translated tabBar * Commented out all ENG * translated transfer.js * translated txEditor.js * Translated settings.js * translated ui.js * Translated shapeshift.js * translated wallet.js * Translated signer.js * translated upgradParity.js * Translated status.js * translated verification.js * Translated vaults.js * translated ui.js * zh-tw translation * translated account.js * translated accounts.js * translated accounts.js * translated address.js * translated addressSelect.js * translated addresses.js * translated application.js * translated dapp.js * translated ui.js * translated txEditor.js * update zh-Hant-TW translation * enable zh-Hant-TW
28 lines
962 B
JavaScript
28 lines
962 B
JavaScript
// 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/>.
|
|
|
|
const DEFAULT_LOCALE = 'en';
|
|
const DEFAULT_LOCALES = process.env.NODE_ENV === 'production'
|
|
? ['en']
|
|
: ['en', 'de', 'nl', 'zh', 'zh-Hant-TW'];
|
|
const LS_STORE_KEY = '_parity::locale';
|
|
|
|
export {
|
|
DEFAULT_LOCALE,
|
|
DEFAULT_LOCALES,
|
|
LS_STORE_KEY
|
|
};
|