Add zh_CN test file for Lion localization

Change-Id: I3a17bb856d3b436fd2a65d7597a1e2c43d03d23a
This commit is contained in:
Frank Wang 2017-06-15 09:48:39 +08:00
parent e1558e8a74
commit 9986c0714a
2 changed files with 27 additions and 0 deletions

View File

@ -238,4 +238,11 @@ public class LionUtilsTest extends AbstractUiTest {
checkLookups("컴퓨터", "디스크", "모니터", "키보드");
}
@Test
@Ignore("Not chinese friendly, yet...")
public void messagesInZhCN() {
title("messagesInZhCN");
Locale.setDefault(Locale.SIMPLIFIED_CHINESE);
checkLookups("电脑", "磁盘", "屏幕", "键盘");
}
}

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.
#
#
computer=电脑
disk=磁盘
monitor=屏幕
keyboard=键盘