[gnome-control-center] Added a translation context for the time options in Power and Privacy panels
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Added a translation context for the time options in Power and Privacy panels
- Date: Wed, 10 Oct 2018 21:36:23 +0000 (UTC)
commit fa08a3bfe6ddfe5e6c1c377f70e00894fb4b7cff
Author: Marek Cernocky <marek_cernocky conel cz>
Date: Tue Oct 9 14:58:00 2018 +0200
Added a translation context for the time options in Power and Privacy panels
panels/power/power.ui | 40 ++++++++++++++++++++--------------------
panels/privacy/privacy.ui | 44 ++++++++++++++++++++++----------------------
2 files changed, 42 insertions(+), 42 deletions(-)
---
diff --git a/panels/power/power.ui b/panels/power/power.ui
index f6a2b09c8..b410285ed 100644
--- a/panels/power/power.ui
+++ b/panels/power/power.ui
@@ -10,43 +10,43 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">15 minutes</col>
+ <col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for
"Delay" in "Automatic suspend" dialog.">15 minutes</col>
<col id="1">900</col>
</row>
<row>
- <col id="0" translatable="yes">20 minutes</col>
+ <col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for
"Delay" in "Automatic suspend" dialog.">20 minutes</col>
<col id="1">1200</col>
</row>
<row>
- <col id="0" translatable="yes">25 minutes</col>
+ <col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for
"Delay" in "Automatic suspend" dialog.">25 minutes</col>
<col id="1">1500</col>
</row>
<row>
- <col id="0" translatable="yes">30 minutes</col>
+ <col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for
"Delay" in "Automatic suspend" dialog.">30 minutes</col>
<col id="1">1800</col>
</row>
<row>
- <col id="0" translatable="yes">45 minutes</col>
+ <col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for
"Delay" in "Automatic suspend" dialog.">45 minutes</col>
<col id="1">2700</col>
</row>
<row>
- <col id="0" translatable="yes">1 hour</col>
+ <col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for
"Delay" in "Automatic suspend" dialog.">1 hour</col>
<col id="1">3600</col>
</row>
<row>
- <col id="0" translatable="yes">80 minutes</col>
+ <col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for
"Delay" in "Automatic suspend" dialog.">80 minutes</col>
<col id="1">4800</col>
</row>
<row>
- <col id="0" translatable="yes">90 minutes</col>
+ <col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for
"Delay" in "Automatic suspend" dialog.">90 minutes</col>
<col id="1">4800</col>
</row>
<row>
- <col id="0" translatable="yes">100 minutes</col>
+ <col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for
"Delay" in "Automatic suspend" dialog.">100 minutes</col>
<col id="1">6000</col>
</row>
<row>
- <col id="0" translatable="yes">2 hours</col>
+ <col id="0" translatable="yes" context="automatic_suspend" comments="Translators: Option for
"Delay" in "Automatic suspend" dialog.">2 hours</col>
<col id="1">7200</col>
</row>
</data>
@@ -60,43 +60,43 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">1 minute</col>
+ <col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank
screen" in "Power" panel.">1 minute</col>
<col id="1">60</col>
</row>
<row>
- <col id="0" translatable="yes">2 minutes</col>
+ <col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank
screen" in "Power" panel.">2 minutes</col>
<col id="1">120</col>
</row>
<row>
- <col id="0" translatable="yes">3 minutes</col>
+ <col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank
screen" in "Power" panel.">3 minutes</col>
<col id="1">180</col>
</row>
<row>
- <col id="0" translatable="yes">4 minutes</col>
+ <col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank
screen" in "Power" panel.">4 minutes</col>
<col id="1">240</col>
</row>
<row>
- <col id="0" translatable="yes">5 minutes</col>
+ <col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank
screen" in "Power" panel.">5 minutes</col>
<col id="1">300</col>
</row>
<row>
- <col id="0" translatable="yes">8 minutes</col>
+ <col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank
screen" in "Power" panel.">8 minutes</col>
<col id="1">480</col>
</row>
<row>
- <col id="0" translatable="yes">10 minutes</col>
+ <col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank
screen" in "Power" panel.">10 minutes</col>
<col id="1">600</col>
</row>
<row>
- <col id="0" translatable="yes">12 minutes</col>
+ <col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank
screen" in "Power" panel.">12 minutes</col>
<col id="1">720</col>
</row>
<row>
- <col id="0" translatable="yes">15 minutes</col>
+ <col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank
screen" in "Power" panel.">15 minutes</col>
<col id="1">900</col>
</row>
<row>
- <col id="0" translatable="yes">Never</col>
+ <col id="0" translatable="yes" context="blank_screen" comments="Translators: Option for "Blank
screen" in "Power" panel.">Never</col>
<col id="1">0</col>
</row>
</data>
diff --git a/panels/privacy/privacy.ui b/panels/privacy/privacy.ui
index c15b653b6..f00bfad61 100644
--- a/panels/privacy/privacy.ui
+++ b/panels/privacy/privacy.ui
@@ -11,31 +11,31 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">Screen Turns Off</col>
+ <col id="0" translatable="yes" context="lock_screen" comments="Translators: Option for "Lock
screen after blank for" in "Screen Lock" dialog.">Screen Turns Off</col>
<col id="1">0</col>
</row>
<row>
- <col id="0" translatable="yes">30 seconds</col>
+ <col id="0" translatable="yes" context="lock_screen" comments="Translators: Option for "Lock
screen after blank for" in "Screen Lock" dialog.">30 seconds</col>
<col id="1">30</col>
</row>
<row>
- <col id="0" translatable="yes">1 minute</col>
+ <col id="0" translatable="yes" context="lock_screen" comments="Translators: Option for "Lock
screen after blank for" in "Screen Lock" dialog.">1 minute</col>
<col id="1">60</col>
</row>
<row>
- <col id="0" translatable="yes">2 minutes</col>
+ <col id="0" translatable="yes" context="lock_screen" comments="Translators: Option for "Lock
screen after blank for" in "Screen Lock" dialog.">2 minutes</col>
<col id="1">120</col>
</row>
<row>
- <col id="0" translatable="yes">3 minutes</col>
+ <col id="0" translatable="yes" context="lock_screen" comments="Translators: Option for "Lock
screen after blank for" in "Screen Lock" dialog.">3 minutes</col>
<col id="1">180</col>
</row>
<row>
- <col id="0" translatable="yes">5 minutes</col>
+ <col id="0" translatable="yes" context="lock_screen" comments="Translators: Option for "Lock
screen after blank for" in "Screen Lock" dialog.">5 minutes</col>
<col id="1">300</col>
</row>
<row>
- <col id="0" translatable="yes">30 minutes</col>
+ <col id="0" translatable="yes" context="lock_screen" comments="Translators: Option for "Lock
screen after blank for" in "Screen Lock" dialog.">30 minutes</col>
<col id="1">1800</col>
</row>
<row>
@@ -51,45 +51,45 @@
<!-- column-name value -->
<column type="guint"/>
</columns>
- <data>
+ <data comment="TRANSLATORS: This is delay trash and temp files are purged after.">
<row>
- <col id="0" translatable="yes">1 hour</col>
+ <col id="0" translatable="yes" context="purge_files" comments="Translators: Option for "Purge
After" in "Purge Trash & Temporary Files" dialog.">1 hour</col>
<col id="1">0</col>
</row>
<row>
- <col id="0" translatable="yes">1 day</col>
+ <col id="0" translatable="yes" context="purge_files" comments="Translators: Option for "Purge
After" in "Purge Trash & Temporary Files" dialog.">1 day</col>
<col id="1">1</col>
</row>
<row>
- <col id="0" translatable="yes">2 days</col>
+ <col id="0" translatable="yes" context="purge_files" comments="Translators: Option for "Purge
After" in "Purge Trash & Temporary Files" dialog.">2 days</col>
<col id="1">2</col>
</row>
<row>
- <col id="0" translatable="yes">3 days</col>
+ <col id="0" translatable="yes" context="purge_files" comments="Translators: Option for "Purge
After" in "Purge Trash & Temporary Files" dialog.">3 days</col>
<col id="1">3</col>
</row>
<row>
- <col id="0" translatable="yes">4 days</col>
+ <col id="0" translatable="yes" context="purge_files" comments="Translators: Option for "Purge
After" in "Purge Trash & Temporary Files" dialog.">4 days</col>
<col id="1">4</col>
</row>
<row>
- <col id="0" translatable="yes">5 days</col>
+ <col id="0" translatable="yes" context="purge_files" comments="Translators: Option for "Purge
After" in "Purge Trash & Temporary Files" dialog.">5 days</col>
<col id="1">5</col>
</row>
<row>
- <col id="0" translatable="yes">6 days</col>
+ <col id="0" translatable="yes" context="purge_files" comments="Translators: Option for "Purge
After" in "Purge Trash & Temporary Files" dialog.">6 days</col>
<col id="1">6</col>
</row>
<row>
- <col id="0" translatable="yes">7 days</col>
+ <col id="0" translatable="yes" context="purge_files" comments="Translators: Option for "Purge
After" in "Purge Trash & Temporary Files" dialog.">7 days</col>
<col id="1">7</col>
</row>
<row>
- <col id="0" translatable="yes">14 days</col>
+ <col id="0" translatable="yes" context="purge_files" comments="Translators: Option for "Purge
After" in "Purge Trash & Temporary Files" dialog.">14 days</col>
<col id="1">14</col>
</row>
<row>
- <col id="0" translatable="yes">30 days</col>
+ <col id="0" translatable="yes" context="purge_files" comments="Translators: Option for "Purge
After" in "Purge Trash & Temporary Files" dialog.">30 days</col>
<col id="1">30</col>
</row>
</data>
@@ -103,19 +103,19 @@
</columns>
<data>
<row>
- <col id="0" translatable="yes">1 day</col>
+ <col id="0" translatable="yes" context="retain_history" comments="Translators: Option for
"Retain History" in "Usage & History" dialog.">1 day</col>
<col id="1">1</col>
</row>
<row>
- <col id="0" translatable="yes">7 days</col>
+ <col id="0" translatable="yes" context="retain_history" comments="Translators: Option for
"Retain History" in "Usage & History" dialog.">7 days</col>
<col id="1">7</col>
</row>
<row>
- <col id="0" translatable="yes">30 days</col>
+ <col id="0" translatable="yes" context="retain_history" comments="Translators: Option for
"Retain History" in "Usage & History" dialog.">30 days</col>
<col id="1">30</col>
</row>
<row>
- <col id="0" translatable="yes">Forever</col>
+ <col id="0" translatable="yes" context="retain_history" comments="Translators: Option for
"Retain History" in "Usage & History" dialog.">Forever</col>
<col id="1">-1</col>
</row>
</data>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]