[gnome-calculator] Use first symbol instead of untranslated name on convert (#219)



commit ef2a972b1c5abaad62c1da25f3f7f680c973ef41
Author: Robert Roth <robert roth off gmail com>
Date:   Thu Sep 16 23:36:05 2021 +0300

    Use first symbol instead of untranslated name on convert (#219)

 lib/unit.vala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/unit.vala b/lib/unit.vala
index 9937dfa4..bcebe8d2 100644
--- a/lib/unit.vala
+++ b/lib/unit.vala
@@ -381,7 +381,7 @@ public class Unit : Object
 
     public string get_symbol_from_format ()
     {
-        return _name;
+        return _symbols.first ().data;
         // return _format.replace ("%s", "").replace (" ", "");
     }
 


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