]> git.street.me.uk Git - andy/viking.git/blobdiff - src/vikwindow.c
Fix translatable string with variable argument
[andy/viking.git] / src / vikwindow.c
index 1281a2ab2faa472a8bdbe2fc14ec9a7115a6ae83..bf76c996f51d799a7376baa6da2791c587844073 100644 (file)
@@ -2842,7 +2842,7 @@ static gboolean export_to ( VikWindow *vw, GList *gl, VikFileType_t vft, const g
       // Show some progress
       if ( this_success ) {
         export_count++;
-        gchar *message = g_strconcat ( _("Exporting to file: "), fn, NULL );
+        gchar *message = g_strdup_printf ( _("Exporting to file: %s"), fn );
         vik_statusbar_set_message ( vw->viking_vs, VIK_STATUSBAR_INFO, message );
         while ( gtk_events_pending() )
           gtk_main_iteration ();