mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -04:00
[locale] Add properties for language and LC codes
- we already had the human-readable status strings, but also want the actual code (particularly for being able to **update** the code from QML)
This commit is contained in:
parent
fdbfbfe284
commit
75da1bece4
2 changed files with 11 additions and 0 deletions
|
@ -288,6 +288,7 @@ Config::setLanguageExplicitly( const QString& language )
|
|||
m_selectedLocaleConfiguration.explicit_lang = true;
|
||||
|
||||
emit currentLanguageStatusChanged( currentLanguageStatus() );
|
||||
emit currentLanguageCodeChanged( currentLanguageCode() );
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -306,6 +307,7 @@ Config::setLCLocaleExplicitly( const QString& locale )
|
|||
m_selectedLocaleConfiguration.explicit_lc = true;
|
||||
|
||||
emit currentLCStatusChanged( currentLCStatus() );
|
||||
emit currentLCCodeChanged( currentLCCode() );
|
||||
}
|
||||
|
||||
QString
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue