Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
69129b9f
Commit
69129b9f
authored
Apr 03, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not make these fail on import
parent
1b5ea212
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
accounts/i18n.py
accounts/i18n.py
+3
-0
lang/i18n.py
lang/i18n.py
+3
-0
No files found.
accounts/i18n.py
View file @
69129b9f
...
...
@@ -2,6 +2,9 @@
Fake file to translate messages from django-registration and django.contrib.auth.
'''
def
_
(
s
):
return
s
def
fake
():
_
(
u'This username is already taken. Please choose another.'
)
_
(
u'You must type the same password each time'
)
...
...
lang/i18n.py
View file @
69129b9f
...
...
@@ -6,6 +6,9 @@ Generated using:
./manage.py dumpdata --format=yaml lang | grep fields:| sed 's/.*name: / _("/; s/, nplu.*/")/'
'''
def
_
(
s
):
return
s
def
fake
():
_
(
"Afrikaans"
)
_
(
"Akan"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment