UI-Lion: Adding some more localization files.

Change-Id: Iab7664bb4bb3128bb01c618e81c744b3db91b18b
This commit is contained in:
Simon Hunt 2017-06-21 18:46:34 -07:00
parent a11279b3c2
commit 17b4bcbcb9
35 changed files with 642 additions and 39 deletions

View File

@ -0,0 +1,20 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
bundle core.fw.Mast
from core.fw.Mast import *

View File

@ -0,0 +1,35 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
bundle core.fw.Nav
alias cv core.view
from core.fw.Nav import *
from cv.App import nav_item_app
from cv.Settings import nav_item_settings
from cv.Cluster import nav_item_cluster
from cv.Processor import nav_item_processor
from cv.Partition import nav_item_partition
from cv.Topo import nav_item_topo
from cv.Topo2 import nav_item_topo2
from cv.Device import nav_item_device
from cv.Link import nav_item_link
from cv.Host import nav_item_host
from cv.Intent import nav_item_intent
from cv.Tunnel import nav_item_tunnel

View File

@ -0,0 +1,20 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
bundle core.fw.QuickHelp
from core.fw.QuickHelp import *

View File

@ -0,0 +1,30 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
bundle core.view.App
alias cv core.view
alias cf core.fw
alias cc core.common
from cv.App import *
from cf.QuickHelp import qh_hint_close_detail
from cc.Props import icon, title, app_id, version, category, origin, state, role
from cc.Action import activate, deactivate, uninstall
from cc.Ui import click, scroll_down

View File

@ -18,9 +18,13 @@
bundle core.view.Cluster
alias cv core.view
alias cf core.fw
alias cc core.common
from cv.Cluster import *
from cf.QuickHelp import qh_hint_close_detail
from cc.Network import devices, node_id, ip_address, tcp_port, uri, protocol
from cc.Props import type, chassis_id, vendor, hw_version, sw_version, serial_number
from cc.State import total, active, started, last_updated

View File

@ -21,3 +21,5 @@ pause=Pause
resume=Resume
stop=Stop
uninstall=Uninstall
activate=Activate
deactivate=Deactivate

View File

@ -21,3 +21,5 @@ pause=Pausa
resume=Riprendi
stop=Ferma
uninstall=Disinstalla
#activate=
#deactivate=

View File

@ -21,3 +21,5 @@ pause=중지
resume=재개
stop=정지
uninstall=삭제
#activate=
#deactivate=

View File

@ -21,3 +21,5 @@ pause=暂停
resume=恢复
stop=停止
uninstall=卸载
#activate=
#deactivate=

View File

@ -15,11 +15,20 @@
#
#
type=Type
vendor=Vendor
chassis_id=Chassis ID
# Typically used as table column headers or property labels
chassis_id=Chassis ID
hw_version=H/W Version
sw_version=S/W Version
serial_number=Serial #
app_id=App ID
type=Type
vendor=Vendor
icon=Icon
title=Title
state=State
category=Category
version=Version
origin=Origin
role=Role

View File

@ -15,11 +15,20 @@
#
#
type=Categoria
vendor=Produttore
chassis_id=Chassis ID
# Typically used as table column headers or property labels
chassis_id=Chassis ID
hw_version=Versione Hardware
sw_version=Versione Software
serial_number=Numero Seriale
#app_id=
type=Categoria
vendor=Produttore
#icon=
#title=
#state=
#category=
#version=
#origin=
#role=

View File

@ -15,11 +15,20 @@
#
#
type=종류
vendor=벤더
chassis_id=Chassis ID
# Typically used as table column headers or property labels
chassis_id=Chassis ID
hw_version=하드웨어 버전
sw_version=소프트웨어 버전
serial_number=시리얼 번호
#app_id=
serial_number=시리얼 번호
type=종류
vendor=벤더
#icon=
#title=
#state=
#category=
#version=
#origin=
#role=

View File

@ -15,11 +15,20 @@
#
#
type=类型
vendor=供应商
chassis_id=框架 标识号
# Typically used as table column headers or property labels
chassis_id=框架 标识号
hw_version=硬件版本
sw_version=软件版本
serial_number=序列号
#app_id=
serial_number=序列号
type=类型
vendor=供应商
#icon=
#title=
#state=
#category=
#version=
#origin=
#role=

View File

@ -14,9 +14,14 @@
# limitations under the License.
#
#
# Common button text
ok=OK
cancel=Cancel
# --- key binding and user gesture descriptions
# Gesture text
click=click
scroll_down=scroll down
scroll_down=scroll down
# Common control button tooltips
tt_ctl_auto_refresh=Toggle auto refresh

View File

@ -14,9 +14,14 @@
# limitations under the License.
#
#
# Common button text
ok=OK
cancel=Annulla
# --- key binding and user gesture descriptions
# Gesture text
click=click
scroll_down=scorri verso il basso
scroll_down=scorri verso il basso
# Common control button tooltips
#tt_ctl_auto_refresh=

View File

@ -14,9 +14,14 @@
# limitations under the License.
#
#
# Common button text
ok=승인
cancel=취소
# --- key binding and user gesture descriptions
# Gesture text
click=클릭
scroll_down=아래로 스크롤
scroll_down=아래로 스크롤
# Common control button tooltips
#tt_ctl_auto_refresh=

View File

@ -14,9 +14,14 @@
# limitations under the License.
#
#
# Common button text
ok=确定
cancel=取消
# --- key binding and user gesture descriptions
# Gesture text
click=点击
scroll_down=向下滚动
scroll_down=向下滚动
# Common control button tooltips
#tt_ctl_auto_refresh=

View File

@ -0,0 +1,23 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
# Localization strings for Masthead
# Tooltip for context-sensitive help button [?]
tt_help=Show help page for current view
# Logout button
logout=Logout

View File

@ -0,0 +1,23 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
# Localization strings for Masthead
# Tooltip for context-sensitive help button [?]
#tt_help=
# Logout button
#logout=

View File

@ -0,0 +1,23 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
# Localization strings for Masthead
# Tooltip for context-sensitive help button [?]
#tt_help=
# Logout button
#logout=

View File

@ -0,0 +1,23 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
# Localization strings for Masthead
# Tooltip for context-sensitive help button [?]
#tt_help=
# Logout button
#logout=

View File

@ -0,0 +1,29 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
# Localization strings for Navigation Panel
# Category headers
cat_platform=Platform
cat_network=Network
cat_other=Other
# Note that contributed views will be adding their own localized titles
# for their nav item, with a property key "nav_item_{viewID}".
#
# E.g. in the Device view properties bundle there will be:
#
# nav_item_device=Devices

View File

@ -0,0 +1,29 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
# Localization strings for Navigation Panel
# Category headers
#cat_platform=
#cat_network=
#cat_other=
# Note that contributed views will be adding their own localized titles
# for their nav item, with a property key "nav_item_{viewID}".
#
# E.g. in the Device view properties bundle there will be:
#
# nav_item_device=Devices

View File

@ -0,0 +1,29 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
# Localization strings for Navigation Panel
# Category headers
#cat_platform=
#cat_network=
#cat_other=
# Note that contributed views will be adding their own localized titles
# for their nav item, with a property key "nav_item_{viewID}".
#
# E.g. in the Device view properties bundle there will be:
#
# nav_item_device=Devices

View File

@ -0,0 +1,29 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
# Localization strings for Navigation Panel
# Category headers
#cat_platform=
#cat_network=
#cat_other=
# Note that contributed views will be adding their own localized titles
# for their nav item, with a property key "nav_item_{viewID}".
#
# E.g. in the Device view properties bundle there will be:
#
# nav_item_device=Devices

View File

@ -0,0 +1,32 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
# Common text in the Quick Help panel
# Panel title
qh_title=Quick Help
# Hint for \ and / keys
qh_hint_show_hide_qh=Show / hide Quick Help
# Escape key hint
qh_hint_esc=Dismiss dialog or cancel selections
# T key hint : toggle the ui theme (between light / dark)
qh_hint_t=Toggle theme
# Common for a lot of views adding their own escape-key handler
qh_hint_close_detail=Close the details panel

View File

@ -0,0 +1,32 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
# Common text in the Quick Help panel
# Panel title
#qh_title=
# Hint for \ and / keys
#qh_hint_show_hide_qh=
# Escape key hint
#qh_hint_esc=
# T key hint : toggle the ui theme (between light / dark)
#qh_hint_t=
# Common for a lot of views adding their own escape-key handler
qh_hint_close_detail=Chiude il pannello dei dettagli

View File

@ -0,0 +1,32 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
# Common text in the Quick Help panel
# Panel title
#qh_title=
# Hint for \ and / keys
#qh_hint_show_hide_qh=
# Escape key hint
#qh_hint_esc=
# T key hint : toggle the ui theme (between light / dark)
#qh_hint_t=
# Common for a lot of views adding their own escape-key handler
qh_hint_close_detail=상세 패널 닫기

View File

@ -0,0 +1,32 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
# Common text in the Quick Help panel
# Panel title
#qh_title=
# Hint for \ and / keys
#qh_hint_show_hide_qh=
# Escape key hint
#qh_hint_esc=
# T key hint : toggle the ui theme (between light / dark)
#qh_hint_t=
# Common for a lot of views adding their own escape-key handler
qh_hint_close_detail=关闭详细信息面板

View File

@ -0,0 +1,70 @@
#
# Copyright 2017-present Open Networking Laboratory
#
# 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.
#
#
# =======================================================================
# | Plea to Translators: |
# | -------------------- |
# | I know you are all keen to add your own language localization |
# | bundles for these files as soon as they appear in Gerrit reviews, |
# | but please refrain from doing so immediately, until given the |
# | "green light"... |
# | |
# | The reason is, sometimes localization keys need to be renamed, or |
# | strings moved to other bundles, while we work out how to localize |
# | each UI component. If there are multiple files while a bundle is |
# | "in flux", it means modifications need to be done in 4-or-more |
# | places instead of just 1. |
# | |
# | I promise I will mark a bundle as "ready for translation" as |
# | soon as the localization work has been completed for the default |
# | bundle, and the "dust has settled". |
# | |
# | Thank you in advance for your patience and restraint :) |
# =======================================================================
# ==========================================
# | WIP -- Not Yet Ready For Translation |
# ==========================================
# Text that appears in the navigation panel
nav_item_app=Applications
# View title
title_apps=Applications
# Control button tooltips
tt_ctl_upload=Upload an application (.oar file)
tt_ctl_activate=Activate selected application
tt_ctl_deactivate=Deactivate selected application
tt_ctl_uninstall=Uninstall selected application
# Quick-Help panel
qh_hint_click=Select a row to show application details
qh_hint_scroll_down=See more applications
# App details panel
dp_features=Features
dp_required_apps=Required Apps
dp_permissions=Permissions
# App dialog panel
dlg_confirm_action=Confirm Action
dlg_warn_deactivate=Deactivating or uninstalling this component \
can have serious negative consequences!
dlg_warn_own_risk=** DO SO AT YOUR OWN RISK **

View File

@ -14,8 +14,14 @@
# limitations under the License.
#
#
# Cluster view specific text
# Text that appears in the navigation panel
nav_item_cluster=Cluster Nodes
# View title
title_cluster_nodes=Cluster Nodes
k_esc_hint=Close the details panel
k_click_hint=Select a row to show cluster node details
k_scroll_down_hint=See available cluster nodes
# Quick-Help panel
qh_hint_click=Select a row to show cluster node details
qh_hint_scroll_down=See available cluster nodes

View File

@ -14,8 +14,14 @@
# limitations under the License.
#
#
# Cluster view specific text
# Text that appears in the navigation panel
nav_item_cluster=Nodi del Cluster
# View title
title_cluster_nodes=Nodi del Cluster
k_esc_hint=Chiude il pannello dei dettagli
k_click_hint=Seleziona una riga per mostrare i dettagli del nodo
k_scroll_down_hint=Mostra i nodi del cluster disponibili
# Quick-Help panel
qh_hint_click=Seleziona una riga per mostrare i dettagli del nodo
qh_hint_scroll_down=Mostra i nodi del cluster disponibili

View File

@ -14,8 +14,14 @@
# limitations under the License.
#
#
# Cluster view specific text
# Text that appears in the navigation panel
nav_item_cluster=클러스터 노드
# View title
title_cluster_nodes=클러스터 노드
k_esc_hint=상세 패널 닫기
k_click_hint=행을 선택하여 클러스터 노드 세부 정보 표시
k_scroll_down_hint=가용한 클러스터 노드 보기
# Quick-Help panel
qh_hint_click=행을 선택하여 클러스터 노드 세부 정보 표시
qh_hint_scroll_down=가용한 클러스터 노드 보기

View File

@ -14,8 +14,14 @@
# limitations under the License.
#
#
# Cluster view specific text
# Text that appears in the navigation panel
nav_item_cluster=集群节点
# View title
title_cluster_nodes=集群节点
k_esc_hint=关闭详细信息面板
k_click_hint=选择一行以显示集群节点详细信息
k_scroll_down_hint=查看可用的集群节点
# Quick-Help panel
qh_hint_click=选择一行以显示集群节点详细信息
qh_hint_scroll_down=查看可用的集群节点

View File

@ -278,12 +278,12 @@
}
// create key bindings to handle panel
ks.keyBindings({
esc: [handleEscape, lion('k_esc_hint')],
esc: [handleEscape, lion('qh_hint_close_detail')],
_helpFormat: ['esc']
});
ks.gestureNotes([
[lion('click'), lion('k_click_hint')],
[lion('scroll_down'), lion('k_scroll_down_hint')]
[lion('click'), lion('qh_hint_click')],
[lion('scroll_down'), lion('qh_hint_scroll_down')]
]);
// if the panelData changes
scope.$watch('panelData', function () {