mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 23:11:14 -03:00
Fix some translated strings
This commit is contained in:
@@ -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 @@ pub fn get_backtrace(&self, src: &wstr, errors: &ParseErrorList) -> WString {
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user