From 874acf8ccc6486d86432671a4962cbd1e04c16b8 Mon Sep 17 00:00:00 2001 From: Quincy Morgan Date: Sat, 18 Jan 2020 13:35:31 -0500 Subject: [PATCH] Make raw tag editor display option tooltips translatable --- data/core.yaml | 2 ++ modules/ui/raw_tag_editor.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/data/core.yaml b/data/core.yaml index f1b7c7302..a6e33c698 100644 --- a/data/core.yaml +++ b/data/core.yaml @@ -8,6 +8,8 @@ en: copy: copy view_on: view on {domain} favorite: favorite + list: list + text: text toolbar: inspect: Inspect undo_redo: Undo / Redo diff --git a/modules/ui/raw_tag_editor.js b/modules/ui/raw_tag_editor.js index c9fca6983..664fe9038 100644 --- a/modules/ui/raw_tag_editor.js +++ b/modules/ui/raw_tag_editor.js @@ -109,7 +109,7 @@ export function uiRawTagEditor(context) { .attr('class', function(d) { return 'raw-tag-option raw-tag-option-' + d.id + (_tagView === d.id ? ' selected' : ''); }) - .attr('title', function(d) { return d.id; }) + .attr('title', function(d) { return t('icons.' + d.id); }) .on('click', function(d) { _tagView = d.id; context.storage('raw-tag-editor-view', d.id);