Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
edx-platform
Commits
7fa5ae9c
Commit
7fa5ae9c
authored
Jan 20, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2233 from edx/sarina/change-contact-email
Change i18n contact address
parents
8594faf4
fffa4f36
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
i18n/extract.py
+2
-2
i18n/tests/test_extract.py
+1
-1
No files found.
i18n/extract.py
View file @
7fa5ae9c
...
...
@@ -131,11 +131,11 @@ def fix_metadata(po):
fixes
=
{
'PO-Revision-Date'
:
datetime
.
utcnow
(),
'Report-Msgid-Bugs-To'
:
'
translation_team@edx.org'
,
'Report-Msgid-Bugs-To'
:
'
openedx-translation@googlegroups.com'
'Project-Id-Version'
:
'0.1a'
,
'Language'
:
'en'
,
'Last-Translator'
:
''
,
'Language-Team'
:
'
translation team <translation_team@edx.org
>'
,
'Language-Team'
:
'
openedx-translation <openedx-translation@googlegroups.com
>'
,
}
po
.
metadata
.
update
(
fixes
)
...
...
i18n/tests/test_extract.py
View file @
7fa5ae9c
...
...
@@ -87,5 +87,5 @@ class TestExtract(TestCase):
po
=
polib
.
pofile
(
path
)
metadata
=
po
.
metadata
value
=
metadata
[
'Report-Msgid-Bugs-To'
]
expected
=
'
translation_team@edx.org
'
expected
=
'
openedx-translation@googlegroups.com
'
self
.
assertEquals
(
expected
,
value
)
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