From e664370b28736d52622a4013253ab7f1021fc08d Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Thu, 11 Apr 2019 10:28:09 -0400 Subject: [PATCH] [libcalamaresui] Use modern tr() annotation --- src/libcalamaresui/utils/CalamaresUtilsGui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libcalamaresui/utils/CalamaresUtilsGui.cpp b/src/libcalamaresui/utils/CalamaresUtilsGui.cpp index a7783af3e..69924f1b8 100644 --- a/src/libcalamaresui/utils/CalamaresUtilsGui.cpp +++ b/src/libcalamaresui/utils/CalamaresUtilsGui.cpp @@ -266,7 +266,8 @@ LocaleLabel::LocaleLabel( const QString& locale, LabelFormat format ) : m_locale( LocaleLabel::getLocale( locale ) ) , m_localeId( locale ) { - QString longFormat = QObject::tr( "%1 (%2)", "Language (Country)" ); + //: language[name] (country[name]) + QString longFormat = QObject::tr( "%1 (%2)" ); QString sortKey = QLocale::languageToString( m_locale.language() ); QString languageName = m_locale.nativeLanguageName();