From aa78aab317945c58fa88aded20a173bb68c372f3 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Fri, 2 Feb 2018 09:45:42 +0200 Subject: [PATCH] Bug 20124: Make "Save configuration" translatable on "did you mean?" config When saving the "Did you mean?" setting, a popup with the message "Successfully saved configuration" is shown, but it cannot be translated. Make it translatable. Test plan: 1) Go to Home -> Administration -> Did you mean? 2) Change the settings, click on "Save configuration" 3) Popup with "Successfully saved configuration" 4) Apply patch, update po-files, etc. 5) Check that the msgid "Successfully saved configuration" is in fi-FI-staff-prog.po, and translate the message 6) install the fi-FI language 7) Change your UI language to finnish 8) Repeat 1, 2, 3. You should now see the same popup message translated. Signed-off-by: Pasi Kallinen Signed-off-by: Roch D'Amour Signed-off-by: Jonathan Druart Conflicts: koha-tmpl/intranet-tmpl/prog/en/modules/admin/didyoumean.tt Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/didyoumean.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/didyoumean.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/didyoumean.tt index fa4e52b92b..91a88528b4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/didyoumean.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/didyoumean.tt @@ -49,7 +49,7 @@ data: data, type: 'POST', url: '/cgi-bin/koha/svc/config/systempreferences/', - success: function () { alert("Successfully saved configuration"); }, + success: function () { alert(_("Successfully saved configuration")); }, }); return false; } -- 2.39.5