From 86c9ea9151d1996128f6b0df9ffc13879ed65663 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 3 Apr 2012 00:29:17 +0000 Subject: [PATCH] 2012-04-03 02:28 UTC+0200 Viktor Szakats (harbour syenar.net) * src/lang/Makefile + src/lang/msghuutf.c + added Hungarian language module in unicode (UTF-8 encoding). --- harbour/ChangeLog | 5 + harbour/src/lang/Makefile | 1 + harbour/src/lang/msghuutf.c | 204 ++++++++++++++++++++++++++++++++++++ 3 files changed, 210 insertions(+) create mode 100644 harbour/src/lang/msghuutf.c diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 9ce9aaa3db..2a5a8906ff 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,11 @@ The license applies to all entries newer than 2009-04-28. */ +2012-04-03 02:28 UTC+0200 Viktor Szakats (harbour syenar.net) + * src/lang/Makefile + + src/lang/msghuutf.c + + added Hungarian language module in unicode (UTF-8 encoding). + 2012-04-03 00:01 UTC+0200 Viktor Szakats (harbour syenar.net) * package/harb_win.rc * package/harb_win.mft diff --git a/harbour/src/lang/Makefile b/harbour/src/lang/Makefile index af2d5cec6c..b3d7626780 100644 --- a/harbour/src/lang/Makefile +++ b/harbour/src/lang/Makefile @@ -35,6 +35,7 @@ C_SOURCES := \ msghu852.c \ msghucwi.c \ msghuiso.c \ + msghuutf.c \ msghuwin.c \ msgid.c \ msgis850.c \ diff --git a/harbour/src/lang/msghuutf.c b/harbour/src/lang/msghuutf.c new file mode 100644 index 0000000000..daf881487a --- /dev/null +++ b/harbour/src/lang/msghuutf.c @@ -0,0 +1,204 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * Language Support Module (HUUTF) + * + * Copyright 2012 Viktor Szakats (harbour syenar.net) + * www - http://harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * 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 software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ + +/* Language name: Hungarian */ +/* ISO language code (2 chars): HU */ +/* Codepage: UTF-8 */ + +#include "hbapilng.h" + +static HB_LANG s_lang = +{ + { + /* Identification */ + + "HUUTF", /* ID */ + "Hungarian", /* Name (in English) */ + "Magyar", /* Name (in native language) */ + "HU", /* RFC ID */ + "UTF-8", /* Codepage */ + "", /* Version */ + + /* Month names */ + + "január", + "február", + "március", + "április", + "május", + "június", + "július", + "augusztus", + "szeptember", + "október", + "november", + "december", + + /* Day names */ + + "vasárnap", + "hétfo", + "kedd", + "szerda", + "csütörtök", + "péntek", + "szombat", + + /* CA-Cl*pper compatible natmsg items */ + + "Adatbázisok Tételszám Utolsó mód. Méret", + "Kéri a további részeket?", + "lapszám", + "** Összesen **", + "* Részösszesen *", + "*** Mindösszesen ***", + "Ins", + " ", + "Rossz dátum", + " Határok ", + " - ", + "I/N", + "INVALID EXPRESSION", + + /* Error description names */ + + "Ismeretlen hiba", + "Paraméter hiba", + "Tömbindex hiba", + "Karakteres változó túlcsordulás", + "Numerikus túlcsordulás", + "Nullával való osztás", + "Numerikus hiba", + "Szintaktikus hiba", + "Túl összetett muvelet", + "", + "", + "Kevés memória", + "Nem definiált függvény", + "Nem exportált metódus", + "Nem létezo változó", + "Nem létezo munkaterület név", + "Nem exportált változó", + "Helytelen munkaterület név", + "Már használt munkaterület név", + "", + "Létrehozási hiba", + "Megnyitási hiba", + "Lezárási hiba", + "Olvasási hiba", + "Írás hiba", + "Nyomtatási hiba", + "", + "", + "", + "", + "Nem támogatott muvelet", + "Korlát túllépve", + "Index hiba felfedezve", + "Nem megfelelo adattípus", + "Túl széles adat", + "Nem megnyitott munkaterület", + "Nem indexelt munkaterület", + "Kizárólagos megnyitási mód szükséges", + "Zárolás szükséges", + "Írás nem megengedett", + "Zárolás nem sikerült új rekord felvitelekor", + "Zárolás nem sikerült", + "", + "", + "", + "", + "tömbelem hozzáférés", + "tömbelem értékadás", + "tömbelem dimenzió", + "nem tömb", + "feltételes", + + /* Internal error names */ + + "Unrecoverable error %d: ", + "Error recovery failure", + "No ERRORBLOCK() for error", + "Too many recursive error handler calls", + "RDD invalid or failed to load", + "Invalid method type from %s", + "hb_xgrab can't allocate memory", + "hb_xrealloc called with a NULL pointer", + "hb_xrealloc called with an invalid pointer", + "hb_xrealloc can't reallocate memory", + "hb_xfree called with an invalid pointer", + "hb_xfree called with a NULL pointer", + "Can\'t locate the starting procedure: \'%s\'", + "No starting procedure", + "Unsupported VM opcode", + "Symbol item expected from %s", + "Invalid symbol type for self from %s", + "Codeblock expected from %s", + "Incorrect item type on the stack trying to pop from %s", + "Stack underflow", + "An item was going to be copied to itself from %s", + "Invalid symbol item passed as memvar %s", + "Memory buffer overflow", + "hb_xgrab requested to allocate zero bytes", + "hb_xrealloc requested to resize to zero bytes", + "hb_xalloc requested to allocate zero bytes", + + /* Texts */ + + "YYYY.MM.DD", + "I", + "N" + } +}; + +#define HB_LANG_ID HUUTF +#include "hbmsgreg.h"