[totem/gnome-2-32] Bug 626422 — Translation comment needed



commit dabd7b26f640e2a3b415d796f5c710c56cfe9295
Author: Philip Withnall <philip tecnocode co uk>
Date:   Mon Aug 9 22:01:34 2010 +0100

    Bug 626422 â?? Translation comment needed
    
    Add some extra translation comments. Closes: bgo#626422

 data/totem.ui                       |    8 ++++----
 src/eggfileformatchooser.c          |    1 +
 src/plugins/bemused/totem-bemused.c |    4 +++-
 src/plugins/publish/totem-publish.c |    1 +
 src/totem-menu.c                    |    2 ++
 src/totem-options.c                 |    1 +
 6 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/data/totem.ui b/data/totem.ui
index 2ec9ee8..33cb436 100644
--- a/data/totem.ui
+++ b/data/totem.ui
@@ -570,13 +570,13 @@
   </columns>
   <data>
     <row>
-      <col id="0" translatable="yes">Normal</col>
+      <col id="0" translatable="yes" comments="Audio visualization dimensions">Normal</col>
     </row>
     <row>
-      <col id="0" translatable="yes">Large</col>
+      <col id="0" translatable="yes" comments="Audio visualization dimensions">Large</col>
     </row>
     <row>
-      <col id="0" translatable="yes">Extra Large</col>
+      <col id="0" translatable="yes" comments="Audio visualization dimensions">Extra Large</col>
     </row>
   </data>
 </object>
@@ -1250,7 +1250,7 @@
 		  <child>
 		    <object class="GtkLabel" id="tpw_display_label">
 		      <property name="visible">True</property>
-		      <property name="label" translatable="yes">Display</property>
+		      <property name="label" translatable="yes" comments="Tab label in the Preferences dialogue">Display</property>
 		      <property name="use_underline">False</property>
 		      <property name="use_markup">True</property>
 		      <property name="justify">GTK_JUSTIFY_LEFT</property>
diff --git a/src/eggfileformatchooser.c b/src/eggfileformatchooser.c
index 4c691c9..bbbc720 100644
--- a/src/eggfileformatchooser.c
+++ b/src/eggfileformatchooser.c
@@ -648,6 +648,7 @@ chooser_response_cb (GtkDialog *dialog,
         {
 
           message = g_strdup_printf (
+            /* Translators: the parameter is a filename */
             _("The program was not able to find out the file format "
               "you want to use for `%s'. Please make sure to use a "
               "known extension for that file or manually choose a "
diff --git a/src/plugins/bemused/totem-bemused.c b/src/plugins/bemused/totem-bemused.c
index 5ec2363..c212459 100644
--- a/src/plugins/bemused/totem-bemused.c
+++ b/src/plugins/bemused/totem-bemused.c
@@ -181,8 +181,10 @@ write_playlist (TotemBemusedPlugin *tp, GIOChannel *source)
 		char *title;
 
 		title = totem_get_title_at_playlist_pos (tp->totem, i);
-		if (title == NULL)
+		if (title == NULL) {
+			/* Translators: the parameter is a number used to identify this playlist entry */
 			title = g_strdup_printf (_("Untitled %d"), i);
+		}
 		g_message ("pushing entry %s", title);
 		send_response_flush (tp, source, title, strlen (title), FALSE);
 		g_free (title);
diff --git a/src/plugins/publish/totem-publish.c b/src/plugins/publish/totem-publish.c
index 20ac7f5..e77e001 100644
--- a/src/plugins/publish/totem-publish.c
+++ b/src/plugins/publish/totem-publish.c
@@ -585,6 +585,7 @@ totem_publish_plugin_activate (TotemPlugin  *plugin,
 	self->monitor = epc_service_monitor_new ("totem", NULL, EPC_PROTOCOL_UNKNOWN);
 	epc_service_monitor_set_skip_our_own (self->monitor, TRUE);
 
+	/* Translators: computers on the local network which are publishing their playlists over the network */
 	ev_sidebar_add_page (EV_SIDEBAR (self->totem->sidebar), "neighbours", _("Neighbors"),
 			     totem_publish_plugin_create_neigbours_page (self));
 
diff --git a/src/totem-menu.c b/src/totem-menu.c
index 5a9cca7..88dd364 100644
--- a/src/totem-menu.c
+++ b/src/totem-menu.c
@@ -188,10 +188,12 @@ create_lang_actions (Totem *totem, GtkActionGroup *action_group, guint ui_id,
 
 	if (is_lang == FALSE) {
 		add_lang_action (totem, action_group, ui_id, paths, prefix,
+		                /* Translators: an entry in the "Languages" menu, used to choose the audio language of a DVD */
 				_("None"), -2, 0, &group);
 	}
 
 	action = add_lang_action (totem, action_group, ui_id, paths, prefix,
+	               /* Translators: an entry in the "Languages" menu, used to choose the audio language of a DVD */
 			_("Auto"), -1, 0, &group);
 
 	i = 0;
diff --git a/src/totem-options.c b/src/totem-options.c
index 38387ab..88ceb2f 100644
--- a/src/totem-options.c
+++ b/src/totem-options.c
@@ -64,6 +64,7 @@ const GOptionEntry all_options[] = {
 	{"replace", '\0', 0, G_OPTION_ARG_NONE, &optionstate.replace, N_("Replace"), NULL},
 	{"no-existing-session", '\0', 0, G_OPTION_ARG_NONE, &optionstate.notconnectexistingsession, N_("Don't connect to an already-running instance"), NULL},
 	{"seek", '\0', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_INT64, &optionstate.seek, N_("Seek"), NULL},
+	/* Translators: help for a (hidden) command line option to specify a playlist entry to start playing on load */
 	{"playlist-idx", '\0', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_DOUBLE, &optionstate.playlistidx, N_("Playlist index"), NULL},
 	{ "version", 0, G_OPTION_FLAG_NO_ARG | G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_CALLBACK, option_version_cb, NULL, NULL },
 	{G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_FILENAME_ARRAY, &optionstate.filenames, N_("Movies to play"), NULL},



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