mirror of
				https://github.com/labwc/labwc.git
				synced 2025-11-03 09:01:51 -05:00 
			
		
		
		
	- also fixes updating tr.po file - more descriptive instructions in CONTRIBUTING.md - fix comments in po/pot files when using meson gettext tools
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			393 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			393 B
		
	
	
	
		
			Meson
		
	
	
	
	
	
i18n = import('i18n')
 | 
						|
add_project_arguments('-DGETTEXT_PACKAGE="' + meson.project_name() + '"',
 | 
						|
  '-DLOCALEDIR="' + get_option('prefix') / get_option('localedir') + '"',
 | 
						|
  language:'c')
 | 
						|
i18n.gettext(meson.project_name(),
 | 
						|
  args: ['--directory=' + source_root,
 | 
						|
    '--add-comments=TRANSLATORS',
 | 
						|
    '--keyword=_',
 | 
						|
    '--msgid-bugs=https://github.com/labwc/labwc/issues'],
 | 
						|
    preset: 'glib'
 | 
						|
)
 |