[totem/wip/hadess/totem-error-msg: 5/5] all: Remove mentions of "Totem" in error messages
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/totem-error-msg: 5/5] all: Remove mentions of "Totem" in error messages
- Date: Thu, 31 Mar 2022 12:41:20 +0000 (UTC)
commit 46396bda40a5cf346d5139de1d948046deaf1b0d
Author: Bastien Nocera <hadess hadess net>
Date: Thu Mar 31 14:16:11 2022 +0200
all: Remove mentions of "Totem" in error messages
Closes: #513
src/plugins/pythonconsole/pythonconsole.py | 4 ++--
src/plugins/screenshot/totem-screenshot-plugin.c | 4 ++--
src/totem-object.c | 8 ++++----
3 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/plugins/pythonconsole/pythonconsole.py b/src/plugins/pythonconsole/pythonconsole.py
index 265c15d56..e87a31ed9 100644
--- a/src/plugins/pythonconsole/pythonconsole.py
+++ b/src/plugins/pythonconsole/pythonconsole.py
@@ -98,7 +98,7 @@ class PythonConsolePlugin (GObject.Object, Peas.Activatable):
"the Totem.Object through “totem_object” :\\n%s"), False)
self.window = Gtk.Window ()
- self.window.set_title (_('Totem Python Console'))
+ self.window.set_title (_('Videos Python Console'))
self.window.add (console)
self.window.connect ('destroy', self._destroy_console)
self.window.show_all ()
@@ -108,7 +108,7 @@ class PythonConsolePlugin (GObject.Object, Peas.Activatable):
@classmethod
def _enable_debugging (cls, param, _action): # pylint: disable=W0613
- msg = _("After you press OK, Totem will wait until you connect to it "\
+ msg = _("After you press OK, Videos will wait until you connect to it "\
"with winpdb or rpdb2. If you have not set a debugger "\
"password in DConf, it will use the default password "\
"(“totem”).")
diff --git a/src/plugins/screenshot/totem-screenshot-plugin.c
b/src/plugins/screenshot/totem-screenshot-plugin.c
index a63860e9a..a47ced57e 100644
--- a/src/plugins/screenshot/totem-screenshot-plugin.c
+++ b/src/plugins/screenshot/totem-screenshot-plugin.c
@@ -219,7 +219,7 @@ take_screenshot_action_cb (GSimpleAction *action,
g_autofree char *escaped_video_name = NULL;
if (bacon_video_widget_can_get_frames (pi->bvw, &err) == FALSE) {
- totem_object_show_error (pi->totem, _("Totem could not get a screenshot of the video."),
err->message ?: _("No reason."));
+ totem_object_show_error (pi->totem, _("Videos could not get a screenshot of the video."),
err->message ?: _("No reason."));
g_error_free (err);
return;
}
@@ -228,7 +228,7 @@ take_screenshot_action_cb (GSimpleAction *action,
pixbuf = bacon_video_widget_get_current_frame (pi->bvw);
if (pixbuf == NULL) {
- totem_object_show_error (pi->totem, _("Totem could not get a screenshot of the video."),
_("This is not supposed to happen; please file a bug report."));
+ totem_object_show_error (pi->totem, _("Videos could not get a screenshot of the video."),
_("This is not supposed to happen; please file a bug report."));
return;
}
diff --git a/src/totem-object.c b/src/totem-object.c
index b2c8588df..b95dcade3 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -1503,7 +1503,7 @@ totem_object_play (TotemObject *totem)
}
disp = totem_uri_escape_for_display (totem->mrl);
- msg = g_strdup_printf(_("Totem could not play “%s”."), disp);
+ msg = g_strdup_printf(_("Videos could not play “%s”."), disp);
g_free (disp);
totem_object_show_error (totem, msg, err->message);
@@ -1531,7 +1531,7 @@ totem_object_seek (TotemObject *totem, double pos)
char *msg, *disp;
disp = totem_uri_escape_for_display (totem->mrl);
- msg = g_strdup_printf(_("Totem could not play “%s”."), disp);
+ msg = g_strdup_printf(_("Videos could not play “%s”."), disp);
g_free (disp);
reset_seek_status (totem);
@@ -2117,7 +2117,7 @@ totem_seek_time_rel (TotemObject *totem, gint64 _time, gboolean relative, gboole
char *msg, *disp;
disp = totem_uri_escape_for_display (totem->mrl);
- msg = g_strdup_printf(_("Totem could not play “%s”."), disp);
+ msg = g_strdup_printf(_("Videos could not play “%s”."), disp);
g_free (disp);
bacon_video_widget_stop (totem->bvw);
@@ -2289,7 +2289,7 @@ totem_object_show_help (TotemObject *totem)
GError *error = NULL;
if (gtk_show_uri_on_window (GTK_WINDOW (totem->win), "help:totem", gtk_get_current_event_time (),
&error) == FALSE) {
- totem_object_show_error (totem, _("Totem could not display the help contents."),
error->message);
+ totem_object_show_error (totem, _("Videos could not display the help contents."),
error->message);
g_error_free (error);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]