Fix some translated strings

This commit is contained in:
Fabian Boehm 2024-03-10 16:08:43 +01:00
parent d8d491741b
commit 25e170141c
4 changed files with 4 additions and 4 deletions

View File

@ -665,7 +665,7 @@ fn show_scope(var_name: &wstr, scope: EnvMode, streams: &mut IoStreams, vars: &d
value,
EscapeStringStyle::Script(EscapeFlags::NO_PRINTABLES | EscapeFlags::NO_QUOTED),
);
streams.out.append(wgettext_fmt!(
streams.out.append(sprintf!(
"$%ls[%d]: |%ls|\n",
var_name,
i + 1,

View File

@ -921,7 +921,7 @@ fn builtin_breakpoint(
.map_or(true, |b| b.typ() == BlockType::breakpoint)
{
streams.err.append(wgettext_fmt!(
"%ls: Command not valid at and interactive prompt\n",
"%ls: Command not valid at an interactive prompt\n",
cmd,
));
return STATUS_ILLEGAL_CMD;

View File

@ -67,7 +67,7 @@ fn print_all(hard: bool, streams: &mut IoStreams) {
} else {
"(kB, "
};
streams.out.append(wgettext_fmt!(
streams.out.append(sprintf!(
"%-*ls %10ls-%lc) ",
w,
resource.desc,

View File

@ -987,7 +987,7 @@ impl Parser {
which_line
)
} else {
wgettext_fmt!("%ls: ", user_presentable_path(&filename, self.vars()))
sprintf!("%ls: ", user_presentable_path(&filename, self.vars()))
}
} else {
L!("fish: ").to_owned()