diff --git a/gxml/CssSelectorParser.vala b/gxml/CssSelectorParser.vala index 12d78ca490ce9c5774bb3294dead1a01464b3f3c..7378c82cf8297795ebe6263f9345d376c0c24974 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 387d1457f90f48646970813014a5e178d2087733..21f788334935a23067e8a869e7efc2428353993d 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;