0566: Translate the "New Style" and "Default" on StyleEditor.py
This commit is contained in:
parent
2404b9df67
commit
88f98b6bf9
@ -113,7 +113,7 @@ class StyleListDisplay(object):
|
|||||||
"""Redraws the list of styles that are current available"""
|
"""Redraws the list of styles that are current available"""
|
||||||
|
|
||||||
self.list.model.clear()
|
self.list.model.clear()
|
||||||
self.list.add(["default"])
|
self.list.add([_("default")])
|
||||||
|
|
||||||
index = 1
|
index = 1
|
||||||
for style in sorted(self.sheetlist.get_style_names()):
|
for style in sorted(self.sheetlist.get_style_names()):
|
||||||
@ -126,7 +126,7 @@ class StyleListDisplay(object):
|
|||||||
"""Called with the ADD button is clicked. Invokes the StyleEditor to
|
"""Called with the ADD button is clicked. Invokes the StyleEditor to
|
||||||
create a new style"""
|
create a new style"""
|
||||||
style = self.sheetlist.get_style_sheet("default")
|
style = self.sheetlist.get_style_sheet("default")
|
||||||
StyleEditor("New Style", style, self)
|
StyleEditor(_("New Style"), style, self)
|
||||||
|
|
||||||
def on_ok_clicked(self, obj):
|
def on_ok_clicked(self, obj):
|
||||||
"""Called with the OK button is clicked; Calls the callback task,
|
"""Called with the OK button is clicked; Calls the callback task,
|
||||||
|
Loading…
Reference in New Issue
Block a user