Fix whole-word selection and i18n: Add Japanese translation for Whole-word (#8004)

* Add Japanese translation for "Whole word" and add it's description.

* Fix to enable "Whole-word" selection.
This commit is contained in:
mayaeh 2018-07-13 00:58:26 +09:00 committed by Eugen Rochko
parent 7ac5151b74
commit 401559c376
3 changed files with 5 additions and 1 deletions

View file

@ -52,6 +52,6 @@ class FiltersController < ApplicationController
end
def resource_params
params.require(:custom_filter).permit(:phrase, :expires_in, :irreversible, context: [])
params.require(:custom_filter).permit(:phrase, :expires_in, :irreversible, :whole_word, context: [])
end
end