From 040f4249314e0883a0fbfd36edb2064cce75b363 Mon Sep 17 00:00:00 2001 From: Adriaan de Groot Date: Wed, 27 Dec 2023 00:53:26 +0100 Subject: [PATCH] [locale] Tweak string to avoid lupdate inserting {1?} --- src/modules/locale/Config.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/modules/locale/Config.cpp b/src/modules/locale/Config.cpp index 0748c03ca..54ff5eb64 100644 --- a/src/modules/locale/Config.cpp +++ b/src/modules/locale/Config.cpp @@ -407,15 +407,13 @@ localeLabel( const QString& s ) QString Config::currentLanguageStatus() const { - return tr( "The system language will be set to %1", "@info" ) - .arg( localeLabel( m_selectedLocaleConfiguration.language() ) ); + return tr( "The system language will be set to %1.", "@info" ).arg( localeLabel( m_selectedLocaleConfiguration.language() ) ); } QString Config::currentLCStatus() const { - return tr( "The numbers and dates locale will be set to %1", "@info" ) - .arg( localeLabel( m_selectedLocaleConfiguration.lc_numeric ) ); + return tr( "The numbers and dates locale will be set to %1.", "@info" ).arg( localeLabel( m_selectedLocaleConfiguration.lc_numeric ) ); } QString