mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
i18n: Translate note map buttons
This commit is contained in:
parent
4f7bbee769
commit
c0d613c46d
@ -6,6 +6,7 @@ import appContext from "../components/app_context.js";
|
||||
import NoteContextAwareWidget from "./note_context_aware_widget.js";
|
||||
import linkContextMenuService from "../menus/link_context_menu.js";
|
||||
import utils from "../services/utils.js";
|
||||
import { t } from "../services/i18n.js";
|
||||
|
||||
const esc = utils.escapeHtml;
|
||||
|
||||
@ -30,8 +31,8 @@ const TPL = `<div class="note-map-widget" style="position: relative;">
|
||||
</style>
|
||||
|
||||
<div class="btn-group btn-group-sm map-type-switcher" role="group">
|
||||
<button type="button" class="btn bx bx-network-chart" title="Link Map" data-type="link"></button>
|
||||
<button type="button" class="btn bx bx-sitemap" title="Tree map" data-type="tree"></button>
|
||||
<button type="button" class="btn bx bx-network-chart" title="${t("note-map.button-link-map")}" data-type="link"></button>
|
||||
<button type="button" class="btn bx bx-sitemap" title="${t("note-map.button-tree-map")}" data-type="tree"></button>
|
||||
</div>
|
||||
|
||||
<div class="style-resolver"></div>
|
||||
|
@ -1244,5 +1244,9 @@
|
||||
"note_is_editable": "Note is editable if it's not too long.",
|
||||
"note_is_read_only": "Note is read-only, but can be edited with a button click.",
|
||||
"note_is_always_editable": "Note is always editable, regardless of its length."
|
||||
},
|
||||
"note-map": {
|
||||
"button-link-map": "Link Map",
|
||||
"button-tree-map": "Tree map"
|
||||
}
|
||||
}
|
||||
|
@ -1244,5 +1244,9 @@
|
||||
},
|
||||
"svg_export_button": {
|
||||
"button_title": "Exportă diagrama ca SVG"
|
||||
},
|
||||
"note-map": {
|
||||
"button-link-map": "Harta legăturilor",
|
||||
"button-tree-map": "Harta ierarhiei"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user