From d5eee0c5dae31d56aa03f312239eb6af2ec60c6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Dr=C4=85g?= Date: Fri, 29 Sep 2017 18:30:30 +0200 Subject: [PATCH] Fix non-English colons in translatable strings --- gxml/CssSelectorParser.vala | 6 +++--- gxml/GomSchema.vala | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gxml/CssSelectorParser.vala b/gxml/CssSelectorParser.vala index 12d78ca4..7378c82c 100644 --- a/gxml/CssSelectorParser.vala +++ b/gxml/CssSelectorParser.vala @@ -162,7 +162,7 @@ public class GXml.CssSelectorParser : GLib.Object { while (css.get_next_char (ref position, out u) && (s != 0 ? u != s : u != ']')) sb1.append_unichar (u); if (s == 0 && !is_valid_identifier (sb1.str)) - throw new CssSelectorError.ATTRIBUTE (_("Invalid attribute selector value : %s").printf (sb1.str)); + throw new CssSelectorError.ATTRIBUTE (_("Invalid attribute selector value: %s").printf (sb1.str)); if (s != 0) { if (u != s) throw new CssSelectorError.STRING (_("Invalid end of attribute value")); @@ -194,7 +194,7 @@ public class GXml.CssSelectorParser : GLib.Object { throw new CssSelectorError.ATTRIBUTE (_("Invalid attribute selector character")); css.get_next_char (ref position, out u); if (u != '=') - throw new CssSelectorError.ATTRIBUTE (_("Invalid attribute selector character : can't find '=' character")); + throw new CssSelectorError.ATTRIBUTE (_("Invalid attribute selector character: can't find '=' character")); css.get_next_char (ref position, out u); while (u.isspace()) css.get_next_char (ref position, out u); @@ -208,7 +208,7 @@ public class GXml.CssSelectorParser : GLib.Object { while (css.get_next_char (ref position, out u) && (s != 0 ? u != s : u != ']')) sb1.append_unichar (u); if (s == 0 && !is_valid_identifier (sb1.str)) - throw new CssSelectorError.ATTRIBUTE (_("Invalid attribute selector value : %s").printf (sb1.str)); + throw new CssSelectorError.ATTRIBUTE (_("Invalid attribute selector value: %s").printf (sb1.str)); if (s != 0) { if (u != s) throw new CssSelectorError.STRING (_("Invalid end of attribute value")); diff --git a/gxml/GomSchema.vala b/gxml/GomSchema.vala index 387d1457..21f78833 100644 --- a/gxml/GomSchema.vala +++ b/gxml/GomSchema.vala @@ -272,7 +272,7 @@ public class GXml.GomXsdList : GomArrayList { try { if (get_item (i) == element) return i; } catch (GLib.Error e) { - warning (_("Can't find element at position: %i : %s").printf (i,e.message)); + warning (_("Can't find element at position: %i: %s").printf (i,e.message)); } } return -1; -- GitLab