[gnome-control-center/wip/hadess/power-profile-labels: 7/7] power: Update power profile labels




commit 2b7cccf13ba3e4ba655812995aae1fe9d93a69ac
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Aug 5 15:24:58 2021 +0200

    power: Update power profile labels
    
    Use "Balanced" instead of "Balanced Power", and make sure to add a
    context for all the profiles for translators.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4530#note_1243075

 panels/power/cc-power-profile-row.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/panels/power/cc-power-profile-row.c b/panels/power/cc-power-profile-row.c
index 9d7f1fe6b..f290caa10 100644
--- a/panels/power/cc-power-profile-row.c
+++ b/panels/power/cc-power-profile-row.c
@@ -181,15 +181,15 @@ cc_power_profile_row_new (CcPowerProfile power_profile)
   switch (self->power_profile)
     {
       case CC_POWER_PROFILE_PERFORMANCE:
-        text = _("Performance");
+        text = C_("Power profile", "Performance");
         subtext = _("High performance and power usage.");
         break;
       case CC_POWER_PROFILE_BALANCED:
-        text = _("Balanced");
+        text = C_("Power profile", "Balanced");
         subtext = _("Standard performance and power usage.");
         break;
       case CC_POWER_PROFILE_POWER_SAVER:
-        text = _("Power Saver");
+        text = C_("Power profile", "Power Saver");
         subtext = _("Reduced performance and power usage.");
         break;
       default:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]