mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Get divelist headers localized, too
This fixes an oversight in commit 881a2df83616 ("Conversion to gettext to
allow localization") - string literals that are marked with N_ need to be
converted when the corresponding variables are used at runtime. This was
missed for the divelist headers.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
			
			
This commit is contained in:
		
							parent
							
								
									f5de37dbcf
								
							
						
					
					
						commit
						d4a3ecedb0
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1273,7 +1273,7 @@ static struct divelist_column {
 | 
				
			||||||
static GtkTreeViewColumn *divelist_column(struct DiveList *dl, struct divelist_column *col)
 | 
					static GtkTreeViewColumn *divelist_column(struct DiveList *dl, struct divelist_column *col)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	int index = col - &dl_column[0];
 | 
						int index = col - &dl_column[0];
 | 
				
			||||||
	const char *title = col->header;
 | 
						const char *title = _(col->header);
 | 
				
			||||||
	data_func_t data_func = col->data;
 | 
						data_func_t data_func = col->data;
 | 
				
			||||||
	sort_func_t sort_func = col->sort;
 | 
						sort_func_t sort_func = col->sort;
 | 
				
			||||||
	unsigned int flags = col->flags;
 | 
						unsigned int flags = col->flags;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue