Skip to content

Commit

Permalink
idk 2
Browse files Browse the repository at this point in the history
  • Loading branch information
randompersononinternet69 committed Oct 25, 2024
1 parent e66320f commit af139f9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions grub-core/normal/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -693,13 +693,13 @@ grub_normal_read_line_real (char **line, int cont, int nested)

if (cont)
/* TRANSLATORS: it's command line prompt. */
prompt = _(">");
prompt = _("grub2>");
else
/* TRANSLATORS: it's command line prompt. */
{
prompt = grub_env_get ("grub_prompt");
if (!prompt)
prompt = _("grub>");
prompt = _("grub2>");
}

if (!prompt)
Expand Down Expand Up @@ -855,7 +855,7 @@ GRUB_MOD_INIT(normal)
grub_env_set ("grub_platform", GRUB_PLATFORM);
grub_env_export ("grub_platform");

grub_env_set ("grub_prompt", "grub>");
grub_env_set ("grub_prompt", "grub2>");
grub_env_export ("grub_prompt");

grub_boot_time ("Normal module prepared");
Expand Down
6 changes: 3 additions & 3 deletions util/grub-file.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ main (int argc, char *argv[])
continue;
}
if (had_file)
grub_util_error ("one argument expected");
grub_util_error ("One argument expected.");
argv2[i - 1] = grub_canonicalize_file_name (argv[i]);
if (!argv2[i - 1])
{
grub_util_error (_("cannot open `%s': %s"), argv[i],
grub_util_error (_("Cannot open `%s': %s"), argv[i],
strerror (errno));
}
had_file = 1;
Expand All @@ -97,7 +97,7 @@ main (int argc, char *argv[])

cmd = grub_command_find ("file");
if (! cmd)
grub_util_error (_("can't find command `%s'"), "file");
grub_util_error (_("Can't find command `%s'."), "file");

err = (cmd->func) (cmd, argc - 1, argv2);
if (err && err != GRUB_ERR_TEST_FAILURE)
Expand Down
12 changes: 6 additions & 6 deletions util/grub-install.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ argp_parser (int key, char *arg, struct argp_state *state)
static struct argp_option options[] = {
GRUB_INSTALL_OPTIONS,
{"boot-directory", OPTION_BOOT_DIRECTORY, N_("DIR"),
0, N_("install GRUB images under the directory DIR/%s instead of the %s directory"), 2},
0, N_("Install GRUB images under the directory DIR/%s instead of the %s directory."), 2},
{"root-directory", OPTION_ROOT_DIRECTORY, N_("DIR"),
OPTION_HIDDEN, 0, 2},
{"font", OPTION_FONT, N_("FILE"),
Expand Down Expand Up @@ -367,10 +367,10 @@ help_filter (int key, const char *text, void *input __attribute__ ((unused)))
install to. */
struct argp argp = {
options, argp_parser, N_("[OPTION] [INSTALL_DEVICE]"),
N_("Install GRUB on your drive.")"\v"
N_("Install GRUB 2 on your drive.")"\v"
N_("INSTALL_DEVICE must be system device filename.\n"
"%s copies GRUB images into %s. On some platforms, it"
" may also install GRUB into the boot sector."),
"%s copies GRUB 2 images into %s. On some platforms, it"
" may also install GRUB 2 into the boot sector."),
NULL, help_filter, NULL
};

Expand Down Expand Up @@ -422,7 +422,7 @@ probe_mods (grub_disk_t disk)
int raid_level;

if (disk->partition == NULL)
grub_util_info ("no partition map found for %s", disk->name);
grub_util_info ("No partition map found for %s.", disk->name);

for (part = disk->partition; part; part = part->parent)
push_partmap_module (part->partmap->name, NULL);
Expand Down Expand Up @@ -575,7 +575,7 @@ get_rndstr (void)
char * ret = xmalloc (sz + 1);
size_t i;
if (grub_get_random (rnd, sizeof (rnd)))
grub_util_error ("%s", _("couldn't retrieve random data"));
grub_util_error ("%s", _("Couldn't retrieve random data."));
for (i = 0; i < sz; i++)
{
grub_size_t b = i * 5;
Expand Down

0 comments on commit af139f9

Please sign in to comment.