diff --git a/VERSION b/VERSION index 01de6864..a14fa990 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.17.3-develop92 +1.17.3-develop93 diff --git a/defaults/translations/CHANGELOG b/defaults/translations/CHANGELOG index 1e3c08a3..59515571 100644 --- a/defaults/translations/CHANGELOG +++ b/defaults/translations/CHANGELOG @@ -1,8 +1,9 @@ 1.18.0.1 -> 1.18.0.2 +added variables +changed library_type to library_translation added `network_name` and `network_summary` - 1.18.0 -> 1.18.0.1 added library_type diff --git a/defaults/translations/default.yml b/defaults/translations/default.yml index b9e53be5..fc6ab8e3 100644 --- a/defaults/translations/default.yml +++ b/defaults/translations/default.yml @@ -1,6 +1,17 @@ version: 1.18.0.2 variables: - library_type: + library_translation: + # For Movie Libraries + movie: movie + # For Show Libraries + show: show + # For Music Libraries + artist: artist + # For Other Video Libraries + video: video + # For Playlists + item: item + library_translationU: # For Movie Libraries movie: Movie # For Show Libraries @@ -96,23 +107,23 @@ translations: anilist_season_summary: A collection of Anime from the Current Season according to AniList. basic_released_name: Newly Released - basic_released_summary: A collection of newly-released <>s. + basic_released_summary: A collection of newly-released <>s. basic_episodes_name: New Episodes - basic_episodes_summary: A collection of newly-released <>s. + basic_episodes_summary: A collection of newly-released <>s. # possible key_name: Netflix, Disney, HBO, Hulu, Paramount Plus, Prime Video flixpatrol_name: <> Top <> - flixpatrol_summary: Top <> <>s on <> according to FlixPatrol. + flixpatrol_summary: Top <> <>s on <> according to FlixPatrol. imdb_popular_name: IMDb Popular - imdb_popular_summary: List of IMDb Popular <>s. + imdb_popular_summary: List of IMDb Popular <>s. imdb_top_name: IMDb Top 250 - imdb_top_summary: List of IMDb Top 250 <>s. + imdb_top_summary: List of IMDb Top 250 <>s. imdb_lowest_name: IMDb Lowest Rated - imdb_lowest_summary: List of IMDb Lowest Rated <>s. + imdb_lowest_summary: List of IMDb Lowest Rated <>s. mal_popular_name: MyAnimeList Popular mal_popular_summary: A collection of the most popular Anime according to MyAnimeList. @@ -133,7 +144,7 @@ translations: anidb_popular_summary: A collection of Popular Anime on AniDB. commonsense_selection_name: Common Sense Selection - commonsense_selection_summary: A collection of Common Sense <>s. Common Sense recognizes outstanding entertainment with an official seal for quality and impact. Common Sense Selections include age-appropriate media with the potential to spark family conversations, entertain families of all kinds, and have a positive, lasting effect on society. + commonsense_selection_summary: A collection of Common Sense <>s. Common Sense recognizes outstanding entertainment with an official seal for quality and impact. Common Sense Selections include age-appropriate media with the potential to spark family conversations, entertain families of all kinds, and have a positive, lasting effect on society. stevenlu_popular_name: StevenLu's Popular Movies stevenlu_popular_summary: A collection of StevenLu's Most Popular Movies. @@ -142,10 +153,10 @@ translations: pirated_popular_summary: TorrentFreak.com's Weekly Top Ten Pirated Movies. tautulli_popular_name: Plex Popular - tautulli_popular_summary: A collection of <>s Popular on Plex. + tautulli_popular_summary: A collection of <>s Popular on Plex. tautulli_watched_name: Plex Watched - tautulli_watched_summary: A collection of Top <>s Watched on Plex. + tautulli_watched_summary: A collection of Top <>s Watched on Plex. tmdb_airing_name: TMDb Airing Today tmdb_airing_summary: A collection of shows with episodes airing today. @@ -154,13 +165,13 @@ translations: tmdb_air_summary: A collection of shows that are still actively airing episodes. tmdb_popular_name: TMDb Popular - tmdb_popular_summary: A collection of the most watched <>s according to TMDb. + tmdb_popular_summary: A collection of the most watched <>s according to TMDb. tmdb_top_name: TMDb Top Rated - tmdb_top_summary: A collection of the top rated <>s according to TMDb. + tmdb_top_summary: A collection of the top rated <>s according to TMDb. tmdb_trending_name: TMDb Trending - tmdb_trending_summary: A collection of <>s trending on TMDb. + tmdb_trending_summary: A collection of <>s trending on TMDb. trakt_collected_name: Trakt Collected trakt_collected_summary: A collection of Trakt's Weekly Trakt Collected List. @@ -183,87 +194,87 @@ translations: # example key_name: Robin Williams actor_name: <> - actor_summary: <>s with <>. + actor_summary: <>s with <>. # example key_name: English audio_language_name: <> Audio - audio_language_summary: <>s filmed in the <> Language. + audio_language_summary: <>s filmed in the <> Language. audio_language_other_name: Other Audio - audio_language_other_summary: <>s filmed in other uncommon Languages. + audio_language_other_summary: <>s filmed in other uncommon Languages. # example key_name: TV-MA - content_rating_name: <> <>s - content_rating_summary: <>s that are rated <>. + content_rating_name: <> <>s + content_rating_summary: <>s that are rated <>. content_rating_other_name: Other Ratings - content_rating_other_summary: <>s with other uncommon Ratings. + content_rating_other_summary: <>s with other uncommon Ratings. # example key_name: United States - country_name: <> <>s - country_summary: <>s filmed in <>. + country_name: <> <>s + country_summary: <>s filmed in <>. country_other_name: Other Countries - country_other_summary: <>s filmed in other uncommon Countries. + country_other_summary: <>s filmed in other uncommon Countries. # example key_name: 2010s decade_name: Best of <> - decade_summary: Top <> <>s of the <>. + decade_summary: Top <> <>s of the <>. # example key_name: 2010 decade_show_name: Best of <>s - decade_show_summary: Top <> <>s of the <>s. + decade_show_summary: Top <> <>s of the <>s. # example key_name: Robin Williams director_name: <> (Director) - director_summary: <>s directed by <>. + director_summary: <>s directed by <>. # example key_name: Action - genre_name: <> <>s - genre_summary: <>s that have the genre <>. + genre_name: <> <>s + genre_summary: <>s that have the genre <>. # example key_name: NBC network_name: <> - network_summary: <>s broadcast on <>. + network_summary: <>s broadcast on <>. # example key_name: Robin Williams producer_name: <> (Producer) - producer_summary: <>s produced by <>. + producer_summary: <>s produced by <>. # example key_name: 1080p - resolution_name: <> <>s - resolution_summary: <>s that have the resolution <>. + resolution_name: <> <>s + resolution_summary: <>s that have the resolution <>. # example key_name: 1080p - resolution_standards_name: <> <>s - resolution_standards_summary: <>s that have the resolution <>. + resolution_standards_name: <> <>s + resolution_standards_summary: <>s that have the resolution <>. resolution_standards_other_name: Other Resolutions - resolution_standards_other_summary: <>s that have other uncommon resolutions. + resolution_standards_other_summary: <>s that have other uncommon resolutions. # possible key_names: New Year's Day, Valentine's Day, St. Patrick's Day, Easter, Mother's Day, Memorial Day, Father's Day, Independence Day, Labor Day, Halloween, Thanksgiving, Christmas - seasonal_name: <> <>s - seasonal_summary: A collection of <> <>s that may relate to the season. + seasonal_name: <> <>s + seasonal_summary: A collection of <> <>s that may relate to the season. # possible key_names: All 4, Apple TV+, BET+, BritBox, Disney+, hayu, HBO Max, Hulu, Netflix, NOW, Paramount+, Peacock, Prime Video - streaming_name: <> <>s - streaming_summary: <>s streaming on <>. + streaming_name: <> <>s + streaming_summary: <>s streaming on <>. # example key_name: Studio Ghibli studio_name: <> - studio_summary: <>s produced by <>. + studio_summary: <>s produced by <>. # example key_name: English subtitle_language_name: <> Subtitles - subtitle_language_summary: <>s with <> Subtitles. + subtitle_language_summary: <>s with <> Subtitles. subtitle_language_other_name: Other Subtitles - subtitle_language_other_summary: <>s with other uncommon Subtitles. + subtitle_language_other_summary: <>s with other uncommon Subtitles. # example key_name: Robin Williams writer_name: <> (Writer) - writer_summary: <>s written by <>. + writer_summary: <>s written by <>. # example key_name: 2015 year_name: Best of <> - year_summary: <>s released in <>. + year_summary: <>s released in <>. diff --git a/defaults/translations/fr.yml b/defaults/translations/fr.yml index 886aa595..966f2815 100644 --- a/defaults/translations/fr.yml +++ b/defaults/translations/fr.yml @@ -1,6 +1,17 @@ version: 1.18.0.2 variables: - library_type: + library_translation: + # For Movie Libraries + movie: film + # For Show Libraries + show: émission + # For Music Libraries + artist: artiste + # For Other Video Libraries + video: vidéo + # For Playlists + item: article + library_translationU: # For Movie Libraries movie: Film # For Show Libraries @@ -96,23 +107,23 @@ translations: anilist_season_summary: Une collection d’anime de la saison en cours selon AniList. basic_released_name: Nouvellement publié - basic_released_summary: Une collection de <>s nouvellement sortis. + basic_released_summary: Une collection de <>s nouvellement sortis. basic_episodes_name: Nouveaux épisodes - basic_episodes_summary: Une collection de <>s nouvellement sortis. + basic_episodes_summary: Une collection de <>s nouvellement sortis. # possible key_name: Netflix, Disney, HBO, Hulu, Paramount Plus, Prime Video flixpatrol_name: Top <> <> - flixpatrol_summary: Top <> des <>s sur <> selon FlixPatrol. + flixpatrol_summary: Top <> des <>s sur <> selon FlixPatrol. imdb_popular_name: IMDb Populaire - imdb_popular_summary: Liste des <>s IMDb Popular. + imdb_popular_summary: Liste des <>s IMDb Popular. imdb_top_name: IMDb Top 250 - imdb_top_summary: Liste des 250 meilleurs <>s IMDb. + imdb_top_summary: Liste des 250 meilleurs <>s IMDb. imdb_lowest_name: IMDb Le moins bien noté - imdb_lowest_summary: Liste des <>s IMDb les moins bien notés. + imdb_lowest_summary: Liste des <>s IMDb les moins bien notés. mal_popular_name: MyAnimeList Populaire mal_popular_summary: Une collection des anime les plus populaires selon MyAnimeList. @@ -133,7 +144,7 @@ translations: anidb_popular_summary: Une collection d’anime populaire sur AniDB. commonsense_selection_name: Sélection de Common Sense - commonsense_selection_summary: Une collection de <>s de Common Sense. Common Sense reconnaît les divertissements exceptionnels avec un sceau officiel de qualité et d’impact. Les sélections de bon sens comprennent des médias adaptés à l’âge qui ont le potentiel de susciter des conversations familiales, de divertir les familles de toutes sortes et d’avoir un effet positif et durable sur la société. + commonsense_selection_summary: Une collection de <>s de Common Sense. Common Sense reconnaît les divertissements exceptionnels avec un sceau officiel de qualité et d’impact. Les sélections de bon sens comprennent des médias adaptés à l’âge qui ont le potentiel de susciter des conversations familiales, de divertir les familles de toutes sortes et d’avoir un effet positif et durable sur la société. stevenlu_popular_name: Les films populaires de StevenLu stevenlu_popular_summary: Une collection des films les plus populaires de StevenLu. @@ -142,10 +153,10 @@ translations: pirated_popular_summary: Top 10 des films piratés hebdomadaires de TorrentFreak.com. tautulli_popular_name: Plex Populaire - tautulli_popular_summary: Une collection de <>s populaires sur Plex. + tautulli_popular_summary: Une collection de <>s populaires sur Plex. tautulli_watched_name: Plex regardé - tautulli_watched_summary: Une collection des meilleurs <>s regardés sur Plex. + tautulli_watched_summary: Une collection des meilleurs <>s regardés sur Plex. tmdb_airing_name: TMDb diffusé aujourd’hui tmdb_airing_summary: Une collection d’émissions avec des épisodes diffusés aujourd’hui. @@ -154,13 +165,13 @@ translations: tmdb_air_summary: Une collection d’émissions qui diffusent encore activement des épisodes. tmdb_popular_name: TMDb Populaire - tmdb_popular_summary: Une collection des <>s les plus regardés selon TMDb. + tmdb_popular_summary: Une collection des <>s les plus regardés selon TMDb. tmdb_top_name: TMDb le mieux noté - tmdb_top_summary: Une collection des <>s les mieux notés selon TMDb. + tmdb_top_summary: Une collection des <>s les mieux notés selon TMDb. tmdb_trending_name: Tendances TMDb - tmdb_trending_summary: Une collection de <>s tendance sur TMDb. + tmdb_trending_summary: Une collection de <>s tendance sur TMDb. trakt_collected_name: Trakt collecté trakt_collected_summary: Une collection de la liste hebdomadaire collectée de Trakt. @@ -183,87 +194,87 @@ translations: # example key_name: Robin Williams actor_name: <> - actor_summary: <>s avec <>. + actor_summary: <>s avec <>. # example key_name: English audio_language_name: Audio <> - audio_language_summary: <>s tournés en langue <>. + audio_language_summary: <>s tournés en langue <>. audio_language_other_name: Autres audio - audio_language_other_summary: <>s tournés dans d’autres langues peu communes. + audio_language_other_summary: <>s tournés dans d’autres langues peu communes. # example key_name: TV-MA - content_rating_name: <>s <> - content_rating_summary: <>s classés <>. + content_rating_name: <>s <> + content_rating_summary: <>s classés <>. content_rating_other_name: Autres évaluations - content_rating_other_summary: <>s avec d’autres classements inhabituels. + content_rating_other_summary: <>s avec d’autres classements inhabituels. # example key_name: United States - country_name: <>s <> - country_summary: <>s filmés dans <>. + country_name: <>s <> + country_summary: <>s filmés dans <>. country_other_name: Autres pays - country_other_summary: <>s filmés dans d'autres pays peu communs. + country_other_summary: <>s filmés dans d'autres pays peu communs. # example key_name: 2010s decade_name: Le meilleur des années <> - decade_summary: Top <> des <>s des années <>. + decade_summary: Top <> des <>s des années <>. # example key_name: 2010 decade_show_name: Le meilleur des années <> - decade_show_summary: Top <> des <>s des années <>. + decade_show_summary: Top <> des <>s des années <>. # example key_name: Robin Williams director_name: <> (Réalisateur) - director_summary: <>s réalisés par <>. + director_summary: <>s réalisés par <>. # example key_name: Action - genre_name: <>s de <> - genre_summary: <>s qui ont le genre <>. + genre_name: <>s de <> + genre_summary: <>s qui ont le genre <>. # example key_name: NBC network_name: <> - network_summary: <>s diffusés sur <>. + network_summary: <>s diffusés sur <>. # example key_name: Robin Williams producer_name: <> (Producteur) - producer_summary: <>s produits par <>. + producer_summary: <>s produits par <>. # example key_name: 1080p - resolution_name: <>s de <> - resolution_summary: <>s ayant la résolution <>. + resolution_name: <>s de <> + resolution_summary: <>s ayant la résolution <>. # example key_name: 1080p - resolution_standards_name: <>s de <> - resolution_standards_summary: <>s ayant la résolution <>. + resolution_standards_name: <>s de <> + resolution_standards_summary: <>s ayant la résolution <>. resolution_standards_other_name: Autres résolutions - resolution_standards_other_summary: <>s qui ont d’autres résolutions inhabituelles + resolution_standards_other_summary: <>s qui ont d’autres résolutions inhabituelles # possible key_names: New Year's Day, Valentine's Day, St. Patrick's Day, Easter, Mother's Day, Memorial Day, Father's Day, Independence Day, Labor Day, Halloween, Thanksgiving, Christmas - seasonal_name: <>s <> - seasonal_summary: Une collection de <> <> qui peuvent se rapporter à la saison. + seasonal_name: <>s <> + seasonal_summary: Une collection de <> <> qui peuvent se rapporter à la saison. # possible key_names: All 4, Apple TV+, BET+, BritBox, Disney+, hayu, HBO Max, Hulu, Netflix, NOW, Paramount+, Peacock, Prime Video - streaming_name: <>s de <> - streaming_summary: <>s en streaming sur <>. + streaming_name: <>s de <> + streaming_summary: <>s en streaming sur <>. # example key_name: Studio Ghibli studio_name: <> - studio_summary: <>s produits par <>. + studio_summary: <>s produits par <>. # example key_name: English subtitle_language_name: Sous-titres <> - subtitle_language_summary: <>s avec sous-titres <>. + subtitle_language_summary: <>s avec sous-titres <>. subtitle_language_other_name: Autres sous-titres - subtitle_language_other_summary: <>s avec d’autres sous-titres inhabituels. + subtitle_language_other_summary: <>s avec d’autres sous-titres inhabituels. # example key_name: Robin Williams writer_name: <> (scénariste) - writer_summary: <> écrits par <>. + writer_summary: <> écrits par <>. # example key_name: 2015 year_name: Le meilleur de <> - year_summary: <>s sortis en <>. + year_summary: <>s sortis en <>. diff --git a/modules/meta.py b/modules/meta.py index 528af5da..8e8ae1f6 100644 --- a/modules/meta.py +++ b/modules/meta.py @@ -146,7 +146,6 @@ class DataFile: raise Failed(f"URL Error: Top Level translations attribute not found in {content_path}") translations = {k: {"default": v} for k, v in yaml.data["translations"].items()} lib_type = self.library.type.lower() if self.library else "item" - translations["library_type"] = {"default": lib_type} logger.debug(f"Translations Loaded From: {dir_path}") key_names = {}