fix: translate audio channels and devices list (#520)

This commit is contained in:
Eva
2023-04-25 19:21:51 +02:00
committed by GitHub
parent e23eea6e43
commit f403f92c1d
2 changed files with 2 additions and 2 deletions

View File

@@ -1174,7 +1174,7 @@ bind_command('audio-device', create_self_updating_menu_opener({
local hint = string.match(device.name, ao .. '/(.+)')
if not hint then hint = device.name end
items[#items + 1] = {
title = device.description,
title = device.description:sub(1, 7) == 'Default' and t('Default %s', device.description:sub(9)) or t(device.description),
hint = hint,
active = device.name == current_device,
value = device.name,