From 4da483e1138d7781b4bb45fd977a3f874d2d9f16 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Wed, 24 Oct 2007 13:10:59 +0000 Subject: [PATCH] add missing localized string --- Transmission.xcodeproj/project.pbxproj | 2 +- macosx/Torrent.m | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Transmission.xcodeproj/project.pbxproj b/Transmission.xcodeproj/project.pbxproj index ad97fa2b4..27f465fe7 100644 --- a/Transmission.xcodeproj/project.pbxproj +++ b/Transmission.xcodeproj/project.pbxproj @@ -364,7 +364,7 @@ 4DFBC2DD09C0970D00D5C571 /* Torrent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = Torrent.h; path = macosx/Torrent.h; sourceTree = ""; }; 4DFBC2DE09C0970D00D5C571 /* Torrent.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = Torrent.m; path = macosx/Torrent.m; sourceTree = ""; }; 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; name = Info.plist; path = macosx/Info.plist; sourceTree = ""; }; - 8D1107320486CEB800E47090 /* Transmission.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Transmission.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 8D1107320486CEB800E47090 /* Transmission.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = Transmission.app; sourceTree = BUILT_PRODUCTS_DIR; }; A200B8390A2263BA007BBB1E /* InfoWindowController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = InfoWindowController.h; path = macosx/InfoWindowController.h; sourceTree = ""; }; A200B83A0A2263BA007BBB1E /* InfoWindowController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = InfoWindowController.m; path = macosx/InfoWindowController.m; sourceTree = ""; }; A2041D520C9AC523000ACFFB /* Lock.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; name = Lock.tiff; path = macosx/Images/Lock.tiff; sourceTree = ""; }; diff --git a/macosx/Torrent.m b/macosx/Torrent.m index 6417c2260..3f3261c0a 100644 --- a/macosx/Torrent.m +++ b/macosx/Torrent.m @@ -919,10 +919,11 @@ void completenessChangeCallback(tr_torrent * torrent, cp_status_t status, void * if ([self isActive] && ![self isChecking]) { if (fStat->status == TR_STATUS_DOWNLOAD) - string = [string stringByAppendingFormat: @" - DL: %@, UL: %@", + string = [string stringByAppendingFormat: NSLocalizedString(@" - DL: %@, UL: %@", "Torrent -> status string"), [NSString stringForSpeed: [self downloadRate]], [NSString stringForSpeed: [self uploadRate]]]; else - string = [string stringByAppendingFormat: @" - UL: %@", [NSString stringForSpeed: [self uploadRate]]]; + string = [string stringByAppendingFormat: NSLocalizedString(@" - UL: %@", "Torrent -> status string"), + [NSString stringForSpeed: [self uploadRate]]]; } return string;