Replace Unicode quotes in user-facing strings by ASCII
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g"
This commit is contained in:
parent
c7654bc491
commit
2fd8f8bb99
86 changed files with 662 additions and 662 deletions
|
|
@ -397,7 +397,7 @@ bool NixRepl::processLine(string line)
|
|||
return false;
|
||||
|
||||
else if (command != "")
|
||||
throw Error(format("unknown command ‘%1%’") % command);
|
||||
throw Error(format("unknown command '%1%'") % command);
|
||||
|
||||
else {
|
||||
size_t p = line.find('=');
|
||||
|
|
@ -460,7 +460,7 @@ void NixRepl::reloadFiles()
|
|||
for (auto & i : old) {
|
||||
if (!first) std::cout << std::endl;
|
||||
first = false;
|
||||
std::cout << format("Loading ‘%1%’...") % i << std::endl;
|
||||
std::cout << format("Loading '%1%'...") % i << std::endl;
|
||||
loadFile(i);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue