Skip to content

Commit 9ef1194

Browse files
committed
i18n: added zh_TW
1 parent a529753 commit 9ef1194

File tree

3 files changed

+81
-2
lines changed

3 files changed

+81
-2
lines changed

core/files/update-translations.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ cd $HOME/..
33

44
destination=src/main/resources/com/graphhopper/util/
55

6-
translations="en_US SKIP SKIP ar ast bg ca cs_CZ da_DK de_DE el eo es fa fil fi fr_FR fr_CH gl he hr_HR hsb hu_HU it ja ko lt_LT ne nl pl_PL pt_BR pt_PT ro ru sk sl_SI sr_RS sv_SE tr uk vi_VI zh_CN zh_HK"
6+
translations="en_US SKIP SKIP ar ast bg ca cs_CZ da_DK de_DE el eo es fa fil fi fr_FR fr_CH gl he hr_HR hsb hu_HU it ja ko lt_LT ne nl pl_PL pt_BR pt_PT ro ru sk sl_SI sr_RS sv_SE tr uk vi_VI zh_CN zh_HK zh_TW"
77
file=$1
88

99
# You can execute the following

core/src/main/java/com/graphhopper/util/TranslationMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class TranslationMap {
3636
"cs_CZ", "da_DK", "de_DE", "el", "eo", "es", "en_US", "fa", "fil", "fi",
3737
"fr_FR", "fr_CH", "gl", "he", "hr_HR", "hsb", "hu_HU", "it", "ja", "ko", "lt_LT", "ne",
3838
"nl", "pl_PL", "pt_BR", "pt_PT", "ro", "ru", "sk", "sl_SI", "sr_RS", "sv_SE", "tr", "uk",
39-
"vi_VI", "zh_CN", "zh_HK");
39+
"vi_VI", "zh_CN", "zh_HK", "zh_TW");
4040
private final Map<String, Translation> translations = new HashMap<>();
4141

4242
public static int countOccurence(String phrase, String splitter) {
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
# do not edit manually, instead use spreadsheet https://t.co/f086oJXAEI and script ./core/files/update-translations.sh
2+
3+
continue=繼續
4+
continue_onto=繼續行駛到 %1$s
5+
turn_left=左轉
6+
turn_right=右轉
7+
turn_slight_left=微靠左轉
8+
turn_slight_right=微靠右轉
9+
turn_sharp_left=左急轉
10+
turn_sharp_right=右急轉
11+
keep_left=保持左側
12+
keep_right=保持右側
13+
turn_onto=%1$s 進入%2$s
14+
u_turn=迴轉
15+
unknown=未知指示標誌 '%1$s'
16+
web.search_button=搜尋
17+
web.from_hint=起點
18+
web.via_hint=途經
19+
web.to_hint=迄點
20+
web.more_button=更多
21+
web.gpx_export_button=匯出GPS
22+
web.route_info=%1$s 需時 %2$s
23+
web.pt_route_info=於 %1$s 抵達,%2$s 次轉乘 (%3$s)
24+
web.pt_route_info_walking=於 %1$s 抵達,僅步行 (%2$s)
25+
web.locations_not_found=無法進行規劃。無法在此區域內找到指定的地點
26+
web.bike=自行車
27+
web.racingbike=競技自行車
28+
web.mtb=登山車
29+
web.car=汽車
30+
web.foot=步行
31+
web.hike=健行
32+
web.small_truck=小貨車
33+
web.bus=公車
34+
web.truck=貨車
35+
web.staticlink=永久鏈結
36+
web.motorcycle=摩托車
37+
via=途經
38+
finish=抵達目的地
39+
hour_abbr=小時
40+
day_abbr=天
41+
min_abbr=分鐘
42+
km_abbr=公里
43+
m_abbr=公尺
44+
mi_abbr=英里
45+
ft_abbr=英尺
46+
road=道路
47+
off_bike=下自行車
48+
cycleway=自行車道
49+
way=路
50+
small_way=小路
51+
paved=路面有鋪設
52+
unpaved=路面無鋪設
53+
stopover=中途點 %1$s
54+
roundabout_enter=進入圓環
55+
roundabout_exit=於 %1$s 個出口離開圓環
56+
roundabout_exit_onto=於 %1$s 個出口離開圓環,進入 %2$s
57+
total_ascend=總共上昇 %1$s
58+
total_descend=總共下降 %1$s
59+
way_contains_ford=路徑中含有淺灘
60+
pt_start_trip=進入 %1$s
61+
pt_end_trip=離開 %1$s
62+
pt_transfer_to=變換至 %1$s
63+
web.start_label=出發點
64+
web.intermediate_label=途經點
65+
web.end_label=抵達點
66+
web.set_start=設為出發點
67+
web.set_intermediate=設為途經點
68+
web.set_end=設為抵達點
69+
web.center_map=設為地圖中心
70+
web.show_coords=顯示坐標
71+
web.route=路線
72+
web.delete_from_route=從路線中移除
73+
web.marker=標記
74+
web.gh_offline_info=GraphHopper API 離線狀態?
75+
web.refresh_button=刷新頁面
76+
web.server_status=狀態
77+
web.zoom_in=放大
78+
web.zoom_out=縮小
79+
web.drag_to_reorder=拖曳排序

0 commit comments

Comments
 (0)