Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internationalize NoRent SMS message. #1497

Merged
merged 3 commits into from
May 28, 2020
Merged

Internationalize NoRent SMS message. #1497

merged 3 commits into from
May 28, 2020

Conversation

toolness
Copy link
Collaborator

@toolness toolness commented May 27, 2020

This also adds --no-wrap to yarn django:makemessages to ensure that Crowdin and Django aren't fighting over line wrapping.

@toolness toolness requested a review from sraby May 27, 2020 22:01
"This site is currently in <strong>compatibility mode</strong>. For an "
"enhanced experience, you can disable it, but this may cause compatibility "
"issues with your current browser."
msgid "This site is currently in <strong>compatibility mode</strong>. For an enhanced experience, you can disable it, but this may cause compatibility issues with your current browser."
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Nothing actually changed here, it's just a result of using --no-wrap w/ Django's makemessages command... it doesn't do much this file (our English translations) but it helps the Spanish ones not be in a constant state of churn, where Crowdin writes them out without line wrapping in one PR and Django wraps them in another PR, making diffs more confusing (see ee71e2a for an example of the confusing behavior).

Copy link
Member

Choose a reason for hiding this comment

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

Ahhh yeah I could imagine that getting frustrating!

@toolness toolness mentioned this pull request May 27, 2020
33 tasks
Copy link
Member

@sraby sraby left a comment

Choose a reason for hiding this comment

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

Noice! This looks great. Cool to see the way that these internal snippets of text are handled for i18n, too.

@toolness toolness merged commit 4f20762 into master May 28, 2020
@toolness toolness deleted the sms-i18n branch May 28, 2020 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants