"Ok" -> "OK" to make usage consistent (with the dictionary, too).

This commit is contained in:
András Salamon 2005-04-16 19:43:47 +00:00
parent 5b3513419a
commit 3e5f6a8df7
3 changed files with 4 additions and 4 deletions

View file

@ -35,7 +35,7 @@ int show_file_chooser_dialog(display &disp, std::string &filename,
yloc = scr->h / 2 - height / 2;
}
std::vector<gui::button*> buttons_ptr;
gui::button ok_button_(disp.video(), _("Ok"));
gui::button ok_button_(disp.video(), _("OK"));
gui::button cancel_button_(disp.video(), _("Cancel"));
buttons_ptr.push_back(&ok_button_);
buttons_ptr.push_back(&cancel_button_);

View file

@ -1392,7 +1392,7 @@ std::vector<topic> generate_terrains_topics()
std::string generate_traits_text()
{
// Ok, this didn't go as well as I thought since the information
// OK, this didn't go as well as I thought since the information
// generated from this is rather short and not suitable for the help
// system. Hence, this method is not used currently :).
std::stringstream ss;

View file

@ -406,7 +406,7 @@ int show_dialog(display& disp, surface image,
break;
case OK_ONLY: {
static const char* thebuttons[] = { N_("Ok"), "" };
static const char* thebuttons[] = { N_("OK"), "" };
button_list = thebuttons;
break;
}
@ -419,7 +419,7 @@ int show_dialog(display& disp, surface image,
}
case OK_CANCEL: {
static const char* thebuttons[] = { N_("Ok"),
static const char* thebuttons[] = { N_("OK"),
N_("Cancel"),""};
button_list = thebuttons;
break;