From f4696f22a1cc8ef95d30307ab09bd38e42798bc6 Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Thu, 8 Dec 2016 18:09:01 +0100 Subject: [PATCH] Pass locale name to PythonQt module. --- src/libcalamaresui/viewpages/PythonQtViewStep.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libcalamaresui/viewpages/PythonQtViewStep.cpp b/src/libcalamaresui/viewpages/PythonQtViewStep.cpp index 3b762353a..78881e337 100644 --- a/src/libcalamaresui/viewpages/PythonQtViewStep.cpp +++ b/src/libcalamaresui/viewpages/PythonQtViewStep.cpp @@ -59,7 +59,9 @@ PythonQtViewStep::PythonQtViewStep( PythonQtObjectPtr cxt, m_cxt.addObject( "_calamares_module_basewidget", m_widget ); CALAMARES_RETRANSLATE_WIDGET( m_widget, - CalamaresUtils::lookupAndCall( m_obj, { "retranslate" } ); + CalamaresUtils::lookupAndCall( m_obj, + { "retranslate" }, + { CalamaresUtils::translatorLocaleName() } ); ) }