2 Copyright © 1995-2016, The AROS Development Team. All rights reserved.
6 #include <aros/symbolsets.h>
7 #include <exec/types.h>
8 #include <proto/locale.h>
13 #define CATALOG_NAME "System/System/Wanderer/Tools/ExecuteCommand.catalog"
14 #define CATALOG_VERSION 2
16 /*** Variables **************************************************************/
17 struct Catalog
*catalog
;
20 /*** Functions **************************************************************/
21 /* Main *********************************************************************/
22 CONST_STRPTR
_(ULONG id
)
24 if (LocaleBase
!= NULL
&& catalog
!= NULL
)
26 return GetCatalogStr(catalog
, id
, CatCompArray
[id
].cca_Str
);
30 return CatCompArray
[id
].cca_Str
;
34 /* Setup ********************************************************************/
35 BOOL
Locale_Initialize(void)
37 if (LocaleBase
!= NULL
)
41 NULL
, CATALOG_NAME
, OC_Version
, CATALOG_VERSION
, TAG_DONE
52 void Locale_Deinitialize(void)
54 if(LocaleBase
!= NULL
&& catalog
!= NULL
) CloseCatalog(catalog
);
57 ADD2INIT(Locale_Initialize
, 90);
58 ADD2EXIT(Locale_Deinitialize
, 90);