]> git.street.me.uk Git - andy/viking.git/commitdiff
More strings marked for i18n
authorRob Norris <rw_norris@hotmail.com>
Sat, 25 Feb 2017 19:03:56 +0000 (19:03 +0000)
committerRob Norris <rw_norris@hotmail.com>
Mon, 27 Feb 2017 23:25:55 +0000 (23:25 +0000)
src/vikmapslayer.c

index f3900fadeb00a02a9285d6c3fbc3d08d821d1dc8..c0008d571e5e94c6d604a1a9348061703b9c5a17 100644 (file)
@@ -1953,7 +1953,7 @@ static void maps_layer_tile_info ( VikMapsLayer *vml )
         exists = g_strdup ( _("NO") );
       gint flip_y = (gint) pow(2, zoom)-1 - ulm.y;
       // NB Also handles .jpg automatically due to pixbuf_new_from () support - although just print png for now.
-      source = g_strdup_printf ( "Source: %s (%d%s%d%s%d.%s %s)", filename, zoom, G_DIR_SEPARATOR_S, ulm.x, G_DIR_SEPARATOR_S, flip_y, "png", exists );
+      source = g_strdup_printf ( _("Source: %s (%d%s%d%s%d.%s %s)"), filename, zoom, G_DIR_SEPARATOR_S, ulm.x, G_DIR_SEPARATOR_S, flip_y, "png", exists );
       g_free ( exists );
 #else
       source = g_strdup ( _("Source: Not available") );
@@ -1973,7 +1973,7 @@ static void maps_layer_tile_info ( VikMapsLayer *vml )
                      NULL,
                      ulm.scale, ulm.z, ulm.x, ulm.y, filename, max_path_len,
                      vik_map_source_get_file_extension(map) );
-      source = g_strconcat ( "Source: file://", filename, NULL );
+      source = g_strconcat ( _("Source: file://"), filename, NULL );
     }
   }
   else {
@@ -2011,7 +2011,7 @@ static void maps_layer_tile_info ( VikMapsLayer *vml )
     g_array_append_val ( array, timemsg );
   }
   else {
-    filemsg = g_strdup_printf ( "Tile File: %s [Not Available]", filename );
+    filemsg = g_strdup_printf ( _("Tile File: %s [Not Available]"), filename );
     g_array_append_val ( array, filemsg );
   }