misc: reduce impact of locale changes

This is more backwards compatible and would permit applying this locale to an older version without as much mess. I don't think MSE has any concept of versioning on locales unfortunately to permit declaring which field applies to which version.
This commit is contained in:
Brendan Hagan
2022-07-09 19:21:41 -04:00
parent 65452f7c7a
commit 5e1f923b38
2 changed files with 33 additions and 31 deletions
+14 -12
View File
@@ -474,22 +474,22 @@ label:
# New set window # New set window
game type: &Game type: game type: &Game type:
style type: &Card style: style type: &Card style:
search game list : Filter Games search game list: Filter Games
search stylesheet list: Filter Stylesheets search stylesheet list: Filter Stylesheets
stylesheet not found : stylesheet not found:
The set you are trying to open uses the stylesheet "%s". The set you are trying to open uses the stylesheet "%s".
This stylesheet is not found on your system, please select an alternative. This stylesheet is not found on your system, please select an alternative.
# Preferences # Preferences
language : Language language: Language
windows : Open sets windows: Open sets
app language : Language of the user interface : app language: Language of the user interface:
card display : Card Display card display: Card Display
storage : Storage storage: Storage
zoom : &Zoom: zoom: &Zoom:
export : &Export: export: &Export:
scale : &Internal Scale: scale: &Internal Scale:
percent of normal: % of normal size percent of normal: % of normal size
external programs: External programs external programs: External programs
apprentice: &Apprentice: apprentice: &Apprentice:
@@ -526,8 +526,10 @@ label:
html export options:Export options html export options:Export options
# Image slicer # Image slicer
original: Original (%s x %s): original: Original:
result: Result (%s x %s): result: Result:
original with dimensions: Original (%s x %s):
result with dimensions: Result (%s x %s):
size: Size size: Size
original size: &Original Size original size: &Original Size
size to fit: Size to &Fit size to fit: Size to &Fit
+2 -2
View File
@@ -134,11 +134,11 @@ ImageSliceWindow::ImageSliceWindow(Window* parent, const Image& source, const wx
// top row: image editors // top row: image editors
wxSizer* s2 = new wxBoxSizer(wxHORIZONTAL); wxSizer* s2 = new wxBoxSizer(wxHORIZONTAL);
wxSizer* s3 = new wxBoxSizer(wxVERTICAL); wxSizer* s3 = new wxBoxSizer(wxVERTICAL);
s3->Add(new wxStaticText(this, wxID_ANY, _LABEL_2_("original", to_string(slice.source.GetWidth()), to_string(slice.source.GetHeight())))); s3->Add(new wxStaticText(this, wxID_ANY, _LABEL_2_("original with dimensions", to_string(slice.source.GetWidth()), to_string(slice.source.GetHeight()))));
s3->Add(selector, 1, wxEXPAND | wxTOP, 4); s3->Add(selector, 1, wxEXPAND | wxTOP, 4);
s2->Add(s3, 1, wxEXPAND | wxALL, 4); s2->Add(s3, 1, wxEXPAND | wxALL, 4);
wxSizer* s4 = new wxBoxSizer(wxVERTICAL); wxSizer* s4 = new wxBoxSizer(wxVERTICAL);
s4->Add(new wxStaticText(this, wxID_ANY, _LABEL_2_("result", to_string(slice.target_size.GetWidth()), to_string(slice.target_size.GetHeight())))); s4->Add(new wxStaticText(this, wxID_ANY, _LABEL_2_("result with dimensions", to_string(slice.target_size.GetWidth()), to_string(slice.target_size.GetHeight()))));
s4->Add(preview, 0, wxTOP, 4); s4->Add(preview, 0, wxTOP, 4);
s2->Add(s4, 0, wxALL, 4); s2->Add(s4, 0, wxALL, 4);
s->Add(s2, 1, wxEXPAND); s->Add(s2, 1, wxEXPAND);