More translation work
This commit is contained in:
1 parent
37e429f648
commit
25330a6494
13 files changed
+293
-177
No files matched your search
@@ -472,18 +472,6 @@
|
||||
<source>^n views</source>
|
||||
<translation>^n views</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Updated 0 seconds ago</source>
|
||||
<translation>Updated 0 seconds ago</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Updated 1 second ago</source>
|
||||
<translation>Updated 1 second ago</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Updated ^n seconds ago</source>
|
||||
<translation>Updated ^n seconds ago</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Updated 1 minute ago</source>
|
||||
<translation>Updated 1 minute ago</translation>
|
||||
@@ -1048,5 +1036,25 @@
|
||||
<source>Drop a YouTube link here</source>
|
||||
<translation>Drop a YouTube link here</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Play on %1</source>
|
||||
<translation>Play on %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Queue on %1</source>
|
||||
<translation>Queue on %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open on %1</source>
|
||||
<translation>Open on %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in Invidious</source>
|
||||
<translation>Open in Invidious</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Start at</source>
|
||||
<translation>Start at</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@@ -469,18 +469,6 @@
|
||||
<source>^n views</source>
|
||||
<translation>^n vues</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Updated 0 seconds ago</source>
|
||||
<translation>Mis à jour il y a 0 seconde</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Updated 1 second ago</source>
|
||||
<translation>Mis à jour il y a 1 seconde</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Updated ^n seconds ago</source>
|
||||
<translation>Mis à jour il y a ^n secondes</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Updated 1 minute ago</source>
|
||||
<translation>Mis à jour il y a 1 minute</translation>
|
||||
@@ -1046,5 +1034,25 @@
|
||||
<source>Drop a YouTube link here</source>
|
||||
<translation>Déposez un lien YouTube ici</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Play on %1</source>
|
||||
<translation>Lire sur %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Queue on %1</source>
|
||||
<translation>Mettre en file d'attente sur %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open on %1</source>
|
||||
<translation>Ouvrir sur %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Open in Invidious</source>
|
||||
<translation>Ouvrir dans Invidious</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Start at</source>
|
||||
<translation>Démarrer à</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@@ -156,9 +156,6 @@ namespace Locale
|
||||
OneView = "1 view"
|
||||
NViews = "^n views"
|
||||
|
||||
UpdatedZeroSecondsAgo = "Updated 0 seconds ago"
|
||||
UpdatedOneSecondAgo = "Updated 1 second ago"
|
||||
UpdatedNSecondsAgo = "Updated ^n seconds ago"
|
||||
UpdatedOneMinuteAgo = "Updated 1 minute ago"
|
||||
UpdatedNMinutesAgo = "Updated ^n minutes ago"
|
||||
UpdatedOneHourAgo = "Updated 1 hour ago"
|
||||
@@ -356,6 +353,11 @@ namespace Locale
|
||||
ErrorWithLogin = "Error with login, please refresh the page."
|
||||
Profiles = "Profiles"
|
||||
DropYouTubeLinkHere = "Drop a YouTube link here"
|
||||
PlayOn = "Play on %1"
|
||||
QueueOn = "Queue on %1"
|
||||
OpenOn = "Open on %1"
|
||||
OpenInInvidious = "Open in Invidious"
|
||||
StartAt = "Start at"
|
||||
end enum
|
||||
|
||||
end namespace
|
||||
@@ -1,32 +1,7 @@
|
||||
' TODO:P2 Translations left:
|
||||
' - Context menu
|
||||
' - Search filters
|
||||
' - Search filters (App+Web)
|
||||
' - Loading messages
|
||||
' Web app:
|
||||
' - Video publish text
|
||||
' - Video video count
|
||||
' - Video live/upcoming/premiere indicator
|
||||
' - Playlist updated time
|
||||
' - Playlist video count
|
||||
' - Channel sub count
|
||||
|
||||
' - Video dialog options
|
||||
' - Play on
|
||||
' - Queue on
|
||||
' - Open in Invidious
|
||||
' - Cancel
|
||||
|
||||
' - Channel dialog options
|
||||
' - Open on
|
||||
' - Open in Invidious
|
||||
' - Cancel
|
||||
|
||||
' - Playlist dialog options
|
||||
' - Play on
|
||||
' - Queue on
|
||||
' - Open on
|
||||
' - Open in Invidious
|
||||
' - Cancel
|
||||
|
||||
import "pkg:/source/utils/MathUtils.bs"
|
||||
|
||||
@@ -48,21 +23,22 @@ namespace LocaleUtils
|
||||
else if c = 1
|
||||
return Tr(oneString)
|
||||
else
|
||||
if c < 1000
|
||||
return Tr(pluralString).Replace("^n", MathUtils.FormatFloat(c).toStr())
|
||||
c! = c
|
||||
if c! < 1000
|
||||
return Tr(pluralString).Replace("^n", c!.toStr())
|
||||
end if
|
||||
c = c / 1000
|
||||
if c < 1000
|
||||
return Tr(pluralString).Replace("^n", MathUtils.FormatFloat(c).toStr() + "K")
|
||||
c! = c! / 1000
|
||||
if c! < 1000
|
||||
return Tr(pluralString).Replace("^n", MathUtils.FormatFloat(c!).toStr() + " K")
|
||||
end if
|
||||
|
||||
c = c / 1000
|
||||
if c < 1000
|
||||
return Tr(pluralString).Replace("^n", MathUtils.FormatFloat(c).toStr() + "M")
|
||||
c! = c! / 1000
|
||||
if c! < 1000
|
||||
return Tr(pluralString).Replace("^n", MathUtils.FormatFloat(c!).toStr() + " M")
|
||||
end if
|
||||
|
||||
c = c / 1000
|
||||
return Tr(pluralString).Replace("^n", MathUtils.FormatFloat(c).toStr() + "B")
|
||||
c! = c! / 1000
|
||||
return Tr(pluralString).Replace("^n", MathUtils.FormatFloat(c!).toStr() + " B")
|
||||
end if
|
||||
end function
|
||||
|
||||
|
||||
Reference in new issue
Block a user