commit 48971dec24c57750db0b183004ddefd9719803aa Author: Daniele Forsi <dani...@forsi.it> Date: Mon Sep 26 01:27:46 2011 +0200
Translation fixes * Mark more strings as translatable libgtkpod/file_itunesdb.c | 2 +- plugins/media_player/media_player.c | 10 ++++++---- plugins/track_display/track_display_preferences.c | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) --- diff --git a/libgtkpod/file_itunesdb.c b/libgtkpod/file_itunesdb.c index d947106..d4a4e8d 100644 --- a/libgtkpod/file_itunesdb.c +++ b/libgtkpod/file_itunesdb.c @@ -1720,7 +1720,7 @@ static gboolean gp_write_itdb(iTunesDB *itdb) { g_free(ipod_model); eitdb->offline_filename = g_build_filename(cfgdir, backup_name, NULL); g_free(backup_name); - gtkpod_statusbar_message("Backup database could not be found so backing up database to %s\n", eitdb->offline_filename); + gtkpod_statusbar_message(_("Backup database could not be found so backing up database to %s\n"), eitdb->offline_filename); } if (!itdb_cp(itdb->filename, eitdb->offline_filename, &error)) { diff --git a/plugins/media_player/media_player.c b/plugins/media_player/media_player.c index 2520f33..46349b5 100644 --- a/plugins/media_player/media_player.c +++ b/plugins/media_player/media_player.c @@ -274,7 +274,8 @@ static void pause_or_play_song() { player->thread = g_thread_create ((GThreadFunc)thread_play_song, NULL, TRUE, &err1); if (!player->thread) { - gtkpod_statusbar_message("GStreamer thread creation failed: %s\n", err1->message); + /* Translators: %s is an error message */ + gtkpod_statusbar_message(_("GStreamer thread creation failed: %s\n"), err1->message); g_error_free(err1); } } else if (is_playing()) { @@ -331,7 +332,7 @@ void seek_to_time(gint64 time_seconds) { if (!gst_element_seek(player->play_element, 1.0, GST_FORMAT_TIME, GST_SEEK_FLAG_FLUSH, GST_SEEK_TYPE_SET, time_seconds * 1000000000, GST_SEEK_TYPE_NONE, GST_CLOCK_TIME_NONE)) - gtkpod_statusbar_message("Seek failed!\n"); + gtkpod_statusbar_message(_("Seek failed!\n")); } static int pipeline_bus_watch_cb(GstBus *bus, GstMessage *msg, gpointer data) { @@ -373,14 +374,15 @@ static void thread_play_song() { uri = g_filename_to_uri (track_name, NULL, &error); g_free(track_name); if (error) { - gtkpod_statusbar_message("Failed to play track: %s", error->message); + /* Translators: %s is an error message */ + gtkpod_statusbar_message(_("Failed to play track: %s"), error->message); g_free(uri); return; } player->play_element = gst_element_factory_make("playbin2", "play"); if (!player->play_element) { - gtkpod_statusbar_message("Failed to play track: Cannot create a play element. Ensure that all gstreamer plugins are installed"); + gtkpod_statusbar_message(_("Failed to play track: Cannot create a play element. Ensure that all gstreamer plugins are installed")); return; } diff --git a/plugins/track_display/track_display_preferences.c b/plugins/track_display/track_display_preferences.c index 63abaae..9a1b760 100644 --- a/plugins/track_display/track_display_preferences.c +++ b/plugins/track_display/track_display_preferences.c @@ -251,7 +251,7 @@ G_MODULE_EXPORT void on_ign_word_add_clicked (GtkButton *sender, gpointer e) { comparison = compare_string_case_insensitive(word, curr_ign); g_free (curr_ign); if (comparison == 0) { - gtkpod_statusbar_message("The word %s is already in the \"Ignored Frequent Word\" list", word); + gtkpod_statusbar_message(_("The word %s is already in the \"Ignored Frequent Word\" list"), word); return; } ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ gtkpod-cvs2 mailing list gtkpod-cvs2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2