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
				
			
		|  | @ -118,7 +118,7 @@ ref<std::string> decompress(const std::string & method, const std::string & in) | |||
|     else if (method == "br") | ||||
|         return decompressBrotli(in); | ||||
|     else | ||||
|         throw UnknownCompressionMethod(format("unknown compression method ‘%s’") % method); | ||||
|         throw UnknownCompressionMethod(format("unknown compression method '%s'") % method); | ||||
| } | ||||
| 
 | ||||
| struct NoneSink : CompressionSink | ||||
|  | @ -309,7 +309,7 @@ ref<CompressionSink> makeCompressionSink(const std::string & method, Sink & next | |||
|     else if (method == "br") | ||||
|         return make_ref<BrotliSink>(nextSink); | ||||
|     else | ||||
|         throw UnknownCompressionMethod(format("unknown compression method ‘%s’") % method); | ||||
|         throw UnknownCompressionMethod(format("unknown compression method '%s'") % method); | ||||
| } | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue