diff --git a/src/dialog_video_details.cpp b/src/dialog_video_details.cpp index bb895fca9..436ad2d56 100644 --- a/src/dialog_video_details.cpp +++ b/src/dialog_video_details.cpp @@ -64,7 +64,8 @@ DialogVideoDetails::DialogVideoDetails(agi::Context *c) make_field(_("File name:"), c->project->VideoName().wstring()); make_field(_("FPS:"), wxString::Format("%.3f", fps.FPS())); make_field(_("Resolution:"), wxString::Format("%dx%d (%d:%d)", width, height, ar.numerator(), ar.denominator())); - make_field(_("Length:"), wxString::Format(_("%d frames (%s)"), framecount, to_wx(AssTime(fps.TimeAtFrame(framecount - 1)).GetAssFormated(true)))); + make_field(_("Length:"), wxString::Format(wxPLURAL("1 frame", "%d frames (%s)", framecount), + framecount, to_wx(AssTime(fps.TimeAtFrame(framecount - 1)).GetAssFormated(true)))); make_field(_("Decoder:"), to_wx(provider->GetDecoderName())); wxStaticBoxSizer *video_sizer = new wxStaticBoxSizer(wxVERTICAL, this, _("Video")); diff --git a/src/search_replace_engine.cpp b/src/search_replace_engine.cpp index 92595a551..6f5804b3e 100644 --- a/src/search_replace_engine.cpp +++ b/src/search_replace_engine.cpp @@ -328,7 +328,7 @@ bool SearchReplaceEngine::ReplaceAll() { if (count > 0) { context->ass->Commit(_("replace"), AssFile::COMMIT_DIAG_TEXT); - wxMessageBox(wxString::Format(_("%i matches were replaced."), (int)count)); + wxMessageBox(wxString::Format(wxPLURAL("One match was replaced.", "%d matches were replaced.", count), (int)count)); } else { wxMessageBox(_("No matches found."));