queue locale

This commit is contained in:
Brahim Hadriche committed 2024-03-20 17:42:46 -04:00
1 parent 66df27cf0b
commit fb0b1b8894
6 files changed
+28 -6

No files matched your search

@@ -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()
@@ -21,9 +21,9 @@
height="720"
translation="[-470,0]"
color="0x242424">
<Label
<ScrollingLabel
id="queueLabel"
width="270"
maxWidth="270"
height="52"
text="Queue"
vertAlign="center"