summaryrefslogtreecommitdiffstats
path: root/loader/lang.c
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-07-12 16:33:35 +0000
committerMike Fulbright <msf@redhat.com>2001-07-12 16:33:35 +0000
commit365ef656b8da771bde7eea733236651db0e5c387 (patch)
treeece736403f351b7514db16e9609d1d640ec5ebd8 /loader/lang.c
parentfe79f2087be9e67f71df55d9fcd6cdfd2861576a (diff)
downloadanaconda-365ef656b8da771bde7eea733236651db0e5c387.tar.gz
anaconda-365ef656b8da771bde7eea733236651db0e5c387.tar.xz
anaconda-365ef656b8da771bde7eea733236651db0e5c387.zip
kill last of OK's in favor of Ok's
Diffstat (limited to 'loader/lang.c')
-rw-r--r--loader/lang.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/loader/lang.c b/loader/lang.c
index c47d90bef..d5e064eb4 100644
--- a/loader/lang.c
+++ b/loader/lang.c
@@ -24,7 +24,7 @@
#include "windows.h"
#define errorWindow(String) \
- newtWinMessage(_("Error"), _("OK"), String, strerror (errno));
+ newtWinMessage(_("Error"), _("Ok"), String, strerror (errno));
extern int haveKon;
@@ -99,7 +99,7 @@ static void loadLanguageList(int flags) {
f = fopen(file, "r");
if (!f) {
- newtWinMessage(_("Error"), _("OK"), "cannot open %s: %s",
+ newtWinMessage(_("Error"), _("Ok"), "cannot open %s: %s",
file, strerror (errno));
return;
}
@@ -152,7 +152,7 @@ void loadLanguage (char * file, int flags) {
stream = gzopen(file, "r");
if (!stream) {
- newtWinMessage("Error", "OK", "Cannot open %s: %s. Installation will "
+ newtWinMessage("Error", "Ok", "Cannot open %s: %s. Installation will "
"proceed in English.", file, strerror(errno));
return ;
}
@@ -163,14 +163,14 @@ void loadLanguage (char * file, int flags) {
gzclose(stream);
if (rc || access("/tmp/translation", R_OK)) {
- newtWinMessage("Error", "OK", "Cannot get translation file %s.\n",
+ newtWinMessage("Error", "Ok", "Cannot get translation file %s.\n",
filename);
return;
}
fd = open("/tmp/translation", O_RDONLY);
if (fd < 0) {
- newtWinMessage("Error", "OK", "Failed to open /tmp/translation: %s\n",
+ newtWinMessage("Error", "Ok", "Failed to open /tmp/translation: %s\n",
strerror(errno));
return;
}
@@ -212,7 +212,7 @@ static int loadFont(char * fontFile, int flags) {
#endif
stream = gzopen("/etc/fonts.cgz", "r");
if (!stream) {
- newtWinMessage("Error", "OK",
+ newtWinMessage("Error", "Ok",
"Cannot open fonts: %s", strerror(errno));
return LOADER_ERROR;
}
@@ -297,7 +297,7 @@ int chooseLanguage(char ** lang, int flags) {
newtWinMenu(_("Choose a Language"), _("What language should be used "
"during the installation process?"), 40, 5, 5, 8,
- langs, &choice, _("OK"), NULL);
+ langs, &choice, _("Ok"), NULL);
*lang = languages[choice].lc_all;
@@ -558,7 +558,7 @@ int chooseKeyboard(char ** keymap, char ** kbdtypep, int flags) {
if (i < hdr.numEntries)
num = i;
else
- newtWinMessage("Kickstart Error", "OK", "Bad keymap "
+ newtWinMessage("Kickstart Error", "Ok", "Bad keymap "
"name %s passed to kickstart command.",
argv[1]);
}
@@ -593,7 +593,7 @@ int chooseKeyboard(char ** keymap, char ** kbdtypep, int flags) {
rc = newtWinMenu(_("Keyboard Type"),
_("What type of keyboard do you have?"),
- 40, 5, 5, 8, kbds, &num, _("OK"), _("Back"), NULL);
+ 40, 5, 5, 8, kbds, &num, _("Ok"), _("Back"), NULL);
if (rc == 2) return LOADER_BACK;
/* num needs to index the right keyboard infoTable */