diff options
author | Martyn Russell <martyn@lanedo.com> | 2013-09-10 09:39:10 +0100 |
---|---|---|
committer | Martyn Russell <martyn@lanedo.com> | 2013-09-10 09:39:10 +0100 |
commit | d17d1f5b9c1409f719916d84e2a66c7138c69ba7 (patch) | |
tree | 8d56833b4f66a1e33cb8b1ba1d5c2a1b1a07add4 /src/tracker-preferences | |
parent | c63ab5cc3ed20f2ec261928e4342c9b57ce98cd7 (diff) | |
download | tracker-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.vala | 11 |
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)] |