correction for time in the item-footer...

Avatar
  • updated
  • Fixed

write for one hour:

"aktualisiert vor einer Stunde"

more hours than one:

"...<x> Stunden" 


for day(s):

When it is one, write:

"vor einem Tag"

when it is more then one, write:

"...<x> Tagen"


and when it is one Month:

"vor einem Monat"

when it is more than one:

"vor <x> Monaten"


and Year:

"...vor einem Jahr"

more:

"...<x> Jahren"


Im shure you will find a proper, short algorithm for that rule...

Pinned replies
Avatar
Sergey Stukov co-founder
  • Answer
  • Fixed

Please note we able to detect singular or plural form.


Stunde for singular
Stunden for plural

Is it correct?
Avatar
Sergey Stukov co-founder

Tags can be easily customized. We can add tag Issue is it will be helpful? 

Avatar
Martin Reisbeck

Yes correct.

Stunde and Stunden

Monat and Monaten

Jahr and Jahren

But not in every case! Only in this position.



And don't forget, "aktualisiert" not "Aktualisieren". In this footer. Not in every case.

Avatar
Sergey Stukov co-founder
  • Answer
  • Fixed

Please note we able to detect singular or plural form.


Stunde for singular
Stunden for plural

Is it correct?