2 Copyright © 1995-2008, The AROS Development Team. All rights reserved.
6 #include <exec/types.h>
7 #include <proto/locale.h>
14 #define CATALOG_NAME "System/Prefs/Serial.catalog"
15 #define CATALOG_VERSION 0
17 struct Catalog
*catalog
;
19 /*********************************************************************************************/
23 if (LocaleBase
!= NULL
)
25 catalog
= OpenCatalog(NULL
,
26 (STRPTR
) CATALOG_NAME
,
27 OC_Version
, CATALOG_VERSION
,
36 /*********************************************************************************************/
38 VOID
CleanupLocale(VOID
)
40 if (LocaleBase
!= NULL
&& catalog
!= NULL
) CloseCatalog(catalog
);
44 /*********************************************************************************************/
46 CONST_STRPTR
MSG(ULONG id
)
48 if ( (catalog
!= NULL
) && (LocaleBase
!= NULL
) )
50 return GetCatalogStr(catalog
, id
, CatCompArray
[id
].cca_Str
);
54 return CatCompArray
[id
].cca_Str
;
58 /*********************************************************************************************/