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:12:39 +01:00
parent 283c1b1aa2
commit 26fe553c69
3 changed files with 1049 additions and 1007 deletions

View File

@ -155,7 +155,7 @@ class StyleListDisplay(object):
return
name = cuni(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)
@ -166,7 +166,7 @@ class StyleListDisplay(object):
if not node:
return
name = cuni(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()

1034
po/fr.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff