From 33145e18e197f2b5f77bb868964acf0c17f17af6 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 7 Jul 2022 23:58:41 -0700 Subject: [PATCH] fix language codes --- selfdrive/ui/translations/languages.json | 4 ++-- .../ui/translations/{main_zh.qm => main_zh-CHS.qm} | Bin .../ui/translations/{main_zh.ts => main_zh-CHS.ts} | 0 .../ui/translations/{main_zht.qm => main_zh-CHT.qm} | Bin .../ui/translations/{main_zht.ts => main_zh-CHT.ts} | 0 5 files changed, 2 insertions(+), 2 deletions(-) rename selfdrive/ui/translations/{main_zh.qm => main_zh-CHS.qm} (100%) rename selfdrive/ui/translations/{main_zh.ts => main_zh-CHS.ts} (100%) rename selfdrive/ui/translations/{main_zht.qm => main_zh-CHT.qm} (100%) rename selfdrive/ui/translations/{main_zht.ts => main_zh-CHT.ts} (100%) diff --git a/selfdrive/ui/translations/languages.json b/selfdrive/ui/translations/languages.json index 4ca4a2b2c31a62..68928e0871f8d7 100644 --- a/selfdrive/ui/translations/languages.json +++ b/selfdrive/ui/translations/languages.json @@ -1,5 +1,5 @@ { "English": "", - "中文(繁體)": "main_zht", - "中文(简体)": "main_zh" + "中文(繁體)": "main_zh-CHT", + "中文(简体)": "main_zh-CHS" } diff --git a/selfdrive/ui/translations/main_zh.qm b/selfdrive/ui/translations/main_zh-CHS.qm similarity index 100% rename from selfdrive/ui/translations/main_zh.qm rename to selfdrive/ui/translations/main_zh-CHS.qm diff --git a/selfdrive/ui/translations/main_zh.ts b/selfdrive/ui/translations/main_zh-CHS.ts similarity index 100% rename from selfdrive/ui/translations/main_zh.ts rename to selfdrive/ui/translations/main_zh-CHS.ts diff --git a/selfdrive/ui/translations/main_zht.qm b/selfdrive/ui/translations/main_zh-CHT.qm similarity index 100% rename from selfdrive/ui/translations/main_zht.qm rename to selfdrive/ui/translations/main_zh-CHT.qm diff --git a/selfdrive/ui/translations/main_zht.ts b/selfdrive/ui/translations/main_zh-CHT.ts similarity index 100% rename from selfdrive/ui/translations/main_zht.ts rename to selfdrive/ui/translations/main_zh-CHT.ts