[tracker] Translatable strings for the preferences UI
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] Translatable strings for the preferences UI
- Date: Tue, 15 Sep 2009 13:36:48 +0000 (UTC)
commit f79eed2e1426f82f905cadab0511603ca51dee30
Author: Philip Van Hoof <philip codeminded be>
Date: Tue Sep 15 15:35:43 2009 +0200
Translatable strings for the preferences UI
po/POTFILES.in | 2 +-
src/tracker-preferences/tracker-preferences.vala | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 45a9d63..d9a52d0 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -23,7 +23,7 @@ src/tracker-extract/tracker-extract.c
src/tracker-extract/tracker-main.c
src/tracker-miner-fs/tracker-main.c
src/tracker-miner-fs/tracker-miner-files.c
-src/tracker-preferences/tracker-preferences.c
+src/tracker-preferences/tracker-preferences.vala
src/tracker-preferences/tracker-preferences.desktop.in.in
[type: gettext/glade]src/tracker-preferences/tracker-preferences.ui
src/tracker-search-tool/tracker-search-tool-callbacks.c
diff --git a/src/tracker-preferences/tracker-preferences.vala b/src/tracker-preferences/tracker-preferences.vala
index 88b5ecc..7a1dfd6 100644
--- a/src/tracker-preferences/tracker-preferences.vala
+++ b/src/tracker-preferences/tracker-preferences.vala
@@ -83,15 +83,15 @@ public static string hscale_disk_space_limit_format_value_cb (Scale source, doub
config.low_disk_space_limit = (int) value;
if (((int) value) == -1) {
- return "disabled";
+ return _("Disabled");
}
- return "%d%%".printf ((int) value);
+ return _("%d%%").printf ((int) value);
}
public static string hscale_throttle_format_value_cb (Scale source, double value) {
config.throttle = (int) value;
- return "%d/20".printf ((int) value);
+ return _("%d/20").printf ((int) value);
}
public static void add_freevalue (ListStore model) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]