simplify l10n compiler script
This commit is contained in:
		
							parent
							
								
									5f510f457a
								
							
						
					
					
						commit
						e42cccd473
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
					@ -3,5 +3,8 @@ echo.Compiling translations . . .
 | 
				
			||||||
cd ..\po
 | 
					cd ..\po
 | 
				
			||||||
rmdir /q /s locale
 | 
					rmdir /q /s locale
 | 
				
			||||||
mkdir locale
 | 
					mkdir locale
 | 
				
			||||||
for %%A in (am az be bg ca cs de el en_GB es et eu fi fr gl hi hu it ja kn ko lt lv mk ms nb nl no pa pl pt pt_BR ru sk sl sq sr sv th uk vi wa zh_CN zh_TW) do mkdir locale\%%A\LC_MESSAGES && msgfmt -co locale\%%A\LC_MESSAGES\xchat.mo %%A.po
 | 
					for %%A in (*.po) do (
 | 
				
			||||||
 | 
						mkdir locale\%%~nA\LC_MESSAGES
 | 
				
			||||||
 | 
						msgfmt -co locale\%%~nA\LC_MESSAGES\xchat.mo %%A
 | 
				
			||||||
 | 
					)
 | 
				
			||||||
cd ..\build
 | 
					cd ..\build
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue