[Xfce4-commits] <postler:master> Add translator comments about file and command line parsing
Christian Dywan
noreply at xfce.org
Tue Jan 25 20:16:01 CET 2011
Updating branch refs/heads/master
to baef279b84791e46d3f575e3e36d4bcf1c457d4b (commit)
from cfde7fff91834e91a5f395d4387fe4a9d1a6c0f3 (commit)
commit baef279b84791e46d3f575e3e36d4bcf1c457d4b
Author: Christian Dywan <christian at twotoasts.de>
Date: Tue Jan 25 20:10:06 2011 +0100
Add translator comments about file and command line parsing
postler/postler-accounts.vala | 4 ++--
postler/postler-reader.vala | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/postler/postler-accounts.vala b/postler/postler-accounts.vala
index 2f8c2de..87fe400 100644
--- a/postler/postler-accounts.vala
+++ b/postler/postler-accounts.vala
@@ -137,7 +137,6 @@ namespace Postler {
}
public class Postler.Accounts : GLib.Object {
- string location;
string config_path;
string account_file;
string data_path;
@@ -361,8 +360,9 @@ public class Postler.Accounts : GLib.Object {
_("Invalid type \"%s\"").printf (type));
infos.prepend (info);
} catch (GLib.Error error) {
+ /* i18n: File was found but can't contains invalid values */
GLib.critical (_("Failed to parse account in \"%s\": %s"),
- location, error.message);
+ account_file, error.message);
}
}
infos.reverse ();
diff --git a/postler/postler-reader.vala b/postler/postler-reader.vala
index 1162c86..f9d4173 100644
--- a/postler/postler-reader.vala
+++ b/postler/postler-reader.vala
@@ -39,6 +39,7 @@ public class Postler.Reader {
try {
context.parse (ref args);
} catch (GLib.Error error) {
+ /* i18n: Command line arguments are invalid */
GLib.error (_("Failed to parse command line: %s"), error.message);
}
More information about the Xfce4-commits
mailing list