Closed aston314 closed 1 year ago
I don't know how to fix it yet, but I'll think of something later.
in [src/interaction/notice/cub.js]: replace:
return { time: item.time || Utils.parseToDate(item.date).getTime(), title: data.card.title || data.card.name, text: text, poster: data.card.poster ? data.card.poster : data.card.img ? data.card.img : data.card.poster_path, card: data.card, labels: labels }
with:
return {
time: item.time || Utils.parseToDate(item.date).getTime(),
title: !Lang.selected(['ru', 'uk', 'be']) ? (data.card.title || data.card.original_name) : (data.card.title || data.card.name),
text: text,
poster: data.card.poster ? data.card.poster : data.card.img ? data.card.img : data.card.poster_path,
card: data.card,
labels: labels
}
Damn, this is a great idea.
Fixed.
When I am using the Chinese language, the movie or TV show titles in the notifications are still in Russian. Could you please determine the language being used and if it is not Russian, change the title to the original language? Replace "title: data.card.title || data.card.name" with "title: data.card.title || data.card.original_name". Thank you.