mirror of https://github.com/vector-im/riot-web
				
				
				
			Don't put in spurious newline
							parent
							
								
									aab87233c3
								
							
						
					
					
						commit
						431b482d18
					
				|  | @ -38,9 +38,10 @@ with open(dstpath) as ifp: | |||
|             elif strippedline.endswith(','): | ||||
|                 ofp.write(line) | ||||
|             else: | ||||
|                 ofp.write('    '+strippedline) | ||||
|                 ofp.write(",\n") | ||||
|                 toAddStr = json.dumps(toAdd, indent=4, separators=(',', ': '), ensure_ascii=False, encoding="utf8")[1:-1] | ||||
|                 ofp.write('    '+strippedline+',') | ||||
|                 toAddStr = json.dumps(toAdd, indent=4, separators=(',', ': '), ensure_ascii=False, encoding="utf8").strip("{}\n") | ||||
|                 ofp.write("\n") | ||||
|                 ofp.write(toAddStr.encode('utf8')) | ||||
|                 ofp.write("\n") | ||||
| 
 | ||||
| os.rename(tmppath, dstpath) | ||||
|  |  | |||
|  | @ -876,7 +876,6 @@ | |||
|     "You have <a>disabled</a> URL previews by default.": "Você <a>desabilitou</a> pré-visualizações de links por padrão.", | ||||
|     "You have <a>enabled</a> URL previews by default.": "Você <a>habilitou</a> pré-visualizações de links por padrão.", | ||||
|     "You have entered an invalid contact. Try using their Matrix ID or email address.": "Você inseriu um contato inválido. Tente usar o ID Matrix ou endereço de e-mail da pessoa que está buscando.", | ||||
| 
 | ||||
|     "You have been banned from %(roomName)s by %(userName)s.": "Você foi expulso(a) da sala %(roomName)s por %(userName)s.", | ||||
|     "Send anyway": "Enviar de qualquer maneira", | ||||
|     "This room": "Esta sala", | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 David Baker
						David Baker