Localization test (#331)
* Localization test * More translations * More translations * Setup the tooling and validation for the localization * More translations * Docs
This commit is contained in:
1 parent
403ed94e97
commit
7d9817994c
36 files changed
+789
-51
No files matched your search
@@ -5,6 +5,7 @@ import "pkg:/source/AsyncTask/AsyncTask.bs"
|
||||
import "pkg:/source/AsyncTask/Tasks.bs"
|
||||
import "pkg:/source/utils/DisposableObserve.bs"
|
||||
import "pkg:/source/utils/FocusManagement.bs"
|
||||
import "pkg:/source/utils/Locale.bs"
|
||||
import "pkg:/source/utils/Logging.bs"
|
||||
import "pkg:/source/utils/StringUtils.bs"
|
||||
import "pkg:/source/utils/Types.bs"
|
||||
@@ -38,7 +39,7 @@ function OnNodeready()
|
||||
SetNavigation(m.rowList, "up", m.subscribeButton)
|
||||
SetNavigation(m.subscribeButton, "down", m.rowList)
|
||||
|
||||
m.subscribeButton.text = "Subscribe"
|
||||
m.subscribeButton.text = Tr(Locale.Subscribe)
|
||||
DisposableObserveFieldScoped(m.subscribeButton, "buttonSelected", FuncName(OnSubscribeButtonSelected))
|
||||
|
||||
SetSubscribeButtonVisibility()
|
||||
@@ -234,7 +235,7 @@ function GetContextMenuOptionsForItem(video as object) as object
|
||||
if StringUtils.IsNullOrEmpty(m.top.authorId)
|
||||
return []
|
||||
end if
|
||||
options = m.bookmarks@.GetMenuForChannel(m.top.content)
|
||||
options = m.bookmarksService@.GetMenuForChannel(m.top.content)
|
||||
options.Append(GetSortingContextMenuOptionsForItem(video))
|
||||
return options
|
||||
end function
|
||||
@@ -299,9 +300,9 @@ end function
|
||||
function OnSubscriptionChanged()
|
||||
isSubbed = IsSubscribed()
|
||||
if isSubbed
|
||||
m.subscribeButton.text = "Unsubscribe"
|
||||
m.subscribeButton.text = Tr(Locale.Unsubscribe)
|
||||
else
|
||||
m.subscribeButton.text = "Subscribe"
|
||||
m.subscribeButton.text = Tr(Locale.Subscribe)
|
||||
end if
|
||||
end function
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<field id="authorId" type="string" onChange="OnAuthorIdChange" />
|
||||
<field id="appController" type="node" bind="/AppController" />
|
||||
<field id="invidious" type="node" bind="/Invidious" />
|
||||
<field id="bookmarks" type="node" bind="/Bookmarks" />
|
||||
<field id="bookmarksService" type="node" bind="/BookmarksService" />
|
||||
<function name="ShowSortDialog" />
|
||||
</interface>
|
||||
<children>
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import "DialogPalette.bs"
|
||||
import "pkg:/source/utils/Locale.bs"
|
||||
import "pkg:/source/utils/StringUtils.bs"
|
||||
import "pkg:/source/utils/Types.bs"
|
||||
|
||||
@@ -9,6 +10,9 @@ function Init()
|
||||
|
||||
m.top.width = "920"
|
||||
m.top.observeFieldScoped("buttonSelected", FuncName(Close))
|
||||
|
||||
scanLabel = m.top.findNode("scanLabel")
|
||||
scanLabel.text = Tr(Locale.ScanTheQrCode)
|
||||
end function
|
||||
|
||||
function OnNodeReady()
|
||||
@@ -17,7 +21,7 @@ function OnNodeReady()
|
||||
if isValidAddress
|
||||
m.top.url = `${address}/invidious/login`
|
||||
else
|
||||
m.urlLabel.text = "No IP address found"
|
||||
m.urlLabel.text = Tr(Locale.IpAddressNotAvailable)
|
||||
end if
|
||||
|
||||
m.invidious.observeFieldScoped("authToken", FuncName(OnAuthTokenChange))
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
<children>
|
||||
<StdDlgTitleArea primaryTitle="Login to Invidious" />
|
||||
<StdDlgContentArea>
|
||||
<StdDlgTextItem
|
||||
text="Login to Invidious in order to view Subscriptions, Playlists, and use the Watch history.

Please note that an Invidious account is different from a YouTube account." />
|
||||
<StdDlgTextItem text="Login to Invidious in order to view Subscriptions, Playlists, and use the Watch history." />
|
||||
<StdDlgTextItem text="Please note that an Invidious account is different from a YouTube account." />
|
||||
</StdDlgContentArea>
|
||||
<StdDlgButtonArea id="buttonArea">
|
||||
<StdDlgButton text="OK" />
|
||||
@@ -20,6 +20,7 @@
|
||||
extendToDialogEdge="false"
|
||||
showDivider="false">
|
||||
<Label
|
||||
id="scanLabel"
|
||||
text="Scan the QR Code"
|
||||
horizAlign="center"
|
||||
wrap="true" width="400">
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
<VideoQueue id="VideoQueue" />
|
||||
<ApplicationInfo id="ApplicationInfo" />
|
||||
<Preferences id="Preferences" />
|
||||
<Bookmarks id="Bookmarks" />
|
||||
<BookmarksService id="BookmarksService" />
|
||||
<SearchHistory id="SearchHistory" />
|
||||
<Profiles id="Profiles" />
|
||||
<Invidious id="Invidious" />
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
|
||||
<ApplicationInfo id="ApplicationInfo" />
|
||||
<Preferences id="Preferences" />
|
||||
<Bookmarks id="Bookmarks" />
|
||||
<BookmarksService id="BookmarksService" />
|
||||
<SearchHistory id="SearchHistory"
|
||||
preferences="bind:../Preferences" />
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
profiles="bind:../Profiles"
|
||||
preferences="bind:../Preferences"
|
||||
videoQueue="bind:../VideoQueue"
|
||||
bookmarks="bind:../Bookmarks"
|
||||
bookmarksService="bind:../BookmarksService"
|
||||
loungeService="bind:../LoungeService" />
|
||||
<DialServer id="DialServer"
|
||||
webServer="bind:../WebServer"
|
||||
|
||||
@@ -40,7 +40,7 @@ function InitializeBindings()
|
||||
"profiles": "../Profiles",
|
||||
"preferences": "../Preferences",
|
||||
"videoQueue": "../VideoQueue",
|
||||
"bookmarks": "../Bookmarks",
|
||||
"bookmarksService": "../BookmarksService",
|
||||
"loungeService": "../LoungeService"
|
||||
},
|
||||
"DialServer": {
|
||||
|
||||
@@ -36,7 +36,7 @@ function PopulateButtons() as void
|
||||
button.width = 90
|
||||
|
||||
button.icon = item.icon
|
||||
button.text = item.text
|
||||
button.text = Tr(item.text)
|
||||
button.padding = item.padding
|
||||
|
||||
buttons.push(button)
|
||||
|
||||
@@ -185,8 +185,8 @@ function GetContextMenuOptionsForItem(video as object) as object
|
||||
end if
|
||||
end if
|
||||
|
||||
options.append(m.bookmarks@.GetMenuForPlaylist(playlist))
|
||||
options.append(m.bookmarks@.GetMenuForVideo(video))
|
||||
options.append(m.bookmarksService@.GetMenuForPlaylist(playlist))
|
||||
options.append(m.bookmarksService@.GetMenuForVideo(video))
|
||||
|
||||
return options
|
||||
end function
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<field id="appController" type="node" bind="/AppController" />
|
||||
<field id="invidious" type="node" bind="/Invidious" />
|
||||
<field id="videoQueue" type="node" bind="/VideoQueue" />
|
||||
<field id="bookmarks" type="node" bind="/Bookmarks" />
|
||||
<field id="bookmarksService" type="node" bind="/BookmarksService" />
|
||||
<function name="OpenPlaylistChannel" />
|
||||
<function name="OpenVideoChannel" />
|
||||
</interface>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import "pkg:/components/Navigation/Navigation.bs"
|
||||
import "pkg:/source/utils/DisposableObserve.bs"
|
||||
import "pkg:/source/utils/FocusManagement.bs"
|
||||
import "pkg:/source/utils/Locale.bs"
|
||||
import "pkg:/source/utils/StringUtils.bs"
|
||||
import "pkg:/source/utils/Types.bs"
|
||||
|
||||
@@ -143,10 +144,10 @@ function UpdateActivateButton() as void
|
||||
if m.activateButton.hasFocus()
|
||||
NodeSetFocus(m.logoutButton, true)
|
||||
end if
|
||||
m.activateButton.text = "In Use"
|
||||
m.activateButton.text = Tr(Locale.InUse)
|
||||
m.activateButton.disabled = true
|
||||
else
|
||||
m.activateButton.text = "Activate"
|
||||
m.activateButton.text = Tr(Locale.Activate)
|
||||
m.activateButton.disabled = false
|
||||
end if
|
||||
end function
|
||||
@@ -20,7 +20,7 @@ function OnNodeReady()
|
||||
m.rowList@.BindNode()
|
||||
|
||||
OnBookmarksChange()
|
||||
m.bookmarks.ObserveField("contentChange", FuncName(OnBookmarksChange))
|
||||
m.bookmarksService.ObserveField("contentChange", FuncName(OnBookmarksChange))
|
||||
end function
|
||||
|
||||
function OnFocusChange() as void
|
||||
@@ -53,13 +53,13 @@ function OnBookmarksChange() as void
|
||||
end if
|
||||
m.isDirty = false
|
||||
|
||||
hasBookmarks = m.bookmarks.content.getChildCount() > 0
|
||||
hasBookmarks = m.bookmarksService.content.getChildCount() > 0
|
||||
m.noBookmarks.visible = not hasBookmarks
|
||||
m.yesBookmarks.visible = hasBookmarks
|
||||
m.top.focusable = hasBookmarks
|
||||
|
||||
if hasBookmarks
|
||||
SetRowListContent(m.bookmarks.content)
|
||||
SetRowListContent(m.bookmarksService.content)
|
||||
else
|
||||
if m.rowList.hasFocus()
|
||||
NodeSetFocus(m.navBar, true)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<interface>
|
||||
<field id="navBar" type="node" bind="/NavBar" />
|
||||
<field id="applicationInfo" type="node" bind="/ApplicationInfo" />
|
||||
<field id="bookmarks" type="node" bind="/Bookmarks" />
|
||||
<field id="bookmarksService" type="node" bind="/BookmarksService" />
|
||||
<function name="Refresh" />
|
||||
</interface>
|
||||
<children>
|
||||
|
||||
+2
-1
@@ -1,3 +1,4 @@
|
||||
import "pkg:/source/utils/Locale.bs"
|
||||
import "pkg:/source/utils/StringUtils.bs"
|
||||
|
||||
function Init()
|
||||
@@ -16,7 +17,7 @@ function OnContentSet() as void
|
||||
' bs:disable-next-line LINT3023
|
||||
m.top.circlePosterInnerBlendColor = "#FFFFFFFF"
|
||||
m.top.letter = ""
|
||||
m.top.username = "Login"
|
||||
m.top.username = Tr(Locale.Login)
|
||||
m.top.serverUrl = ""
|
||||
m.top.crownVisible = false
|
||||
return
|
||||
|
||||
@@ -7,6 +7,7 @@ import "pkg:/source/utils/CryptoUtils.bs"
|
||||
import "pkg:/source/utils/ErrorUtils.bs"
|
||||
import "pkg:/source/utils/FocusManagement.bs"
|
||||
import "pkg:/source/utils/LoadingScreen.bs"
|
||||
import "pkg:/source/utils/Locale.bs"
|
||||
import "pkg:/source/utils/Logging.bs"
|
||||
import "pkg:/source/utils/UrlUtils.bs"
|
||||
|
||||
@@ -196,9 +197,9 @@ function OnFiltersChange()
|
||||
end if
|
||||
end for
|
||||
if filterCount > 0
|
||||
m.filtersButton.text = `Filters (${filterCount})`
|
||||
m.filtersButton.text = `${Tr(Locale.Filters)} (${filterCount})`
|
||||
else
|
||||
m.filtersButton.text = "Filters"
|
||||
m.filtersButton.text = Tr(Locale.Filters)
|
||||
end if
|
||||
end function
|
||||
|
||||
@@ -209,7 +210,7 @@ function Search(text as string)
|
||||
|
||||
feedSource = {
|
||||
"id": `inv_search_${CryptoUtils.GetMd5(text)}`
|
||||
"title": `Search - ${text}`
|
||||
"title": `${Tr(Locale.Search)} - ${text}`
|
||||
"apiType": "Invidious"
|
||||
"endpoint": "search"
|
||||
"queryParams": {
|
||||
@@ -231,7 +232,7 @@ function Search(text as string)
|
||||
end for
|
||||
|
||||
m.rowList.feeds = [{
|
||||
"title": `Search - ${text}`
|
||||
"title": `${Tr(Locale.Search)} - ${text}`
|
||||
"feedSources": [feedSource]
|
||||
}]
|
||||
end function
|
||||
|
||||
+11
-1
@@ -35,6 +35,16 @@ function Init()
|
||||
m.closeButton.observeField("buttonSelected", FuncName(Close))
|
||||
|
||||
m.checkList.observeField("checkedState", FuncName(OnCheckedStateChange))
|
||||
|
||||
SetButtonPositions()
|
||||
end function
|
||||
|
||||
function SetButtonPositions()
|
||||
saveButtonWidth = m.saveButton.width
|
||||
closeButtonWidth = m.closeButton.width
|
||||
buttonsWith = closeButtonWidth + saveButtonWidth + 20
|
||||
m.saveButton.translation = [960 / 2 - buttonsWith / 2, m.saveButton.translation[1]]
|
||||
m.closeButton.translation = [960 / 2 + buttonsWith / 2 - closeButtonWidth, m.closeButton.translation[1]]
|
||||
end function
|
||||
|
||||
function OnFocusChange() as void
|
||||
@@ -77,7 +87,7 @@ function OnValueChange()
|
||||
end if
|
||||
node = CreateObject("roSGNode", "ContentNode")
|
||||
node.id = feed.id
|
||||
node.title = feed.title
|
||||
node.title = Tr(feed.title)
|
||||
nodes.push(node)
|
||||
checkedState.push(item.enabled)
|
||||
end for
|
||||
|
||||
+4
-2
@@ -27,15 +27,17 @@
|
||||
<ButtonEx
|
||||
id="moveUpButton"
|
||||
iconVisible="false"
|
||||
anchor="[0.5,0.5]"
|
||||
text="Move up"
|
||||
minWidth="220"
|
||||
translation="[640,183]" />
|
||||
translation="[750,220]" />
|
||||
<ButtonEx
|
||||
id="moveDownButton"
|
||||
iconVisible="false"
|
||||
anchor="[0.5,0.5]"
|
||||
text="Move down"
|
||||
minWidth="220"
|
||||
translation="[640,273]" />
|
||||
translation="[750,300]" />
|
||||
|
||||
<ButtonEx
|
||||
id="saveButton"
|
||||
|
||||
+10
@@ -33,6 +33,16 @@ function Init()
|
||||
|
||||
m.currentNavigtionNode = m.editButton
|
||||
m.textEditBox.hintText = `e.g. ${Invidious.DEFAULT_INSTANCE}`
|
||||
|
||||
SetButtonPositions()
|
||||
end function
|
||||
|
||||
function SetButtonPositions()
|
||||
testButtonWidth = m.testButton.width
|
||||
saveButtonWidth = m.saveButton.width
|
||||
buttonsWith = testButtonWidth + saveButtonWidth + 20
|
||||
m.testButton.translation = [960 / 2 - buttonsWith / 2, m.testButton.translation[1]]
|
||||
m.saveButton.translation = [960 / 2 + buttonsWith / 2 - saveButtonWidth, m.saveButton.translation[1]]
|
||||
end function
|
||||
|
||||
function OnFocusChange() as void
|
||||
|
||||
+19
-10
@@ -18,7 +18,9 @@
|
||||
color="#242424">
|
||||
<Label
|
||||
text="Invidious custom instance"
|
||||
translation="[326,13]" />
|
||||
horizAlign="center"
|
||||
width="960"
|
||||
translation="[0,13]" />
|
||||
<TextEditBox
|
||||
id="textEditBox"
|
||||
width="480"
|
||||
@@ -32,24 +34,31 @@
|
||||
iconHeight="22"
|
||||
text="Edit"
|
||||
translation="[670,50]" />
|
||||
<Label
|
||||
text="OR"
|
||||
translation="[460,110]">
|
||||
|
||||
<LayoutGroup
|
||||
layoutDirection="horiz"
|
||||
horizAlignment="center"
|
||||
vertAlignment="center"
|
||||
itemSpacings="[30,30]"
|
||||
translation="[480,125]">
|
||||
<Rectangle
|
||||
width="250"
|
||||
height="1"
|
||||
translation="[-282,10]" />
|
||||
height="1" />
|
||||
|
||||
<Label
|
||||
text="Or" />
|
||||
|
||||
<Rectangle
|
||||
width="250"
|
||||
height="1"
|
||||
translation="[71,10]" />
|
||||
height="1" />
|
||||
|
||||
</Label>
|
||||
</LayoutGroup>
|
||||
|
||||
<Label
|
||||
text="Invidious public instances"
|
||||
translation="[328,145]" />
|
||||
horizAlign="center"
|
||||
width="960"
|
||||
translation="[0,145]" />
|
||||
|
||||
<InvidiousPublicInstances
|
||||
id="instances"
|
||||
|
||||
File renamed without changes.
+1
-1
@@ -1,4 +1,4 @@
|
||||
<component name="Bookmarks" extends="Node" includes="ContextMenuProvider">
|
||||
<component name="BookmarksService" extends="Node" includes="ContextMenuProvider">
|
||||
<interface>
|
||||
<field id="__version" type="integer" value="1" />
|
||||
<field id="content" type="node" />
|
||||
@@ -137,7 +137,7 @@ function OnRowItemLongPressed(index as object) as void
|
||||
end if
|
||||
rowItem = row.GetChild(rowItemIndex)
|
||||
|
||||
contextMenuProviders = [m.top, m.bookmarks, m.top.screen]
|
||||
contextMenuProviders = [m.top, m.bookmarksService, m.top.screen]
|
||||
ContextMenuUtils.Open(contextMenuProviders, m.appController, rowItem)
|
||||
end function
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<field id="appController" type="node" bind="/AppController" />
|
||||
<field id="invidious" type="node" bind="/Invidious" />
|
||||
<field id="videoQueue" type="node" bind="/VideoQueue" />
|
||||
<field id="bookmarks" type="node" bind="/Bookmarks" />
|
||||
<field id="bookmarksService" type="node" bind="/BookmarksService" />
|
||||
<field id="screen" type="node" />
|
||||
<field id="feeds" type="array" onChange="OnFeedsChange" />
|
||||
<!--
|
||||
|
||||
@@ -10,7 +10,7 @@ function VideoRowListContentTask(input as object)
|
||||
|
||||
for each feed in feeds
|
||||
feedContentNode = CreateObject("roSGNode", "FeedContentNode")
|
||||
feedContentNode.title = feed.title
|
||||
feedContentNode.title = Tr(feed.title)
|
||||
feedContentNode.feedSourcesIndex = 0
|
||||
feedContentNode.loadState = FeedLoadState.None
|
||||
feedSources = feed.feedSources
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Http
|
||||
function new(server as object)
|
||||
super()
|
||||
|
||||
m.bookmarksNode = server.task.bookmarks
|
||||
m.bookmarksService = server.task.bookmarksService
|
||||
end function
|
||||
|
||||
@get("/api/bookmarks")
|
||||
@@ -33,7 +33,7 @@ namespace Http
|
||||
function GetBookmarksFeeds(context as object) as boolean
|
||||
response = context.response
|
||||
|
||||
feeds = m.BookmarksContentToFeeds(m.bookmarksNode.content)
|
||||
feeds = m.BookmarksContentToFeeds(m.bookmarksService.content)
|
||||
|
||||
response.Json(feeds)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<field id="profiles" type="node" />
|
||||
<field id="applicationInfo" type="node" />
|
||||
<field id="videoQueue" type="node" />
|
||||
<field id="bookmarks" type="node" />
|
||||
<field id="bookmarksService" type="node" />
|
||||
<field id="loungeService" type="node" />
|
||||
<function name="GetServerAddress" />
|
||||
</interface>
|
||||
|
||||
@@ -0,0 +1,169 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.0" language="en_US" sourcelanguage="en_US">
|
||||
<defaultcodec>UTF-8</defaultcodec>
|
||||
<context>
|
||||
<name>default</name>
|
||||
<message>
|
||||
<source>Profile</source>
|
||||
<translation>Profile</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Search</source>
|
||||
<translation>Search</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Home</source>
|
||||
<translation>Home</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bookmarks</source>
|
||||
<translation>Bookmarks</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Settings</source>
|
||||
<translation>Settings</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remote</source>
|
||||
<translation>Remote</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Info</source>
|
||||
<translation>Info</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Activate</source>
|
||||
<translation>Activate</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>In Use</source>
|
||||
<translation>In Use</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Login</source>
|
||||
<translation>Login</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Logout</source>
|
||||
<translation>Logout</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Close</source>
|
||||
<translation>Close</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Filters</source>
|
||||
<translation>Filters</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Subscriptions</source>
|
||||
<translation>Subscriptions</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Playlists</source>
|
||||
<translation>Playlists</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Watch history</source>
|
||||
<translation>Watch history</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Trending</source>
|
||||
<translation>Trending</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Trending - Movies</source>
|
||||
<translation>Trending - Movies</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Trending - Music</source>
|
||||
<translation>Trending - Music</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Trending - Gaming</source>
|
||||
<translation>Trending - Gaming</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Popular</source>
|
||||
<translation>Popular</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Videos</source>
|
||||
<translation>Videos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Shorts</source>
|
||||
<translation>Shorts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Live</source>
|
||||
<translation>Live</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Podcasts</source>
|
||||
<translation>Podcasts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Edit</source>
|
||||
<translation>Edit</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Save</source>
|
||||
<translation>Save</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Test instance</source>
|
||||
<translation>Test instance</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Subscribe</source>
|
||||
<translation>Subscribe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unsubscribe</source>
|
||||
<translation>Unsubscribe</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Login to Invidious</source>
|
||||
<translation>Login to Invidious</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>IP address not available</source>
|
||||
<translation>IP address not available</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Scan the QR code</source>
|
||||
<translation>Scan the QR code</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Login to Invidious in order to view Subscriptions, Playlists, and use the Watch history.</source>
|
||||
<translation>Login to Invidious in order to view Subscriptions, Playlists, and use the Watch history.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Please note that an Invidious account is different from a YouTube account.</source>
|
||||
<translation>Please note that an Invidious account is different from a YouTube account.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Invidious custom instance</source>
|
||||
<translation>Invidious custom instance</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Or</source>
|
||||
<translation>Or</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Invidious public instances</source>
|
||||
<translation>Invidious public instances</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move up</source>
|
||||
<translation>Move up</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move down</source>
|
||||
<translation>Move down</translation>
|
||||
</message>
|
||||
|
||||
</context>
|
||||
</TS>
|
||||
@@ -0,0 +1,169 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE TS>
|
||||
<TS version="2.0" language="fr" sourcelanguage="en_US">
|
||||
<defaultcodec>UTF-8</defaultcodec>
|
||||
<context>
|
||||
<name>default</name>
|
||||
<message>
|
||||
<source>Profile</source>
|
||||
<translation>Profil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Search</source>
|
||||
<translation>Recherche</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Home</source>
|
||||
<translation>Accueil</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Bookmarks</source>
|
||||
<translation>Favoris</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Settings</source>
|
||||
<translation>Paramètres</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remote</source>
|
||||
<comment>Télécommande is too long for the UI</comment>
|
||||
<translation>Commande</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Info</source>
|
||||
<translation>Info</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Activate</source>
|
||||
<translation>Activer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>In Use</source>
|
||||
<translation>Actif</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Login</source>
|
||||
<translation>Se connecter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Logout</source>
|
||||
<translation>Se déconnecter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Close</source>
|
||||
<translation>Fermer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Filters</source>
|
||||
<translation>Filtres</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Subscriptions</source>
|
||||
<translation>Abonnements</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Playlists</source>
|
||||
<translation>Playlists</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Watch history</source>
|
||||
<translation>Historique</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Trending</source>
|
||||
<translation>Tendances</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Trending - Movies</source>
|
||||
<translation>Tendances - Films</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Trending - Music</source>
|
||||
<translation>Tendances - Musique</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Trending - Gaming</source>
|
||||
<translation>Tendances - Jeux vidéo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Popular</source>
|
||||
<translation>Populaire</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Videos</source>
|
||||
<translation>Vidéos</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Shorts</source>
|
||||
<translation>Shorts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Live</source>
|
||||
<translation>En direct</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Podcasts</source>
|
||||
<translation>Podcasts</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Edit</source>
|
||||
<translation>Modifier</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Save</source>
|
||||
<translation>Enregistrer</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Test instance</source>
|
||||
<translation>Tester l'instance</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Subscribe</source>
|
||||
<translation>S'abonner</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Unsubscribe</source>
|
||||
<translation>Se désabonner</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Login to Invidious</source>
|
||||
<translation>Se connecter à Invidious</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>IP address not available</source>
|
||||
<translation>Adresse IP non disponible</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Scan the QR code</source>
|
||||
<translation>Scannez le code QR</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Login to Invidious in order to view Subscriptions, Playlists, and use the Watch history.</source>
|
||||
<translation>Connectez-vous à Invidious pour consulter les abonnements, les playlists et utiliser l'historique de visionnage.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Please note that an Invidious account is different from a YouTube account.</source>
|
||||
<translation>Veuillez noter qu'un compte Invidious est différent d'un compte YouTube.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Invidious custom instance</source>
|
||||
<translation>Instance personnalisée d'Invidious</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Or</source>
|
||||
<translation>Ou</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Invidious public instances</source>
|
||||
<translation>Instances publiques d'Invidious</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move up</source>
|
||||
<translation>Monter</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Move down</source>
|
||||
<translation>Descendre</translation>
|
||||
</message>
|
||||
</context>
|
||||
</TS>
|
||||
@@ -0,0 +1,43 @@
|
||||
@locale
|
||||
enum Locale
|
||||
Profile = "Profile"
|
||||
Search = "Search"
|
||||
Home = "Home"
|
||||
Bookmarks = "Bookmarks"
|
||||
Settings = "Settings"
|
||||
Remote = "Remote"
|
||||
Info = "Info"
|
||||
Activate = "Activate"
|
||||
InUse = "In Use"
|
||||
Login = "Login"
|
||||
Logout = "Logout"
|
||||
Close = "Close"
|
||||
Filters = "Filters"
|
||||
Subscriptions = "Subscriptions"
|
||||
Playlists = "Playlists"
|
||||
WatchHistory = "Watch history"
|
||||
Trending = "Trending"
|
||||
TrendingMovies = "Trending - Movies"
|
||||
TrendingMusic = "Trending - Music"
|
||||
TrendingGaming = "Trending - Gaming"
|
||||
Popular = "Popular"
|
||||
Videos = "Videos"
|
||||
Shorts = "Shorts"
|
||||
Live = "Live"
|
||||
Podcasts = "Podcasts"
|
||||
Edit = "Edit"
|
||||
Save = "Save"
|
||||
TestInstance = "Test instance"
|
||||
Subscribe = "Subscribe"
|
||||
Unsubscribe = "Unsubscribe"
|
||||
LoginToInvidious = "Login to Invidious"
|
||||
IpAddressNotAvailable = "IP address not available"
|
||||
ScanTheQrCode = "Scan the QR code"
|
||||
LoginInstructions1 = "Login to Invidious in order to view Subscriptions, Playlists, and use the Watch history."
|
||||
LoginInstructions2 = "Please note that an Invidious account is different from a YouTube account."
|
||||
InvidiousCustomInstance = "Invidious custom instance"
|
||||
InvidiousOr = "Or"
|
||||
InvidiousPublicInstances = "Invidious public instances"
|
||||
MoveUp = "Move up"
|
||||
MoveDown = "Move down"
|
||||
end enum
|
||||
Reference in new issue
Block a user