[gnome-maps/wip/mlundblad/localized-population: 1/3] placeBubble: Use locale digits for printing population




commit b557ec9b13236bbc7269e9bb99c6919f9738e2b4
Author: Marcus Lundblad <ml update uu se>
Date:   Tue Aug 25 23:27:40 2020 +0200

    placeBubble: Use locale digits for printing population

 src/placeBubble.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/placeBubble.js b/src/placeBubble.js
index 3b2163f1..8182d719 100644
--- a/src/placeBubble.js
+++ b/src/placeBubble.js
@@ -141,7 +141,7 @@ var PlaceBubble = GObject.registerClass({
 
         if (place.population) {
             expandedContent.push({ label: _("Population:"),
-                                   info: place.population });
+                                   info: place.population.toLocaleString() });
         }
 
         if (place.location.altitude > 0) {


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