client/menus: refactor

This commit is contained in:
Adorian Doran
2025-09-20 00:34:25 +03:00
parent 17e87278eb
commit b26803b627
12 changed files with 35 additions and 35 deletions

View File

@@ -112,7 +112,7 @@ function setupContextMenu() {
// Replace the placeholder with the real search keyword.
let searchUrl = searchEngineUrl.replace("{keyword}", encodeURIComponent(params.selectionText));
items.push({ title: "----" });
items.push({ kind: "separator" });
items.push({
title: t("electron_context_menu.search_online", { term: shortenedSelection, searchEngine: searchEngineName }),