From 3ad64e8c0236480d4112531718b9c13f285ac438 Mon Sep 17 00:00:00 2001 From: Ivan Alejandro Date: Thu, 1 Aug 2013 16:19:01 -0300 Subject: Enable translation for string in code. --- src/leap/gui/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/leap/gui/login.py b/src/leap/gui/login.py index 80f2f3db..d857959b 100644 --- a/src/leap/gui/login.py +++ b/src/leap/gui/login.py @@ -97,7 +97,7 @@ class LoginWidget(QtGui.QWidget): """ self.ui.cmbProviders.blockSignals(True) self.ui.cmbProviders.clear() - self.ui.cmbProviders.addItems(provider_list + ["Other..."]) + self.ui.cmbProviders.addItems(provider_list + [self.tr("Other...")]) self.ui.cmbProviders.blockSignals(False) def select_provider_by_name(self, name): -- cgit v1.2.3