mirror of
https://github.com/transmission/transmission
synced 2025-02-02 12:32:54 +00:00
add 2 missing strings to the localization
This commit is contained in:
parent
193e43d2fc
commit
d06610dce7
2 changed files with 4 additions and 2 deletions
|
@ -2653,7 +2653,8 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
|||
|
||||
if (seeding > 0)
|
||||
{
|
||||
NSString * title = [NSString stringWithFormat: @"%d Seeding", seeding];
|
||||
NSString * title = [NSString stringWithFormat: NSLocalizedString(@"%d Seeding",
|
||||
"Dock item - Seeding"), seeding];
|
||||
if (!seedingItem)
|
||||
{
|
||||
seedingItem = [[[NSMenuItem alloc] initWithTitle: title action: nil keyEquivalent: @""] autorelease];
|
||||
|
@ -2671,7 +2672,8 @@ static void sleepCallBack(void * controller, io_service_t y, natural_t messageTy
|
|||
|
||||
if (downloading > 0)
|
||||
{
|
||||
NSString * title = [NSString stringWithFormat: @"%d Downloading", downloading];
|
||||
NSString * title = [NSString stringWithFormat: NSLocalizedString(@"%d Downloading",
|
||||
"Dock item - Downloading"), downloading];
|
||||
if (!downloadingItem)
|
||||
{
|
||||
downloadingItem = [[[NSMenuItem alloc] initWithTitle: title action: nil keyEquivalent: @""] autorelease];
|
||||
|
|
Binary file not shown.
Loading…
Reference in a new issue