summaryrefslogtreecommitdiff
path: root/src/tracker-preferences
diff options
context:
space:
mode:
authorMartyn Russell <martyn@lanedo.com>2013-09-10 09:39:10 +0100
committerMartyn Russell <martyn@lanedo.com>2013-09-10 09:39:10 +0100
commitd17d1f5b9c1409f719916d84e2a66c7138c69ba7 (patch)
tree8d56833b4f66a1e33cb8b1ba1d5c2a1b1a07add4 /src/tracker-preferences
parentc63ab5cc3ed20f2ec261928e4342c9b57ce98cd7 (diff)
downloadtracker-d17d1f5b9c1409f719916d84e2a66c7138c69ba7.tar.gz
build: Add context for translators for command line binaries
https://bugzilla.gnome.org/show_bug.cgi?id=707501
Diffstat (limited to 'src/tracker-preferences')
-rw-r--r--src/tracker-preferences/tracker-preferences.vala11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/tracker-preferences/tracker-preferences.vala b/src/tracker-preferences/tracker-preferences.vala
index 4b449eaf1..f5472231a 100644
--- a/src/tracker-preferences/tracker-preferences.vala
+++ b/src/tracker-preferences/tracker-preferences.vala
@@ -326,19 +326,26 @@ public class Tracker.Preferences {
[CCode (instance_pos = -1)]
public string hscale_disk_space_limit_format_value_cb (Scale source, double value) {
if (((int) value) == -1) {
+ /* To translators: This is a feature that is
+ * disabled for disk space checking.
+ */
return _("Disabled");
}
- return _("%d%%").printf ((int) value);
+ return "%d%%".printf ((int) value);
}
[CCode (instance_pos = -1)]
public string hscale_drop_device_threshold_format_value_cb (Scale source, double value) {
if (((int) value) == 0) {
+ /* To translators: This is a feature that is
+ * disabled for removing a device from a
+ * database cache.
+ */
return _("Disabled");
}
- return _("%d").printf ((int) value);
+ return "%d".printf ((int) value);
}
[CCode (instance_pos = -1)]