(linear-es-de) Added translations for en_US, en_GB and sv_SE

This commit is contained in:
Leon Styhre 2024-09-01 14:14:03 +02:00
parent 98bf9251d5
commit 8874690ef6
5 changed files with 85 additions and 23 deletions

View file

@ -1,4 +1,4 @@
# Linear for ES-DE (linear-es-de) # Linear for ES-DE Frontend (linear-es-de)
The following options are included: The following options are included:
@ -31,6 +31,12 @@ The following options are included:
- 4:3 - 4:3
- 21:9 - 21:9
3 languages:
- English (United States)
- English (United Kingdom)
- Svenska
3 transitions: 3 transitions:
- Instant and slide - Instant and slide

View file

@ -5,6 +5,10 @@
<themeCapabilities> <themeCapabilities>
<themeName>Linear</themeName> <themeName>Linear</themeName>
<language>en_US</language>
<language>en_GB</language>
<language>sv_SE</language>
<aspectRatio>16:9</aspectRatio> <aspectRatio>16:9</aspectRatio>
<aspectRatio>16:10</aspectRatio> <aspectRatio>16:10</aspectRatio>
<aspectRatio>4:3</aspectRatio> <aspectRatio>4:3</aspectRatio>
@ -14,11 +18,15 @@
<fontSize>large</fontSize> <fontSize>large</fontSize>
<colorScheme name="dark"> <colorScheme name="dark">
<label>Dark</label> <label language="en_US">Dark</label>
<label language="en_GB">Dark</label>
<label language="sv_SE">Mörkt</label>
</colorScheme> </colorScheme>
<colorScheme name="light"> <colorScheme name="light">
<label>Light</label> <label language="en_US">Light</label>
<label language="en_GB">Light</label>
<label language="sv_SE">Ljust</label>
</colorScheme> </colorScheme>
<colorScheme name="nso"> <colorScheme name="nso">
@ -34,37 +42,51 @@
</colorScheme> </colorScheme>
<variant name="textlistWithVideos"> <variant name="textlistWithVideos">
<label>Textlist</label> <label language="en_US">Textlist</label>
<label language="en_GB">Textlist</label>
<label language="sv_SE">Textlista</label>
<selectable>true</selectable> <selectable>true</selectable>
</variant> </variant>
<variant name="textlistWithoutVideos"> <variant name="textlistWithoutVideos">
<label>Textlist without videos</label> <label language="en_US">Textlist without videos</label>
<label language="en_GB">Textlist without videos</label>
<label language="sv_SE">Textlista utan video</label>
<selectable>true</selectable> <selectable>true</selectable>
</variant> </variant>
<variant name="simpleTextlistWithVideos"> <variant name="simpleTextlistWithVideos">
<label>Simple textlist</label> <label language="en_US">Simple textlist</label>
<label language="en_GB">Simple textlist</label>
<label language="sv_SE">Enkel textlista</label>
<selectable>true</selectable> <selectable>true</selectable>
</variant> </variant>
<variant name="simpleTextlistWithoutVideos"> <variant name="simpleTextlistWithoutVideos">
<label>Simple textlist without videos</label> <label language="en_US">Simple textlist without videos</label>
<label language="en_GB">Simple textlist without videos</label>
<label language="sv_SE">Enkel textlista utan video</label>
<selectable>true</selectable> <selectable>true</selectable>
</variant> </variant>
<variant name="carousel"> <variant name="carousel">
<label>Carousel</label> <label language="en_US">Carousel</label>
<label language="en_GB">Carousel</label>
<label language="sv_SE">Karusell</label>
<selectable>true</selectable> <selectable>true</selectable>
</variant> </variant>
<variant name="simpleCarousel"> <variant name="simpleCarousel">
<label>Simple Carousel</label> <label language="en_US">Simple carousel</label>
<label language="en_GB">Simple carousel</label>
<label language="sv_SE">Enkel karusell</label>
<selectable>true</selectable> <selectable>true</selectable>
</variant> </variant>
<transitions name="instantAndSlide"> <transitions name="instantAndSlide">
<label>instant and slide</label> <label language="en_US">instant and slide</label>
<label language="en_GB">instant and slide</label>
<label language="sv_SE">direkt och glidande</label>
<selectable>true</selectable> <selectable>true</selectable>
<systemToSystem>instant</systemToSystem> <systemToSystem>instant</systemToSystem>
<systemToGamelist>slide</systemToGamelist> <systemToGamelist>slide</systemToGamelist>
@ -75,7 +97,9 @@
</transitions> </transitions>
<transitions name="instant"> <transitions name="instant">
<label>instant</label> <label language="en_US">instant</label>
<label language="en_GB">instant</label>
<label language="sv_SE">direkt</label>
<selectable>true</selectable> <selectable>true</selectable>
<systemToSystem>instant</systemToSystem> <systemToSystem>instant</systemToSystem>
<systemToGamelist>instant</systemToGamelist> <systemToGamelist>instant</systemToGamelist>
@ -86,7 +110,9 @@
</transitions> </transitions>
<transitions name="fade"> <transitions name="fade">
<label>fade</label> <label language="en_US">fade</label>
<label language="en_GB">fade</label>
<label language="sv_SE">uttoning</label>
<selectable>true</selectable> <selectable>true</selectable>
<systemToSystem>instant</systemToSystem> <systemToSystem>instant</systemToSystem>
<systemToGamelist>fade</systemToGamelist> <systemToGamelist>fade</systemToGamelist>

View file

@ -4,12 +4,12 @@
<variant name="all"> <variant name="all">
<view name="gamelist"> <view name="gamelist">
<text name="systemName"> <text name="systemName">
<text>Custom Collections</text> <text>${langCustomCollections}</text>
<letterCase>capitalize</letterCase> <letterCase>capitalize</letterCase>
</text> </text>
<text name="system-label"> <text name="system-label">
<metadata>systemFullname</metadata> <metadata>systemFullname</metadata>
<defaultValue>Your Collections</defaultValue> <defaultValue>${langYourCollections}</defaultValue>
</text> </text>
</view> </view>
</variant> </variant>
@ -19,7 +19,7 @@
<view name="gamelist"> <view name="gamelist">
<text name="customCollectionName"> <text name="customCollectionName">
<metadata>systemFullname</metadata> <metadata>systemFullname</metadata>
<defaultValue>Your Collections</defaultValue> <defaultValue>${langYourCollections}</defaultValue>
</text> </text>
</view> </view>
</variant> </variant>

View file

@ -0,0 +1,28 @@
<theme>
<language name="en_US en_GB">
<variables>
<langLabelRating>Rating</langLabelRating>
<langLabelReleasedate>Released</langLabelReleasedate>
<langLabelPlayers>Players</langLabelPlayers>
<langLabelGenre>Genre</langLabelGenre>
<langLabelDeveloper>Developer</langLabelDeveloper>
<langLabelPublisher>Publisher</langLabelPublisher>
<langLabelLastPlayed>Last Played</langLabelLastPlayed>
<langCustomCollections>Custom Collections</langCustomCollections>
<langYourCollections>Your Collections</langYourCollections>
</variables>
</language>
<language name="sv_SE">
<variables>
<langLabelRating>Betyg</langLabelRating>
<langLabelReleasedate>Utgivet</langLabelReleasedate>
<langLabelPlayers>Spelare</langLabelPlayers>
<langLabelGenre>Genre</langLabelGenre>
<langLabelDeveloper>Utvecklare</langLabelDeveloper>
<langLabelPublisher>Utgivare</langLabelPublisher>
<langLabelLastPlayed>Senast Spelat</langLabelLastPlayed>
<langCustomCollections>Anpassade Samlingar</langCustomCollections>
<langYourCollections>Dina Samlingar</langYourCollections>
</variables>
</language>
</theme>

View file

@ -1,5 +1,5 @@
<!-- <!--
Linear for ES-DE (linear-es-de) Linear for ES-DE Frontend (linear-es-de)
Author: ES-DE project Author: ES-DE project
License: MIT License: MIT
Based on: ESonline by Weestuarty Based on: ESonline by Weestuarty
@ -7,6 +7,7 @@
<theme> <theme>
<include>./colors.xml</include> <include>./colors.xml</include>
<include>./languages.xml</include>
<include>./system/metadata/_default.xml</include> <include>./system/metadata/_default.xml</include>
<include>./system/metadata/${system.theme}.xml</include> <include>./system/metadata/${system.theme}.xml</include>
<include>./system/metadata-custom/_default.xml</include> <include>./system/metadata-custom/_default.xml</include>
@ -325,7 +326,7 @@
<pos>0.88 0.180</pos> <pos>0.88 0.180</pos>
<size>0.165 0.03</size> <size>0.165 0.03</size>
<origin>0.5 0</origin> <origin>0.5 0</origin>
<text>Rating</text> <text>${langLabelRating}</text>
<metadataElement>true</metadataElement> <metadataElement>true</metadataElement>
<fontPath>${primaryFont}</fontPath> <fontPath>${primaryFont}</fontPath>
<fontSize>${metadataFontSize}</fontSize> <fontSize>${metadataFontSize}</fontSize>
@ -353,7 +354,7 @@
<pos>0.88 0.262</pos> <pos>0.88 0.262</pos>
<size>0.165 0.03</size> <size>0.165 0.03</size>
<origin>0.5 0</origin> <origin>0.5 0</origin>
<text>Released</text> <text>${langLabelReleasedate}</text>
<metadataElement>true</metadataElement> <metadataElement>true</metadataElement>
<fontPath>${primaryFont}</fontPath> <fontPath>${primaryFont}</fontPath>
<fontSize>${metadataFontSize}</fontSize> <fontSize>${metadataFontSize}</fontSize>
@ -385,7 +386,7 @@
<pos>0.88 0.345</pos> <pos>0.88 0.345</pos>
<size>0.165 0.03</size> <size>0.165 0.03</size>
<origin>0.5 0</origin> <origin>0.5 0</origin>
<text>Players</text> <text>${langLabelPlayers}</text>
<metadataElement>true</metadataElement> <metadataElement>true</metadataElement>
<fontPath>${primaryFont}</fontPath> <fontPath>${primaryFont}</fontPath>
<fontSize>${metadataFontSize}</fontSize> <fontSize>${metadataFontSize}</fontSize>
@ -417,7 +418,7 @@
<pos>0.88 0.428</pos> <pos>0.88 0.428</pos>
<size>0.165 0.03</size> <size>0.165 0.03</size>
<origin>0.5 0</origin> <origin>0.5 0</origin>
<text>Genre</text> <text>${langLabelGenre}</text>
<metadataElement>true</metadataElement> <metadataElement>true</metadataElement>
<fontPath>${primaryFont}</fontPath> <fontPath>${primaryFont}</fontPath>
<fontSize>${metadataFontSize}</fontSize> <fontSize>${metadataFontSize}</fontSize>
@ -453,7 +454,7 @@
<pos>0.88 0.511</pos> <pos>0.88 0.511</pos>
<size>0.165 0.03</size> <size>0.165 0.03</size>
<origin>0.5 0</origin> <origin>0.5 0</origin>
<text>Developer</text> <text>${langLabelDeveloper}</text>
<metadataElement>true</metadataElement> <metadataElement>true</metadataElement>
<fontPath>${primaryFont}</fontPath> <fontPath>${primaryFont}</fontPath>
<fontSize>${metadataFontSize}</fontSize> <fontSize>${metadataFontSize}</fontSize>
@ -489,7 +490,7 @@
<pos>0.88 0.5935</pos> <pos>0.88 0.5935</pos>
<size>0.165 0.03</size> <size>0.165 0.03</size>
<origin>0.5 0</origin> <origin>0.5 0</origin>
<text>Publisher</text> <text>${langLabelPublisher}</text>
<metadataElement>true</metadataElement> <metadataElement>true</metadataElement>
<fontPath>${primaryFont}</fontPath> <fontPath>${primaryFont}</fontPath>
<fontSize>${metadataFontSize}</fontSize> <fontSize>${metadataFontSize}</fontSize>
@ -525,7 +526,7 @@
<pos>0.88 0.6765</pos> <pos>0.88 0.6765</pos>
<size>0.165 0.03</size> <size>0.165 0.03</size>
<origin>0.5 0</origin> <origin>0.5 0</origin>
<text>Last Played</text> <text>${langLabelLastPlayed}</text>
<metadataElement>true</metadataElement> <metadataElement>true</metadataElement>
<fontPath>${primaryFont}</fontPath> <fontPath>${primaryFont}</fontPath>
<fontSize>${metadataFontSize}</fontSize> <fontSize>${metadataFontSize}</fontSize>
@ -543,6 +544,7 @@
<fontSize>${metadataFontSize}</fontSize> <fontSize>${metadataFontSize}</fontSize>
<horizontalAlignment>center</horizontalAlignment> <horizontalAlignment>center</horizontalAlignment>
<color>${primaryColor}</color> <color>${primaryColor}</color>
<letterCase>capitalize</letterCase>
<lineSpacing>1</lineSpacing> <lineSpacing>1</lineSpacing>
</datetime> </datetime>
<badges name="badges"> <badges name="badges">