Fix a bug in Build and Constants, and clean up some more nested translates
This commit is contained in:
+2
-6
@@ -130,9 +130,7 @@ class NWDoc():
|
||||
|
||||
if showStatus and not isOrphan:
|
||||
self.theParent.setStatus(
|
||||
self.tr("{0}: {1}").format(
|
||||
self.tr("Opened Document"), self._theItem.itemName
|
||||
)
|
||||
self.tr("Opened Document: {0}").format(self._theItem.itemName)
|
||||
)
|
||||
|
||||
return theText
|
||||
@@ -178,9 +176,7 @@ class NWDoc():
|
||||
|
||||
if self._theItem is not None:
|
||||
self.theParent.setStatus(
|
||||
self.tr("{0}: {1}").format(
|
||||
self.tr("Saved Document"), self._theItem.itemName
|
||||
)
|
||||
self.tr("Saved Document: {0}").format(self._theItem.itemName)
|
||||
)
|
||||
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user