[gnome-calculator/73-in-operator-should-be-localized] Mark `in` keyword as translatable (#73)



commit b49170f5899b324406bc962deb1fe87032789d51
Author: Robert Roth <robert roth off gmail com>
Date:   Wed Sep 5 23:36:30 2018 +0300

    Mark `in` keyword as translatable (#73)

 lib/equation-lexer.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/equation-lexer.vala b/lib/equation-lexer.vala
index 017360ac..4edb4604 100644
--- a/lib/equation-lexer.vala
+++ b/lib/equation-lexer.vala
@@ -692,7 +692,7 @@ public class Lexer : Object
             return insert_token (LexerTokenType.XOR);
         if (name == "not")
             return insert_token (LexerTokenType.NOT);
-        if (name == "in")
+        if (name == _("in"))
             return insert_token (LexerTokenType.IN);
         if (check_if_function ())
             return insert_token (LexerTokenType.FUNCTION);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]