locale of publish date fix
This commit is contained in:
1 parent
feb968a72e
commit
66df27cf0b
4 files changed
+15
-2
No files matched your search
@@ -324,8 +324,12 @@ namespace InvidiousContent
|
||||
else
|
||||
return Tr(Locale.RowCell.NWeeksAgo).Replace("^n", weeks.toStr())
|
||||
end if
|
||||
else if total_days > 1
|
||||
return Tr(Locale.RowCell.NDaysAgo).Replace("^n", total_days.toStr())
|
||||
else if total_days > 0
|
||||
if total_days = 1
|
||||
return Tr(Locale.RowCell.OneDayAgo)
|
||||
else
|
||||
return Tr(Locale.RowCell.NDaysAgo).Replace("^n", total_days.toStr())
|
||||
end if
|
||||
else if span > 3600
|
||||
hours = span \ 3600
|
||||
if hours = 1
|
||||
|
||||
@@ -464,6 +464,10 @@
|
||||
<source>^n weeks ago</source>
|
||||
<translation>^n weeks ago</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>1 day ago</source>
|
||||
<translation>1 day ago</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>^n days ago</source>
|
||||
<translation>^n days ago</translation>
|
||||
|
||||
@@ -461,6 +461,10 @@
|
||||
<source>^n weeks ago</source>
|
||||
<translation>il y a ^n semaines</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>1 day ago</source>
|
||||
<translation>il y a 1 jour</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>^n days ago</source>
|
||||
<translation>il y a ^n jours</translation>
|
||||
|
||||
@@ -153,6 +153,7 @@ namespace Locale
|
||||
NMonthsAgo = "^n months ago"
|
||||
OneWeekAgo = "1 week ago"
|
||||
NWeeksAgo = "^n weeks ago"
|
||||
OneDayAgo = "1 day ago"
|
||||
NDaysAgo = "^n days ago"
|
||||
OneHourAgo = "1 hour ago"
|
||||
NHoursAgo = "^n hours ago"
|
||||
|
||||
Reference in new issue
Block a user