Fix loc export (#1752)

This commit is contained in:
FatChocobo 2024-03-29 01:43:33 +08:00 committed by GitHub
parent 70e0eef5ce
commit 34ce948bc6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -943,7 +943,7 @@ internal class DalamudInterface : IInternalDisposableService
if (ImGui.MenuItem("Export localizable")) if (ImGui.MenuItem("Export localizable"))
{ {
localization.ExportLocalizable(); localization.ExportLocalizable(true);
} }
if (ImGui.BeginMenu("Load language...")) if (ImGui.BeginMenu("Load language..."))

View file

@ -182,7 +182,7 @@ internal class SettingsWindow : Window
{ {
ImGui.SetTooltip(!ImGui.IsKeyDown(ImGuiKey.ModShift) ImGui.SetTooltip(!ImGui.IsKeyDown(ImGuiKey.ModShift)
? Loc.Localize("DalamudSettingsSaveAndExit", "Save changes and close") ? Loc.Localize("DalamudSettingsSaveAndExit", "Save changes and close")
: Loc.Localize("DalamudSettingsSaveAndExit", "Save changes")); : Loc.Localize("DalamudSettingsSave", "Save changes"));
} }
} }

View file

@ -133,7 +133,7 @@ public class SettingsTabLook : SettingsTab
new SettingsEntry<bool>( new SettingsEntry<bool>(
Loc.Localize("DalamudSettingReducedMotion", "Reduce motions"), Loc.Localize("DalamudSettingReducedMotion", "Reduce motions"),
Loc.Localize("DalamudSettingReducedMotion", "This will suppress certain animations from Dalamud, such as the notification popup."), Loc.Localize("DalamudSettingReducedMotionHint", "This will suppress certain animations from Dalamud, such as the notification popup."),
c => c.ReduceMotions ?? false, c => c.ReduceMotions ?? false,
(v, c) => c.ReduceMotions = v), (v, c) => c.ReduceMotions = v),
}; };