2362N/A * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 0N/A * published by the Free Software Foundation. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 0N/A * @bug 4640234 4946057 4938151 4873691 5023181 0N/A * @summary Verifies the translation of time zone names, this test will catch presence 0N/A * of country name for english and selected locales for all ISO country 0N/A * The test program also displays which timezone, country and language names 0N/A * are not translated 0N/A * 4946057 Localization for ISO country & language data. 0N/A * 4938151 Time zones not translated 0N/A * 4873691 Changes in TimeZone mapping 0N/A // Define supported locales 0N/A "ERROR: {0} country name for country code: {1} not found!\n",
0N/A "WARNING: {0} country name for country code: {1} not localized!\n" 0N/A "ERROR: {0} language name for language code: {1} not found!\n",
0N/A "WARNING: {0} language name for language code: {1} not localized!\n");
0N/A * Compares the english timezone name and timezone name in specified locale 0N/A * @param timeZoneName - name of the timezone to compare 0N/A * @param locale - locale to test against english 0N/A * @return empty string when passed, descriptive error message in other cases 0N/A * Verifies whether the name for ISOCode is localized. 0N/A * @param locale - locale to test against english 0N/A * @param notFoundMessage - message in form ready for MessageFormat, {0} will be human readable 0N/A * language name, {1} will be ISOCode. 0N/A * @param notLocalizedMessage - message in for ready for MessageFormat, same formatting like 0N/A * for notFountMessage 0N/A * @return array of two empty strings when passed, descriptive error message in 0N/A * other cases, [0] - warnings for not localized, [1] - errors for missing keys. 0N/A // We should not get here but test is a MUST have