Make raw tag editor display option tooltips translatable

This commit is contained in:
Quincy Morgan
2020-01-18 13:35:31 -05:00
parent 721ee0e95f
commit 874acf8ccc
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -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
+1 -1
View File
@@ -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);