mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	We just learned we should be using the "onlytranslated" mode of Transifex. Since the command is getting a bit complex (and you need to remember to run `makemessages` first), it makes sense to have a tool for it.
		
			
				
	
	
		
			9 lines
		
	
	
		
			142 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			142 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
set -e
 | 
						|
set -x
 | 
						|
 | 
						|
./manage.py makemessages
 | 
						|
tx pull -a -f --mode=onlytranslated --minimum-perc=5
 | 
						|
./manage.py compilemessages
 |