mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 18:03:37 +08:00
src/builtin_type.cpp: add missing gettext call.
The string "%ls is %ls", which is printed when `type <command>` is ran for a command in PATH, couldn't be localized, since it was missing _() around it.
This commit is contained in:
parent
7b9c1a6076
commit
6e9d5c00e5
|
@ -190,7 +190,7 @@ maybe_t<int> builtin_type(parser_t &parser, io_streams_t &streams, wchar_t **arg
|
|||
if (opts.path || opts.force_path) {
|
||||
streams.out.append_format(L"%ls\n", path.c_str());
|
||||
} else {
|
||||
streams.out.append_format(L"%ls is %ls\n", name, path.c_str());
|
||||
streams.out.append_format(_(L"%ls is %ls\n"), name, path.c_str());
|
||||
}
|
||||
} else if (opts.type) {
|
||||
streams.out.append(_(L"file\n"));
|
||||
|
|
Loading…
Reference in New Issue
Block a user