Bug fixes: Make fpdb run after my previous patches damage
This commit is contained in:
		
							parent
							
								
									ee5e80894c
								
							
						
					
					
						commit
						0ce0c13dd0
					
				| 
						 | 
					@ -35,7 +35,7 @@ import Exceptions
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import locale
 | 
					import locale
 | 
				
			||||||
(lang, charset) = locale.getdefaultlocale()
 | 
					(lang, charset) = locale.getdefaultlocale()
 | 
				
			||||||
if lang == None or lang == "en":
 | 
					if lang == None or lang[:2] == "en":
 | 
				
			||||||
    def _(string): return string
 | 
					    def _(string): return string
 | 
				
			||||||
else:
 | 
					else:
 | 
				
			||||||
    import gettext
 | 
					    import gettext
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user