Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(#6481): MMB Files (*.mmb): 1. Add a space ; and, 2. allow translation #6482

Merged
merged 2 commits into from
Jan 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/mmframe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2245,7 +2245,7 @@ void mmGUIFrame::OnNew(wxCommandEvent& /*event*/)
_("Choose database file to create"),
wxEmptyString,
wxEmptyString,
"MMB Files(*.mmb)|*.mmb",
_("MMB Database (*.mmb)|*.mmb"),
wxFD_SAVE | wxFD_OVERWRITE_PROMPT
);

Expand All @@ -2267,7 +2267,7 @@ void mmGUIFrame::OnOpen(wxCommandEvent& /*event*/)
autoRepeatTransactionsTimer_.Stop();
wxString fileName = wxFileSelector(_("Choose database file to open")
, wxEmptyString, wxEmptyString, wxEmptyString
, "MMB Files(*.mmb)|*.mmb|Encrypted MMB files (*.emb)|*.emb"
, _("MMB Database (*.mmb)|*.mmb|Encrypted MMB Database (*.emb)|*.emb")
, wxFD_FILE_MUST_EXIST | wxFD_OPEN
, this
);
Expand All @@ -2293,7 +2293,7 @@ void mmGUIFrame::OnConvertEncryptedDB(wxCommandEvent& /*event*/)
{
wxString encFileName = wxFileSelector(_("Choose Encrypted database file to open")
, wxEmptyString, wxEmptyString, wxEmptyString
, "Encrypted MMB files (*.emb)|*.emb"
, "Encrypted MMB Database (*.emb)|*.emb"
, wxFD_FILE_MUST_EXIST
, this
);
Expand All @@ -2309,7 +2309,7 @@ void mmGUIFrame::OnConvertEncryptedDB(wxCommandEvent& /*event*/)
, _("Choose database file to Save As")
, wxEmptyString
, wxEmptyString
, "MMB Files(*.mmb)|*.mmb"
, _("MMB Database (*.mmb)|*.mmb")
, wxFD_SAVE | wxFD_OVERWRITE_PROMPT
);

Expand Down Expand Up @@ -2449,7 +2449,7 @@ void mmGUIFrame::OnSaveAs(wxCommandEvent& /*event*/)
_("Save database file as"),
wxEmptyString,
wxEmptyString,
"MMB Files(*.mmb)|*.mmb|Encrypted MMB files (*.emb)|*.emb",
_("MMB Database (*.mmb)|*.mmb|Encrypted MMB Database (*.emb)|*.emb"),
wxFD_SAVE | wxFD_OVERWRITE_PROMPT
);

Expand Down