Plural fix

This commit is contained in:
Eduard Urbach 2018-11-25 17:23:35 +09:00
parent b36fcd00ba
commit f807b446e7

View File

@ -90,8 +90,8 @@ component Profile(viewUser *arn.User, user *arn.User, animeList *arn.AnimeList,
.footer.activities-footer.mountable(data-mountable-type="extra") .footer.activities-footer.mountable(data-mountable-type="extra")
span= viewUser.Nick + " spent " span= viewUser.Nick + " spent "
span= int(animeWatchingTime / time.Hour / 24) span= stringutils.Plural(int(animeWatchingTime / time.Hour / 24), "day")
span days watching anime. span watching anime.
component ProfileHeader(viewUser *arn.User, animeList *arn.AnimeList, user *arn.User, uri string) component ProfileHeader(viewUser *arn.User, animeList *arn.AnimeList, user *arn.User, uri string)
ProfileHead(viewUser, animeList, user, uri) ProfileHead(viewUser, animeList, user, uri)