mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
remove an unneeded localization
This commit is contained in:
parent
af96ba0d41
commit
b0cf977624
2 changed files with 4 additions and 6 deletions
|
@ -2110,9 +2110,8 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
|
|||
int i;
|
||||
for (i = 0; ratioLimitActionValue[i] != -1; i++)
|
||||
{
|
||||
item = [[NSMenuItem alloc] initWithTitle: [NSString stringWithFormat: NSLocalizedString(@"%.2f",
|
||||
"Action menu -> ratio stop"), ratioLimitActionValue[i]] action: @selector(setQuickRatioGlobal:)
|
||||
keyEquivalent: @""];
|
||||
item = [[NSMenuItem alloc] initWithTitle: [NSString stringWithFormat: @"%.2f", ratioLimitActionValue[i]]
|
||||
action: @selector(setQuickRatioGlobal:) keyEquivalent: @""];
|
||||
[item setTarget: self];
|
||||
[item setRepresentedObject: [NSNumber numberWithFloat: ratioLimitActionValue[i]]];
|
||||
[menu addItem: item];
|
||||
|
|
|
@ -413,9 +413,8 @@
|
|||
int i;
|
||||
for (i = 0; ratioLimitActionValue[i] != -1.0; i++)
|
||||
{
|
||||
item = [[NSMenuItem alloc] initWithTitle: [NSString stringWithFormat: NSLocalizedString(@"%.2f",
|
||||
"Action menu -> ratio stop"), ratioLimitActionValue[i]] action: @selector(setQuickRatio:)
|
||||
keyEquivalent: @""];
|
||||
item = [[NSMenuItem alloc] initWithTitle: [NSString stringWithFormat: @"%.2f", ratioLimitActionValue[i]]
|
||||
action: @selector(setQuickRatio:) keyEquivalent: @""];
|
||||
[item setTarget: self];
|
||||
[item setRepresentedObject: [NSNumber numberWithFloat: ratioLimitActionValue[i]]];
|
||||
[menu addItem: item];
|
||||
|
|
Loading…
Reference in a new issue