mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 14:43:55 +08:00
Fix some translated strings
This commit is contained in:
parent
d8d491741b
commit
25e170141c
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user