Plex: Verbessere "Episoden" <-> "Epsiode" Fix (ursprgl. Commit d372d26c15)

This commit is contained in:
Andreas Bielawski 2016-08-22 21:22:10 +02:00
parent 20faf1a411
commit da9dd24269

View File

@ -84,7 +84,11 @@ function plex:get_plex(query)
end end
if data.leafCount then if data.leafCount then
episodes = string.gsub(' ('..data.leafCount..' Episoden) ', '1 Episoden', '1 Episode') if data.leafCount > 1 then
episodes = ' ('..data.leafCount..' Episoden) '
else
episode = ' (1 Episode) '
end
else else
episodes = '' episodes = ''
end end