Multilang: add Japanese to UI (#25339)

* Add Japanese to UI

* Add Enlish and Japanese badges
pull/25346/head
Shane Smiskol 3 years ago committed by GitHub
parent 54e54fb585
commit 1cf2f9fc13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/ui/translations/README.md
  2. 3
      selfdrive/ui/translations/languages.json
  3. 4
      selfdrive/ui/translations/main_ja.ts

@ -1,8 +1,10 @@
# Multilanguage
[![language](https://raw.githubusercontent.com/commaai/openpilot/badges/translation_badge_main_en.svg)](https://github.com/commaai/openpilot/blob/master/selfdrive/ui/translations/main_en.ts)
[![language](https://raw.githubusercontent.com/commaai/openpilot/badges/translation_badge_main_zh-CHT.svg)](https://github.com/commaai/openpilot/blob/master/selfdrive/ui/translations/main_zh-CHT.ts)
[![language](https://raw.githubusercontent.com/commaai/openpilot/badges/translation_badge_main_zh-CHS.svg)](https://github.com/commaai/openpilot/blob/master/selfdrive/ui/translations/main_zh-CHS.ts)
[![language](https://raw.githubusercontent.com/commaai/openpilot/badges/translation_badge_main_ko.svg)](https://github.com/commaai/openpilot/blob/master/selfdrive/ui/translations/main_ko.ts)
[![language](https://raw.githubusercontent.com/commaai/openpilot/badges/translation_badge_main_ja.svg)](https://github.com/commaai/openpilot/blob/master/selfdrive/ui/translations/main_ja.ts)
## Contributing

@ -2,5 +2,6 @@
"English": "main_en",
"中文(繁體)": "main_zh-CHT",
"中文(简体)": "main_zh-CHS",
"한국어": "main_ko"
"한국어": "main_ko",
"日本語": "main_ja"
}

@ -45,7 +45,7 @@
<message>
<location filename="../qt/offroad/networking.cc" line="136"/>
<source>Enter new tethering password</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location filename="../qt/offroad/networking.cc" line="144"/>
@ -310,7 +310,7 @@
<location filename="../qt/widgets/input.cc" line="168"/>
<source>Need at least %n character(s)!</source>
<translation>
<numerusform>%n文字以上で入力してください</numerusform>
<numerusform>%n文字以上でお願いします</numerusform>
</translation>
</message>
</context>

Loading…
Cancel
Save