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:17:25 +01:00
parent ee9151b117
commit 22ef7a0df3
3 changed files with 1067 additions and 1048 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()

1063
po/fr.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff