[gnome-maps] exportViewDialog: Mark filename template string translatable



commit da9ea952f0a62ce2945cca400ab696130744fd7e
Author: Marcus Lundblad <ml update uu se>
Date:   Tue Oct 10 21:47:51 2017 +0200

    exportViewDialog: Mark filename template string translatable
    
    https://bugzilla.gnome.org/show_bug.cgi?id=788783

 src/exportViewDialog.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/exportViewDialog.js b/src/exportViewDialog.js
index ad757f3..2264dd1 100644
--- a/src/exportViewDialog.js
+++ b/src/exportViewDialog.js
@@ -82,8 +82,8 @@ var ExportViewDialog = new Lang.Class({
     },
 
     _getName: function() {
-        return 'Maps at %f, %f.png'.format(this._latitude.toFixed(2),
-                                           this._longitude.toFixed(2));
+        return _("Maps at %f, %f.png").format(this._latitude.toFixed(2),
+                                              this._longitude.toFixed(2));
     },
 
     _setupPreviewArea: function() {


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