~ubuntu-branches/ubuntu/trusty/lifelines/trusty

« back to all changes in this revision

Viewing changes to src/gedlib/locales.c

  • Committer: Bazaar Package Importer
  • Author(s): Felipe Augusto van de Wiel (faw)
  • Date: 2007-05-23 23:49:53 UTC
  • mfrom: (3.1.3 edgy)
  • Revision ID: james.westby@ubuntu.com-20070523234953-ogno9rnbmth61i7p
Tags: 3.0.50-2etch1
* Changing docs/ll-reportmanual.xml and docs/ll-userguide.xml to fix
  documentation build problems (Closes: #418347).

* lifelines-reports
  - Adding a dependency to lifelines >= 3.0.50 to prevent file conflict.
    (Closes: #405500).

* Updating French translation. Thanks to Bernard Adrian. (Closes: #356671).

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
static STRING  current_coll = NULL; /* most recent */
63
63
static STRING  current_msgs = NULL; /* most recent */
64
64
static STRING  rptlocalestr = NULL; /* if set by report program */
65
 
static LIST f_uicodeset_callbacks = NULL; /* list of callbacks for UI codeset changes */
66
 
static LIST f_uilang_callbacks = NULL; /* list of callbacks for UI language changes */
 
65
static LIST f_uicodeset_callbacks = NULL; /* collection of callbacks for UI codeset changes */
 
66
static LIST f_uilang_callbacks = NULL; /* collection of callbacks for UI language changes */
67
67
 
68
68
 
69
69
 
354
354
#ifdef HAVE_SETLOCALE
355
355
        /* did user set, eg, UiLocaleCollate option ? */
356
356
        strcpy(option+prefixlen, "Collate");
357
 
        str = getoptstr(option, 0);
 
357
        str = getlloptstr(option, 0);
358
358
        if (str) {
359
359
                customized_loc = TRUE;
360
360
                str = llsetlocale(LC_COLLATE, str);
362
362
        if (!str) {
363
363
                /* did user set, eg, UiLocale option ? */
364
364
                option[prefixlen] = 0;
365
 
                str = getoptstr(option, 0);
 
365
                str = getlloptstr(option, 0);
366
366
                if (str) {
367
367
                        customized_loc = TRUE;
368
368
                        str = llsetlocale(LC_COLLATE, str);
376
376
#ifdef ENABLE_NLS
377
377
        /* did user set, eg, UiLocaleMessages option ? */
378
378
        strcpy(option+prefixlen, "Messages");
379
 
        str = getoptstr(option, 0);
 
379
        str = getlloptstr(option, 0);
380
380
        if (str) {
381
381
                customized_msgs = TRUE;
382
382
                str = setmsgs(str);
383
383
        } else {
384
384
                /* did user set, eg, UiLocale option ? */
385
385
                option[prefixlen] = 0;
386
 
                str = getoptstr(option, 0);
 
386
                str = getlloptstr(option, 0);
387
387
                if (str) {
388
388
                        customized_msgs = TRUE;
389
389
                        str = setmsgs(str);