Chinese (Traditional): Add/improve translations (#25228)

fixed readme

shortened ETA & revert unit
old-commit-hash: cb73f9dbc38fff4ab249d8379a788a6b6d7770e3
This commit is contained in:
eFini
2022-07-22 04:50:04 +08:00
committed by GitHub
parent 43869bb5e8
commit cecd535c6f
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ Before getting started, make sure you have set up the openpilot Ubuntu developme
openpilot provides a few tools to help contributors manage their translations and to ensure quality. To get started:
1. Add your new language to [languages.json](/selfdrive/ui/translations/languages.json) with the appropriate [language code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) and the localized language name (Simplified Chinese is `中文(繁體)`).
1. Add your new language to [languages.json](/selfdrive/ui/translations/languages.json) with the appropriate [language code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) and the localized language name (Traditional Chinese is `中文(繁體)`).
2. Generate the XML translation file (`*.ts`):
```shell
selfdrive/ui/update_translations.py
+9 -9
View File
@@ -135,7 +135,7 @@
<message>
<location filename="../qt/offroad/settings.cc" line="112"/>
<source>Preview the driver facing camera to ensure that driver monitoring has good visibility. (vehicle must be off)</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location filename="../qt/offroad/settings.cc" line="116"/>
@@ -340,7 +340,7 @@
<message>
<location filename="../qt/maps/map.cc" line="622"/>
<source>eta</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location filename="../qt/maps/map.cc" line="632"/>
@@ -440,7 +440,7 @@ location set</source>
<message>
<location filename="../qt/maps/map.cc" line="178"/>
<source>Map Loading</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location filename="../qt/maps/map.cc" line="195"/>
@@ -1020,23 +1020,23 @@ location set</source>
<message>
<location filename="../qt/offroad/settings.cc" line="259"/>
<source>Switch Branch</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="../qt/offroad/settings.cc" line="259"/>
<source>ENTER</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="../qt/offroad/settings.cc" line="259"/>
<location filename="../qt/offroad/settings.cc" line="261"/>
<source>The new branch will be pulled the next time the updater runs.</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="../qt/offroad/settings.cc" line="261"/>
<source>Enter branch name</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="../qt/offroad/settings.cc" line="272"/>
@@ -1220,12 +1220,12 @@ location set</source>
<message>
<location filename="../qt/offroad/settings.cc" line="77"/>
<source>Show Map on Left Side of UI</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="../qt/offroad/settings.cc" line="78"/>
<source>Show map on left side when in split screen view.</source>
<translation type="unfinished"></translation>
<translation></translation>
</message>
<message>
<location filename="../qt/offroad/settings.cc" line="90"/>