diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2017-07-30T11·27+0100 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2017-07-30T11·32+0100 |
commit | 2fd8f8bb99a2832b3684878c020ba47322e79332 (patch) | |
tree | 65a667fbc746f4ff8efcaca3c0a58565985f26a5 /src/nix/repl.cc | |
parent | c7654bc491d9ce7c1fbadecd7769418fa79a2060 (diff) |
Replace Unicode quotes in user-facing strings by ASCII
Relevant RFC: NixOS/rfcs#4 $ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g"
Diffstat (limited to 'src/nix/repl.cc')
-rw-r--r-- | src/nix/repl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/repl.cc b/src/nix/repl.cc index 7d5b8f4668af..e5a597addf4b 100644 --- a/src/nix/repl.cc +++ b/src/nix/repl.cc @@ -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); } } |