From 6575296a85ca98ee404b951c64acc87bd5f3f134 Mon Sep 17 00:00:00 2001 From: dragoon <145993709+draunger@users.noreply.github.com> Date: Wed, 5 Feb 2025 20:01:41 +0530 Subject: [PATCH] Use distinct placeholder text for feature type search box (#10734) --- data/core.yaml | 1 + modules/ui/preset_list.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/core.yaml b/data/core.yaml index da821d6b0c..997fda11d1 100644 --- a/data/core.yaml +++ b/data/core.yaml @@ -736,6 +736,7 @@ en: back_tooltip: Change feature type remove: Remove search: Search + search_feature_type: Search feature type unknown: Unknown incomplete: feature_list: Search features diff --git a/modules/ui/preset_list.js b/modules/ui/preset_list.js index 2cb003f4ad..e148f5934b 100644 --- a/modules/ui/preset_list.js +++ b/modules/ui/preset_list.js @@ -121,7 +121,7 @@ export function uiPresetList(context) { var search = searchWrap .append('input') .attr('class', 'preset-search-input') - .attr('placeholder', t('inspector.search')) + .attr('placeholder', t('inspector.search_feature_type')) .attr('type', 'search') .call(utilNoAuto) .on('keydown', initialKeydown)