From 2ee2af68ddf548694f38f925ec379f9938221cc5 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Fri, 24 May 2024 17:05:09 -0400 Subject: [PATCH] Fix translatable key in ui files The value needs to be "yes" rather than "1" for the pot/po files to be updated correctly. Shoutout to Thomas Lange for reporting the issue and deducing the fix. Fixes: https://gitlab.freedesktop.org/pulseaudio/pavucontrol/-/issues/156 --- src/cardwidget.ui | 8 ++++---- src/channelwidget.ui | 4 ++-- src/devicewidget.ui | 32 ++++++++++++++++---------------- src/mainwindow.ui | 32 ++++++++++++++++---------------- src/renamedialog.ui | 6 +++--- src/streamwidget.ui | 8 ++++---- 6 files changed, 45 insertions(+), 45 deletions(-) diff --git a/src/cardwidget.ui b/src/cardwidget.ui index effd2e3..741dc61 100644 --- a/src/cardwidget.ui +++ b/src/cardwidget.ui @@ -27,7 +27,7 @@ 1 - Card Name + Card Name 1 middle 0 @@ -42,7 +42,7 @@ center 1 - Lock card to this profile + Lock card to this profile 0 1 @@ -63,7 +63,7 @@ 6 - <b>Profile:</b> + <b>Profile:</b> 1 0 @@ -79,7 +79,7 @@ 6 - <b>Codec:</b> + <b>Codec:</b> 1 0 diff --git a/src/channelwidget.ui b/src/channelwidget.ui index 66e6775..d8c8ace 100644 --- a/src/channelwidget.ui +++ b/src/channelwidget.ui @@ -6,7 +6,7 @@ center - <b>left-front</b> + <b>left-front</b> 1 1 0 @@ -30,7 +30,7 @@ center 8 8 - <small>50%</small> + <small>50%</small> 1 right 12 diff --git a/src/devicewidget.ui b/src/devicewidget.ui index 7d23b4c..be15c55 100644 --- a/src/devicewidget.ui +++ b/src/devicewidget.ui @@ -30,7 +30,7 @@ - Device Title + Device Title 1 end 0 @@ -45,7 +45,7 @@ center 1 - Mute audio + Mute audio 0 @@ -59,7 +59,7 @@ center 1 - Lock channels together + Lock channels together 0 1 @@ -74,7 +74,7 @@ center 1 - Set as default + Set as default emblem-default @@ -92,7 +92,7 @@ 6 - <b>Port:</b> + <b>Port:</b> 1 0 @@ -133,7 +133,7 @@ 1 - PCM + PCM 0 1 1 @@ -145,7 +145,7 @@ - AC-3 + AC-3 1 1 @@ -155,7 +155,7 @@ - DTS + DTS 1 2 @@ -165,7 +165,7 @@ - E-AC-3 + E-AC-3 1 0 @@ -175,7 +175,7 @@ - MPEG + MPEG 1 1 @@ -185,7 +185,7 @@ - AAC + AAC 1 2 @@ -195,7 +195,7 @@ - TrueHD + TrueHD 1 0 @@ -205,7 +205,7 @@ - DTS-HD + DTS-HD 1 1 @@ -221,7 +221,7 @@ 6 - <b>Latency offset:</b> + <b>Latency offset:</b> 1 0 @@ -234,7 +234,7 @@ - ms + ms 1 @@ -244,7 +244,7 @@ - Advanced + Advanced diff --git a/src/mainwindow.ui b/src/mainwindow.ui index d6e92b7..057aef6 100644 --- a/src/mainwindow.ui +++ b/src/mainwindow.ui @@ -2,7 +2,7 @@ - Volume Control + Volume Control 500 400 multimedia-volume-control @@ -37,7 +37,7 @@ 1 0 - <i>No application is currently playing audio.</i> + <i>No application is currently playing audio.</i> 1 @@ -63,7 +63,7 @@ 1 - <b>_Show:</b> + <b>_Show:</b> 1 1 1 @@ -104,7 +104,7 @@ - _Playback + _Playback 1 @@ -128,7 +128,7 @@ 1 0 - <i>No application is currently recording audio.</i> + <i>No application is currently recording audio.</i> 1 @@ -154,7 +154,7 @@ 1 - <b>_Show:</b> + <b>_Show:</b> 1 1 1 @@ -195,7 +195,7 @@ - _Recording + _Recording 1 @@ -219,7 +219,7 @@ 1 0 - <i>No output devices available</i> + <i>No output devices available</i> 1 @@ -245,7 +245,7 @@ 1 - <b>S_how:</b> + <b>S_how:</b> 1 1 sinkTypeComboBox @@ -287,7 +287,7 @@ - _Output Devices + _Output Devices 1 @@ -311,7 +311,7 @@ 1 0 - <i>No input devices available</i> + <i>No input devices available</i> 1 @@ -337,7 +337,7 @@ 1 - <b>Sho_w:</b> + <b>Sho_w:</b> 1 1 sourceTypeComboBox @@ -385,7 +385,7 @@ - _Input Devices + _Input Devices 1 @@ -413,7 +413,7 @@ 1 0 - <i>No cards available for configuration</i> + <i>No cards available for configuration</i> 1 @@ -428,7 +428,7 @@ - Show volume meters + Show volume meters 1 1 @@ -445,7 +445,7 @@ - _Configuration + _Configuration 1 diff --git a/src/renamedialog.ui b/src/renamedialog.ui index 9ee488a..0e7dbc4 100644 --- a/src/renamedialog.ui +++ b/src/renamedialog.ui @@ -13,7 +13,7 @@ 1 - <b>Rename device to:</b> + <b>Rename device to:</b> 1 0 @@ -34,7 +34,7 @@ 1 - _Cancel + _Cancel 1 1 window.close @@ -42,7 +42,7 @@ - _Ok + _Ok 1 1 win.rename diff --git a/src/streamwidget.ui b/src/streamwidget.ui index 023d760..2147a6b 100644 --- a/src/streamwidget.ui +++ b/src/streamwidget.ui @@ -31,7 +31,7 @@ - Stream Title + Stream Title 1 end 0 @@ -41,7 +41,7 @@ 4 4 - direction + direction 1 0 @@ -61,7 +61,7 @@ center 1 - Mute audio + Mute audio 0 @@ -75,7 +75,7 @@ center 1 - Lock channels together + Lock channels together 0 1