discourse/plugins/discourse-templates/config/locales/client.en.yml
Steven Chang 0f252b6676
UX: Improve template filtering with usage count and preserving tags (#35881)
On sites with a large amount of templates, the default display and
filter can become ineffective. By default, templates are ordered by
alphabetical title order. If filtered by keyword, the plugin does a
simple scoring based on whether the text is in the title (+2) or in the
content (+1), then by alphabetical title order. This PR updates it to
use the `usages` count, so the new priority of ordering is by score >
usage > title.

Also adds a localstorage for the selected tag used to filter the
template list. The tag field will be pre-populated with the last used
filtered tag if available.

Renames hint from "Filter by title..." to "Filter by keyword..." to
reflect actual filtering behavior.
2025-11-14 09:01:42 -08:00

20 lines
571 B
YAML
Vendored

en:
admin_js:
discourse_templates:
title: "Templates"
admin:
site_settings:
categories:
discourse_templates: "Discourse Templates"
js:
keyboard_shortcuts_help:
templates:
title: "Templates (within a textarea)"
insert_template: "%{shortcut} Insert template"
templates:
filter_hint: "Filter by keyword..."
insert_template: "Insert template"
close_templates: "Close the templates selector"
copy: "Copy template"
new_topic: "New topic from template"
source: "Source"