From 71e256dd73e405a9f5f9e419c82e9f9ec6696789 Mon Sep 17 00:00:00 2001 From: "Redhuan D. Oon" Date: Mon, 11 Feb 2008 13:35:18 +0000 Subject: [PATCH] correct Malaysian ISO8859-15 naming is ms_MY based on http://www-306.ibm.com/software/globalization/eserver/pseries_locales.jsp#malay --- .../src/org/compiere/apps/ALoginRes_ms.java | 74 +++++++++++++++++++ looks/src/org/compiere/util/Language.java | 4 +- 2 files changed, 76 insertions(+), 2 deletions(-) create mode 100644 client/src/org/compiere/apps/ALoginRes_ms.java diff --git a/client/src/org/compiere/apps/ALoginRes_ms.java b/client/src/org/compiere/apps/ALoginRes_ms.java new file mode 100644 index 0000000000..91dc7bca6d --- /dev/null +++ b/client/src/org/compiere/apps/ALoginRes_ms.java @@ -0,0 +1,74 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program; if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +package org.compiere.apps; + +import java.util.*; + +/** + * Base Resource Bundle + * + * @author Jorg Janke + * @version $Id: ALoginRes_ml.java,v 1.2 2006/07/30 00:51:27 jjanke Exp $ + */ +public final class ALoginRes_ms extends ListResourceBundle +{ + /** Translation Content */ + static final Object[][] contents = new String[][] + { + { "Connection", "Sambungan" }, + { "Defaults", "Sedia-ada" }, + { "Login", "Laluan Masuk" }, + { "File", "Fail" }, + { "Exit", "Keluar" }, + { "Help", "Bantuan" }, + { "About", "Maklumat" }, + { "Host", "Host" }, + { "Database", "Pengkalan Data" }, + { "User", "Pengguna" }, + { "EnterUser", "Masuk Pengguna" }, + { "Password", "Kata Laluan" }, + { "EnterPassword", "Masuk Kata Laluan" }, + { "Language", "Bahasa" }, + { "SelectLanguage", "Pilih Bahasa Anda" }, + { "Role", "Peranan" }, + { "Client", "Klien" }, + { "Organization", "Organisasi" }, + { "Date", "Tarikh" }, + { "Warehouse", "Tempat Simpanan" }, + { "Printer", "Pencetak" }, + { "Connected", "Dapat dihubungi" }, + { "NotConnected", "Tidak dapat dihubungi" }, + { "DatabaseNotFound", "Pangkalan Data tidak terjumpa" }, + { "UserPwdError", "Kata laluan tidak tepat" }, + { "RoleNotFound", "Peranan tidak terjumpa/lengkap" }, + { "Authorized", "Mendapat Kelulusan" }, + { "Ok", "Ok" }, + { "Cancel", "Batal" }, + { "VersionConflict", "Versi Bercanggah:" }, + { "VersionInfo", "Pelayan <> Pengguna" }, + { "PleaseUpgrade", "Sila gunakan program upgrade" } + }; + + /** + * Get Contents + * @return context + */ + public Object[][] getContents() + { + return contents; + } // getContents +} // ALoginRes diff --git a/looks/src/org/compiere/util/Language.java b/looks/src/org/compiere/util/Language.java index df4031aba8..a1888d029b 100644 --- a/looks/src/org/compiere/util/Language.java +++ b/looks/src/org/compiere/util/Language.java @@ -62,7 +62,7 @@ public class Language implements Serializable private static final String AD_Language_vi_VN = "vi_VN"; private static final String AD_Language_zh_CN = "zh_CN"; private static final String AD_Language_da_DK = "da_DK"; - private static final String AD_Language_ml_ML = "ml_ML"; + private static final String AD_Language_ms_MY = "ml_ML"; private static final String AD_Language_fa_IR = "fa_IR"; private static final String AD_Language_fi_FI = "fi_FI"; private static final String AD_Language_ro_RO = "ro_RO"; @@ -127,7 +127,7 @@ public class Language implements Serializable AD_Language_ja_JP, Locale.JAPAN, null, null, MediaSize.ISO.A4), new Language ("Malay", - AD_Language_ml_ML, new Locale("ml","ML"), new Boolean(false), "dd-MM-yyyy", + AD_Language_ms_MY, new Locale("ms","MY"), new Boolean(false), "dd-MM-yyyy", MediaSize.ISO.A4), new Language ("Nederlands", AD_Language_nl_NL, new Locale("nl","NL"), new Boolean(false), "dd-MM-yyyy",