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

EN Picks: Fuzzy-related pickings #241

Merged
merged 3 commits into from
Apr 15, 2014
Merged

EN Picks: Fuzzy-related pickings #241

merged 3 commits into from
Apr 15, 2014

Conversation

jleclanche
Copy link
Member

Fixes the long-standing 1.5 fuzzy issue and brings in evernote#157 with it.

Worth noting: https://github.com/evernote/pootle/commit/51a02b5677034f2a4c155362f33ab6e04169e52a should be picked once we no longer support 1.5

Unless users have administration privileges, now they're required to clear
the fuzzy flag.

This covers the backend side of evernote/pootle#157.

Conflicts:
	pootle/apps/pootle_store/forms.py
@julen
Copy link
Contributor

julen commented Apr 14, 2014

FWIW the only relevant commit for fixing the issue on 1.5 is 5a4114f.

The other commits introduce unrelated behavior changes upstream might not be interested in, since they're likely to be specific to EN's needs.

Non-admin users now have the fuzzy checkbox disabled by default. It'll be
shown if the initial state of the unit is fuzzy or some other action (MT
translation, auto-translation etc.) turned the unit into fuzzy state.

Whenever the fuzzy checkbox is displayed for non-admins, they are forced
to clear it, otherwise the submit button won't be enabled.

This covers the frontend side of evernote/pootle#157.
The interpretation of values changed in the templates and the field now is
getting values other than strings as well (`True`, `False` and `None`).

Conflicts:
	tests/forms/unit.py
@jleclanche
Copy link
Member Author

@julen We discussed those changes, we agree with them.

@julen
Copy link
Contributor

julen commented Apr 14, 2014

Good to know — the description gives no clue, only mentions the issue on 1.5.

@jleclanche
Copy link
Member Author

Edited.

@unho
Copy link
Member

unho commented Apr 15, 2014

I don't see any obvious issue, so GTM.

@jleclanche jleclanche merged commit a7090bd into translate:master Apr 15, 2014
@jleclanche jleclanche deleted the fuzzy branch April 15, 2014 09:34
julen pushed a commit to julen/pootle that referenced this pull request Jun 20, 2014
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.

3 participants