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



commit 2196d5f931835c4197fd1ca7145f90ae11bcb028
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]