diff --git a/playlet-lib/src/components/VideoQueue/VideoQueueView.bs b/playlet-lib/src/components/VideoQueue/VideoQueueView.bs index b0b7b1dc..595a10d1 100644 --- a/playlet-lib/src/components/VideoQueue/VideoQueueView.bs +++ b/playlet-lib/src/components/VideoQueue/VideoQueueView.bs @@ -3,6 +3,7 @@ import "pkg:/source/AsyncTask/AsyncTask.bs" import "pkg:/source/AsyncTask/Tasks.bs" import "pkg:/source/utils/DisposableObserve.bs" import "pkg:/source/utils/FocusManagement.bs" +import "pkg:/source/utils/Locale.bs" import "pkg:/source/utils/Logging.bs" import "pkg:/source/utils/Types.bs" @@ -48,9 +49,9 @@ function OnContentSet() as void index = content.index if IsInt(index) and index <> -1 - m.queueLabel.text = `Queue (${index + 1}/${content.getChildCount()})` + m.queueLabel.text = Tr(Locale.VideoQueue.Queue) + ` (${index + 1}/${content.getChildCount()})` else - m.queueLabel.text = `Queue (${content.getChildCount()})` + m.queueLabel.text = Tr(Locale.VideoQueue.Queue) + ` (${content.getChildCount()})` end if LoadVideoDetailsIfNeeded() diff --git a/playlet-lib/src/components/VideoQueue/VideoQueueView.xml b/playlet-lib/src/components/VideoQueue/VideoQueueView.xml index fb655d5c..1c064a56 100644 --- a/playlet-lib/src/components/VideoQueue/VideoQueueView.xml +++ b/playlet-lib/src/components/VideoQueue/VideoQueueView.xml @@ -21,9 +21,9 @@ height="720" translation="[-470,0]" color="0x242424"> -