2 Copyright © 1995-2005, The AROS Development Team. All rights reserved.
6 #include <exec/types.h>
7 #include <proto/locale.h>
12 #define CATALOG_NAME "System/System/Wanderer/Tools/DiskInfo.catalog"
13 #define CATALOG_VERSION 2
15 /*** Variables **************************************************************/
16 struct Catalog
*catalog
;
19 /*** Functions **************************************************************/
20 /* Main *********************************************************************/
21 CONST_STRPTR
_(ULONG id
)
23 if (LocaleBase
!= NULL
&& catalog
!= NULL
)
25 return GetCatalogStr(catalog
, id
, CatCompArray
[id
].cca_Str
);
27 return CatCompArray
[id
].cca_Str
;
31 /* Setup ********************************************************************/
32 VOID
Locale_Initialize(VOID
)
34 if (LocaleBase
!= NULL
)
38 NULL
, CATALOG_NAME
, OC_Version
, CATALOG_VERSION
, TAG_DONE
45 VOID
Locale_Deinitialize(VOID
)
47 if(LocaleBase
!= NULL
&& catalog
!= NULL
) CloseCatalog(catalog
);