bugfix
This commit is contained in:
		
							parent
							
								
									3ad63c0c27
								
							
						
					
					
						commit
						5e3ba6e98a
					
				
					 1 changed files with 5 additions and 3 deletions
				
			
		|  | @ -22,7 +22,7 @@ _ = i18n._ | ||||||
| 
 | 
 | ||||||
| def get_uf_show(show): | def get_uf_show(show): | ||||||
| 	'''returns a userfriendly string for dnd/xa/chat | 	'''returns a userfriendly string for dnd/xa/chat | ||||||
| 	and capitalize()s the rest''' | 	and capitalize()s the rest and make translatable''' | ||||||
| 	if show == 'dnd': | 	if show == 'dnd': | ||||||
| 		uf_show = _('Busy') | 		uf_show = _('Busy') | ||||||
| 	elif show == 'xa': | 	elif show == 'xa': | ||||||
|  | @ -35,6 +35,8 @@ def get_uf_show(show): | ||||||
| 		uf_show = _('Connecting') | 		uf_show = _('Connecting') | ||||||
| 	elif show == 'away': | 	elif show == 'away': | ||||||
| 		uf_show = _('Away') | 		uf_show = _('Away') | ||||||
| 	elif show == 'away': | 	elif show == 'offline': | ||||||
| 		uf_show = _('Away') | 		uf_show = _('Offline') | ||||||
|  | 	elif show == 'invisible': | ||||||
|  | 		uf_show = _('Invisible') | ||||||
| 	return uf_show | 	return uf_show | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue