Little optimization and add a Bengali translation

This commit is contained in:
root
2023-05-24 01:37:19 +05:30
parent 6b4dd19dec
commit d473b95c6d
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ export function updateWatchedVideoProgress (videoID, prog, dur) {
}
export async function findLastWatch (videoId) {
const v = await PMDB.watchedVideos.where('videoId').equals(videoId).reverse().sortBy('progressPcnt')
const v = await PMDB.watchedVideos.where('videoId').equals(videoId).reverse().sortBy('progressPcnt').limit(1)
return v[0]
}
+2 -1
View File
@@ -98,7 +98,8 @@
"related_comments": "অন্যদের মন্তব্য",
"autoplay_next_video": "এই videoটি শেষ হয়ে গেলে কি আপনি প্রথম সম্পর্কিত videoতে চলে যেতে চান?",
"loop_this_video": "এই videoটি শেষ হয়ে গেলে, videoটি কে আবার সুরু থেকে চালাব? (loop করব?)",
"unauthenticated_rss": "এই channelটির RSS বার্তা URL (আপনার নথির সঙ্গে অসম্পর্কিত)"
"unauthenticated_rss": "এই channelটির RSS বার্তা URL (আপনার নথির সঙ্গে অসম্পর্কিত)",
"enable_dark_mode": "কৃষ্ণাভ রূপে দেখবেন?"
},
"preferences": {
"colorScheme": "কি রঙে আপনি দেখতে চান",