From f807b446e730cb9e3da21ed2ab73254762150dd3 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sun, 25 Nov 2018 17:23:35 +0900 Subject: [PATCH] Plural fix --- pages/profile/profile.pixy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/profile/profile.pixy b/pages/profile/profile.pixy index f07226df..8e7876f8 100644 --- a/pages/profile/profile.pixy +++ b/pages/profile/profile.pixy @@ -90,8 +90,8 @@ component Profile(viewUser *arn.User, user *arn.User, animeList *arn.AnimeList, .footer.activities-footer.mountable(data-mountable-type="extra") span= viewUser.Nick + " spent " - span= int(animeWatchingTime / time.Hour / 24) - span days watching anime. + span= stringutils.Plural(int(animeWatchingTime / time.Hour / 24), "day") + span watching anime. component ProfileHeader(viewUser *arn.User, animeList *arn.AnimeList, user *arn.User, uri string) ProfileHead(viewUser, animeList, user, uri)