1 ##rem $Id: NoAutoC_c.sd 253 2014-02-18 11:15:58Z damato $
5 /****************************************************************
7 This file was created automatically by `%fv'
12 ****************************************************************/
15 #include <libraries/gadtools.h>
16 #include <proto/locale.h>
22 struct FC_String %b_Strings[] =
28 static struct Catalog *%bCatalog;
32 if(LocaleBase != NULL)
34 if ((%bCatalog = OpenCatalog(NULL, (STRPTR)"%b.catalog",
35 OC_BuiltInLanguage, (STRPTR)%l,
41 for(fc = %b_Strings; fc->Str; fc++)
43 fc->Str = (const char *)GetCatalogStr(%bCatalog, fc->Id, (STRPTR)fc->Str);
53 CloseCatalog(%bCatalog);
58 void LocalizeStringArray(STRPTR *Array)
62 for(x = Array; *x != NULL; x++)
64 *x = strdup(%b_Strings[(int)*x].Str);