mirror of https://github.com/odrling/Aegisub
Use more plural forms for translatable strings
This commit is contained in:
parent
60fd44163e
commit
384f87f399
|
@ -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"));
|
||||
|
|
|
@ -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."));
|
||||
|
|
Loading…
Reference in New Issue