Show nicer language names in voice creation dialog.

Instead of showing the internal language names show some more human friendly
string. Currently only applies to the voice creation dialog, the language
configuration dialog needs further adjustments to support display strings
differing from values.

Change-Id: Ic94838f1079c1d09a666d7dbd9682c577f686b3f
This commit is contained in:
Dominik Riebeling 2012-05-19 16:49:48 +02:00
parent 9f89ffa71c
commit 733eb9af40
5 changed files with 65 additions and 59 deletions

View file

@ -79,7 +79,7 @@ class SystemInfo : public QObject
static QStringList platforms(enum PlatformType type = PlatformAll,
QString variant="");
//! returns a map of all languages
static QMap<QString, QString> languages(void);
static QMap<QString, QStringList> languages(void);
//! returns a map of usb-ids and their targets
static QMap<int, QString> usbIdMap(enum MapType);
//! get a value from system settings