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

Add filter to disable fuzzy translations for similar string import #630

merged 2 commits into from Jan 10, 2017


Copy link

yoavf commented Jan 1, 2017

Fixes #629

… similar string import.

Fixes #629
@yoavf yoavf changed the title Add filter that enables not marking existing translations as fuzzy on similar string import. Fixes #629 Add filter to disable fuzzy translations for similar string import Jan 1, 2017
* @param object $data The new original data.
* @param object $original The previous original being replaced.
$do_fuzzy = apply_filters( 'gp_close_original_fuzzy_translations', true, (object) $data, $original );

This comment has been minimized.

Copy link

ocean90 Jan 3, 2017


A better name for the filter and this looks ready to go. Perhaps something related to set_translations_for_original_to_fuzzy()

@ocean90 ocean90 merged commit eafca32 into GlotPress:develop Jan 10, 2017
2 checks passed
2 checks passed
codecov/project 37.35% (+0.03%) compared to 0b8708c
continuous-integration/travis-ci/pr The Travis CI build passed
@ocean90 ocean90 added this to the 2.3 milestone Jan 10, 2017
@yoavf yoavf deleted the yoavf:629-do-fuzzy-filter branch Jan 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.