From abac6d0953ec8b69d07b7198d4d42bb326eb9933 Mon Sep 17 00:00:00 2001 From: gabrielke Date: Wed, 1 Oct 2008 16:58:49 +0000 Subject: [PATCH] Hungarian localization --- base/src/org/compiere/db/DBRes_hu.java | 65 +++++++++ base/src/org/compiere/util/AmtInWords_HU.java | 122 ++++++++++++++++ .../src/org/compiere/apps/ALoginRes_hu.java | 79 +++++++++++ .../src/org/compiere/install/SetupRes_hu.java | 119 ++++++++++++++++ looks/src/org/compiere/plaf/PlafRes_hu.java | 133 ++++++++++++++++++ looks/src/org/compiere/util/IniRes_hu.java | 48 +++++++ looks/src/org/compiere/util/Language.java | 9 +- 7 files changed, 574 insertions(+), 1 deletion(-) create mode 100644 base/src/org/compiere/db/DBRes_hu.java create mode 100644 base/src/org/compiere/util/AmtInWords_HU.java create mode 100644 client/src/org/compiere/apps/ALoginRes_hu.java create mode 100644 install/src/org/compiere/install/SetupRes_hu.java create mode 100644 looks/src/org/compiere/plaf/PlafRes_hu.java create mode 100644 looks/src/org/compiere/util/IniRes_hu.java diff --git a/base/src/org/compiere/db/DBRes_hu.java b/base/src/org/compiere/db/DBRes_hu.java new file mode 100644 index 0000000000..b4cc2d4e91 --- /dev/null +++ b/base/src/org/compiere/db/DBRes_hu.java @@ -0,0 +1,65 @@ +/****************************************************************************** + * 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.db; + +import java.util.*; + +/** + * Connection Resource Strings + * + * @author Jorg Janke + * @version $Id: DBRes.java,v 1.2 2006/07/30 00:55:13 jjanke Exp $ + */ +public class DBRes_hu extends ListResourceBundle +{ + /** Data */ + static final Object[][] contents = new String[][]{ + { "CConnectionDialog", "Adempiere szerver kapcsolat" }, + { "Name", "Név" }, + { "AppsHost", "Alkalmazás szerver" }, + { "AppsPort", "Alkalmazás port" }, + { "TestApps", "Teszt alkalmazás szerver" }, + { "DBHost", "Adatbázis szerver" }, + { "DBPort", "Adatbázis port" }, + { "DBName", "Adatbázis név" }, + { "DBUidPwd", "Felhasználó / Jelszó" }, + { "ViaFirewall", "Firewallon keresztül" }, + { "FWHost", "Firewall cím" }, + { "FWPort", "Firewall port" }, + { "TestConnection", "Test Adatbázis" }, + { "Type", "Adatbázis típus" }, + { "BequeathConnection", "Kapcsolat hagyományozása" }, + { "Overwrite", "Felülír" }, + { "ConnectionProfile", "Kapcsolat profil" }, + { "LAN", "LAN" }, + { "TerminalServer", "Terminál szerver" }, + { "VPN", "VPN" }, + { "WAN", "WAN" }, + { "ConnectionError", "Kapcsolat hiba" }, + { "ServerNotActive", "Szerver nem aktív" } + }; + + /** + * Get Contsnts + * @return contents + */ + public Object[][] getContents() + { + return contents; + } // getContent +} // Res + diff --git a/base/src/org/compiere/util/AmtInWords_HU.java b/base/src/org/compiere/util/AmtInWords_HU.java new file mode 100644 index 0000000000..69b9917dcf --- /dev/null +++ b/base/src/org/compiere/util/AmtInWords_HU.java @@ -0,0 +1,122 @@ +package org.compiere.util; + +import java.math.BigInteger; +import java.util.ArrayList; +import java.util.Collections; +import java.util.List; + +import org.compiere.util.AmtInWords; + +public class AmtInWords_HU implements AmtInWords { + + static String thousandseparator=","; + static String wholeseparator="."; + public String getAmtInWords(String amount) throws Exception { + assert(amount!=null); + amount = amount.replaceAll(" ", "").replaceAll("\u00A0", ""); + amount = amount.replaceAll("\\"+thousandseparator, ""); + + int pos = amount.lastIndexOf(wholeseparator); + String amountWhole; + String cents=null; + if(pos>=0) + { + amountWhole=amount.substring(0,pos); + cents=amount.substring(pos+1); + } + else + { + amountWhole=amount; + } + + BigInteger num = new BigInteger(amountWhole); + StringBuilder ret=new StringBuilder(); + if(num.compareTo(BigInteger.valueOf(0))<0) + { + num=num.negate(); + ret.append("mínusz "); + } + boolean needDivisor=true; + if(num.compareTo(BigInteger.valueOf(2000))<0) + { + needDivisor=false; + } + List pieces=new ArrayList(); + if(BigInteger.valueOf(0).equals(num)) + { + return numbers[0]; + } + while(num.compareTo(BigInteger.valueOf(0))>0) + { + BigInteger[] divAndMod=num.divideAndRemainder(BigInteger.valueOf(1000)); + int mod=divAndMod[1].intValue(); + num=divAndMod[0]; + pieces.add(mod); + } + Collections.reverse(pieces); + boolean firstPiece=true; + for(int i=0;iweight) + { + ret.append(majorNames[weight]); + }else + { + throw new NumberFormatException("number too big for converting amount to word"+amount); + } + } + } + if (cents!=null) { + ret.append(" egész "); + ret.append(getAmtInWords(cents)); + ret.append(" század"); + } + + return ret.toString(); + } + + String[] numbers = new String[] { "nulla", "egy", "kettő", "három", "négy", + "öt", "hat", "hét", "nyolc", "kilenc" }; + String[] tens_solo = new String[] { null, "tíz", "húsz", "harminc", "negyven", + "ötven", "hatvan", "hetven", "nyolcvan", "kilencven" }; + String[] tens_connected = new String[] { null, "tizen", "huszon", + "harminc", "negyven", "ötven", "hatvan", "hetven", "nyolcvan", + "kilencven" }; + String[] majorNames = { "", "ezer", "millió", "billió", "trillió", + "kvadrillió", "kvintillió" }; + + public String getAmtInWordsTo1000(int amount) { + StringBuilder ret = new StringBuilder(); + int hundred = amount / 100; + int ten = (amount - (amount / 100)*100) / 10; + int one = (amount - (amount / 10)*10); + if (hundred != 0) { + if(hundred!=0) + { + ret.append(numbers[hundred]); + } + ret.append("száz"); + } + if (ten != 0) { + if (one != 0) { + ret.append(tens_connected[ten]); + } else { + ret.append(tens_solo[ten]); + } + } + if (one != 0||(hundred==0&&ten==0)) { + ret.append(numbers[one]); + } + return ret.toString(); + } + +} diff --git a/client/src/org/compiere/apps/ALoginRes_hu.java b/client/src/org/compiere/apps/ALoginRes_hu.java new file mode 100644 index 0000000000..ae0c7dbdc5 --- /dev/null +++ b/client/src/org/compiere/apps/ALoginRes_hu.java @@ -0,0 +1,79 @@ +/****************************************************************************** + * 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. + * If you translate it, make sure that you convert the file to ASCII via + * native2ascii + * http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/native2ascii.html + * The non ASCII characters need to be converted to unicode - e.g. \u00ab + * This makes it less readable in the source, but viewable for everyone + * + * @author Jorg Janke + * @version $Id: ALoginRes.java,v 1.2 2006/07/30 00:51:27 jjanke Exp $ + */ +public final class ALoginRes_hu extends ListResourceBundle +{ + /** Translation Content */ + static final Object[][] contents = new String[][] + { + { "Connection", "Kapcsolat" }, + { "Defaults", "Alapértelmezés" }, + { "Login", "Adempiere Belépés" }, + { "File", "Fájl" }, + { "Exit", "Kilépés" }, + { "Help", "Súgó" }, + { "About", "Névjegy" }, + { "Host", "Szerver" }, + { "Database", "Adatbázis" }, + { "User", "Felhasználó ID" }, + { "EnterUser", "Írja be a felhasználó ID-t" }, + { "Password", "Jelszó" }, + { "EnterPassword", "Írja be a jelszavát" }, + { "Language", "Nyelv" }, + { "SelectLanguage", "Válasszon nyelvet" }, + { "Role", "Szerep" }, + { "Client", "Vállalat" }, + { "Organization", "Szervezet" }, + { "Date", "Dátum" }, + { "Warehouse", "Raktár" }, + { "Printer", "Nyomtató" }, + { "Connected", "Csatlakoztatva" }, + { "NotConnected", "Nincs csatlakoztatva" }, + { "DatabaseNotFound", "Az adatbázis nem található" }, + { "UserPwdError", "A felhasználó vagy jelszó hibás" }, + { "RoleNotFound", "Role not found/complete" }, + { "Authorized", "Jogosultság ellenőrizve" }, + { "Ok", "Ok" }, + { "Cancel", "Mégsem" }, + { "VersionConflict", "Verzió ütközés:" }, + { "VersionInfo", "Szerver <> Kliens" }, + { "PleaseUpgrade", "Töltse le a program új verzióját a szerverről" } + }; + + /** + * Get Contents + * @return context + */ + public Object[][] getContents() + { + return contents; + } // getContents +} // ALoginRes diff --git a/install/src/org/compiere/install/SetupRes_hu.java b/install/src/org/compiere/install/SetupRes_hu.java new file mode 100644 index 0000000000..f705281211 --- /dev/null +++ b/install/src/org/compiere/install/SetupRes_hu.java @@ -0,0 +1,119 @@ +/****************************************************************************** + * 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.install; + +import java.util.*; + +/** + * Setup Resources + * + * @author Jorg Janke + * @version $Id: SetupRes.java,v 1.3 2006/07/30 00:57:42 jjanke Exp $ + */ +public class SetupRes_hu extends ListResourceBundle +{ + /** Translation Info */ + static final Object[][] contents = new String[][]{ + { "AdempiereServerSetup", "Adempiere Szerver Beállítása" }, + { "Ok", "Ok" }, + { "File", "Fájl" }, + { "Exit", "Kilépés" }, + { "Help", "Súgó" }, + { "PleaseCheck", "Kérem ellenőrizze" }, + { "UnableToConnect", "Nem sikerült elérni a súgót az Adempiere web oldalán" }, + // + { "AdempiereHomeInfo", "Adempiere Home is the main Folder" }, + { "AdempiereHome", "Adempiere Home" }, + { "WebPortInfo", "Web (HTML) Port" }, + { "WebPort", "Web Port" }, + { "AppsServerInfo", "Application Server Name" }, + { "AppsServer", "Application Server" }, + { "DatabaseTypeInfo", "Database Type" }, + { "DatabaseType", "Database Type" }, + { "DatabaseNameInfo", "Database (Service) Name" }, + { "DatabaseName", "Database Name" }, + { "DatabasePortInfo", "Database Listener Port" }, + { "DatabasePort", "Database Port" }, + { "DatabaseUserInfo", "Database Adempiere User ID" }, + { "DatabaseUser", "Database User" }, + { "DatabasePasswordInfo", "Database Adempiere User Password" }, + { "DatabasePassword", "Database Password" }, + { "TNSNameInfo", "Discovered Databases" }, + { "TNSName", "Database Search" }, + { "SystemPasswordInfo", "Database System User Password" }, + { "SystemPassword", "System Password" }, + { "MailServerInfo", "Mail Server" }, + { "MailServer", "Mail Server" }, + { "AdminEMailInfo", "Adempiere Administrator EMail" }, + { "AdminEMail", "Admin EMail" }, + { "DatabaseServerInfo", "Database Server Name" }, + { "DatabaseServer", "Database Server" }, + { "JavaHomeInfo", "Java Home Folder" }, + { "JavaHome", "Java Home" }, + { "JNPPortInfo", "Application Server JNP Port" }, + { "JNPPort", "JNP Port" }, + { "MailUserInfo", "Adempiere Mail User" }, + { "MailUser", "Mail User" }, + { "MailPasswordInfo", "Adempiere Mail User Password" }, + { "MailPassword", "Mail Password" }, + { "KeyStorePassword", "KeyStore Password" }, + { "KeyStorePasswordInfo", "Password for SSL Key Store" }, + // + { "JavaType", "Java VM"}, + { "JavaTypeInfo", "Java VM Vendor"}, + { "AppsType", "Server Type"}, + { "AppsTypeInfo", "J2EE Application Server Type"}, + { "DeployDir", "Deployment"}, + { "DeployDirInfo", "J2EE Deployment Directory"}, + { "ErrorDeployDir", "Error Deployment Directory"}, + // + { "TestInfo", "Test the Setup" }, + { "Test", "Test" }, + { "SaveInfo", "Save the Setup" }, + { "Save", "Save" }, + { "HelpInfo", "Get Help" }, + // + { "ServerError", "Server Setup Error" }, + { "ErrorJavaHome", "Error Java Home" }, + { "ErrorAdempiereHome", "Error Adempiere Home" }, + { "ErrorAppsServer", "Error Apps Server (do not use localhost)" }, + { "ErrorWebPort", "Error Web Port" }, + { "ErrorJNPPort", "Error JNP Port" }, + { "ErrorDatabaseServer", "Error Database Server (do not use localhost)" }, + { "ErrorDatabasePort", "Error Database Port" }, + { "ErrorJDBC", "Error JDBC Connection" }, + { "ErrorTNS", "Error TNS Connection" }, + { "ErrorMailServer", "Error Mail Server (do not use localhost)" }, + { "ErrorMail", "Error Mail" }, + { "ErrorSave", "Error Saving File" }, + + { "EnvironmentSaved", "Environment file saved .... starting Deployment\n" + + "You can re-start the Application Server after program completes.\n" + + "Please check Trace for errors.\n" } + + }; + + /** + * Get Content + * @return content array + */ + public Object[][] getContents() + { + return contents; + } // getContents + +} // SetupRes diff --git a/looks/src/org/compiere/plaf/PlafRes_hu.java b/looks/src/org/compiere/plaf/PlafRes_hu.java new file mode 100644 index 0000000000..116583ed85 --- /dev/null +++ b/looks/src/org/compiere/plaf/PlafRes_hu.java @@ -0,0 +1,133 @@ +/****************************************************************************** + * 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.plaf; + +import java.util.ListResourceBundle; + +/** + * Translation Texts for Look & Feel + * + * @author Jorg Janke + * @version $Id: PlafRes.java,v 1.2 2006/07/30 00:52:24 jjanke Exp $ + */ +public class PlafRes_hu extends ListResourceBundle +{ + /** The data */ + static final Object[][] contents = new String[][] + { + { "BackColType", "Háttérszín típus" }, + { "BackColType_Flat", "Sima" }, + { "BackColType_Gradient", "Gradiens" }, + { "BackColType_Lines", "Vonalas" }, + { "BackColType_Texture", "Textúrázott" }, + // + { "LookAndFeelEditor", "Look & Feel Editor" }, + { "LookAndFeel", "Look & Feel" }, + { "Theme", "Theme" }, + { "EditAdempiereTheme", "Edit Adempiere Theme" }, + { "SetDefault", "Default Background" }, + { "SetDefaultColor", "Background Color" }, + { "ColorBlind", "Color Deficiency" }, + { "Example", "Example" }, + { "Reset", "Reset" }, + { "OK", "OK" }, + { "Cancel", "Cancel" }, + // + { "AdempiereThemeEditor", "Adempiere Theme Editor" }, + { "MetalColors", "Metal Colors" }, + { "AdempiereColors", "Adempiere Colors" }, + { "AdempiereFonts", "Adempiere Fonts" }, + { "Primary1Info", "Shadow, Separator" }, + { "Primary1", "Primary 1" }, + { "Primary2Info", "Focus Line, Selected Menu" }, + { "Primary2", "Primary 2" }, + { "Primary3Info", "Table Selected Row, Selected Text, ToolTip Background" }, + { "Primary3", "Primary 3" }, + { "Secondary1Info", "Border Lines" }, + { "Secondary1", "Secondary 1" }, + { "Secondary2Info", "Inactive Tabs, Pressed Fields, Inactive Border + Text" }, + { "Secondary2", "Secondary 2" }, + { "Secondary3Info", "Background" }, + { "Secondary3", "Secondary 3" }, + // + { "ControlFontInfo", "Control Font" }, + { "ControlFont", "Label Font" }, + { "SystemFontInfo", "Tool Tip, Tree nodes" }, + { "SystemFont", "System Font" }, + { "UserFontInfo", "User Entered Data" }, + { "UserFont", "Field Font" }, +// { "SmallFontInfo", "Reports" }, + { "SmallFont", "Small Font" }, + { "WindowTitleFont", "Title Font" }, + { "MenuFont", "Menu Font" }, + // + { "MandatoryInfo", "Mandatory Field Background" }, + { "Mandatory", "Mandatory" }, + { "ErrorInfo", "Error Field Background" }, + { "Error", "Error" }, + { "InfoInfo", "Info Field Background" }, + { "Info", "Info" }, + { "WhiteInfo", "Lines" }, + { "White", "White" }, + { "BlackInfo", "Lines, Text" }, + { "Black", "Black" }, + { "InactiveInfo", "Inactive Field Background" }, + { "Inactive", "Inactive" }, + { "TextOKInfo", "OK Text Foreground" }, + { "TextOK", "Text - OK" }, + { "TextIssueInfo", "Error Text Foreground" }, + { "TextIssue", "Text - Error" }, + // + { "FontChooser", "Font Chooser" }, + { "Fonts", "Fonts" }, + { "Plain", "Plain" }, + { "Italic", "Italic" }, + { "Bold", "Bold" }, + { "BoldItalic", "Bold & Italic" }, + { "Name", "Name" }, + { "Size", "Size" }, + { "Style", "Style" }, + { "TestString", "This is just a Test! The quick brown Fox is doing something. 12,3456.78 LetterLOne = l1 LetterOZero = O0" }, + { "FontString", "Font" }, + // + { "AdempiereColorEditor", "Adempiere Color Editor" }, + { "AdempiereType", "Color Type" }, + { "GradientUpperColor", "Gradient Upper Color" }, + { "GradientLowerColor", "Gradient Lower Color" }, + { "GradientStart", "Gradient Start" }, + { "GradientDistance", "Gradient Distance" }, + { "TextureURL", "Texture URL" }, + { "TextureAlpha", "Texture Alpha" }, + { "TextureTaintColor", "Texture Taint Color" }, + { "LineColor", "Line Color" }, + { "LineBackColor", "Background Color" }, + { "LineWidth", "Line Width" }, + { "LineDistance", "Line Distance" }, + { "FlatColor", "Flat Color" }, + { "UITheme", "User Interface Theme" }, + { "Preview", "Preview" } + }; + + /** + * Get Contents + * @return contents + */ + public Object[][] getContents() + { + return contents; + } +} // Res diff --git a/looks/src/org/compiere/util/IniRes_hu.java b/looks/src/org/compiere/util/IniRes_hu.java new file mode 100644 index 0000000000..5f0c33ce5f --- /dev/null +++ b/looks/src/org/compiere/util/IniRes_hu.java @@ -0,0 +1,48 @@ +/****************************************************************************** + * 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.util; + +import java.util.ListResourceBundle; + +/** + * License Dialog Translation + * + * @author Jorg Janke + * @version $Id: IniRes.java,v 1.2 2006/07/30 00:52:23 jjanke Exp $ + */ +public class IniRes_hu extends ListResourceBundle +{ + /** Translation Content */ + static final Object[][] contents = new String[][] + { + { "Adempiere_License", "Licensz szerződés" }, + { "Do_you_accept", "Elfogadja a licensz feltételeit?" }, + { "No", "Nem" }, + { "Yes_I_Understand", "Igen, Megértettem és Elfogadom" }, + { "license_htm", "org/adempiere/license.htm" }, + { "License_rejected", "Licensz elutasítva, vagy lejárt" } + }; + + /** + * Get Content + * @return Content + */ + public Object[][] getContents() + { + return contents; + } // getContent +} // IniRes diff --git a/looks/src/org/compiere/util/Language.java b/looks/src/org/compiere/util/Language.java index c3eb82f256..37586ed10e 100644 --- a/looks/src/org/compiere/util/Language.java +++ b/looks/src/org/compiere/util/Language.java @@ -31,6 +31,9 @@ import javax.print.attribute.standard.*; */ public class Language implements Serializable { + /** + * + */ /************************************************************************** * Languages * http://www.ics.uci.edu/pub/ietf/http/related/iso639.txt @@ -72,7 +75,8 @@ public class Language implements Serializable private static final String AD_Language_ja_JP = "ja_JP"; private static final String AD_Language_in_ID = "in_ID"; private static final String AD_Language_ar_TN = "ar_TN"; - + private static final String AD_Language_hu_HU = "hu_HU"; + /*** * System Languages. * If you want to add a language, extend the array @@ -147,6 +151,9 @@ public class Language implements Serializable new Language ("Malay", AD_Language_ms_MY, new Locale("ms","MY"), new Boolean(false), "dd-MM-yyyy", MediaSize.ISO.A4), + new Language ("Magyar (HU)", + AD_Language_hu_HU, new Locale("hu","HU"), new Boolean(false), "yyyy.MM.dd", + MediaSize.ISO.A4), new Language ("Nederlands", AD_Language_nl_NL, new Locale("nl","NL"), new Boolean(false), "dd-MM-yyyy", MediaSize.ISO.A4),