Update zh_TW localization support
Change-Id: I87626c7e363f7c4e3a12f172d84b8d7b7e08a899
diff --git a/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/Action_zh_TW.properties b/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/Action_zh_TW.properties
index ed86135..8c27557 100644
--- a/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/Action_zh_TW.properties
+++ b/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/Action_zh_TW.properties
@@ -24,14 +24,14 @@
uninstall=移除
activate=啟動
deactivate=停用
-show=Show (zh_TW)
-hide=Hide (zh_TW)
-enable=Enable (zh_TW)
-disable=Disable (zh_TW)
-select=Select (zh_TW)
+show=顯示
+hide=隱藏
+enable=啟用
+disable=停用
+select=選擇
# Past Tense
-purged=purged (zh_TW)
-withdrawn=withdrawn (zh_TW)
-resubmitted=resubmitted (zh_TW)
-added=added (zh_TW)
+purged=已刪除
+withdrawn=已取消
+resubmitted=已重新提交
+added=已加入
diff --git a/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/Network_zh_TW.properties b/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/Network_zh_TW.properties
index 30fd81e..2ec8944 100644
--- a/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/Network_zh_TW.properties
+++ b/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/Network_zh_TW.properties
@@ -22,24 +22,24 @@
device=設備
host=主機
link=連結
-intent=Intent (zh_TW)
-tunnel=Tunnel (zh_TW)
-flow=Flow (zh_TW)
-port=Port (zh_TW)
+intent=Intent
+tunnel=通道
+flow=流
+port=連接埠
# --- Elements (Plural)
nodes=節點
topologies=拓撲
-topology_sccs=Topology SCCs (zh_TW)
+topology_sccs=Topology SCCs
networks=網路
regions=區域
devices=設備
hosts=主機
links=連結
-intents=Intents (zh_TW)
-tunnels=Tunnels (zh_TW)
-flows=Flows (zh_TW)
-ports=Ports (zh_TW)
+intents=Intents
+tunnels=通道
+flows=流
+ports=連接埠
# --- Element IDs
node_id=節點 ID
@@ -47,10 +47,10 @@
device_id=設備 ID
host_id=主機 ID
link_id=連結 ID
-intent_id=Intent ID (zh_TW)
-tunnel_id=Tunnel ID (zh_TW)
-flow_id=Flow ID (zh_TW)
-port_id=Port ID (zh_TW)
+intent_id=Intent ID
+tunnel_id=通道 ID
+flow_id=流 ID
+port_id=連接埠 ID
# --- Protocol terms
protocol=協定
@@ -60,4 +60,4 @@
mac=MAC
mac_address=MAC 地址
uri=URI
-vlan=VLAN (zh_TW)
+vlan=虛擬區域網路
diff --git a/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/Props_zh_TW.properties b/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/Props_zh_TW.properties
index 042bb1d..b6d7519 100644
--- a/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/Props_zh_TW.properties
+++ b/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/Props_zh_TW.properties
@@ -33,7 +33,7 @@
origin=來源
role=角色
-latitude=Latitude (zh_TW)
-longitude=Longitude (zh_TW)
-grid_y=Grid Y (zh_TW)
-grid_x=Grid X (zh_TW)
+latitude=緯度
+longitude=經度
+grid_y=網格 Y
+grid_x=網格 X
diff --git a/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/State_zh_TW.properties b/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/State_zh_TW.properties
index cbd117e..274bfed 100644
--- a/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/State_zh_TW.properties
+++ b/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/State_zh_TW.properties
@@ -23,12 +23,12 @@
last_updated=最近更新
last_modified=最近修改
-visible=Visible (zh_TW)
-hidden=Hidden (zh_TW)
+visible=可見的
+hidden=隱藏的
# VLAN id == NONE (-1)
-vlan_none=None (zh_TW)
+vlan_none=無
# lower case values, please
-expected=expected (zh_TW)
-not_expected=not expected (zh_TW)
+expected=可預期的
+not_expected=無法預期的
diff --git a/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/Ui_zh_TW.properties b/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/Ui_zh_TW.properties
index 758c388..fc0b420 100644
--- a/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/Ui_zh_TW.properties
+++ b/web/gui/src/main/resources/org/onosproject/ui/lion/core/common/Ui_zh_TW.properties
@@ -18,16 +18,16 @@
# Common button text
ok=確定
cancel=取消
-close=Close (zh_TW)
+close=關閉
# Gesture text
click=點擊
-click_row=click row
+click_row=點擊橫列
scroll_down=向下滾動
-shift_click=shift-click (zh_TW)
-drag=drag (zh_TW)
-cmd_scroll=cmd-scroll (zh_TW)
-cmd_drag=cmd-drag (zh_TW)
+shift_click=按下 Shift 並點擊
+drag=拖曳
+cmd_scroll=滾動命令
+cmd_drag=拖曳命令
# Common control button tooltips
tt_ctl_auto_refresh=啟用自動更新
diff --git a/web/gui/src/main/resources/org/onosproject/ui/lion/core/enums/DeviceEnums_zh_TW.properties b/web/gui/src/main/resources/org/onosproject/ui/lion/core/enums/DeviceEnums_zh_TW.properties
new file mode 100644
index 0000000..2124e03
--- /dev/null
+++ b/web/gui/src/main/resources/org/onosproject/ui/lion/core/enums/DeviceEnums_zh_TW.properties
@@ -0,0 +1,34 @@
+#
+# Copyright 2017-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# display names for Device.Type constants
+switch=交換器
+router=路由器
+roadm=可重置光塞取多工技術
+otn=光傳輸網路
+roadm_otn=roadm otn
+firewall=防火牆
+balancer=負載均衡器
+ips=入侵預防系統
+ids=入侵偵測系統
+controller=控制器
+virtual=虛擬
+fiber_switch=光交換器
+microwave=微波
+olt=光纖線路終端
+onu=光節點
+optical_amplifier=光學放大器
+other=其他
diff --git a/web/gui/src/main/resources/org/onosproject/ui/lion/core/enums/LinkEnums_zh_TW.properties b/web/gui/src/main/resources/org/onosproject/ui/lion/core/enums/LinkEnums_zh_TW.properties
new file mode 100644
index 0000000..60623fd
--- /dev/null
+++ b/web/gui/src/main/resources/org/onosproject/ui/lion/core/enums/LinkEnums_zh_TW.properties
@@ -0,0 +1,27 @@
+#
+# Copyright 2017-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# display names for Link.Type constants
+direct=直接連接的
+indirect=非直接連接的
+edge=邊際
+tunnel=通道
+optical=光學
+virtual=虛擬
+
+# display names for Link.State constants
+active=使用中的
+inactive=未使用中的
diff --git a/web/gui/src/main/resources/org/onosproject/ui/lion/core/view/App_zh_TW.properties b/web/gui/src/main/resources/org/onosproject/ui/lion/core/view/App_zh_TW.properties
new file mode 100644
index 0000000..abefa09
--- /dev/null
+++ b/web/gui/src/main/resources/org/onosproject/ui/lion/core/view/App_zh_TW.properties
@@ -0,0 +1,44 @@
+#
+# Copyright 2017-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
+# Text that appears in the navigation panel
+nav_item_app=應用程式
+
+# View title
+title_apps=應用程式
+
+# Control button tooltips
+tt_ctl_upload=上傳應用程式 (.oar 文件)
+tt_ctl_activate=啟動選定的應用程式
+tt_ctl_deactivate=停用選定的應用程式
+tt_ctl_uninstall=移除選定的應用程式
+
+# Quick-Help panel
+qh_hint_esc=取消選定的應用程式
+qh_hint_click_row=選取/取消選定的應用程式
+qh_hint_scroll_down=查看更多應用程式
+
+# App details panel
+dp_features=特性
+dp_required_apps=依賴的應用程式
+dp_permissions=權限
+
+# App dialog panel
+dlg_confirm_action=確認操作
+
+dlg_warn_deactivate=停用或移除這個元件可能造成負面的影響
+dlg_warn_own_risk=**自行承擔風險**
diff --git a/web/gui/src/main/resources/org/onosproject/ui/lion/core/view/Topo_zh_TW.properties b/web/gui/src/main/resources/org/onosproject/ui/lion/core/view/Topo_zh_TW.properties
new file mode 100644
index 0000000..2070108
--- /dev/null
+++ b/web/gui/src/main/resources/org/onosproject/ui/lion/core/view/Topo_zh_TW.properties
@@ -0,0 +1,142 @@
+#
+# Copyright 2017-present Open Networking Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+
+# Text that appears in the navigation panel
+nav_item_topo=拓墣
+
+# Message when no devices are connected
+no_devices_are_connected=沒有設備連接
+
+# Action Key Toolbar Tooltips ...
+tbtt_tog_instances=切換到 ONOS 實例面板
+tbtt_tog_summary=切換到 ONOS 總結面板
+tbtt_tog_use_detail=停用/啟用 詳細資料
+tbtt_tog_host=是否顯示主機
+tbtt_tog_offline=是否顯示離線主機/設備
+tbtt_tog_porthi=是否突顯連結埠
+tbtt_bad_links=顯示不良連結
+tbtt_tog_map=切換背景地理地圖
+tbtt_sel_map=選擇背景地理地圖
+tbtt_tog_sprite=Toggle sprite layer
+tbtt_reset_loc=重設節點位置
+tbtt_tog_oblique=切換至多層次視角 (實驗功能)
+tbtt_cyc_layers=循環節點圖層
+tbtt_cyc_dev_labs=循環設備標籤
+tbtt_cyc_host_labs=循環主機標籤
+tbtt_unpin_node=解除節點鎖定(將滑鼠掃過)
+tbtt_reset_zoom=重設縮放比例
+tbtt_tog_toolbar=切換工具欄
+tbtt_eq_master=平衡交換器控制權
+
+# Quick Help Gestures
+qh_gest_click=選擇一個項目並且顯示其詳細資訊
+qh_gest_shift_click=切換選擇的狀態
+qh_gest_drag=恢復設備/主機的位置
+qh_gest_cmd_scroll=拉近/拉遠
+qh_gest_cmd_drag=平移
+
+# Flash Messages
+fl_background_map=背景地圖
+fl_sprite_layer=sprite layer
+fl_pan_zoom_reset=重設縮放比例
+fl_eq_masters=平衡交換器控制權
+
+fl_device_labels_hide=隱藏設備的標籤
+fl_device_labels_show_friendly=顯示易讀的設備標籤
+fl_device_labels_show_id=顯示設備 ID 的標籤
+fl_host_labels_show_friendly=顯示易讀主機的標籤
+fl_host_labels_show_ip=顯示主機的 IP 位址
+fl_host_labels_show_mac=顯示主機的 MAC 位址
+
+fl_offline_devices=離線設備
+fl_bad_links=不良的連結
+fl_reset_node_locations=重設節點位置
+
+fl_layer_all=顯示所有圖層
+fl_layer_pkt=顯示封包圖層
+fl_layer_opt=顯示光傳輸圖層
+
+fl_panel_instances=實例面板
+fl_panel_summary=總結面板
+fl_panel_details=詳細資訊面板
+
+fl_oblique_view=多層次視角
+fl_normal_view=正常視角
+
+fl_monitoring_canceled=監控已取消
+fl_selecting_intent=正在選取 Intent
+
+# Core Overlays
+ov_tt_protected_intents=保護 Intents 的圖層
+ov_tt_traffic=流量圖層
+ov_tt_none=沒有圖層
+
+# Traffic Overlay
+tr_btn_create_h2h_flow=創造主機到主機間的流表規則
+tr_btn_create_msrc_flow=創造多重來源的流表規則
+tr_btn_show_device_flows=顯示設備的流表規則
+tr_btn_show_related_traffic=顯示相關流量
+tr_btn_cancel_monitoring=取消流量監控
+tr_btn_monitor_all=監控所有流量
+tr_btn_show_dev_link_flows=顯示設備上的連結劉表規則
+tr_btn_show_all_rel_intents=顯示所有相關的 Intents
+tr_btn_show_prev_rel_intent=顯示前一個相關的 Intent
+tr_btn_show_next_rel_intent=顯示下一個相關的 Intent
+tr_btn_monitor_sel_intent=監控選定 Intent 的流量
+tr_fl_fstats_bytes=流表狀態 (位元組)
+tr_fl_pstats_bits=連接埠狀態 (位元/秒)
+tr_fl_pstats_pkts=連接埠狀態 (封包/秒)
+tr_fl_dev_flows=設備的流表
+tr_fl_rel_paths=相關路徑
+tr_fl_prev_rel_int=前一個相關的 Intent
+tr_fl_next_rel_int=下一個相關的 Intent
+tr_fl_traf_on_path=選定路徑上的流量
+tr_fl_h2h_flow_added=主機到主機間的流表規則已加入
+tr_fl_multisrc_flow=多重來源的流表規則
+
+# Button tooltips
+btn_show_view_device=顯示設備觀點
+btn_show_view_flow=顯示當前設備的流表規則觀點
+btn_show_view_port=顯示當前設備的連接埠觀點
+btn_show_view_group=顯示當前設備的 Group 觀點
+btn_show_view_meter=顯示當前設備的 Meter 觀點
+
+# Panel Titles
+title_select_map=選取地圖
+title_panel_summary=ONOS 總結
+title_selected_items=選取的項目
+title_edge_link=設備到主機間的連結
+title_infra_link=設備到設備間的連結
+
+# Custom Panel Labels / Values
+lp_label_friendly=Friendly
+
+lp_label_a_type=A 種類
+lp_label_a_id=A ID
+lp_label_a_friendly=A friendly
+lp_label_a_port=A 連接埠
+
+lp_label_b_type=B 種類
+lp_label_b_id=B ID
+lp_label_b_friendly=B friendly
+lp_label_b_port=B 連接埠
+
+lp_label_a2b=A 到 B
+lp_label_b2a=B 到 A
+
+lp_value_no_link=[沒有連接]
+