mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-08-10 13:58:39 +00:00
Added RezStrings.mc
The intention is to factorise out many copies of the same string to a central location. Now need to deal with making the variables read-only.
This commit is contained in:
@ -28,7 +28,7 @@ class HomeAssistantViewMenuItem extends WatchUi.MenuItem {
|
||||
// definitions.get(...) are Strings here as they have been checked by HomeAssistantView first
|
||||
WatchUi.MenuItem.initialize(
|
||||
definition.get("name") as Lang.String,
|
||||
WatchUi.loadResource($.Rez.Strings.MenuItemMenu) as Lang.String,
|
||||
RezStrings.strMenuItemMenu,
|
||||
definition.get("entity") as Lang.String,
|
||||
null
|
||||
);
|
||||
|
Reference in New Issue
Block a user