From 227644088cf196bc75128b9cb9cb00b95ee616a3 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Sat, 21 Apr 2012 23:49:14 +0530 Subject: [PATCH] Make button texts translatable --- js/server_status_monitor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/server_status_monitor.js b/js/server_status_monitor.js index 7d08277c3e..64c83dcc30 100644 --- a/js/server_status_monitor.js +++ b/js/server_status_monitor.js @@ -1126,7 +1126,7 @@ $(function() { } dlgBtns = {}; - dlgBtns['Save'] = function() { + dlgBtns[PMA_messages['strSave']] = function() { runtime.charts[chartKey].title = $('div#emptyDialog input[name="chartTitle"]').attr('value'); runtime.charts[chartKey].chart.setTitle({ text: runtime.charts[chartKey].title }); @@ -1139,7 +1139,7 @@ $(function() { $(this).dialog('close'); saveMonitor(); }; - dlgBtns['Cancel'] = function() { + dlgBtns[PMA_messages['strCancel']] = function() { $(this).dialog('close'); };