[totem/wip/hadess/open-gl-error: 3/3] backend: Translate DVD/VCD device errors
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem/wip/hadess/open-gl-error: 3/3] backend: Translate DVD/VCD device errors
- Date: Mon, 18 Jul 2022 08:15:11 +0000 (UTC)
commit 4de39a5d63b07e9d6a7dd8d0fad3da2cadd866a2
Author: Bastien Nocera <hadess hadess net>
Date: Wed Jun 8 00:54:25 2022 +0200
backend: Translate DVD/VCD device errors
Not sure why those weren't translated in 2012, but here goes.
src/backend/bacon-video-widget.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/backend/bacon-video-widget.c b/src/backend/bacon-video-widget.c
index 971a33853..c3df32b41 100644
--- a/src/backend/bacon-video-widget.c
+++ b/src/backend/bacon-video-widget.c
@@ -3359,11 +3359,11 @@ bvw_error_from_gst_error (BaconVideoWidget *bvw, GstMessage * err_msg)
is_error (e, RESOURCE, OPEN_READ)) {
if (g_str_has_prefix (bvw->mrl, "dvd:")) {
ret = g_error_new_literal (BVW_ERROR, BVW_ERROR_INVALID_DEVICE,
- "The DVD device you specified seems to be invalid.");
+ _("The DVD device you specified seems to be invalid."));
goto done;
} else if (g_str_has_prefix (bvw->mrl, "vcd:")) {
ret = g_error_new_literal (BVW_ERROR, BVW_ERROR_INVALID_DEVICE,
- "The VCD device you specified seems to be invalid.");
+ _("The VCD device you specified seems to be invalid."));
goto done;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]