Browse Source

Fix some strings to translate in templates

Baptiste Jonglez 8 years ago
parent
commit
3a007a8f45
1 changed files with 14 additions and 14 deletions
  1. 14 14
      panorama/templates/panorama/view.html

+ 14 - 14
panorama/templates/panorama/view.html

@@ -117,9 +117,9 @@
         <ul class="dropdown-menu">
             <li>
                 <div>
-                  <p>{% trans "latitude" %} :   <em><span id="pos_lat">{{ panorama.latitude }}</span>°</em></p>
-                  <p>{% trans "longitude" %} : <em><span id="pos_lon">{{ panorama.longitude }}</span>°</em></p>
-                  <p>{% trans "altitude" %} : <em><span id="pos_alt">{{ panorama.altitude }}</span> m</em></p>
+                  <p>{% trans "latitude:" %} <em><span id="pos_lat">{{ panorama.latitude }}</span>°</em></p>
+                  <p>{% trans "longitude:" %} <em><span id="pos_lon">{{ panorama.longitude }}</span>°</em></p>
+                  <p>{% trans "altitude:" %} <em><span id="pos_alt">{{ panorama.altitude }}</span> m</em></p>
                 </div>
             </li>
         </ul>
@@ -128,24 +128,24 @@
         <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-gears"></i>  {% trans "Controls" %}<b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li>
-                  <label>{% trans "Zoom" %} : <input type="range" min="0" max="2" value="2" id="zoom_ctrl"/></label>
-                  <label>{% trans "Cap" %} : <input type="number" min="0" max="360" step="10" value="0" autofocus="" id="angle_ctrl"/></label>
-                  <label>{% trans "Élévation" %} : <input type="number" min="-90" max="90" step="1" value="0" autofocus="" id="elvtn_ctrl"/></label>
+                  <label>{% trans "Zoom:" %} <input type="range" min="0" max="2" value="2" id="zoom_ctrl"/></label>
+                  <label>{% trans "Bearing:" %} <input type="number" min="0" max="360" step="10" value="0" autofocus="" id="angle_ctrl"/></label>
+                  <label>{% trans "Elevation:" %} <input type="number" min="-90" max="90" step="1" value="0" autofocus="" id="elvtn_ctrl"/></label>
             </li>
         </ul>
     </li>
     <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-search"></i>  {% trans "Localize" %}<b class="caret"></b></a>
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-search"></i>  {% trans "Locate" %}<b class="caret"></b></a>
         <ul class="dropdown-menu">
             <li>
-                  <label class="form_col" title="La latitude ϵ [-90°, 90°]. Ex: 12.55257">{% trans "Latitude" %} :
+                  <label class="form_col" title="La latitude ϵ [-90°, 90°]. Ex: 12.55257">{% trans "Latitude:" %}
                     <input  name="loca_latitude" type="number" min="-90" max="90"  id="loca_latitude"/></label>
-                  <label class="form_col" title="La longitude ϵ [-180°, 180°]. Ex: 144.14723">{% trans "Longitude" %} :
+                  <label class="form_col" title="La longitude ϵ [-180°, 180°]. Ex: 144.14723">{% trans "Longitude:" %}
                     <input name="loca_longitude" type="number" min="-180" max="180" id="loca_longitude"/></label>
-                  <label class="form_col" title="L'altitude positive Ex: 170">{% trans "Altitude" %} :
+                  <label class="form_col" title="L'altitude positive Ex: 170">{% trans "Altitude:" %}
                     <input  name="loca_altitude" type="number" min="-400" id="loca_altitude"/></label>
                   <div class="loca_buttons">
-                    <input type="button" class="btn btn-info btn-sm" value="{% trans "Localize" %}" id="loca_button"/>
+                    <input type="button" class="btn btn-info btn-sm" value="{% trans "Locate" %}" id="loca_button"/>
                     <input type="button" class="btn btn-danger btn-sm" value="{% trans "Delete" %}" id="loca_erase"/>
                   </div>
             </li>
@@ -175,9 +175,9 @@ style="padding-left:0px"
         <option>{{ refpoint.name }}</option>
         {% endfor %}
       </select>
-      <input type="button" id="do-insert" class="btn btn-primary btn-sm" value={% trans "insert" %} />
-      <input type="button" id="do-delete" class="btn btn-danger btn-sm" value={% trans "delete" %} />
-      <input type="button" id="do-cancel" class="btn btn-warning btn-sm" value={% trans "cancel" %} />
+      <input type="button" id="do-insert" class="btn btn-primary btn-sm" value={% trans "Insert" %} />
+      <input type="button" id="do-delete" class="btn btn-danger btn-sm" value={% trans "Delete" %} />
+      <input type="button" id="do-cancel" class="btn btn-warning btn-sm" value={% trans "Cancel" %} />
     </p>
     <p id="res"></p>
     <div id="mapid"></div>