reapack

Package manager for REAPER
Log | Files | Refs | Submodules | README | LICENSE

commit 22817aafde05d898a576d30630f385b64a1d9dc5
parent ad09ef9907d71ddd70388ac81269aff26071f2ba
Author: cfillion <cfillion@users.noreply.github.com>
Date:   Wed, 23 Mar 2022 17:54:56 -0400

filter: add UK spellings from REPER 6.52 to the synonym list

Diffstat:
Msrc/filter.cpp | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/filter.cpp b/src/filter.cpp @@ -172,11 +172,21 @@ Filter::Group *Filter::Group::addSubGroup(const Type type, const int flags) bool Filter::Group::pushSynonyms(const std::string_view &buf, int *flags) { + // from the [actionlist_synonyms] section in REAPER's langpack static const std::vector<std::string_view> synonyms[] { { "open", "display", "view", "show", "hide" }, { "delete", "clear", "remove", "erase" }, { "insert", "add" }, { "deselect", "unselect" }, + { "color", "colour" }, + { "colors", "colours" }, + { "normalize", "normalise" }, + { "normalized", "normalised" }, + { "customize", "customise" }, + { "synchronize", "synchronise" }, + { "optimize", "optimise" }, + { "optimized", "optimised" }, + { "center", "centre" }, }; auto *match = [&]() -> decltype(&*synonyms) {