From 609a1148c73f6ddf52a1c3e54e20af88753e6d45 Mon Sep 17 00:00:00 2001 From: enahum Date: Thu, 9 Mar 2017 06:14:26 -0300 Subject: [PATCH] PLT-5769 Translations filenames and values consistent (#5689) --- i18n/{zh_CN.json => zh-CN.json} | 0 i18n/{zh_TW.json => zh-TW.json} | 0 webapp/i18n/i18n.jsx | 4 ++-- webapp/i18n/{zh_CN.json => zh-CN.json} | 0 webapp/i18n/{zh_TW.json => zh-TW.json} | 0 5 files changed, 2 insertions(+), 2 deletions(-) rename i18n/{zh_CN.json => zh-CN.json} (100%) rename i18n/{zh_TW.json => zh-TW.json} (100%) rename webapp/i18n/{zh_CN.json => zh-CN.json} (100%) rename webapp/i18n/{zh_TW.json => zh-TW.json} (100%) diff --git a/i18n/zh_CN.json b/i18n/zh-CN.json similarity index 100% rename from i18n/zh_CN.json rename to i18n/zh-CN.json diff --git a/i18n/zh_TW.json b/i18n/zh-TW.json similarity index 100% rename from i18n/zh_TW.json rename to i18n/zh-TW.json diff --git a/webapp/i18n/i18n.jsx b/webapp/i18n/i18n.jsx index 4eda911982..fd4e42a326 100644 --- a/webapp/i18n/i18n.jsx +++ b/webapp/i18n/i18n.jsx @@ -9,8 +9,8 @@ const ko = require('!!file-loader?name=i18n/[name].[hash].[ext]!./ko.json'); const nl = require('!!file-loader?name=i18n/[name].[hash].[ext]!./nl.json'); const pt_BR = require('!!file-loader?name=i18n/[name].[hash].[ext]!./pt-BR.json'); //eslint-disable-line camelcase const ru = require('!!file-loader?name=i18n/[name].[hash].[ext]!./ru.json'); -const zh_TW = require('!!file-loader?name=i18n/[name].[hash].[ext]!./zh_TW.json'); //eslint-disable-line camelcase -const zh_CN = require('!!file-loader?name=i18n/[name].[hash].[ext]!./zh_CN.json'); //eslint-disable-line camelcase +const zh_TW = require('!!file-loader?name=i18n/[name].[hash].[ext]!./zh-TW.json'); //eslint-disable-line camelcase +const zh_CN = require('!!file-loader?name=i18n/[name].[hash].[ext]!./zh-CN.json'); //eslint-disable-line camelcase import {addLocaleData} from 'react-intl'; import deLocaleData from 'react-intl/locale-data/de'; diff --git a/webapp/i18n/zh_CN.json b/webapp/i18n/zh-CN.json similarity index 100% rename from webapp/i18n/zh_CN.json rename to webapp/i18n/zh-CN.json diff --git a/webapp/i18n/zh_TW.json b/webapp/i18n/zh-TW.json similarity index 100% rename from webapp/i18n/zh_TW.json rename to webapp/i18n/zh-TW.json