[gedit-plugins/translate] Fixes
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins/translate] Fixes
- Date: Mon, 24 Jul 2017 18:31:36 +0000 (UTC)
commit 2a8ed840e9519678fc197a28879327e9dae739fe
Author: Jordi Mas <jmas softcatala org>
Date: Mon Jul 24 20:31:25 2017 +0200
Fixes
plugins/translate/translate/services/service.py | 2 +-
plugins/translate/translate/services/services.py | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/plugins/translate/translate/services/service.py b/plugins/translate/translate/services/service.py
index a4bd8b9..867bb57 100644
--- a/plugins/translate/translate/services/service.py
+++ b/plugins/translate/translate/services/service.py
@@ -34,7 +34,7 @@ class Service(metaclass=ABCMeta):
pass
@abstractmethod
- def get_language_pair_name(self):
+ def get_language_pair_name(self, source, target, locales_names=None):
pass
@abstractmethod
diff --git a/plugins/translate/translate/services/services.py
b/plugins/translate/translate/services/services.py
index 8ac4f5f..b10b662 100644
--- a/plugins/translate/translate/services/services.py
+++ b/plugins/translate/translate/services/services.py
@@ -33,7 +33,6 @@ class Services():
@staticmethod
def get(service_id):
- print(service_id)
if service_id == Services.APERTIUM_ID:
return Apertium()
elif service_id == Services.YANDEX_ID:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]