mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-03 12:32:06 +08:00
Chinese (Traditional): Add/improve translations (#25228)
fixed readme shortened ETA & revert unit old-commit-hash: cb73f9dbc38fff4ab249d8379a788a6b6d7770e3
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user