You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
919 B
25 lines
919 B
<?xml version="1.0" encoding="UTF-8"?>
|
|
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
|
|
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
|
|
<kcfgfile name="kverbosrc"/>
|
|
<group name="Language">
|
|
<entry name="UserLanguage" type="String">
|
|
<label>The language selected by the user</label>
|
|
<code>
|
|
TDEConfigBase *globalConf = TDEGlobal::config();
|
|
globalConf->setGroup("Locale");
|
|
TQString m_language = globalConf->readEntry("Language", "en");
|
|
//keep only the first 2 characters
|
|
m_language = m_language.left(2);
|
|
kdDebug()<< m_language <<endl;
|
|
//later, scan for present languages
|
|
if (m_language!="de")
|
|
m_language = "en";
|
|
</code>
|
|
<default code="true">m_language</default>
|
|
</entry>
|
|
</group>
|
|
</kcfg>
|