Move widget strings from localisation to Widget.h (#22279)

This commit is contained in:
Aaron van Geffen authored and GitHub committed 2024-07-12 18:47:56 +00:00
1 parent 749a1d5ac3
commit cee2eb1461
8 files changed
+18 -22

No files matched your search

@@ -754,9 +754,7 @@ static std::vector<Widget> _window_editor_object_selection_widgets = {
if (*listItem.flags & (ObjectSelectionFlags::InUse | ObjectSelectionFlags::AlwaysRequired))
colour2.setFlag(ColourFlag::inset, true);
DrawText(
dpi, screenCoords, { colour2, FontStyle::Medium, darkness },
static_cast<const char*>(CheckBoxMarkString));
DrawText(dpi, screenCoords, { colour2, FontStyle::Medium, darkness }, kCheckMarkString);
}
screenCoords.x = gScreenFlags & SCREEN_FLAGS_TRACK_MANAGER ? 0 : 15;