diff options
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/models.py | 2 | ||||
-rw-r--r-- | pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo | bin | 9898 -> 9898 bytes | |||
-rw-r--r-- | pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po | 4 |
3 files changed, 3 insertions, 3 deletions
diff --git a/pyaggr3g470r/models.py b/pyaggr3g470r/models.py index dcbe221c..9770ed77 100644 --- a/pyaggr3g470r/models.py +++ b/pyaggr3g470r/models.py @@ -51,7 +51,7 @@ class User(db.Model, UserMixin): @staticmethod def make_valid_nickname(nickname): - return re.sub('[^a-zA-Z0-9_\.\-]', '', nickname) + return re.sub(ur'[^\w]', '', nickname, flags=re.U) def get_id(self): """ diff --git a/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo b/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo Binary files differindex 930ffe2a..6fb63ea3 100644 --- a/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo +++ b/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo diff --git a/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po b/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po index eac8cfe2..0172f25b 100644 --- a/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po +++ b/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2014-05-05 13:39+0200\n" -"PO-Revision-Date: 2014-05-05 13:39+0100\n" +"POT-Creation-Date: 2014-05-05 14:07+0200\n" +"PO-Revision-Date: 2014-05-05 14:07+0100\n" "Last-Translator: Cédric Bonhomme <cedric@cedricbonhomme.org>\n" "Language-Team: fr <LL@li.org>\n" "Language: fr\n" |