Modify a few strings to ease translations

Originally committed to SVN as r5870.
This commit is contained in:
Thomas Goyne 2011-11-17 02:21:46 +00:00
parent bf285cfa50
commit 8831de5774
4 changed files with 7 additions and 9 deletions

View File

@ -121,7 +121,7 @@ DialogSpellChecker::DialogSpellChecker(agi::Context *context)
actions_sizer->Add(button = new wxButton(this, -1, _("Replace")), button_flags);
button->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogSpellChecker::OnReplace, this);
actions_sizer->Add(button = new wxButton(this, -1, _("Replace All")), button_flags);
actions_sizer->Add(button = new wxButton(this, -1, _("Replace all")), button_flags);
button->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogSpellChecker::OnReplaceAll, this);
actions_sizer->Add(button = new wxButton(this, -1, _("Ignore")), button_flags);

View File

@ -774,12 +774,10 @@ void DialogStyleManager::OnCurrentDelete (wxCommandEvent &) {
int n = CurrentList->GetSelections(selections);
wxString message;
if (n!=1) {
message = _("Are you sure you want to delete these ");
message += wxString::Format("%i",n);
message += _(" styles?");
}
else message = _("Are you sure you want to delete this style?");
if (n != 1)
message = wxString::Format(_("Are you sure you want to delete these %d styles?"), n);
else
message = _("Are you sure you want to delete this style?");
int option = wxMessageBox(message, _("Confirm delete from current"), wxYES_NO | wxICON_EXCLAMATION , this);
if (option == wxYES) {

View File

@ -76,7 +76,7 @@ wxWindow *AssTransformFramerateFilter::GetConfigDialogWindow(wxWindow *parent, a
// Input sizer
wxSizer *InputSizer = new wxBoxSizer(wxHORIZONTAL);
wxString initialInput;
wxButton *FromVideo = new wxButton(base,-1,_("From Video"));
wxButton *FromVideo = new wxButton(base,-1,_("From video"));
if (Input->IsLoaded()) {
initialInput = wxString::Format("%2.3f",Input->FPS());
FromVideo->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &AssTransformFramerateFilter::OnFpsFromVideo, this);

View File

@ -199,7 +199,7 @@ SubsEditBox::SubsEditBox(wxWindow *parent, agi::Context *context)
MAKE_BUTTON(button_italics_16, _("Italics"));
MAKE_BUTTON(button_underline_16, _("Underline"));
MAKE_BUTTON(button_strikeout_16, _("Strikeout"));
MAKE_BUTTON(button_fontname_16, _("Font Face Name"));
MAKE_BUTTON(button_fontname_16, _("Font Face"));
MAKE_BUTTON(button_color_one_16, _("Primary color"));
MAKE_BUTTON(button_color_two_16, _("Secondary color"));
MAKE_BUTTON(button_color_three_16, _("Outline color"));