diff --git a/src/parse_execution.cpp b/src/parse_execution.cpp index 0baed0a25..105009511 100644 --- a/src/parse_execution.cpp +++ b/src/parse_execution.cpp @@ -450,7 +450,7 @@ end_execution_reason_t parse_execution_context_t::run_for_statement( auto var = parser->vars().get(for_var_name, ENV_DEFAULT); if (env_var_t::flags_for(for_var_name.c_str()) & env_var_t::flag_read_only) { return report_error(STATUS_INVALID_ARGS, header.var_name, - L"for: %ls: cannot overwrite read-only variable", for_var_name.c_str()); + _(L"%ls: %ls: cannot overwrite read-only variable"), L"for", for_var_name.c_str()); } auto &vars = parser->vars();