1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 17:47:37 +00:00

for now, manually update error messages on the Mac client to use the proper wording for the "move file" menu item

This commit is contained in:
Mitchell Livingston 2009-11-02 01:33:15 +00:00
parent aac02231c4
commit 9a2cc68cdc

View file

@ -795,6 +795,9 @@ int trashDataFile(const char * filename)
&& !(error = [NSString stringWithCString: fStat->errorString encoding: NSISOLatin1StringEncoding])) && !(error = [NSString stringWithCString: fStat->errorString encoding: NSISOLatin1StringEncoding]))
error = [NSString stringWithFormat: @"(%@)", NSLocalizedString(@"unreadable error", "Torrent -> error string unreadable")]; error = [NSString stringWithFormat: @"(%@)", NSLocalizedString(@"unreadable error", "Torrent -> error string unreadable")];
//libtransmission uses "Set Location", Mac client uses "Move data file to..." - very hacky!
error = [error stringByReplacingOccurrencesOfString: @"Set Location" withString: [@"Move Data File To" stringByAppendingEllipsis]];
return error; return error;
} }