1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 01:57:52 +00:00

remove an unneeded localization

This commit is contained in:
Mitchell Livingston 2008-01-10 15:53:02 +00:00
parent af96ba0d41
commit b0cf977624
2 changed files with 4 additions and 6 deletions

View file

@ -2110,9 +2110,8 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
int i; int i;
for (i = 0; ratioLimitActionValue[i] != -1; i++) for (i = 0; ratioLimitActionValue[i] != -1; i++)
{ {
item = [[NSMenuItem alloc] initWithTitle: [NSString stringWithFormat: NSLocalizedString(@"%.2f", item = [[NSMenuItem alloc] initWithTitle: [NSString stringWithFormat: @"%.2f", ratioLimitActionValue[i]]
"Action menu -> ratio stop"), ratioLimitActionValue[i]] action: @selector(setQuickRatioGlobal:) action: @selector(setQuickRatioGlobal:) keyEquivalent: @""];
keyEquivalent: @""];
[item setTarget: self]; [item setTarget: self];
[item setRepresentedObject: [NSNumber numberWithFloat: ratioLimitActionValue[i]]]; [item setRepresentedObject: [NSNumber numberWithFloat: ratioLimitActionValue[i]]];
[menu addItem: item]; [menu addItem: item];

View file

@ -413,9 +413,8 @@
int i; int i;
for (i = 0; ratioLimitActionValue[i] != -1.0; i++) for (i = 0; ratioLimitActionValue[i] != -1.0; i++)
{ {
item = [[NSMenuItem alloc] initWithTitle: [NSString stringWithFormat: NSLocalizedString(@"%.2f", item = [[NSMenuItem alloc] initWithTitle: [NSString stringWithFormat: @"%.2f", ratioLimitActionValue[i]]
"Action menu -> ratio stop"), ratioLimitActionValue[i]] action: @selector(setQuickRatio:) action: @selector(setQuickRatio:) keyEquivalent: @""];
keyEquivalent: @""];
[item setTarget: self]; [item setTarget: self];
[item setRepresentedObject: [NSNumber numberWithFloat: ratioLimitActionValue[i]]]; [item setRepresentedObject: [NSNumber numberWithFloat: ratioLimitActionValue[i]]];
[menu addItem: item]; [menu addItem: item];