[166] update languages

pull/1145/head
meisnate12 2 years ago
parent a81c473b1f
commit 42a67e6a08

@ -1 +1 @@
1.17.3-develop165
1.17.3-develop166

@ -27,11 +27,10 @@ queues:
position:
default:
horizontal_offset: 30
horizontal_align: right
vertical_offset: 465
vertical_align: top
right:
-
- horizontal_align: right
- vertical_offset: 670
- vertical_offset: 875
left:

@ -9,6 +9,11 @@ external_templates:
pmm: templates
template_variables:
conditionals:
final_align:
default: left
conditions:
- align: right
value: right
final_text:
default: <<text>>
conditions:
@ -27,15 +32,16 @@ external_templates:
value:
style: round
country: <<key>>
country_<<key>>: <<country>>
queue: position
pmm: flag/<<final_style>>/<<country>>
addon_position: left
pmm: flag/<<final_style>>/<<country_<<key>>>>
addon_position: <<final_align>>
offset: 10
addon_offset: <<offset>>
back_color: "#00000099"
back_width: 190
back_radius: <<back_radius>>
back_align: left
back_align: <<final_align>>
font: fonts/Inter-Bold.ttf
font_size: 50
final_name: text(<<final_text>>)
@ -43,22 +49,21 @@ external_templates:
queues:
position:
default:
horizontal_align: left
vertical_align: top
horizontal_offset: 15
vertical_offset: 15
left:
-
- horizontal_align: left
- vertical_offset: 75
- vertical_offset: 135
- vertical_offset: 195
- vertical_offset: 255
- vertical_offset: 136
- vertical_offset: 197
- vertical_offset: 258
right:
- horizontal_align: right
- vertical_offset: 75
- vertical_offset: 135
- vertical_offset: 195
- vertical_offset: 255
- vertical_offset: 136
- vertical_offset: 197
- vertical_offset: 258
templates:
flags:
@ -75,12 +80,12 @@ templates:
overlays:
german:
variables: {key: de, text: DE, weight: 610}
english:
variables: {key: en, text: EN, weight: 610, country: us}
template: [name: standard, name: flags]
english:
variables: {key: en, text: EN, weight: 600, country: us}
german:
variables: {key: de, text: DE, weight: 600}
template: [name: standard, name: flags]
french:
@ -212,7 +217,7 @@ overlays:
template: [name: standard, name: flags]
filipino:
variables: {key: fil, text: FL, weight: 270, country: ph}
variables: {key: fl, text: FL, weight: 270, country: ph}
template: [name: standard, name: flags]
galician:

@ -1,4 +1,4 @@
version: 1.18.0.4
version: 1.18.0.7
variables:
library_translation:
# For Movie Libraries
@ -23,221 +23,221 @@ variables:
# For Playlists
item: Itens
key_names:
# Action: Action
# Action & Adventure: Action & Adventure
# Actors: Actors
# Adult: Adult
# Adventure: Adventure
# Albanian: Albanian
# Animation: Animation
Action: Ação
Action & Adventure: Ação e Aventura
Actors: Atores
Adult: Adulto
Adventure: Aventura
Albanian: Albanês
Animation: Animação
# Anime: Anime
# Arabic: Arabic
Arabic: Árabe
# Argentina: Argentina
# Audio Language: Audio Language
# Australia: Australia
# Austria: Austria
# Award: Award
Audio Language: Idioma de áudio
Australia: Austrália
Austria: Áustria
Award: Prêmio
# Bahamas: Bahamas
# Basque: Basque
# Belgium: Belgium
Basque: Basco
Belgium: Bélgica
# Bengali: Bengali
# Biography: Biography
# Biopic: Biopic
# Bosnian: Bosnian
# Brazil: Brazil
# Bulgaria: Bulgaria
# Bulgarian: Bulgarian
# Canada: Canada
# Catalan: Catalan
# Chart: Chart
# Children: Children
Biography: Biografia
Biopic: Filme biográfico
Bosnian: Bósnia
Brazil: Brasil
Bulgaria: Bulgária
Bulgarian: Búlgaro
Canada: Canadá
Catalan: Catalão
Chart: Lista
Children: Crianças
# Chile: Chile
# China: China
# Chinese: Chinese
Chinese: chinês
Christmas: Natal
# Comedy: Comedy
# Competition: Competition
Comedy: Comédia
Competition: Competição
# Costa Rica: Costa Rica
# Country: Country
Country: País
# Crime: Crime
# Croatia: Croatia
# Croatian: Croatian
# Czech: Czech
# Czech Republic: Czech Republic
# Danish: Danish
# Decade: Decade
# Denmark: Denmark
# Directors: Directors
# Documentary: Documentary
# Dominican Republic: Dominican Republic
Croatia: Croácia
Croatian: Croata
Czech: Tcheco
Czech Republic: República Checa
Danish: Dinamarquês
Decade: Década
Denmark: Dinamarca
Directors: Diretores
Documentary: Documentário
Dominican Republic: República Dominicana
# Drama: Drama
# Dutch: Dutch
Dutch: Holandês
Easter: Páscoa
# Egypt: Egypt
# English: English
# Erotica: Erotica
# Estonia: Estonia
# Estonian: Estonian
# Family: Family
# Fantasy: Fantasy
Egypt: Egito
English: Inglês
Erotica: Erótica
Estonia: Estônia
Estonian: Estoniano
Family: Família
Fantasy: Fantasia
Father's Day: Dia dos Pais
# Filipino: Filipino
# Film Noir: Film Noir
# Finland: Finland
# Finnish: Finnish
# Food: Food
# France: France
# French: French
# Galician: Galician
# Game Show: Game Show
# Gangster: Gangster
# Genre: Genre
# Georgian: Georgian
# German: German
# Germany: Germany
# Greece: Greece
# Greek: Greek
Finland: Finlândia
Finnish: Finlandês
Food: Comida
France: França
French: Francês
Galician: Galego
Game Show: Show de jogos
Gangster: ngster
Genre: Gênero
Georgian: Georgiano
German: Alemão
Germany: Alemanha
Greece: Grécia
Greek: Grego
# Halloween: Halloween
# Hebrew: Hebrew
Hebrew: Hebraico
# Hindi: Hindi
# History: History
# Home and Garden: Home and Garden
History: História
Home and Garden: Casa e Jardim
# Hong Kong: Hong Kong
# Horror: Horror
# Hungarian: Hungarian
# Hungary: Hungary
# Iceland: Iceland
# Icelandic: Icelandic
Hungarian: Húngaro
Hungary: Hungria
Iceland: Islândia
Icelandic: Islandês
Independence Day: Dia da Independência
# India: India
India: Índia
# Indie: Indie
# Indonesia: Indonesia
# Indonesian: Indonesian
# Iran: Iran
# Ireland: Ireland
Indonesia: Indonésia
Indonesian: Indonésio
Iran: Irã
Ireland: Iraniano
# Israel: Israel
# Italian: Italian
# Italy: Italy
# Japan: Japan
# Japanese: Japanese
# Kannada: Kannada
# Kazakh: Kazakh
# Kids: Kids
# Korea: Korea
# Korean: Korean
Italian: Italiano
Italy: Itália
Japan: Japão
Japanese: Japonês
Kannada: Canarês
Kazakh: Cazaque
Kids: Crianças
Korea: Coréia
Korean: Coreano
# LGBTQ+: LGBTQ+
Labor Day: Dia do Trabalho
# Latin: Latin
# Latvia: Latvia
# Latvian: Latvian
# Luxembourg: Luxembourg
# Macedonian: Macedonian
# Malay: Malay
# Malayalam: Malayalam
# Malaysia: Malaysia
# Malaysian: Malaysian
Latin: latim
Latvia: Letônia
Latvian: Letão
Luxembourg: Luxemburgo
Macedonian: Macedônio
Malay: Malaio
Malayalam: Malaiala
Malaysia: Malásia
Malaysian: Malaio
# Marathi: Marathi
# Martial Arts: Martial Arts
Martial Arts: Artes marciais
Memorial Day: Dia da Recordação
# Mexico: Mexico
# Mind-Bend: Mind-Bend
# Mind-Fuck: Mind-Fuck
# Mini-Series: Mini-Series
# Morocco: Morocco
Morocco: Marrocos
Mother's Day: Dia das Mães
# Music: Music
Music: Música
# Musical: Musical
# Mystery: Mystery
Mystery: Mistério
# Nepal: Nepal
# Netherlands: Netherlands
Netherlands: Holanda
# Network: Network
New Year's Day: 1º dia do Ano
# New Zealand: New Zealand
# News: News
# News & Politics: News & Politics
# Norway: Norway
# Norwegian: Norwegian
# Norwegian Bokmål: Norwegian Bokmål
# Norwegian Nynorsk: Norwegian Nynorsk
# Pakistan: Pakistan
# Panama: Panama
# Persian: Persian
New Zealand: Nova Zelândia
News: Notícia
News & Politics: Notícias e política
Norway: Noruega
Norwegian: Norueguês
Norwegian Bokmål: Bokmål norueguês
Norwegian Nynorsk: Norueguês Nynorsk
Pakistan: Paquistão
Panama: Panamá
Persian: Persa
# Peru: Peru
# Philippines: Philippines
# Poland: Poland
# Polish: Polish
# Politics: Politics
Philippines: Filipinos
Poland: Polônia
Polish: Polonês
Politics: Político
# Portugal: Portugal
# Portugese: Portugese
# Portuguese: Portuguese
# Producers: Producers
Portugese: Português
Portuguese: Português
Producers: Produtores
# Punjabi: Punjabi
# Qatar: Qatar
# Ratings: Ratings
# Reality: Reality
# Resolution: Resolution
Qatar: Catar
Ratings: Classificações
Reality: Realidade
Resolution: Resolução
# Romance: Romance
# Romania: Romania
# Romanian: Romanian
# Romantic Comedy: Romantic Comedy
# Romantic Drama: Romantic Drama
# Russia: Russia
# Russian: Russian
# Saudi Arabia: Saudi Arabia
# Sci-Fi & Fantasy: Sci-Fi & Fantasy
# Science Fiction: Science Fiction
# Seasonal: Seasonal
# Serbia: Serbia
# Serbian: Serbian
# Short: Short
# Singapore: Singapore
Romania: Romênia
Romanian: Romeno
Romantic Comedy: Comédia romântica
Romantic Drama: Drama romântico
Russia: ssia
Russian: Russo
Saudi Arabia: Arábia Saudita
Sci-Fi & Fantasy: Ficção científica e fantasia
Science Fiction: Ficção científica
Seasonal: Sazonal
Serbia: sérvia
Serbian: Sérvio
Short: Curto
Singapore: Cingapura
# Slasher: Slasher
# Slovak: Slovak
# Slovenian: Slovenian
# Soap: Soap
# South Africa: South Africa
# Spain: Spain
# Spanish: Spanish
# Sport: Sport
Slovak: Eslovaco
Slovenian: esloveno
Soap: Sabão
South Africa: África do Sul
Spain: Espanha
Spanish: Espanhol
Sport: Esporte
# Sri Lanka: Sri Lanka
St. Patrick's Day: Dia de São Patrício
# Stand-Up Comedy: Stand-Up Comedy
Stand-Up Comedy: Comédia em Pé
# Streaming: Streaming
# Studio: Studio
# Subtitle Language: Subtitle Language
# Superhero: Superhero
Studio: Estúdio
Subtitle Language: Idioma das legendas
Superhero: Super heroi
# Suspense: Suspense
# Swahili: Swahili
# Sweden: Sweden
# Swedish: Swedish
# Switzerland: Switzerland
# Sword & Sorcery: Sword & Sorcery
# TV Movie: TV Movie
# Talk Show: Talk Show
# Tamil: Tamil
Swahili: suaíli
Sweden: Suécia
Swedish: Sueco
Switzerland: Suíça
Sword & Sorcery: Espada e Feitiçaria
TV Movie: Filme para TV
Talk Show: Programa de entrevista
Tamil: mil
# Telugu: Telugu
# Thai: Thai
# Thailand: Thailand
Thai: Tailandês
Thailand: Tailândia
Thanksgiving: Ação de Graças
# Thriller: Thriller
# Travel: Travel
# Turkey: Turkey
Thriller: Filme de ação
Travel: Viagem
Turkey: Turquia
# Turkish: Turkish
# Ukraine: Ukraine
# Ukrainian: Ukrainian
# United Arab Emirates: United Arab Emirates
# United Kingdom: United Kingdom
# United States of America: United States of America
# Universe: Universe
Ukraine: Ucrânia
Ukrainian: Ucraniano
United Arab Emirates: Emirados Árabes Unidos
United Kingdom: Reino Unido
United States of America: Estados Unidos da América
Universe: Universo
# Urdu: Urdu
Valentine's Day: Dia de São Valentim
# Vietnam: Vietnam
# Vietnamese: Vietnamese
# War & Politics: War & Politics
# Welsh: Welsh
# Western: Western
# Writers: Writers
# Year: Year
Vietnam: Vietnã
Vietnamese: Vietnamita
War & Politics: Guerra e Política
Welsh: Galês
Western: Ocidental
Writers: Escritoras
Year: Ano
translations:
#############################################################
@ -409,7 +409,7 @@ translations:
# possible key_names: Seasonal, Chart, Universe, Streaming, Network, Genre, Studio, Country, Audio Language, Subtitle Language, Decade, Year, Ratings, Resolution, Award, Actors, Directors, Producers, Writers
separator_name: <<translated_key_name>> Coleções
separator_summary: Separador de seção para Coleções de <<key_name>>.
separator_summary: Separador de seção para Coleções de <<translated_key_name>>.
# example key_name: Robin Williams
actor_name: <<translated_key_name>>
@ -422,6 +422,9 @@ translations:
audio_language_other_name: Outros Áudios
audio_language_other_summary: <<library_translationU>>s filmado em outras línguas.
collectionless_name: Sem coleção
collectionless_summary: <<library_translationU>>s usado apenas para fazer com que o Plex exiba itens corretamente.
# example key_name: TV-MA
content_rating_name: <<translated_key_name>> <<library_translationU>>s
content_rating_summary: <<library_translationU>>s que são classificados <<translated_key_name>>.

@ -10,69 +10,69 @@ The `languages` Default Overlay File is used to create an overlay of a flag and
## Supported Audio/Subtitle Language Flags
| Audio/Subtitle Languages | Key | Weight |
|:-------------------------|:----:|:------:|
| German | `de` | `610` |
| English | `en` | `600` |
| French | `fr` | `590` |
| Japanese | `ja` | `580` |
| Korean | `ko` | `570` |
| Chinese | `zh` | `560` |
| Danish | `da` | `550` |
| Russian | `ru` | `540` |
| Spanish | `es` | `530` |
| Italian | `it` | `520` |
| Portuguese | `pt` | `510` |
| Hindi | `hi` | `500` |
| Telugu | `te` | `490` |
| Farsi | `fa` | `480` |
| Thai | `th` | `470` |
| Dutch | `nl` | `460` |
| Norwegian | `no` | `450` |
| Icelandic | `is` | `440` |
| Swedish | `sv` | `430` |
| Turkish | `tr` | `420` |
| Polish | `pl` | `410` |
| Czech | `cs` | `400` |
| Ukrainian | `uk` | `390` |
| Hungarian | `hu` | `380` |
| Arabic | `ar` | `370` |
| Bulgarian | `bg` | `360` |
| Bengali | `bn` | `350` |
| Bosnian | `bs` | `340` |
| Catalan | `ca` | `330` |
| Welsh | `cy` | `320` |
| Greek | `el` | `310` |
| Estonian | `et` | `300` |
| Basque | `eu` | `290` |
| Finnish | `fi` | `280` |
| Filipino | `fi` | `270` |
| Galician | `gl` | `260` |
| Hebrew | `he` | `250` |
| Croatian | `hr` | `240` |
| Indonesian | `id` | `230` |
| Georgian | `ka` | `220` |
| Kazakh | `kk` | `210` |
| Kannada | `kn` | `200` |
| Latin | `la` | `190` |
| Lithuanian | `lt` | `180` |
| Latvian | `lv` | `170` |
| Macedonian | `mk` | `160` |
| Malayalam | `ml` | `150` |
| Marathi | `mr` | `140` |
| Malay | `ms` | `130` |
| Norwegian Nokmål | `nb` | `120` |
| Norwegian Nynorsk | `nn` | `110` |
| Punjabi | `pa` | `100` |
| Romanian | `ro` | `90` |
| Slovak | `sk` | `80` |
| Slovenian | `sv` | `70` |
| Albanian | `sq` | `60` |
| Serbian | `sr` | `50` |
| Swahili | `sw` | `40` |
| Tamil | `ta` | `30` |
| Urdu | `ur` | `20` |
| Vietnamese | `vi` | `10` |
| Audio/Subtitle Languages | Key | Weight | Default Flag |
|:-------------------------|:----:|:------:|:------------:|
| English | `en` | `610` | `us` |
| German | `de` | `600` | `de` |
| French | `fr` | `590` | `fr` |
| Japanese | `ja` | `580` | `jp` |
| Korean | `ko` | `570` | `kr` |
| Chinese | `zh` | `560` | `cn` |
| Danish | `da` | `550` | `dk` |
| Russian | `ru` | `540` | `ru` |
| Spanish | `es` | `530` | `es` |
| Italian | `it` | `520` | `it` |
| Portuguese | `pt` | `510` | `pt` |
| Hindi | `hi` | `500` | `in` |
| Telugu | `te` | `490` | `in` |
| Farsi | `fa` | `480` | `ir` |
| Thai | `th` | `470` | `th` |
| Dutch | `nl` | `460` | `nl` |
| Norwegian | `no` | `450` | `no` |
| Icelandic | `is` | `440` | `is` |
| Swedish | `sv` | `430` | `se` |
| Turkish | `tr` | `420` | `tr` |
| Polish | `pl` | `410` | `pl` |
| Czech | `cs` | `400` | `cz` |
| Ukrainian | `uk` | `390` | `ua` |
| Hungarian | `hu` | `380` | `hu` |
| Arabic | `ar` | `370` | `eg` |
| Bulgarian | `bg` | `360` | `bg` |
| Bengali | `bn` | `350` | `bd` |
| Bosnian | `bs` | `340` | `ba` |
| Catalan | `ca` | `330` | `es` |
| Welsh | `cy` | `320` | `uk` |
| Greek | `el` | `310` | `gr` |
| Estonian | `et` | `300` | `ee` |
| Basque | `eu` | `290` | `es` |
| Finnish | `fi` | `280` | `fi` |
| Filipino | `fl` | `270` | `ph` |
| Galician | `gl` | `260` | `es` |
| Hebrew | `he` | `250` | `il` |
| Croatian | `hr` | `240` | `hr` |
| Indonesian | `id` | `230` | `id` |
| Georgian | `ka` | `220` | `ge` |
| Kazakh | `kk` | `210` | `kz` |
| Kannada | `kn` | `200` | `in` |
| Latin | `la` | `190` | `it` |
| Lithuanian | `lt` | `180` | `lt` |
| Latvian | `lv` | `170` | `lv` |
| Macedonian | `mk` | `160` | `mk` |
| Malayalam | `ml` | `150` | `in` |
| Marathi | `mr` | `140` | `in` |
| Malay | `ms` | `130` | `my` |
| Norwegian Nokmål | `nb` | `120` | `no` |
| Norwegian Nynorsk | `nn` | `110` | `no` |
| Punjabi | `pa` | `100` | `in` |
| Romanian | `ro` | `90` | `ro` |
| Slovak | `sk` | `80` | `sk` |
| Slovenian | `sv` | `70` | `si` |
| Albanian | `sq` | `60` | `al` |
| Serbian | `sr` | `50` | `rs` |
| Swahili | `sw` | `40` | `tz` |
| Tamil | `ta` | `30` | `in` |
| Urdu | `ur` | `20` | `pk` |
| Vietnamese | `vi` | `10` | `vn` |
#### Square Style
@ -129,10 +129,12 @@ All [Shared Overlay Variables](variables) are available with the default values
| `font_size` | `50` |
| Variable | Description & Values |
|:-----------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|:------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `position` | **Description:** Changes the position of the Overlays.<br>**Default:** `left`<br>**Values:** `left`, `right`, `half`, or List of Coordinates |
| `style` | **Description:** Controls the visual theme of the overlays created.<table class="clearTable"><tr><th>Values:</th></tr><tr><td><code>round</code></td><td>Round Theme</td></tr><tr><td><code>square</code></td><td>Square Theme</td></tr><tr><td><code>half</code></td><td>Square Flag with Round Background</td></tr></table> |
| `offset` | **Description:** Controls the offset between the flag and the text.<br>**Default:** `10`<br>**Values:** Any Integer 0 or greater |
| `align` | **Description:** Controls the flag alignment in the backdrop.<br>**Default:** `left`<br>**Values:** `left` or `right` |
| `country_<<key>>`<sup>1</sup> | **Description:** Controls the country image for the Overlay.<br>**Default:** Listed in the [Table](#supported-audio-subtitle-language-flags) above<br>**Values:** [ISO 3166-1 Country Code](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) for the flag desired |
| `use_lowercase` | **Description:** Controls if the overlay display is in lowercase.<br>**Values:** `true` to use lowercase text |
| `use_subtitles` | **Description:** Controls if the overlay is based on subtitle language instead of audio language.<br>**Values:** `true` to look at subtitle language instead of audio language |
| `overlay_level` | **Description:** Choose the Overlay Level.<br>**Values:** `season` or `episode` |

@ -1527,11 +1527,13 @@ class OverlayFile(DataFile):
for pos in initial_queue:
if not pos:
pos = {}
horizontal_align = pos["horizontal_align"] if "horizontal_align" in pos else horizontal_align
vertical_align = pos["vertical_align"] if "vertical_align" in pos else vertical_align
horizontal_offset = pos["horizontal_offset"] if "horizontal_offset" in pos else horizontal_offset
vertical_offset = pos["vertical_offset"] if "vertical_offset" in pos else vertical_offset
new_pos = {
"horizontal_align": pos["horizontal_align"] if "horizontal_align" in pos else horizontal_align,
"vertical_align": pos["vertical_align"] if "vertical_align" in pos else vertical_align,
"horizontal_offset": pos["horizontal_offset"] if "horizontal_offset" in pos else horizontal_offset,
"vertical_offset": pos["vertical_offset"] if "vertical_offset" in pos else vertical_offset
"horizontal_align": horizontal_align, "vertical_align": vertical_align,
"horizontal_offset": horizontal_offset, "vertical_offset": vertical_offset
}
for pk, pv in new_pos.items():
if pv is None:

Loading…
Cancel
Save