aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/resource.language.en_gb/resources/strings.po10
-rw-r--r--xbmc/video/dialogs/GUIDialogVideoManagerVersions.cpp3
2 files changed, 10 insertions, 3 deletions
diff --git a/addons/resource.language.en_gb/resources/strings.po b/addons/resource.language.en_gb/resources/strings.po
index 878ad0b897..e1e1fc86b0 100644
--- a/addons/resource.language.en_gb/resources/strings.po
+++ b/addons/resource.language.en_gb/resources/strings.po
@@ -23858,7 +23858,7 @@ msgctxt "#40018"
msgid "Remove video version"
msgstr ""
-#. Add new video version dialog text
+#. Manage versions, remove: removing the default version of a movie is not allowed.
#: xbmc/video/dialogs/GUIDialogVideoManagerVersions.cpp
msgctxt "#40019"
msgid "The default version of a movie cannot be removed. Set a different default version and try again."
@@ -23938,7 +23938,13 @@ msgctxt "#40032"
msgid "No similar movies were found in the library."
msgstr ""
-#empty strings with id 40033 to 40199
+#. Addition of new version: a movie with multiple versions cannot be turned into a version of another movie.
+#: xbmc/video/dialogs/GUIDialogVideoManagerVersions.cpp
+msgctxt "#40033"
+msgid "The default version of a movie with multiple versions cannot be added as a version to another movie. Please add its additional versions first."
+msgstr ""
+
+#empty strings with id 40034 to 40199
#. Select default video version setting
#: system/settings/settings.xml
diff --git a/xbmc/video/dialogs/GUIDialogVideoManagerVersions.cpp b/xbmc/video/dialogs/GUIDialogVideoManagerVersions.cpp
index 951c354026..48658d9a39 100644
--- a/xbmc/video/dialogs/GUIDialogVideoManagerVersions.cpp
+++ b/xbmc/video/dialogs/GUIDialogVideoManagerVersions.cpp
@@ -509,7 +509,8 @@ bool CGUIDialogVideoManagerVersions::AddVideoVersionFilePicker()
if (list.Size() > 1)
{
- CGUIDialogOK::ShowAndGetInput(CVariant{40014}, CVariant{40019});
+ // cannot add the default version of a movie with multiple versions as version of another movie
+ CGUIDialogOK::ShowAndGetInput(CVariant{40014}, CVariant{40033});
return false;
}
else