Detailed info box wasn't translated (Alain Aupeix - devel mailing list)
svn: r16746
This commit is contained in:
		@@ -571,14 +571,14 @@ class PluginStatus(ManagedWindow.ManagedWindow):
 | 
				
			|||||||
        if len(email) > 60: 
 | 
					        if len(email) > 60: 
 | 
				
			||||||
            email = email[:60] + '...'
 | 
					            email = email[:60] + '...'
 | 
				
			||||||
        if pdata:
 | 
					        if pdata:
 | 
				
			||||||
            infotxt = """Plugin name: %(name)s [%(typestr)s]
 | 
					            infotxt = """%(plugnam)s: %(name)s [%(typestr)s]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Description:  %(descr)s
 | 
					%(plugdes)s: %(descr)s
 | 
				
			||||||
Version: %(version)s
 | 
					%(plugver)s: %(version)s
 | 
				
			||||||
Authors:  %(authors)s
 | 
					%(plugaut)s: %(authors)s
 | 
				
			||||||
Email:  %(email)s
 | 
					%(plugmel)s: %(email)s
 | 
				
			||||||
Filename:  %(fname)s
 | 
					%(plugfil)s: %(fname)s
 | 
				
			||||||
Location: %(fpath)s
 | 
					%(plugpat)s: %(fpath)s
 | 
				
			||||||
""" % {
 | 
					""" % {
 | 
				
			||||||
            'name': pdata.name,
 | 
					            'name': pdata.name,
 | 
				
			||||||
            'typestr': typestr,
 | 
					            'typestr': typestr,
 | 
				
			||||||
@@ -588,8 +588,15 @@ Location: %(fpath)s
 | 
				
			|||||||
            'email': email,
 | 
					            'email': email,
 | 
				
			||||||
            'fname': pdata.fname,
 | 
					            'fname': pdata.fname,
 | 
				
			||||||
            'fpath': pdata.fpath,
 | 
					            'fpath': pdata.fpath,
 | 
				
			||||||
 | 
					            'plugnam': _("Plugin name"),
 | 
				
			||||||
 | 
					            'plugdes': _("Description"),
 | 
				
			||||||
 | 
					            'plugver': _("Version"),
 | 
				
			||||||
 | 
					            'plugaut': _("Authors"),
 | 
				
			||||||
 | 
					            'plugmel': _("Email"),
 | 
				
			||||||
 | 
					            'plugfil': _("Filename"),
 | 
				
			||||||
 | 
					            'plugpat': _("Location"),
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            InfoDialog('Detailed Info', infotxt, parent=self.window)
 | 
					            InfoDialog(_('Detailed Info'), infotxt, parent=self.window)
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    def __hide(self, obj, list_obj, id_col, hide_col):
 | 
					    def __hide(self, obj, list_obj, id_col, hide_col):
 | 
				
			||||||
        """ Callback function from the "Hide" button
 | 
					        """ Callback function from the "Hide" button
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user