Update to strings

This commit is contained in:
2025-12-09 17:06:45 -05:00
parent e6a4e5af35
commit dd55e6e2a2

View File

@@ -90,8 +90,7 @@ namespace anm2ed::imgui
document.change(Document::NULLS); document.change(Document::NULLS);
else else
{ {
toasts.push(std::vformat(localize.get(TOAST_DESERIALIZE_NULLS_FAILED), toasts.push(std::vformat(localize.get(TOAST_DESERIALIZE_NULLS_FAILED), std::make_format_args(errorString)));
std::make_format_args(errorString)));
logger.error(std::vformat(localize.get(TOAST_DESERIALIZE_NULLS_FAILED, anm2ed::ENGLISH), logger.error(std::vformat(localize.get(TOAST_DESERIALIZE_NULLS_FAILED, anm2ed::ENGLISH),
std::make_format_args(errorString))); std::make_format_args(errorString)));
} }
@@ -129,7 +128,7 @@ namespace anm2ed::imgui
shortcut(manager.chords[SHORTCUT_REMOVE]); shortcut(manager.chords[SHORTCUT_REMOVE]);
ImGui::BeginDisabled(unused.empty()); ImGui::BeginDisabled(unused.empty());
if (ImGui::Button(localize.get(LABEL_REMOVE_UNUSED_NULLS), widgetSize)) if (ImGui::Button(localize.get(BASIC_REMOVE_UNUSED), widgetSize))
{ {
auto remove_unused = [&]() auto remove_unused = [&]()
{ {