From eafd12d8de0c9dc31c90aee3679f71baa8965c81 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Wed, 1 Apr 2015 12:25:07 -0400 Subject: [PATCH] Add "Imported" state to Studio video upload page Imported VAL videos get the value "imported" for their status. We considered not including imported videos on the upload page but have instead decided to include them, so it is necessary to have a display string for the imported status value. --- cms/djangoapps/contentstore/views/videos.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cms/djangoapps/contentstore/views/videos.py b/cms/djangoapps/contentstore/views/videos.py index a9e5f0eab1..8cf5c2e152 100644 --- a/cms/djangoapps/contentstore/views/videos.py +++ b/cms/djangoapps/contentstore/views/videos.py @@ -52,6 +52,8 @@ class StatusDisplayStrings(object): # Translators: This is the status for a video for which an invalid # processing token was provided in the course settings _INVALID_TOKEN = ugettext_noop("Invalid Token") + # Translators: This is the status for a video that was included in a course import + _IMPORTED = ugettext_noop("Imported") # Translators: This is the status for a video that is in an unknown state _UNKNOWN = ugettext_noop("Unknown") @@ -64,7 +66,8 @@ class StatusDisplayStrings(object): "file_complete": _COMPLETE, "file_corrupt": _FAILED, "pipeline_error": _FAILED, - "invalid_token": _INVALID_TOKEN + "invalid_token": _INVALID_TOKEN, + "imported": _IMPORTED, } @staticmethod