Use resource strings from a custom on the toolbar
I added a custom module with some resources to the HTML viewer. Is it possible to use the resources as labels / tooltips on the toolbar or the I Want To menu? The example below just shows the literal name of the resource.
{
"id": "MyToolId",
"type": "tool",
"iconUri": "Resources/Images/Icons/identify-24.png",
"command": "MyCommand",
"drawMode": "POINT",
"name": "@language-toolbar-myresource",
"tooltip": "@language-toolbar-mytooltipresource",
"hideOnDisable": false,
"isSticky": false,
"statusText": "@language-inventarisatie-mystatustext"
}
0
-
Well, I managed to do this: All I needed to do was to manually add a line with "libraryId": "myLibraryId"to the config files.
However, if I now open the site in the manager and save it, the lines I just added are removed. (Note that I did not have the site open in the manager when I made the changes)0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar