Skip to content

Commit

Permalink
Merge pull request #6482 from ovari/master
Browse files Browse the repository at this point in the history
fix(#6481): `MMB Files (*.mmb)`: 1. Add a space ` `; and, 2. allow translation
  • Loading branch information
vomikan committed Jan 24, 2024
2 parents e0e5c1f + 6588319 commit 98fcf34
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit 98fcf34

Please sign in to comment.