Generalise .po file updates
This should catch all future translations too
This commit is contained in:
		
							parent
							
								
									59c1e9ed5c
								
							
						
					
					
						commit
						f27396ea12
					
				| 
						 | 
					@ -1,3 +1,12 @@
 | 
				
			||||||
msgmerge --update fpdb-hu_HU.po fpdb-en_GB.po
 | 
					#!/bin/sh
 | 
				
			||||||
msgmerge --update fpdb-de_DE.po fpdb-en_GB.po
 | 
					
 | 
				
			||||||
 | 
					# Our master file
 | 
				
			||||||
 | 
					REFERENCE_PO=fpdb-en_GB.po
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Update all .po files
 | 
				
			||||||
 | 
					for po in *.po; do
 | 
				
			||||||
 | 
					    if [ ${po} != ${REFERENCE_PO} ]; then
 | 
				
			||||||
 | 
					        msgmerge --update ${po} ${REFERENCE_PO}
 | 
				
			||||||
 | 
					    fi
 | 
				
			||||||
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user