From 7434da9f639272f56c117e73ccddae20a3f79fd0 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Sun, 16 Feb 2014 11:11:53 -0800 Subject: [PATCH] 0566: Translate the "New Style" and "Default" on StyleEditor.py --- src/gui/plug/report/_styleeditor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/plug/report/_styleeditor.py b/src/gui/plug/report/_styleeditor.py index 0eae7e740..fe55175b2 100644 --- a/src/gui/plug/report/_styleeditor.py +++ b/src/gui/plug/report/_styleeditor.py @@ -117,7 +117,7 @@ class StyleListDisplay(object): """Redraws the list of styles that are current available""" self.list.model.clear() - self.list.add(["default"]) + self.list.add([_("default")]) index = 1 for style in self.sheetlist.get_style_names(): @@ -130,7 +130,7 @@ class StyleListDisplay(object): """Called with the ADD button is clicked. Invokes the StyleEditor to create a new style""" style = self.sheetlist.get_style_sheet("default") - StyleEditor("New Style", style, self) + StyleEditor(_("New Style"), style, self) def on_ok_clicked(self, obj): """Called with the OK button is clicked; Calls the callback task,