list THANKS file in about dialog
This commit is contained in:
		
							parent
							
								
									226185d73a
								
							
						
					
					
						commit
						4764b39382
					
				
					 1 changed files with 10 additions and 3 deletions
				
			
		| 
						 | 
					@ -452,10 +452,17 @@ class AboutDialog:
 | 
				
			||||||
			'Dimitur Kirov <dkirov@gmail.com>',
 | 
								'Dimitur Kirov <dkirov@gmail.com>',
 | 
				
			||||||
			'Travis Shirk <travis@pobox.com>',
 | 
								'Travis Shirk <travis@pobox.com>',
 | 
				
			||||||
			'',
 | 
								'',
 | 
				
			||||||
			'Read AUTHORS file for full list including past developers',
 | 
								_('Read AUTHORS file for full list including past developers'),
 | 
				
			||||||
			'Read THANKS file for contributors',
 | 
								'',
 | 
				
			||||||
 | 
								_('THANKS:'),
 | 
				
			||||||
		]
 | 
							]
 | 
				
			||||||
		#FIXME: make See authors setence and Current devs sentence translatable
 | 
					
 | 
				
			||||||
 | 
							text = open('../THANKS').read()
 | 
				
			||||||
 | 
							text_splitted = text.split('\n')
 | 
				
			||||||
 | 
							text = '\n'.join(text_splitted[:-2]) # remove one english setence
 | 
				
			||||||
 | 
							# and add it manually as translatable
 | 
				
			||||||
 | 
							text += '\n' + _('Last but not least, we thank all the package maintainers') + '\n'
 | 
				
			||||||
 | 
							authors.append(text)
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
		dlg.set_authors(authors)
 | 
							dlg.set_authors(authors)
 | 
				
			||||||
		
 | 
							
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue