fix(plugins): add translations for query suggestions and recent searches plugins #1283
437
−12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #1282
Summary
As discussed in #1282, this PR adds translation configuration for the suggestions and recent searches plugins analogous to what exists in core (although obviously much smaller in scope).
While it is possible to do this via providing entirely custom templates, that is quite heavyweight for just providing translations.
Result
See new unit tests