More localization tweaks.

This commit is contained in:
Greg Neagle
2012-05-01 14:31:20 -07:00
parent 620bb386e9
commit 58bada0a5b
3 changed files with 8 additions and 8 deletions

View File

@@ -26,7 +26,7 @@
"81.title" = "Mettre à jour";
/* Class = "NSMenuItem"; title = "Update now "; ObjectID = "82"; */
"82.title" = "Mettre à jour maintenant ";
"82.title" = "Mettre à jour Maintenant";
/* Class = "NSMenuItem"; title = "Update"; ObjectID = "83"; */
"83.title" = "Mettre à jour";
@@ -167,7 +167,7 @@
"380.title" = "Mettre à jour votre logiciel peut prendre un certain temps. Si vous n'êtes pas disponible maintenant, vous pouvez choisir de faire cela plus tard.";
/* Class = "NSButtonCell"; title = "Update now"; ObjectID = "382"; */
"382.title" = "Mettre à jour maintenant";
"382.title" = "Mettre à jour";
/* Class = "NSButtonCell"; title = "Later"; ObjectID = "384"; */
"384.title" = "Pas maintenant";

View File

@@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>3.3.1</string>
<string>3.4</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>3.3.2</string>
<string>3.4</string>
<key>LSHasLocalizedDisplayName</key>
<true/>
<key>NSMainNibFile</key>

View File

@@ -216,7 +216,7 @@ class MSUStatusWindowController(NSObject):
def socketEnded_(self, socketSessionResult):
NSApp.delegate().munkiStatusSessionEnded_(socketSessionResult)
def processSocketMsg_(self, message):
if message.startswith(u"ACTIVATE: "):
NSApp.activateIgnoringOtherApps_(True)
@@ -228,13 +228,13 @@ class MSUStatusWindowController(NSObject):
self.window.orderFront_(self)
return ""
if message.startswith(u"TITLE: "):
self.window.setTitle_(message[7:])
self.window.setTitle_(NSLocalizedString(message[7:], None))
return ""
if message.startswith(u"MESSAGE: "):
self.messageFld.setStringValue_(message[9:])
self.messageFld.setStringValue_(NSLocalizedString(message[9:], None))
return ""
if message.startswith(u"DETAIL: "):
self.detailFld.setStringValue_(message[8:])
self.detailFld.setStringValue_(NSLocalizedString(message[8:], None))
return ""
if message.startswith(u"PERCENT: "):
self.setPercentageDone(message[9:])