generate POTFILES.skip in autogen.sh to skip plugins from translation. add command system files to translated files. Fixes #7068
This commit is contained in:
		
							parent
							
								
									359d3c3069
								
							
						
					
					
						commit
						d0a23f3200
					
				
					 2 changed files with 4 additions and 5 deletions
				
			
		| 
						 | 
					@ -20,8 +20,10 @@
 | 
				
			||||||
  && for p in `ls data/gui/*.ui`; do echo "[type: gettext/glade]$p" >> \
 | 
					  && for p in `ls data/gui/*.ui`; do echo "[type: gettext/glade]$p" >> \
 | 
				
			||||||
  po/POTFILES.in; done \
 | 
					  po/POTFILES.in; done \
 | 
				
			||||||
  && ls -1 data/gajim.desktop.in.in \
 | 
					  && ls -1 data/gajim.desktop.in.in \
 | 
				
			||||||
  src/*py src/common/*py src/common/zeroconf/*.py src/plugins/*.py| grep -v ipython_view.py >> \
 | 
					  src/*.py src/common/*.py src/command_system/implementation/*.py src/common/zeroconf/*.py src/plugins/*.py | grep -v ipython_view.py >> \
 | 
				
			||||||
  po/POTFILES.in || exit 1
 | 
					  po/POTFILES.in \
 | 
				
			||||||
 | 
					  && echo -e "data/gajim.desktop.in\nsrc/ipython_view.py" > po/POTFILES.skip \
 | 
				
			||||||
 | 
					  && ls -1 plugins/*/*.py plugins/*/*.ui >> po/POTFILES.skip || exit 1
 | 
				
			||||||
  if test -z `which pkg-config 2>/dev/null`;then
 | 
					  if test -z `which pkg-config 2>/dev/null`;then
 | 
				
			||||||
    echo "***Error: pkg-config not found***"
 | 
					    echo "***Error: pkg-config not found***"
 | 
				
			||||||
	echo "See README.html for build requirements."
 | 
						echo "See README.html for build requirements."
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,3 +0,0 @@
 | 
				
			||||||
data/gajim.desktop.in
 | 
					 | 
				
			||||||
src/eggtrayicon.c
 | 
					 | 
				
			||||||
src/ipython_view.py
 | 
					 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue