From 1a3a253a7755b7974408f5f6c87da191822a2ec9 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Sun, 28 Aug 2022 11:43:48 +0200 Subject: Remove redundant gettext() calls --- program/js/app.js | 21 ++++++++++++--------- skins/elastic/ui.js | 10 +++++----- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index a317b3caa..9c84ceb04 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -1432,7 +1432,7 @@ function rcube_webmail() }; this.import_state = null; - this.import_dialog = this.simple_dialog(dialog, this.gettext('importcontacts'), import_func, { + this.import_dialog = this.simple_dialog(dialog, 'importcontacts', import_func, { close: close_func, button: 'import', width: 500, @@ -4196,7 +4196,7 @@ function rcube_webmail() $('
') .append($('

').html(ref.get_label('encryptpubkeysfound'))) .append(ul), - ref.get_label('importpubkeys'), + 'importpubkeys', null, {cancel_label: 'close', cancel_button: 'close'} ); @@ -4480,7 +4480,7 @@ function rcube_webmail() content = $('