2 Copyright © 2004, The AROS Development Team. All rights reserved.
3 This file is part of the Wanderer Preferences program, which is distributed
4 under the terms of version 2 of the GNU General Public License.
9 #include <exec/types.h>
10 #include <proto/locale.h>
15 #define CATALOG_NAME "System/Prefs/Wanderer.catalog"
16 #define CATALOG_VERSION 0
18 /*** Variables **************************************************************/
19 struct Catalog
*catalog
;
22 /*** Functions **************************************************************/
23 /* Main *********************************************************************/
24 CONST_STRPTR
_(ULONG id
)
26 if (LocaleBase
!= NULL
&& catalog
!= NULL
)
28 return GetCatalogStr(catalog
, id
, CatCompArray
[id
].cca_Str
);
32 return CatCompArray
[id
].cca_Str
;
36 /* Setup ********************************************************************/
37 VOID
Locale_Initialize(VOID
)
39 if (LocaleBase
!= NULL
)
43 NULL
, CATALOG_NAME
, OC_Version
, CATALOG_VERSION
, TAG_DONE
52 VOID
Locale_Deinitialize(VOID
)
54 if(LocaleBase
!= NULL
&& catalog
!= NULL
) CloseCatalog(catalog
);