diff options
author | Marcus Lundblad <ml@update.uu.se> | 2021-05-17 22:13:32 +0200 |
---|---|---|
committer | Marcus Lundblad <ml@update.uu.se> | 2021-05-17 22:13:32 +0200 |
commit | 9317f9f1cf6b022f6c602fb5af3d3c7c88a581f2 (patch) | |
tree | e490f3024e89b04c0b16abebb948b53dc5ffa7ac | |
parent | a83bdb0fe6f585bc7b56d488d418df701fd90391 (diff) | |
download | gnome-maps-wip/mlundblad/round-populations.tar.gz |
placeView: Show rounded population numberswip/mlundblad/round-populations
Use the utility function to show abbreviated
population numbers for large round values.
-rw-r--r-- | src/placeView.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/placeView.js b/src/placeView.js index 41db0119..66e7f5e3 100644 --- a/src/placeView.js +++ b/src/placeView.js @@ -448,7 +448,7 @@ var PlaceView = GObject.registerClass({ */ content.push({ label: _("Population"), icon: 'system-users-symbolic', - info: parseInt(place.population).toLocaleString() }); + info: Utils.prettyPopulation(parseInt(place.population)) }); } /* The default value for a place's altitude is -G_MAXDOUBLE, so we can |