[KLF Application][KLF Tools][KLF Backend][KLF Home]
KLatexFormula Project

KLFI18nFile Class Reference

Small structure to store information for a translation file (.qm). More...

#include <klfmain.h>

Collaboration diagram for KLFI18nFile:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 KLFI18nFile (QString filepath)

Public Attributes

QString fpath
QString name
 Translation file base name (e.g. 'klf' for klf_fr.qm).
QString locale
 Locale Name (e.g. "fr" or "fr_CH").
int locale_specificity
 how specific the locale is (e.g. ""->0 , "fr"->1, "fr_CH"->2 )


Detailed Description

Small structure to store information for a translation file (.qm).

Intented as (temporary) helper to manage translation files. Used e.g. in klf_reload_translations().

To see a list of available translations accessible within the whole program, see KLFTranslationInfo and klf_avail_translations.

Definition at line 239 of file klfmain.h.


Constructor & Destructor Documentation

KLFI18nFile::KLFI18nFile ( QString  filepath  ) 


Member Data Documentation

Definition at line 242 of file klfmain.h.

Referenced by klf_add_avail_translation(), and KLFI18nFile().

Translation file base name (e.g. 'klf' for klf_fr.qm).

Definition at line 244 of file klfmain.h.

Referenced by klf_add_avail_translation(), klf_reload_translations(), and KLFI18nFile().

Locale Name (e.g. "fr" or "fr_CH").

Definition at line 246 of file klfmain.h.

Referenced by KLFSettings::importAddOn(), klf_add_avail_translation(), klf_reload_translations(), and KLFI18nFile().

how specific the locale is (e.g. ""->0 , "fr"->1, "fr_CH"->2 )

Definition at line 248 of file klfmain.h.

Referenced by KLFI18nFile().


The documentation for this class was generated from the following files:

Generated by doxygen 1.5.6