[gedit-plugins/translate] Better method name
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins/translate] Better method name
- Date: Sat, 10 Mar 2018 05:54:54 +0000 (UTC)
commit dfe4d17eba4bf68047079c9c50aa062f86a15e35
Author: Jordi Mas <jmas softcatala org>
Date: Sat Mar 10 06:54:37 2018 +0100
Better method name
plugins/translate/translate/services/apertium.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/plugins/translate/translate/services/apertium.py
b/plugins/translate/translate/services/apertium.py
index c1a51f2..48d783e 100644
--- a/plugins/translate/translate/services/apertium.py
+++ b/plugins/translate/translate/services/apertium.py
@@ -60,7 +60,7 @@ class Apertium(Service):
pass
def init(self):
- self._get_remote_language_names_and_pairs()
+ self._fetch_remote_language_names_and_pairs()
def get_language_names(self):
if len(Apertium.g_language_codes) > 0 and len(Apertium.g_language_names) > 0:
@@ -124,7 +124,7 @@ class Apertium(Service):
return locales_names
- def _get_remote_language_names_and_pairs(self):
+ def _fetch_remote_language_names_and_pairs(self):
if len(Apertium.g_language_names) > 0:
return
@@ -154,7 +154,7 @@ class Apertium(Service):
Apertium.g_language_codes = language_codes
except Exception as e:
- print("_get_remote_language_names_and_pairs exception {0}".format(e))
+ print("_fetch_remote_language_names_and_pairs exception {0}".format(e))
def _get_remote_language_pairs(self):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]