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

« back to all changes in this revision

Viewing changes to src/gedlib/translat.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:
307
307
void
308
308
transl_load_all_tts (void)
309
309
{
310
 
        CNSTRING ttpath = getoptstr("TTPATH", ".");
 
310
        CNSTRING ttpath = getlloptstr("TTPATH", ".");
311
311
        if (!inited) local_init();
312
312
        xl_load_all_dyntts(ttpath);
313
313
}
314
314
/*==========================================================
315
 
 * xl_do_xlat -- Perform a translation on a string
 
315
 * transl_xlat -- Perform a translation on a string
316
316
 * Created: 2002/11/28 (Perry Rapp)
317
317
 *========================================================*/
318
318
void
321
321
        INT index = xl_get_uparam(xlat)-1;
322
322
        struct legacytt_s * legtt = (index>=0 ? &legacytts[index] : NULL);
323
323
        if (legtt && legtt->tt && legtt->first) {
324
 
                custom_translate(zstr, legtt->tt);
 
324
                custom_translatez(zstr, legtt->tt);
325
325
        }
326
326
 
327
327
        xl_do_xlat(xlat, zstr);
328
328
 
329
329
        if (legtt && legtt->tt && !legtt->first) {
330
 
                custom_translate(zstr, legtt->tt);
 
330
                custom_translatez(zstr, legtt->tt);
331
331
        }
332
332
}
333
333
/*==========================================================