mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-08 10:44:34 +08:00
Pre-build - 2025-06-20
This commit is contained in:
75
BRANCHES.md
Normal file
75
BRANCHES.md
Normal file
@@ -0,0 +1,75 @@
|
||||
```mermaid
|
||||
flowchart TD
|
||||
B000["upstream-tracking"] ---> CORE["core"]
|
||||
CORE ---> CORE_001["core-feat/params"]
|
||||
CORE_001 ---> CORE_002["core-feat/panel"]
|
||||
CORE_002 ---> CORE_003["core-feat/spin-box-ctrl"]
|
||||
CORE_003 ---> MIN["min"]
|
||||
MIN ---> MIN_001["min-feat/dev/o3"]
|
||||
MIN ---> MIN_002["min-feat/lat/alka"]
|
||||
MIN ---> MIN_003["min-feat/ui/display-mode"]
|
||||
MIN ---> MIN_004["min-feat/dev/model-selector"]
|
||||
MIN ---> MIN_005["min-feat/lat/lca"]
|
||||
MIN ---> MIN_006["min-feat/dev/on-off-road"]
|
||||
MIN ---> MIN_007["min-feat/ui/hide-hud"]
|
||||
MIN ---> MIN_008["min-feat/lon/ext-radar"]
|
||||
MIN ---> MIN_009["min-feat/lat/road-edge-detection"]
|
||||
MIN ---> MIN_010["min-feat/ui/rainbow-path"]
|
||||
MIN ---> MIN_011["min-feat/lon/acm"]
|
||||
MIN ---> MIN_012["min-feat/lon/aem"]
|
||||
MIN ---> MIN_013["min-feat/dev/alert-mode"]
|
||||
MIN ---> MIN_014["min-feat/lon/no-gas-gating"]
|
||||
MIN ---> MIN_015["min-feat/dev/auto-shutdown"]
|
||||
MIN ---> MIN_016["min-feat/ui/radar-tracks"]
|
||||
MIN ---> MIN_017["min-feat/ui/border-indicator"]
|
||||
MIN ---> MIN_018["min-feat/dev/fileserv"]
|
||||
MIN_001 ---> FULL["full"]
|
||||
MIN_002 ---> FULL
|
||||
MIN_003 ---> FULL
|
||||
MIN_004 ---> FULL
|
||||
MIN_005 ---> FULL
|
||||
MIN_006 ---> FULL
|
||||
MIN_007 ---> FULL
|
||||
MIN_008 ---> FULL
|
||||
MIN_009 ---> FULL
|
||||
MIN_010 ---> FULL
|
||||
MIN_011 ---> FULL
|
||||
MIN_012 ---> FULL
|
||||
MIN_013 ---> FULL
|
||||
MIN_014 ---> FULL
|
||||
MIN_015 ---> FULL
|
||||
MIN_016 ---> FULL
|
||||
MIN_017 ---> FULL
|
||||
MIN_018 ---> FULL
|
||||
FULL ---> TOYOTA_001[brand/toyota/door-auto-lock-unlock]
|
||||
FULL ---> TOYOTA_002[brand/toyota/tss1-sng]
|
||||
FULL ---> TOYOTA_003[brand/toyota/long-filter-common]
|
||||
FULL ---> TOYOTA_004[brand/toyota/radar-filter]
|
||||
FULL ---> TOYOTA_005[brand/toyota/sdsu]
|
||||
FULL ---> TOYOTA_006[brand/toyota/zss]
|
||||
FULL ---> TOYOTA_007[brand/toyota/stock-lon]
|
||||
FULL ---> VAG_001[brand/vag/a0-sng]
|
||||
FULL ---> VAG_002[brand/vag/pq-steering-patch]
|
||||
FULL ---> VAG_003[brand/vag/pq-no-dashcam]
|
||||
FULL ---> VAG_004[brand/vag/avoid-eps-lockout]
|
||||
FULL ---> HKG_001[brand/hkg/smdps]
|
||||
TOYOTA_001 ---> TOYOTA[pre-toyota]
|
||||
TOYOTA_002 ---> TOYOTA
|
||||
TOYOTA_003 ---> TOYOTA
|
||||
TOYOTA_004 ---> TOYOTA
|
||||
TOYOTA_005 ---> TOYOTA
|
||||
TOYOTA_006 ---> TOYOTA
|
||||
TOYOTA_007 ---> TOYOTA
|
||||
VAG_001 ---> VAG[pre-vag]
|
||||
VAG_002 ---> VAG
|
||||
VAG_003 ---> VAG
|
||||
VAG_004 ---> VAG
|
||||
HKG_001 ---> HKG[pre-hkg]
|
||||
TOYOTA ---> PRE[pre]
|
||||
VAG ---> PRE
|
||||
HKG ---> PRE
|
||||
PRE ---> PRE_PATCH[pre-patch]
|
||||
PRE_PATCH ---> PRE_001[pre-build]
|
||||
PRE_001 ---> PRERELEASE[pre-release]
|
||||
PRERELEASE ---> RELEASE[x.x.x]
|
||||
```
|
||||
1506
CHANGELOGS.md
Normal file
1506
CHANGELOGS.md
Normal file
File diff suppressed because it is too large
Load Diff
@@ -16,17 +16,22 @@ if [ -z "$RELEASE_BRANCH" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "$SOURCE_BRANCH" ]; then
|
||||
echo "SOURCE_BRANCH is not set"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
# set git identity
|
||||
source $DIR/identity.sh
|
||||
source /data/identity.sh
|
||||
|
||||
echo "[-] Setting up repo T=$SECONDS"
|
||||
rm -rf $BUILD_DIR
|
||||
mkdir -p $BUILD_DIR
|
||||
cd $BUILD_DIR
|
||||
git init
|
||||
git remote add origin git@github.com:commaai/openpilot.git
|
||||
git checkout --orphan $RELEASE_BRANCH
|
||||
git remote add origin https://github.com/dragonpilot-community/dev.git
|
||||
git checkout --orphan $SOURCE_BRANCH
|
||||
|
||||
# do the files copy
|
||||
echo "[-] copying files T=$SECONDS"
|
||||
@@ -42,19 +47,20 @@ rm -f panda/board/obj/panda_h7.bin.signed
|
||||
VERSION=$(cat common/version.h | awk -F[\"-] '{print $2}')
|
||||
echo "[-] committing version $VERSION T=$SECONDS"
|
||||
git add -f .
|
||||
git commit -a -m "openpilot v$VERSION release"
|
||||
git commit -a -m "dragonpilot v$VERSION release"
|
||||
|
||||
# Build
|
||||
export PYTHONPATH="$BUILD_DIR"
|
||||
scons -j$(nproc) --minimal
|
||||
|
||||
if [ -z "$PANDA_DEBUG_BUILD" ]; then
|
||||
# release panda fw
|
||||
CERT=/data/pandaextra/certs/release RELEASE=1 scons -j$(nproc) panda/
|
||||
else
|
||||
# build with ALLOW_DEBUG=1 to enable features like experimental longitudinal
|
||||
scons -j$(nproc) panda/
|
||||
fi
|
||||
#if [ -z "$PANDA_DEBUG_BUILD" ]; then
|
||||
# # release panda fw
|
||||
# CERT=/data/pandaextra/certs/release RELEASE=1 scons -j$(nproc) panda/
|
||||
#else
|
||||
# # build with ALLOW_DEBUG=1 to enable features like experimental longitudinal
|
||||
# scons -j$(nproc) panda/
|
||||
#fi
|
||||
scons -j$(nproc) panda/
|
||||
|
||||
# Ensure no submodules in release
|
||||
if test "$(git submodule--helper list | wc -l)" -gt "0"; then
|
||||
@@ -85,18 +91,29 @@ git checkout third_party/
|
||||
# Mark as prebuilt release
|
||||
touch prebuilt
|
||||
|
||||
# dragonpilot customized
|
||||
find . -name '*.cc' -delete
|
||||
find selfdrive/ui/ -name '*.h' -delete
|
||||
find . -type d -name "tests" -exec rm -rf {} +
|
||||
find . -type d -name 'x86_64' -exec rm -rf {} +
|
||||
find . -type d -name 'Darwin' -exec rm -rf {} +
|
||||
rm -fr tinygrad_repo/docs/tinygrad_intro.pdf # 1.9M
|
||||
rm -fr cereal/gen/cpp/log.capnp.h # 2.5M
|
||||
rm -fr tinygrad_repo/extra/hip_gpu_driver/gc_10_3_0_offset.h # 1.4 M
|
||||
rm -fr tinygrad_repo/extra/accel/tpu/logs/tpu_driver.t1v-n-852cd0d5-w-0.taylor.log.INFO.20210619-062914.26926.gz # 1.3 M
|
||||
|
||||
# Add built files to git
|
||||
git add -f .
|
||||
git commit --amend -m "openpilot v$VERSION"
|
||||
git commit --amend -m "dragonpilot v$VERSION"
|
||||
|
||||
# Run tests
|
||||
cd $BUILD_DIR
|
||||
RELEASE=1 pytest -n0 -s selfdrive/test/test_onroad.py
|
||||
#pytest selfdrive/car/tests/test_car_interfaces.py
|
||||
|
||||
if [ ! -z "$RELEASE_BRANCH" ]; then
|
||||
echo "[-] pushing release T=$SECONDS"
|
||||
git push -f origin $RELEASE_BRANCH:$RELEASE_BRANCH
|
||||
fi
|
||||
#cd $BUILD_DIR
|
||||
#RELEASE=1 pytest -n0 -s selfdrive/test/test_onroad.py
|
||||
##pytest selfdrive/car/tests/test_car_interfaces.py
|
||||
git branch -m $RELEASE_BRANCH
|
||||
#if [ ! -z "$RELEASE_BRANCH" ]; then
|
||||
# echo "[-] pushing release T=$SECONDS"
|
||||
# git push -f origin $RELEASE_BRANCH:$RELEASE_BRANCH
|
||||
#fi
|
||||
|
||||
echo "[-] done T=$SECONDS"
|
||||
|
||||
@@ -84,27 +84,27 @@
|
||||
</message>
|
||||
<message>
|
||||
<source>Prevent large data uploads when on a metered cellular connection</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>在使用計費行動網路時,防止上傳大量數據</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>default</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>預設</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>metered</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>計費</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>unmetered</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>非計費</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Wi-Fi Network Metered</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>計費 Wi-Fi 網路</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Prevent large data uploads when on a metered Wi-Fi connection</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>在使用計費 Wi-Fi 網路時,防止上傳大量數據</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
@@ -118,6 +118,266 @@
|
||||
<translation>取消</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DPPanel</name>
|
||||
<message>
|
||||
<source>Toyota / Lexus</source>
|
||||
<translation>Toyota / Lexus</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable Door Auto Lock/Unlock</source>
|
||||
<translation>啟用自動門鎖/解鎖</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable TSS1 SnG Mod</source>
|
||||
<translation>啟用 TSS1 SnG 補丁</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use Stock Longitudinal Control</source>
|
||||
<translation>使用原廠縱向控制</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>VW / Audi / Skoda</source>
|
||||
<translation>VW / Audi / Skoda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable MQB A0 SnG Mod</source>
|
||||
<translation>啟用 MQB A0 SnG 補丁</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>PQ Steering Patch</source>
|
||||
<translation>PQ 轉向補丁</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Avoid EPS Lockout</source>
|
||||
<translation>避免 EPS 鎖定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Mazda</source>
|
||||
<translation>Mazda</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Lateral Ctrl</source>
|
||||
<translation>橫向控制</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Always-on Lane Keeping Assist (ALKA)</source>
|
||||
<translation>全時車維 (ALKA)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Road Edge Detection (RED)</source>
|
||||
<translation>路邊偵測 (RED)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Block lane change assist when the system detects the road edge.
|
||||
NOTE: This will show 'Car Detected in Blindspot' warning.</source>
|
||||
<translation>當系統偵測到路邊時,阻擋車道變換輔助。\n注意:這將會顯示「Car Detected in Blindspot」的警告。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>LCA Speed:</source>
|
||||
<translation>車道變換輔助 (LCA) 速度:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Off = Disable LCA
|
||||
1 mph ≈ 1.2 km/h</source>
|
||||
<translation>關閉 = 停用 LCA\n1 mph ≈ 1.2 km/h</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source> mph</source>
|
||||
<translation> mph</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Off</source>
|
||||
<translation>關閉</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Auto Lane Change after:</source>
|
||||
<translation>自動換道延遲:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Off = Disable Auto Lane Change.</source>
|
||||
<translation>關閉 = 停用自動換道。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source> sec</source>
|
||||
<translation> 秒</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Longitudinal Ctrl</source>
|
||||
<translation>縱向控制</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use External Radar</source>
|
||||
<translation>使用外部雷達</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>See https://github.com/eFiniLan/openpilot-ext-radar-addon for more information.</source>
|
||||
<translation>詳細資訊請參閱 https://github.com/eFiniLan/openpilot-ext-radar-addon。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable Adaptive Coasting Mode (ACM)</source>
|
||||
<translation>啟用自適應巡航滑行模式 (ACM)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Adaptive Coasting Mode (ACM) reduces braking to allow smoother coasting when appropriate.
|
||||
DOES NOT WORK with Experimental Mode enabled.</source>
|
||||
<translation>自適應巡航滑行模式 (ACM) 會在適當時減少煞車,以實現更平順的滑行。\n啟用實驗模式時無法運作。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Downhill Only</source>
|
||||
<translation>僅限下坡</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Limited to downhill driving.</source>
|
||||
<translation>僅限於下坡行駛。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Adaptive Experimental Mode (AEM)</source>
|
||||
<translation>自適應實驗模式 (AEM)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Adaptive mode switcher between ACC and Blended based on driving context.</source>
|
||||
<translation>根據駕駛情境,在輕鬆和實驗模式之間進行自適應切換。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable No Gas Gating (NoGG)</source>
|
||||
<translation>啟用無油門限制 (NoGG)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Allows the car to accelerate in situations where Gas Gating would normally prevent it, like approaching traffic lights or exits.</source>
|
||||
<translation>允許車輛在接近紅綠燈或匝道等情況下加速,即使這些情況原本會因油門限制(Gas Gating)而無法加速。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>UI</source>
|
||||
<translation>使用者介面</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Display Radar Tracks</source>
|
||||
<translation>顯示雷達軌跡</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Rainbow Driving Path like Tesla</source>
|
||||
<translation>啟用 Tesla 風格彩虹行車路徑</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Why not?</source>
|
||||
<translation>何不一試?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Std.</source>
|
||||
<translation>標準</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MAIN+</source>
|
||||
<translation>主控+</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>OP+</source>
|
||||
<translation>OP+</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>MAIN-</source>
|
||||
<translation>主控-</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>OP-</source>
|
||||
<translation>OP-</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Display Mode</source>
|
||||
<translation>螢幕顯示模式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Std. - Stock behavior.
|
||||
MAIN+ - ACC MAIN on = Display ON.
|
||||
OP+ - OP enabled = Display ON.
|
||||
MAIN- - ACC MAIN on = Display OFF
|
||||
OP- - OP enabled = Display OFF.</source>
|
||||
<translation>標準 - 原廠行為。
|
||||
主控+ - ACC 主控開啟 = 螢幕開啟。
|
||||
OP+ - openpilot 啟用 = 螢幕開啟。
|
||||
主控- - ACC 主控開啟 = 螢幕關閉。
|
||||
OP- - openpilot 啟用 = 螢幕關閉。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Hide HUD When Moves above:</source>
|
||||
<translation>車速高於此值時隱藏 HUD:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>To prevent screen burn-in, hide Speed, MAX Speed, and Steering/DM Icons when the car moves.
|
||||
Off = Stock Behavior
|
||||
1 km/h ≈ 0.6 mph</source>
|
||||
<translation>為防止螢幕烙印,在車輛移動時隱藏速度、最高速度以及方向盤/駕駛員監控圖示。
|
||||
關閉 = 原廠行為
|
||||
1 km/h ≈ 0.6 mph</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source> km/h</source>
|
||||
<translation> km/h</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Device</source>
|
||||
<translation>裝置</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable Right-Hand Drive Mode</source>
|
||||
<translation>啟用右駕模式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Allow openpilot to obey right-hand traffic conventions on right driver seat.</source>
|
||||
<translation>允許 dragonpilot 在右駕車輛上遵循右駕交通慣例。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Disable Driver Monitoring</source>
|
||||
<translation>停用駕駛員監控</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable Beep (Warning)</source>
|
||||
<translation>啟用提示音 (警告)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Warning</source>
|
||||
<translation>警告</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Audible Alert Mode</source>
|
||||
<translation>聲音提示模式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Warning - Only emits sound when there is a warning.
|
||||
Off - Does not emit any sound at all.</source>
|
||||
<translation>警告 - 僅在有警告時發出聲音。
|
||||
關閉 - 完全不發出任何聲音。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Auto Shutdown In:</source>
|
||||
<translation>自動關機倒數:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>0 mins = Immediately</source>
|
||||
<translation>0 分鐘 = 立即</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source> mins</source>
|
||||
<translation> 分鐘</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset dragonpilot settings</source>
|
||||
<translation>重設 dragonpilot 設定</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>RESET</source>
|
||||
<translation>重設</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Are you sure you want to reset all settings?</source>
|
||||
<translation>您確定要重設所有設定嗎?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Reset</source>
|
||||
<translation>重設</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>DeclinePage</name>
|
||||
<message>
|
||||
@@ -308,11 +568,11 @@
|
||||
</message>
|
||||
<message>
|
||||
<source>Disengage to Reset Calibration</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>解除以重設校準</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source> Resetting calibration will restart openpilot if the car is powered on.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>若車輛電源開啟,重設校準將會重新啟動 openpilot。</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
@@ -367,7 +627,7 @@ Firehose Mode allows you to maximize your training data uploads to improve openp
|
||||
</message>
|
||||
<message>
|
||||
<source><span stylesheet='font-size: 60px; font-weight: bold; color: #e74c3c;'>INACTIVE</span>: connect to an unmetered network</source>
|
||||
<translation type="unfinished"><span stylesheet='font-size: 60px; font-weight: bold; color: #e74c3c;'>閒置中</span>:請連接到不按流量計費的網絡</translation>
|
||||
<translation><span stylesheet='font-size: 60px; font-weight: bold; color: #e74c3c;'>閒置中</span>:請連接到不按流量計費的網絡</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
@@ -398,6 +658,24 @@ Firehose Mode allows you to maximize your training data uploads to improve openp
|
||||
</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Installer</name>
|
||||
<message>
|
||||
<source>Installing...</source>
|
||||
<translation type="vanished">安裝中…</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>ModelSelector</name>
|
||||
<message>
|
||||
<source>Vehicle Model:</source>
|
||||
<translation>車輛型號:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>[AUTO DETECT]</source>
|
||||
<translation>[自動偵測]</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>MultiOptionDialog</name>
|
||||
<message>
|
||||
@@ -595,7 +873,7 @@ Firehose Mode allows you to maximize your training data uploads to improve openp
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<source>openpilot</source>
|
||||
<translation>openpilot</translation>
|
||||
<translation type="vanished">openpilot</translation>
|
||||
</message>
|
||||
<message numerus="yes">
|
||||
<source>%n minute(s) ago</source>
|
||||
@@ -619,6 +897,14 @@ Firehose Mode allows you to maximize your training data uploads to improve openp
|
||||
<source>now</source>
|
||||
<translation>現在</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Show Last Errors</source>
|
||||
<translation>顯示最後錯誤</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>dragonpilot</source>
|
||||
<translation>dragonpilot</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>Reset</name>
|
||||
@@ -901,15 +1187,15 @@ This may take up to a minute.</source>
|
||||
</message>
|
||||
<message>
|
||||
<source>Target Branch</source>
|
||||
<translation>目標分支</translation>
|
||||
<translation type="vanished">目標分支</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>SELECT</source>
|
||||
<translation>選取</translation>
|
||||
<translation type="vanished">選取</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Select a branch</source>
|
||||
<translation>選取一個分支</translation>
|
||||
<translation type="vanished">選取一個分支</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>UNINSTALL</source>
|
||||
@@ -951,6 +1237,26 @@ This may take up to a minute.</source>
|
||||
<source>never</source>
|
||||
<translation>從未更新</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Onroad/Offroad Mode</source>
|
||||
<translation>行駛/設定模式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Go Offroad</source>
|
||||
<translation>進入設定模式</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Are you sure you want to switch mode?</source>
|
||||
<translation>您確定要切換模式嗎?</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>CONFIRM</source>
|
||||
<translation>確認</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Go Onroad</source>
|
||||
<translation>進入行駛模式</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SshControl</name>
|
||||
@@ -1125,11 +1431,19 @@ This may take up to a minute.</source>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use the openpilot system for adaptive cruise control and lane keep driver assistance. Your attention is required at all times to use this feature.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>openpilot 系統提供「主動式巡航」與「車道維持」等駕駛輔助功能。使用這些功能時,您必須隨時保持專注。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source> Changing this setting will restart openpilot if the car is powered on.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
<translation>若車輛電源為開啟狀態,變更此設定將會重新啟動 openpilot。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Disable Logging</source>
|
||||
<translation>停用記錄</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Disable Updates</source>
|
||||
<translation>停用更新</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
||||
@@ -86,7 +86,7 @@ def set_consistent_flag(consistent: bool) -> None:
|
||||
|
||||
def parse_release_notes(basedir: str) -> bytes:
|
||||
try:
|
||||
with open(os.path.join(basedir, "RELEASES.md"), "rb") as f:
|
||||
with open(os.path.join(basedir, "CHANGELOGS.md"), "rb") as f:
|
||||
r = f.read().split(b'\n\n', 1)[0] # Slice latest release notes
|
||||
try:
|
||||
return bytes(parse_markdown(r.decode("utf-8")), encoding="utf-8")
|
||||
|
||||
@@ -26,7 +26,7 @@ def get_version(path: str = BASEDIR) -> str:
|
||||
|
||||
|
||||
def get_release_notes(path: str = BASEDIR) -> str:
|
||||
with open(os.path.join(path, "RELEASES.md")) as f:
|
||||
with open(os.path.join(path, "CHANGELOGS.md")) as f:
|
||||
return f.read().split('\n\n', 1)[0]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user