More cleanup/normalization of Localizable.strings

This commit is contained in:
Greg Neagle
2014-08-25 11:02:28 -07:00
parent b6f0518282
commit a84d0316fc
11 changed files with 6 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ class AlertController(NSObject):
NSApp.activateIgnoringOtherApps_(True)
info = notification_obj.userInfo()
moreText = NSLocalizedString(
(u"\nAll pending updates will be installed. Unsaved work will be lost."
(u"All pending updates will be installed. Unsaved work will be lost."
"\nYou may avoid the forced logout by logging out now."),
u"Forced Logout warning detail")
logout_time = None
@@ -48,13 +48,13 @@ class AlertController(NSObject):
formatString = NSLocalizedString(
u"A logout will be forced at approximately %s.",
u"Logout warning string when logout is an hour or more away")
infoText = formatString % deadline_str + moreText
infoText = formatString % deadline_str + u"\n" + moreText
elif time_til_logout > 0:
msulog.log("user", "forced_logout_warning_%s" % time_til_logout)
formatString = NSLocalizedString(
u"A logout will be forced in less than %s minutes.",
u"Logout warning string when logout is in < 60 minutes")
infoText = formatString % time_til_logout + moreText
infoText = formatString % time_til_logout + u"\n" + moreText
else:
msulog.log("user", "forced_logout_warning_final")
infoText = NSLocalizedString(

View File

@@ -1,2 +1,5 @@
/* Localized versions of Info.plist keys */
"CFBundleName" = "MunkiStatus";
"CFBundleDisplayName" = "MunkiStatus";
NSHumanReadableCopyright = "Copyright © 2010-2014 The Munki Project\nhttp://code.google.com/p/munki";