forked from MapComplete/MapComplete
		
	Prepare autoformatting translations
This commit is contained in:
		
							parent
							
								
									5de073344a
								
							
						
					
					
						commit
						d0f0f3ecc4
					
				
					 1 changed files with 7 additions and 1 deletions
				
			
		|  | @ -516,7 +516,13 @@ if (!themeOverwritesWeblate) { | |||
|     compileTranslationsFromWeblate(); | ||||
| } | ||||
| genTranslations() | ||||
| formatFile("./langs/en.json") | ||||
| formatFile("./langs/themes/nl.json") | ||||
| /*const allTranslationFiles = ScriptUtils.readDirRecSync("langs").filter(path => path.endsWith(".json")) | ||||
| for (const path of allTranslationFiles) { | ||||
|     console.log("Formatting ", path) | ||||
|     formatFile(path) | ||||
| }*/ | ||||
| 
 | ||||
| 
 | ||||
| // SOme validation
 | ||||
| TranslationPart.fromDirectory("./langs").validateStrict("./langs") | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue