From 901ec5a3aaeaf039a73bc6f6daee1e866ee10fe0 Mon Sep 17 00:00:00 2001 From: meisnate12 Date: Fri, 30 Sep 2022 08:51:27 -0400 Subject: [PATCH] [62] update translations --- VERSION | 2 +- defaults/award/bafta.yml | 43 +++++++---------------- defaults/award/cannes.yml | 13 +++++-- defaults/award/choice.yml | 8 +++-- defaults/award/emmy.yml | 7 +++- defaults/award/golden.yml | 11 ++++-- defaults/award/oscars.yml | 15 +++++--- defaults/award/other.yml | 23 +++++++++---- defaults/award/spirit.yml | 9 +++-- defaults/award/sundance.yml | 10 +++++- defaults/both/actor.yml | 14 +++++--- defaults/both/audio_language.yml | 8 ++++- defaults/both/content_rating_uk.yml | 8 ++++- defaults/templates.yml | 10 ++++++ defaults/translations/default.yml | 53 +++++++++++++++++++++++++++++ 15 files changed, 175 insertions(+), 59 deletions(-) diff --git a/VERSION b/VERSION index 68b0d268..969aa547 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.17.3-develop61 +1.17.3-develop62 diff --git a/defaults/award/bafta.yml b/defaults/award/bafta.yml index 57ac9067..52afbfd9 100644 --- a/defaults/award/bafta.yml +++ b/defaults/award/bafta.yml @@ -1,44 +1,20 @@ ############################################################# -# BAFTA Collections # -# Created by Yozora, Bullmoose20, & Sohjiro # -# Credit to pjcob & maxwelldeux for the Trakt Lists # -############################################################# -# REQUIRES TRAKT AUTHENTICATION # -# https://metamanager.wiki/en/latest/config/trakt.html # -# # -# Call this from your config.yml (Movie only) # -# If nothing is specified these are the defaults # -# # -# metadata_path: # -# - git: PMM/award/bafta # -# template_variables: # -# # Turn the individual year collections on/off # -# use_year_collections: true # -# # Sets the collection order of the collection # -# collection_order: custom # -# # Sets the collection mode of the collection # -# collection_mode: # -# # Sets the value at the start of the sort title # -# collection_section: 16 # -# # Adds missing from the collection to radarr # -# radarr_add_missing: # -# # Radarr Folder to add to # -# radarr_folder: # -# # Radarr Tag for added missing # -# radarr_tag: # -# # Radarr Tag for existing items # -# item_radarr_tag: # +# BAFTA Collections +# Created by Yozora, Bullmoose20, & Sohjiro +# Credit to pjcob & maxwelldeux for the Trakt Lists ############################################################# external_templates: - git: PMM/templates + pmm: templates template_variables: collection_section: 16 +translations: + pmm: translations + templates: BAFTA: allowed_library_types: movie - summary: <> BAFTA awards trakt_list: https://trakt.tv/users/pjcob/lists/<>-bafta url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/award/bafta/<>.jpg @@ -53,6 +29,8 @@ collections: image: award/bafta/winner - name: arr - name: custom + - name: translation + translation_key: bafta_best trakt_list_details: https://trakt.tv/users/maxwelldeux/lists/bafta-award-best-film dynamic_collections: @@ -66,6 +44,9 @@ dynamic_collections: template: - use_year_collections - BAFTA + - translation - shared - arr - custom + template_variables: + translation_key: bafta_year diff --git a/defaults/award/cannes.yml b/defaults/award/cannes.yml index ed0f343a..bbb1cf86 100644 --- a/defaults/award/cannes.yml +++ b/defaults/award/cannes.yml @@ -31,19 +31,21 @@ ############################################################# external_templates: - git: PMM/templates + pmm: templates template_variables: collection_section: 16 +translations: + pmm: translations + templates: Cannes: allowed_library_types: movie - summary: <> Cannes awards trakt_list: https://trakt.tv/users/pjcob/lists/<>-cannes url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/award/cannes/<>.jpg collections: - Cannes - Palme d'or: + Cannes Golden Palm Winners: variables: key: palme template: @@ -53,6 +55,8 @@ collections: image: award/cannes/winner - name: arr - name: custom + - name: translation + translation_key: cannes_best trakt_list_details: https://trakt.tv/users/maxwelldeux/lists/cannes-film-festival-palme-d-or dynamic_collections: @@ -66,6 +70,9 @@ dynamic_collections: template: - use_year_collections - Cannes + - translation - shared - arr - custom + template_variables: + translation_key: cannes_year diff --git a/defaults/award/choice.yml b/defaults/award/choice.yml index 704061f7..31c40f77 100644 --- a/defaults/award/choice.yml +++ b/defaults/award/choice.yml @@ -39,15 +39,17 @@ ############################################################# external_templates: - git: PMM/templates + pmm: templates template_variables: collection_section: 16 +translations: + pmm: translations + templates: Choice: default: url: critic-s - summary: <> Critics Choice Awards trakt_list: https://trakt.tv/users/pjcob/lists/<>-<>-choice url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/award/choice/<>.jpg @@ -62,10 +64,12 @@ dynamic_collections: template: - use_year_collections - Choice + - translation - shared - arr - custom template_variables: + translation_key: choice_year url: 2019: critics 2018: critics diff --git a/defaults/award/emmy.yml b/defaults/award/emmy.yml index 34bb1a6e..b4bc5ea7 100644 --- a/defaults/award/emmy.yml +++ b/defaults/award/emmy.yml @@ -36,10 +36,13 @@ ############################################################# external_templates: - git: PMM/templates + pmm: templates template_variables: collection_section: 16 +translations: + pmm: translations + templates: Emmy: default: @@ -62,3 +65,5 @@ dynamic_collections: - shared - arr - custom + template_variables: + translation_key: emmy_year diff --git a/defaults/award/golden.yml b/defaults/award/golden.yml index 605bd596..83fc0e6a 100644 --- a/defaults/award/golden.yml +++ b/defaults/award/golden.yml @@ -37,15 +37,17 @@ ############################################################# external_templates: - git: PMM/templates + pmm: templates template_variables: collection_section: 16 +translations: + pmm: translations + templates: Golden: default: imdb_sort: moviemeter,asc - summary: <> Golden Globe Winners imdb_list: https://www.imdb.com/search/title/?release_date=<>-01-01,<>-12-31&groups=golden_globe_winner&sort=<> url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/award/golden/winner/<>.jpg @@ -59,6 +61,8 @@ collections: image: award/golden/best_picture_winner - name: arr - name: custom + - name: translation + translation_key: golden_best trakt_list_details: https://trakt.tv/users/maxwelldeux/lists/golden-globe-award-best-motion-picture dynamic_collections: @@ -72,6 +76,9 @@ dynamic_collections: template: - use_year_collections - Golden + - translation - shared - arr - custom + template_variables: + translation_key: golden_year diff --git a/defaults/award/oscars.yml b/defaults/award/oscars.yml index 0cf8c3e9..ffb5df4c 100644 --- a/defaults/award/oscars.yml +++ b/defaults/award/oscars.yml @@ -28,16 +28,18 @@ ############################################################# external_templates: - git: PMM/templates + pmm: templates template_variables: collection_section: 16 +translations: + pmm: translations + templates: Oscars: default: imdb_sort: moviemeter,asc allowed_library_types: movie - summary: Academy Awards (Oscars) Winners for <> imdb_list: https://www.imdb.com/search/title/?release_date=<>-01-01,<>-12-31&groups=oscar_winner&sort=<> url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/award/oscars/winner/<>.jpg @@ -53,8 +55,9 @@ collections: image: award/oscars/best_picture_winner - name: arr - name: custom + - name: translation + translation_key: oscars_picture imdb_list: https://www.imdb.com/search/title/?groups=best_picture_winner - summary: The Academy Award for Best Picture is one of the Academy Awards presented annually by the Academy of Motion Picture Arts and Sciences since the awards debuted in 1929. Oscars Best Director Winners: variables: @@ -66,8 +69,9 @@ collections: image: award/oscars/best_director_winner - name: arr - name: custom + - name: translation + translation_key: oscars_director imdb_list: https://www.imdb.com/search/title/?groups=best_director_winner - summary: The Academy Award for Best Director is one of the Academy Awards presented annually by the Academy of Motion Picture Arts and Sciences since the awards debuted in 1929. dynamic_collections: Oscars Winners Awards: @@ -80,6 +84,9 @@ dynamic_collections: template: - use_year_collections - Oscars + - translation - shared - arr - custom + template_variables: + translation_key: oscars_year diff --git a/defaults/award/other.yml b/defaults/award/other.yml index 877334ba..07fbb585 100644 --- a/defaults/award/other.yml +++ b/defaults/award/other.yml @@ -29,12 +29,15 @@ ############################################################# external_templates: - git: PMM/templates + pmm: templates template_variables: collection_section: 16 +translations: + pmm: translations + collections: - Berlinale: + Berlinale Golden Bears: variables: key: berlinale template: @@ -43,9 +46,11 @@ collections: image: award/berlinale/winner - name: arr - name: custom + - name: translation + translation_key: berlinale_best trakt_list_details: https://trakt.tv/users/maxwelldeux/lists/berlin-international-film-festival-golden-bears - Cesar: + César Best Film Winners: variables: key: cesar template: @@ -54,9 +59,11 @@ collections: image: award/cesar/winner - name: arr - name: custom + - name: translation + translation_key: cesar_best trakt_list_details: https://trakt.tv/users/maxwelldeux/lists/cesar-award-best-french-film - Razzies: + Razzies Golden Raspberry Winners: variables: key: razzie template: @@ -65,9 +72,11 @@ collections: image: award/razzie/winner - name: arr - name: custom + - name: translation + translation_key: razzie_worst trakt_list_details: https://trakt.tv/users/hdlists/lists/razzie-awards-worst-picture-winners - Venice: + Venice Golden Lions: variables: key: venice template: @@ -76,4 +85,6 @@ collections: image: award/venice/winner - name: arr - name: custom - trakt_list_details: https://trakt.tv/users/maxwelldeux/lists/venice-film-festival-golden-lion \ No newline at end of file + - name: translation + translation_key: bafta_best + trakt_list_details: https://trakt.tv/users/maxwelldeux/lists/venice-film-festival-golden-lion diff --git a/defaults/award/spirit.yml b/defaults/award/spirit.yml index 877b6ca0..8b5a0eab 100644 --- a/defaults/award/spirit.yml +++ b/defaults/award/spirit.yml @@ -30,14 +30,16 @@ ############################################################# external_templates: - git: PMM/templates + pmm: templates template_variables: collection_section: 16 +translations: + pmm: translations + templates: Spirit: allowed_library_types: movie - summary: <> Independent Spirit Awards trakt_list: https://trakt.tv/users/pjcob/lists/<>-independent-spirits url_poster: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/award/spirit/<>.jpg @@ -52,6 +54,9 @@ dynamic_collections: template: - use_year_collections - Spirit + - translation - shared - arr - custom + template_variables: + translation_key: spirit_year diff --git a/defaults/award/sundance.yml b/defaults/award/sundance.yml index 02f53329..ca0db6c2 100644 --- a/defaults/award/sundance.yml +++ b/defaults/award/sundance.yml @@ -30,10 +30,13 @@ ############################################################# external_templates: - git: PMM/templates + pmm: templates template_variables: collection_section: 16 +translations: + pmm: translations + templates: Sundance: allowed_library_types: movie @@ -52,6 +55,8 @@ collections: image: award/sundance/grand_jury_winner - name: arr - name: custom + - name: translation + translation_key: sundance_best trakt_list_details: https://trakt.tv/users/maxwelldeux/lists/sundance-film-festival-grand-jury-prize dynamic_collections: @@ -65,6 +70,9 @@ dynamic_collections: template: - use_year_collections - Sundance + - translation - shared - arr - custom + template_variables: + translation_key: sundance_year diff --git a/defaults/both/actor.yml b/defaults/both/actor.yml index dad1ebe2..ec0954a7 100644 --- a/defaults/both/actor.yml +++ b/defaults/both/actor.yml @@ -28,10 +28,13 @@ ############################################################# external_templates: - git: PMM/templates + pmm: templates template_variables: collection_section: 17 +translations: + pmm: translations + templates: actor_dynamic: default: @@ -53,11 +56,14 @@ collections: dynamic_collections: Top Actors: type: actor - template: - - actor_dynamic - - shared title_format: <> data: depth: 5 limit: 25 + template: + - actor_dynamic + - translation + - shared + template_variables: + translation_key: actor \ No newline at end of file diff --git a/defaults/both/audio_language.yml b/defaults/both/audio_language.yml index dddd43fd..f3da456e 100644 --- a/defaults/both/audio_language.yml +++ b/defaults/both/audio_language.yml @@ -28,10 +28,13 @@ ############################################################# external_templates: - git: PMM/templates + pmm: templates template_variables: collection_section: 10 +translations: + pmm: translations + templates: audio_language_dynamic: default: @@ -55,7 +58,10 @@ dynamic_collections: other_name: Other Audio template: - audio_language_dynamic + - translation - shared + template_variables: + translation_key: audio_language other_template: - other_collection - audio_language_dynamic diff --git a/defaults/both/content_rating_uk.yml b/defaults/both/content_rating_uk.yml index 50edcc35..3f0a6900 100644 --- a/defaults/both/content_rating_uk.yml +++ b/defaults/both/content_rating_uk.yml @@ -28,10 +28,13 @@ ############################################################# external_templates: - git: PMM/templates + pmm: templates template_variables: collection_section: 14 +translations: + pmm: translations + templates: content_rating_dynamic: default: @@ -58,12 +61,15 @@ dynamic_collections: other_name: Other Ratings template: - content_rating_dynamic + - translation - shared other_template: - other - other_collection - content_rating_dynamic - shared + template_variables: + translation_key: content_rating_uk include: - U - PG diff --git a/defaults/templates.yml b/defaults/templates.yml index 5a2ca4a2..572513b1 100644 --- a/defaults/templates.yml +++ b/defaults/templates.yml @@ -103,3 +103,13 @@ templates: optional: - use_year_collections allowed_library_types: <<use_year_collections>> + + translation: + default: + sumamry_<<key>>: <<<<translation_key>>_summary>> + name_<<key>>: <<<<translation_key>>_name>> + optional: + - <<translation_key>>_summary + - <<translation_key>>_name + summary: <<sumamry_<<key>>>> + name: <<name_<<key>>>> \ No newline at end of file diff --git a/defaults/translations/default.yml b/defaults/translations/default.yml index c498449e..1a03a3ee 100644 --- a/defaults/translations/default.yml +++ b/defaults/translations/default.yml @@ -1,9 +1,62 @@ translations: bafta_best_name: BAFTA Best Films bafta_best_summary: British Academy of Film and Television Arts Best Film Winners + bafta_year_name: BAFTA <<key_name>> bafta_year_summary: <<key>> BAFTA Awards + cannes_best_name: Cannes Golden Palm Winners cannes_best_summary: Cannes Golden Palm Winners + cannes_year_name: Cannes <<key_name>> cannes_year_summary: <<key>> Cannes Awards + + choice_year_name: Critics Choice Awards <<key_name>> + choice_year_summary: <<key>> Critics Choice Awards + + emmy_year_name: Emmys <<key_name>> + emmy_year_summary: <<key>> Emmy Winners + + golden_best_name: Golden Globe Best Motion Pictures + golden_best_summary: Golden Globe Best Motion Pictures + + golden_year_name: Golden Globe <<key_name>> + golden_year_summary: <<key>> Golden Globe Winners + + oscars_picture_name: Oscars Best Picture Winners + oscars_picture_summary: The Academy Award for Best Picture is one of the Academy Awards presented annually by the Academy of Motion Picture Arts and Sciences since the awards debuted in 1929. + + oscars_director_name: Oscars Best Director Winners + oscars_director_summary: The Academy Award for Best Director is one of the Academy Awards presented annually by the Academy of Motion Picture Arts and Sciences since the awards debuted in 1929. + + oscars_year_name: Oscars Winners <<key_name>> + oscars_year_summary: Academy Awards (Oscars) Winners for <<key>> + + berlinale_best_name: Berlinale Golden Bears + berlinale_best_summary: Up to 400 films are shown every year as part of the Berlinale's (Berlin International Film Festival) public programme, the vast majority of which are world or European premieres. Films of every genre, length and format can be submitted for consideration. The Golden Bear (German Goldener Bär) is the highest prize awarded for the best film shown during this festival. + + cesar_best_name: César Best Film Winners + cesar_best_summary: The César Award is the national film award of France, first given out in 1975. The nominations are selected by the members of the Académie des Arts et Techniques du Cinéma. The name of the award comes from the sculptor César Baldaccini. They are considered to be the French equivalent of the American Academy Awards. + + razzie_worst_name: Razzies Golden Raspberry Winners + razzie_worst_summary: The Golden Raspberry Award for Worst Picture is an award given out at the annual Golden Raspberry Awards to the worst film of the past year. + + venice_best_name: Venice Golden Lions + venice_best_summary: The Venice Film Festival is the oldest film festival in the world. Founded 1932, the festival has since taken place every year in Venice, Italy. It is part of the Venice Biennale, a major biennial exhibition and festival for contemporary art. The festival's Leone d'Oro (Golden Lion) prize is awarded to the best film screened at the festival. + + spirit_year_name: Independent Spirit Awards <<key_name>> + spirit_year_summary: <<key>> Independent Spirit Awards + + sundance_best_name: Sundance Grand Jury Winners + sundance_best_summary: The Sundance Film Festival is a film festival that takes place annually in the state of Utah, in the United States. It is the largest independent cinema festival in the U.S. Held in January, the festival is the premier showcase for new work from American and international independent filmmakers. The festival comprises competitive sections for American and international dramatic and documentary films, both feature-length films and short films, and a group of non-competitive showcase sections. + + sundance_year_name: Sundance Film Festival <<key_name>> + sundance_year_summary: Sundance Film Festival of <<key>> + + actor_summary: <<library_type>>s with <<key_name>> + + audio_language_name: <<key_name>> Audio + audio_language_summary: <<library_type>>s filmed in <<key_name>> + + content_rating_uk_summary: <<library_type>>s that are rated <<key_name>> +