mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Language Settings Wrapper
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									15fece7da2
								
							
						
					
					
						commit
						c3137cf07c
					
				
					 4 changed files with 143 additions and 2 deletions
				
			
		|  | @ -32,6 +32,11 @@ typedef struct { | |||
| 	enum taxonomy_category category[3]; | ||||
| } geocoding_prefs_t; | ||||
| 
 | ||||
| typedef struct { | ||||
| 	const char *language; | ||||
| 	bool use_system_language; | ||||
| } locale_prefs_t; | ||||
| 
 | ||||
| enum deco_mode { | ||||
| 	BUEHLMANN, | ||||
| 	RECREATIONAL, | ||||
|  | @ -126,6 +131,7 @@ struct preferences { | |||
| 	int time_threshold; | ||||
| 	int distance_threshold; | ||||
| 	bool git_local_only; | ||||
| 	locale_prefs_t locale; //: TODO: move the rest of locale based info here.
 | ||||
| }; | ||||
| enum unit_system_values { | ||||
| 	METRIC, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue