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
merged 2 commits into from Jan 10, 2017

Conversation

Projects
None yet
2 participants
@yoavf
Member

yoavf commented Jan 1, 2017

Fixes #629

@yoavf yoavf changed the title from Add filter that enables not marking existing translations as fuzzy on similar string import. Fixes #629 to Add filter to disable fuzzy translations for similar string import Jan 1, 2017

Show outdated Hide outdated gp-includes/things/original.php
* @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.

@ocean90

ocean90 Jan 3, 2017

Member

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

@ocean90

ocean90 Jan 3, 2017

Member

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

codecov/project 37.35% (+0.03%) compared to 0b8708c
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@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