From b1ead7fec87676eb030d543842d1739a581b595d Mon Sep 17 00:00:00 2001 From: Ubertao Date: Wed, 27 Jun 2018 14:09:02 +0800 Subject: [PATCH] Fix locale id zh_cn -> zh-cn, zh_tw -> zh-tw, pt_br -> pt-br --- translations/{pt_br.json => pt-br.json} | 0 translations/translations.js | 6 +++--- translations/{zh_cn.json => zh-cn.json} | 0 translations/{zh_tw.json => zh-tw.json} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename translations/{pt_br.json => pt-br.json} (100%) rename translations/{zh_cn.json => zh-cn.json} (100%) rename translations/{zh_tw.json => zh-tw.json} (100%) diff --git a/translations/pt_br.json b/translations/pt-br.json similarity index 100% rename from translations/pt_br.json rename to translations/pt-br.json diff --git a/translations/translations.js b/translations/translations.js index f32bd25b..2136056e 100644 --- a/translations/translations.js +++ b/translations/translations.js @@ -17,12 +17,12 @@ var translations = { "nb" : "translations/nb.json", // Norsk bokmål "nn" : "translations/nn.json", // Norsk nynorsk "pt" : "translations/pt.json", // Português - "pt_br" : "translations/pt_br.json", // Português Brasileiro + "pt-br" : "translations/pt-br.json", // Português Brasileiro "sv" : "translations/sv.json", // Svenska "id" : "translations/id.json", // Indonesian "it" : "translations/it.json", // Italian - "zh_cn" : "translations/zh_cn.json", // Simplified Chinese - "zh_tw" : "translations/zh_tw.json", // Traditional Chinese + "zh-cn" : "translations/zh-cn.json", // Simplified Chinese + "zh-tw" : "translations/zh-tw.json", // Traditional Chinese "ja" : "translations/ja.json", // Japanese "pl" : "translations/pl.json", // Polish "gr" : "translations/gr.json", // Greek diff --git a/translations/zh_cn.json b/translations/zh-cn.json similarity index 100% rename from translations/zh_cn.json rename to translations/zh-cn.json diff --git a/translations/zh_tw.json b/translations/zh-tw.json similarity index 100% rename from translations/zh_tw.json rename to translations/zh-tw.json