Skip to content

Commit

Permalink
Merge pull request xbmc#24648 from CrystalP/fix-chooseversion-caption
Browse files Browse the repository at this point in the history
[video] Fix text of the context menu Choose version button
  • Loading branch information
CrystalP committed Feb 5, 2024
2 parents 99d8703 + dc4b338 commit 6256993
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions addons/resource.language.en_gb/resources/strings.po
Expand Up @@ -24081,8 +24081,7 @@ msgctxt "#40207"
msgid "When enabled, a video with multiple versions will be shown as a folder in the video library. This folder can then be opened to display the individual video versions. When disabled, the configured select action will be applied."
msgstr ""

#. Choose video version context menu item label and dialog title
#: xbmc/video/ContextMenus.h
#. Choose video version dialog title
#: xbmc/video/guilib/VideoVersionHelper.cpp
msgctxt "#40208"
msgid "Choose version: {}"
Expand Down Expand Up @@ -24162,7 +24161,13 @@ msgctxt "#40220"
msgid "New extra name"
msgstr ""

#empty strings from id 40221 to 40399
#. Choose video version context menu item label
#: xbmc/video/ContextMenus.h
msgctxt "#40221"
msgid "Choose version"
msgstr ""

#empty strings from id 40222 to 40399

# Video versions

Expand Down
2 changes: 1 addition & 1 deletion xbmc/video/ContextMenus.h
Expand Up @@ -88,7 +88,7 @@ struct CVideoBrowse : CStaticContextMenuAction

struct CVideoChooseVersion : CStaticContextMenuAction
{
CVideoChooseVersion() : CStaticContextMenuAction(40208) {} // Choose version
CVideoChooseVersion() : CStaticContextMenuAction(40221) {} // Choose version
bool IsVisible(const CFileItem& item) const override;
bool Execute(const std::shared_ptr<CFileItem>& item) const override;
};
Expand Down

0 comments on commit 6256993

Please sign in to comment.