mirror of
				https://github.com/Mikaela/Limnoria.git
				synced 2025-10-31 15:47:25 +01:00 
			
		
		
		
	Merge branch 'i18n' into l10n-fr
This commit is contained in:
		
						commit
						17fc98a3ee
					
				| @ -304,6 +304,8 @@ def internationalizeDocstring(obj): | ||||
|     """Decorates functions and internationalize their docstring. | ||||
| 
 | ||||
|     Only useful for commands (commands' docstring is displayed on IRC)""" | ||||
|     if obj.__doc__ == None: | ||||
| 	return obj | ||||
|     if sys.modules[obj.__module__].__dict__.has_key('_'): | ||||
| 	internationalizedCommands.update({hash(obj): obj}) | ||||
| 	try: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Valentin Lorentz
						Valentin Lorentz