maposmatic-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [PATCH] upper_unaccent_string is missing from the base


From: Étienne Loks
Subject: [Maposmatic-dev] [PATCH] upper_unaccent_string is missing from the base i18n class
Date: Mon, 2 Apr 2012 22:52:49 +0200

---
 ocitysmap2/i18n.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ocitysmap2/i18n.py b/ocitysmap2/i18n.py
index fad54b6..33acd13 100644
--- a/ocitysmap2/i18n.py
+++ b/ocitysmap2/i18n.py
@@ -47,6 +47,9 @@ class i18n:
     def isrtl(self):
         return False
 
+    def upper_unaccent_string(self, s):
+        return s.upper()
+
 class i18n_template_code_CODE(i18n):
     def __init__(self, language, locale_path):
         """Install the _() function for the chosen locale other
-- 
1.7.9.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]