Modify a few strings to ease translations
Originally committed to SVN as r5870.
This commit is contained in:
parent
bf285cfa50
commit
8831de5774
4 changed files with 7 additions and 9 deletions
|
@ -121,7 +121,7 @@ DialogSpellChecker::DialogSpellChecker(agi::Context *context)
|
||||||
actions_sizer->Add(button = new wxButton(this, -1, _("Replace")), button_flags);
|
actions_sizer->Add(button = new wxButton(this, -1, _("Replace")), button_flags);
|
||||||
button->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogSpellChecker::OnReplace, this);
|
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);
|
button->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &DialogSpellChecker::OnReplaceAll, this);
|
||||||
|
|
||||||
actions_sizer->Add(button = new wxButton(this, -1, _("Ignore")), button_flags);
|
actions_sizer->Add(button = new wxButton(this, -1, _("Ignore")), button_flags);
|
||||||
|
|
|
@ -774,12 +774,10 @@ void DialogStyleManager::OnCurrentDelete (wxCommandEvent &) {
|
||||||
int n = CurrentList->GetSelections(selections);
|
int n = CurrentList->GetSelections(selections);
|
||||||
|
|
||||||
wxString message;
|
wxString message;
|
||||||
if (n!=1) {
|
if (n != 1)
|
||||||
message = _("Are you sure you want to delete these ");
|
message = wxString::Format(_("Are you sure you want to delete these %d styles?"), n);
|
||||||
message += wxString::Format("%i",n);
|
else
|
||||||
message += _(" styles?");
|
message = _("Are you sure you want to delete this style?");
|
||||||
}
|
|
||||||
else message = _("Are you sure you want to delete this style?");
|
|
||||||
int option = wxMessageBox(message, _("Confirm delete from current"), wxYES_NO | wxICON_EXCLAMATION , this);
|
int option = wxMessageBox(message, _("Confirm delete from current"), wxYES_NO | wxICON_EXCLAMATION , this);
|
||||||
|
|
||||||
if (option == wxYES) {
|
if (option == wxYES) {
|
||||||
|
|
|
@ -76,7 +76,7 @@ wxWindow *AssTransformFramerateFilter::GetConfigDialogWindow(wxWindow *parent, a
|
||||||
// Input sizer
|
// Input sizer
|
||||||
wxSizer *InputSizer = new wxBoxSizer(wxHORIZONTAL);
|
wxSizer *InputSizer = new wxBoxSizer(wxHORIZONTAL);
|
||||||
wxString initialInput;
|
wxString initialInput;
|
||||||
wxButton *FromVideo = new wxButton(base,-1,_("From Video"));
|
wxButton *FromVideo = new wxButton(base,-1,_("From video"));
|
||||||
if (Input->IsLoaded()) {
|
if (Input->IsLoaded()) {
|
||||||
initialInput = wxString::Format("%2.3f",Input->FPS());
|
initialInput = wxString::Format("%2.3f",Input->FPS());
|
||||||
FromVideo->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &AssTransformFramerateFilter::OnFpsFromVideo, this);
|
FromVideo->Bind(wxEVT_COMMAND_BUTTON_CLICKED, &AssTransformFramerateFilter::OnFpsFromVideo, this);
|
||||||
|
|
|
@ -199,7 +199,7 @@ SubsEditBox::SubsEditBox(wxWindow *parent, agi::Context *context)
|
||||||
MAKE_BUTTON(button_italics_16, _("Italics"));
|
MAKE_BUTTON(button_italics_16, _("Italics"));
|
||||||
MAKE_BUTTON(button_underline_16, _("Underline"));
|
MAKE_BUTTON(button_underline_16, _("Underline"));
|
||||||
MAKE_BUTTON(button_strikeout_16, _("Strikeout"));
|
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_one_16, _("Primary color"));
|
||||||
MAKE_BUTTON(button_color_two_16, _("Secondary color"));
|
MAKE_BUTTON(button_color_two_16, _("Secondary color"));
|
||||||
MAKE_BUTTON(button_color_three_16, _("Outline color"));
|
MAKE_BUTTON(button_color_three_16, _("Outline color"));
|
||||||
|
|
Loading…
Reference in a new issue