FreeBASIC  0.91.0
intl_get.c
Go to the documentation of this file.
1 /* get i18n data */
2 
3 #include "fb.h"
4 
5 /*:::::*/
6 const char *fb_IntlGet( eFbIntlIndex Index, int disallow_localized )
7 {
8  if( fb_I18nGet() && !disallow_localized ) {
9  const char *pszResult = fb_DrvIntlGet( Index );
10  if( pszResult!=NULL ) {
11  return pszResult;
12  }
13  }
14 
15  switch ( Index ) {
16  case eFIL_DateDivider:
17  return "/";
18  case eFIL_TimeDivider:
19  return ":";
21  return ".";
23  return ",";
24  }
25 
26  return NULL;
27 }