[gnome-maps] UserLocation,MapLocation: Add translator comments



commit 696298979769b2808e865bbb06a24462cdd5964b
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Sep 4 17:18:59 2013 +0300

    UserLocation,MapLocation: Add translator comments
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707437

 src/mapLocation.js  |    2 ++
 src/userLocation.js |    3 +++
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/mapLocation.js b/src/mapLocation.js
index 1140eb7..8146d42 100644
--- a/src/mapLocation.js
+++ b/src/mapLocation.js
@@ -112,8 +112,10 @@ const MapLocation = new Lang.Class({
     getAccuracyDescription: function() {
         switch(this.accuracy) {
         case Geocode.LOCATION_ACCURACY_UNKNOWN:
+            // Translators: Accuracy of user location information
             return _("Unknown");
         case 0:
+            // Translators: Accuracy of user location information
             return _("Exact");
         default:
             let area =  Math.PI * Math.pow(this.accuracy / 1000, 2);
diff --git a/src/userLocation.js b/src/userLocation.js
index cca8e86..4f0ca6b 100644
--- a/src/userLocation.js
+++ b/src/userLocation.js
@@ -55,6 +55,9 @@ const UserLocation = new Lang.Class({
             return;
         bubbleActor.set_x_expand(true);
         bubbleActor.set_y_expand(true);
+        // Translators: Showing name of place where user currently is and
+        //              accuracy of this information (which is translated
+        //              separately)
         let text = _("%s\nPosition Accuracy: %s")
                 .format (this.description, this.getAccuracyDescription());
         let textActor = new Clutter.Text({ text: text });


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