Skip to content
This repository was archived by the owner on Jan 31, 2018. It is now read-only.

[bug 1167192] In python, stop using the gettext from tower.#596

Merged
willkg merged 1 commit intomozilla:masterfrom
rlr:gettext-1167192
Jun 10, 2015
Merged

[bug 1167192] In python, stop using the gettext from tower.#596
willkg merged 1 commit intomozilla:masterfrom
rlr:gettext-1167192

Conversation

@rlr
Copy link
Contributor

@rlr rlr commented Jun 10, 2015

As mentioned in IRC, I created fjord/base/translation.py to create the lazy versions. I am open to other ideas.

r?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like django has lazy versions already:

https://docs.djangoproject.com/en/1.8/topics/i18n/translation/#lazy-translation

Does that not work for what we're doing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oooh. thanks for looking into that! I'll use that

@rlr rlr force-pushed the gettext-1167192 branch from 23e088f to 7e5ef81 Compare June 10, 2015 17:47
@rlr
Copy link
Contributor Author

rlr commented Jun 10, 2015

fixord ^^

@willkg
Copy link
Member

willkg commented Jun 10, 2015

I ran the tests and they're fine. (No surprise there.)

I went through the feedback in French and didn't see any missing strings.

That's probably good enough for this. r+

willkg added a commit that referenced this pull request Jun 10, 2015
[bug 1167192] In python, stop using the gettext from tower.
@willkg willkg merged commit 4b592ba into mozilla:master Jun 10, 2015
@rlr rlr deleted the gettext-1167192 branch June 10, 2015 19:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants