566 7477: Translate 'New Style' and 'Default' on StyleEditor; update template for translation strings

This commit is contained in:
Jérôme Rapinat 2014-02-19 15:27:54 +01:00
parent 574124a688
commit 567a526857
3 changed files with 537 additions and 518 deletions

523
po/fr.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -159,7 +159,7 @@ class StyleListDisplay(object):
return
name = unicode(self.list.model.get_value(node, 0))
if name == 'default': # the default style cannot be edited
if name == _('default'): # the default style cannot be edited
return
style = self.sheetlist.get_style_sheet(name)
StyleEditor(name, style, self)
@ -170,7 +170,7 @@ class StyleListDisplay(object):
if not node:
return
name = unicode(self.list.model.get_value(node, 0))
if name == 'default': # the default style cannot be removed
if name == _('default'): # the default style cannot be removed
return
self.sheetlist.delete_style_sheet(name)
self.redraw()