mirror of
				https://github.com/9001/copyparty.git
				synced 2025-10-31 04:32:20 -06:00 
			
		
		
		
	black
This commit is contained in:
		
							parent
							
								
									6c024dbf80
								
							
						
					
					
						commit
						6c53c75ab2
					
				|  | @ -33,7 +33,7 @@ def generate_javascript(lang3, native_name, tl_browser): | ||||||
|     note1 = "" |     note1 = "" | ||||||
|     note2 = "" |     note2 = "" | ||||||
|     if lang3 == "hmn": |     if lang3 == "hmn": | ||||||
|         note1 = ";\n// please adjust this (and the \"Ls.hmn\" further down)" |         note1 = ';\n// please adjust this (and the "Ls.hmn" further down)' | ||||||
|         note2 = """ |         note2 = """ | ||||||
| // the three-letter language-code "hmn" and language-name "Hymmnos" | // the three-letter language-code "hmn" and language-name "Hymmnos" | ||||||
| // is used as an example; please replace these with your language | // is used as an example; please replace these with your language | ||||||
|  | @ -141,7 +141,7 @@ def main(): | ||||||
|         browserjs = f.read().decode("utf-8") |         browserjs = f.read().decode("utf-8") | ||||||
| 
 | 
 | ||||||
|     _, browserjs = browserjs.split('\n\t\t"tt": "English",\n', 1) |     _, browserjs = browserjs.split('\n\t\t"tt": "English",\n', 1) | ||||||
|     browserjs, _ = browserjs.split('\n}', 1) |     browserjs, _ = browserjs.split("\n}", 1) | ||||||
|     browserjs = browserjs.replace("\n\t", "\n") |     browserjs = browserjs.replace("\n\t", "\n") | ||||||
| 
 | 
 | ||||||
|     try: |     try: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue