mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +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:
parent
aac02231c4
commit
9a2cc68cdc
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue