fix: correct localization of strings on Print window

This commit is contained in:
Brendan Hagan
2024-02-12 23:21:40 -05:00
parent cb8551c4ac
commit ad6d40df4c
3 changed files with 7 additions and 2 deletions
+1
View File
@@ -12,6 +12,7 @@ Bug fixes:
* Fixed scrolled widgets not scrolling fully (or at all) on Linux (@llemoi, haganbmj#54) * Fixed scrolled widgets not scrolling fully (or at all) on Linux (@llemoi, haganbmj#54)
* Fixed crash when 0 keywords match filter string in keyword panel (@llemoi, haganbmj#57) * Fixed crash when 0 keywords match filter string in keyword panel (@llemoi, haganbmj#57)
* Correct "all images" filter when selecting files. (haganbmj#70) * Correct "all images" filter when selecting files. (haganbmj#70)
* Correct localization of strings on Print window.
Internal: Internal:
* Add Mac OS build resources (@halian, haganbmj#67, haganbmj#68) * Add Mac OS build resources (@halian, haganbmj#67, haganbmj#68)
+4
View File
@@ -591,6 +591,9 @@ label:
installer status: Status: installer status: Status:
no version: - no version: -
# Print Window
put space between cards: Put space between cards
############################################################## Buttons/checkboxes/choices in the GUI ############################################################## Buttons/checkboxes/choices in the GUI
button: button:
# Editor # Editor
@@ -714,6 +717,7 @@ title:
custom pack: Custom Pack Type custom pack: Custom Pack Type
# print # print
print preview: Print Preview print preview: Print Preview
settings: Settings
# export # export
export images: Export Images export images: Export Images
export cancelled: Export Cancelled export cancelled: Export Cancelled
+2 -2
View File
@@ -166,14 +166,14 @@ PrintJobP make_print_job(Window* parent, const SetP& set, const ExportCardSelect
// Let the user choose cards // Let the user choose cards
// controls // controls
ExportWindowBase wnd(parent, _TITLE_("select cards print"), set, choices); ExportWindowBase wnd(parent, _TITLE_("select cards print"), set, choices);
wxCheckBox* space = new wxCheckBox(&wnd, wxID_ANY, L"Put space between cards"); wxCheckBox* space = new wxCheckBox(&wnd, wxID_ANY, _LABEL_("put space between cards"));
space->SetValue(settings.print_layout); space->SetValue(settings.print_layout);
// layout // layout
wxSizer* s = new wxBoxSizer(wxVERTICAL); wxSizer* s = new wxBoxSizer(wxVERTICAL);
wxSizer* s2 = new wxBoxSizer(wxHORIZONTAL); wxSizer* s2 = new wxBoxSizer(wxHORIZONTAL);
wxSizer* s3 = wnd.Create(); wxSizer* s3 = wnd.Create();
s2->Add(s3, 1, wxEXPAND | wxALL, 8); s2->Add(s3, 1, wxEXPAND | wxALL, 8);
wxSizer* s4 = new wxStaticBoxSizer(wxVERTICAL, &wnd, L"Settings"); wxSizer* s4 = new wxStaticBoxSizer(wxVERTICAL, &wnd, _TITLE_("settings"));
s4->Add(space, 1, wxALL | wxALIGN_TOP, 8); s4->Add(space, 1, wxALL | wxALIGN_TOP, 8);
s2->Add(s4, 1, wxEXPAND | (wxALL & ~wxLEFT), 8); s2->Add(s4, 1, wxEXPAND | (wxALL & ~wxLEFT), 8);
s->Add(s2, 1, wxEXPAND); s->Add(s2, 1, wxEXPAND);