Translation: Properly support this string

Properly support translating the System Default Device name for sound
output devices. Pending a Spanish translation, but in its current state,
it's no different from where it was before this change.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
Christopher Snowhill 2025-03-06 14:44:11 -08:00
parent 6eaa4b28c2
commit 5eaa4c7774
3 changed files with 3 additions and 1 deletions

View file

@ -10,7 +10,7 @@
[self setSelectsInsertedObjects:NO];
NSDictionary *defaultDeviceInfo = @{
@"name": @"System Default Device",
@"name": NSLocalizedStringFromTableInBundle(@"System Default Device", nil, [NSBundle bundleForClass:[self class]], @""),
@"deviceID": @(-1),
};
[self addObject:defaultDeviceInfo];

View file

@ -54,3 +54,4 @@
"PitchHighConsistency" = "High Consistency";
"ChannelsApart" = "Apart";
"ChannelsTogether" = "Together";
"System Default Device" = "System Default Device";

View file

@ -106,3 +106,4 @@
"PitchHighConsistency" = "Consistencia alta";
"ChannelsApart" = "Separados";
"ChannelsTogether" = "Juntos";
"System Default Device" = "System Default Device";