also expanded translation coverage (still lots to do!)pull/192/head
parent
2aefcfdfb9
commit
cd6d8a8216
@ -0,0 +1,17 @@
|
||||
import type {
|
||||
TmdbMovieResult,
|
||||
TmdbTvResult,
|
||||
TmdbPersonResult,
|
||||
} from '../api/themoviedb';
|
||||
|
||||
export const isMovie = (
|
||||
movie: TmdbMovieResult | TmdbTvResult | TmdbPersonResult
|
||||
): movie is TmdbMovieResult => {
|
||||
return (movie as TmdbMovieResult).title !== undefined;
|
||||
};
|
||||
|
||||
export const isPerson = (
|
||||
person: TmdbMovieResult | TmdbTvResult | TmdbPersonResult
|
||||
): person is TmdbPersonResult => {
|
||||
return (person as TmdbPersonResult).known_for !== undefined;
|
||||
};
|
@ -0,0 +1,202 @@
|
||||
{
|
||||
"components.Discover.discovermovies": "",
|
||||
"components.Discover.discovertv": "",
|
||||
"components.Discover.nopending": "",
|
||||
"components.Discover.popularmovies": "",
|
||||
"components.Discover.populartv": "",
|
||||
"components.Discover.recentlyAdded": "",
|
||||
"components.Discover.recentrequests": "",
|
||||
"components.Discover.trending": "",
|
||||
"components.Discover.upcoming": "",
|
||||
"components.Discover.upcomingmovies": "",
|
||||
"components.Layout.LanguagePicker.changelanguage": "",
|
||||
"components.Layout.SearchInput.searchPlaceholder": "",
|
||||
"components.Layout.Sidebar.dashboard": "",
|
||||
"components.Layout.Sidebar.requests": "",
|
||||
"components.Layout.Sidebar.settings": "",
|
||||
"components.Layout.Sidebar.users": "",
|
||||
"components.Layout.UserDropdown.signout": "",
|
||||
"components.Layout.alphawarning": "",
|
||||
"components.Login.signinplex": "",
|
||||
"components.MovieDetails.available": "",
|
||||
"components.MovieDetails.budget": "",
|
||||
"components.MovieDetails.cancelrequest": "",
|
||||
"components.MovieDetails.cast": "",
|
||||
"components.MovieDetails.originallanguage": "",
|
||||
"components.MovieDetails.overview": "",
|
||||
"components.MovieDetails.overviewunavailable": "",
|
||||
"components.MovieDetails.pending": "",
|
||||
"components.MovieDetails.recommendations": "",
|
||||
"components.MovieDetails.recommendationssubtext": "",
|
||||
"components.MovieDetails.releasedate": "",
|
||||
"components.MovieDetails.request": "",
|
||||
"components.MovieDetails.revenue": "",
|
||||
"components.MovieDetails.runtime": "",
|
||||
"components.MovieDetails.similar": "",
|
||||
"components.MovieDetails.similarsubtext": "",
|
||||
"components.MovieDetails.status": "",
|
||||
"components.MovieDetails.unavailable": "",
|
||||
"components.MovieDetails.userrating": "",
|
||||
"components.MovieDetails.viewrequest": "",
|
||||
"components.PendingRequest.approve": "",
|
||||
"components.PendingRequest.decline": "",
|
||||
"components.PendingRequest.pendingdescription": "",
|
||||
"components.PendingRequest.pendingtitle": "",
|
||||
"components.PlexLoginButton.loading": "",
|
||||
"components.PlexLoginButton.loggingin": "",
|
||||
"components.PlexLoginButton.loginwithplex": "",
|
||||
"components.RequestModal.cancelrequest": "",
|
||||
"components.RequestModal.requestadmin": "",
|
||||
"components.Settings.Notifications.save": "",
|
||||
"components.Settings.Notifications.saving": "",
|
||||
"components.Settings.RadarrModal.add": "",
|
||||
"components.Settings.RadarrModal.apiKey": "",
|
||||
"components.Settings.RadarrModal.apiKeyPlaceholder": "",
|
||||
"components.Settings.RadarrModal.baseUrl": "",
|
||||
"components.Settings.RadarrModal.baseUrlPlaceholder": "",
|
||||
"components.Settings.RadarrModal.createradarr": "",
|
||||
"components.Settings.RadarrModal.defaultserver": "",
|
||||
"components.Settings.RadarrModal.editradarr": "",
|
||||
"components.Settings.RadarrModal.hostname": "",
|
||||
"components.Settings.RadarrModal.minimumAvailability": "",
|
||||
"components.Settings.RadarrModal.port": "",
|
||||
"components.Settings.RadarrModal.qualityprofile": "",
|
||||
"components.Settings.RadarrModal.rootfolder": "",
|
||||
"components.Settings.RadarrModal.save": "",
|
||||
"components.Settings.RadarrModal.saving": "",
|
||||
"components.Settings.RadarrModal.selectMinimumAvailability": "",
|
||||
"components.Settings.RadarrModal.selectQualityProfile": "",
|
||||
"components.Settings.RadarrModal.selectRootFolder": "",
|
||||
"components.Settings.RadarrModal.server4k": "",
|
||||
"components.Settings.RadarrModal.servername": "",
|
||||
"components.Settings.RadarrModal.servernamePlaceholder": "",
|
||||
"components.Settings.RadarrModal.ssl": "",
|
||||
"components.Settings.RadarrModal.test": "",
|
||||
"components.Settings.RadarrModal.testing": "",
|
||||
"components.Settings.RadarrModal.toastRadarrTestFailure": "",
|
||||
"components.Settings.RadarrModal.toastRadarrTestSuccess": "",
|
||||
"components.Settings.RadarrModal.validationApiKeyRequired": "",
|
||||
"components.Settings.RadarrModal.validationHostnameRequired": "",
|
||||
"components.Settings.RadarrModal.validationPortRequired": "",
|
||||
"components.Settings.RadarrModal.validationProfileRequired": "",
|
||||
"components.Settings.RadarrModal.validationRootFolderRequired": "",
|
||||
"components.Settings.SonarrModal.add": "",
|
||||
"components.Settings.SonarrModal.apiKey": "",
|
||||
"components.Settings.SonarrModal.apiKeyPlaceholder": "",
|
||||
"components.Settings.SonarrModal.baseUrl": "",
|
||||
"components.Settings.SonarrModal.baseUrlPlaceholder": "",
|
||||
"components.Settings.SonarrModal.createsonarr": "",
|
||||
"components.Settings.SonarrModal.defaultserver": "",
|
||||
"components.Settings.SonarrModal.editsonarr": "",
|
||||
"components.Settings.SonarrModal.hostname": "",
|
||||
"components.Settings.SonarrModal.port": "",
|
||||
"components.Settings.SonarrModal.qualityprofile": "",
|
||||
"components.Settings.SonarrModal.rootfolder": "",
|
||||
"components.Settings.SonarrModal.save": "",
|
||||
"components.Settings.SonarrModal.saving": "",
|
||||
"components.Settings.SonarrModal.seasonfolders": "",
|
||||
"components.Settings.SonarrModal.selectQualityProfile": "",
|
||||
"components.Settings.SonarrModal.selectRootFolder": "",
|
||||
"components.Settings.SonarrModal.server4k": "",
|
||||
"components.Settings.SonarrModal.servername": "",
|
||||
"components.Settings.SonarrModal.servernamePlaceholder": "",
|
||||
"components.Settings.SonarrModal.ssl": "",
|
||||
"components.Settings.SonarrModal.test": "",
|
||||
"components.Settings.SonarrModal.testing": "",
|
||||
"components.Settings.SonarrModal.toastRadarrTestFailure": "",
|
||||
"components.Settings.SonarrModal.toastRadarrTestSuccess": "",
|
||||
"components.Settings.SonarrModal.validationApiKeyRequired": "",
|
||||
"components.Settings.SonarrModal.validationHostnameRequired": "",
|
||||
"components.Settings.SonarrModal.validationPortRequired": "",
|
||||
"components.Settings.SonarrModal.validationProfileRequired": "",
|
||||
"components.Settings.SonarrModal.validationRootFolderRequired": "",
|
||||
"components.Settings.activeProfile": "",
|
||||
"components.Settings.addradarr": "",
|
||||
"components.Settings.address": "",
|
||||
"components.Settings.addsonarr": "",
|
||||
"components.Settings.cancelscan": "",
|
||||
"components.Settings.currentlibrary": "",
|
||||
"components.Settings.default": "",
|
||||
"components.Settings.default4k": "",
|
||||
"components.Settings.delete": "",
|
||||
"components.Settings.deleteserverconfirm": "",
|
||||
"components.Settings.edit": "",
|
||||
"components.Settings.hostname": "",
|
||||
"components.Settings.librariesRemaining": "",
|
||||
"components.Settings.manualscan": "",
|
||||
"components.Settings.manualscanDescription": "",
|
||||
"components.Settings.notrunning": "",
|
||||
"components.Settings.plexlibraries": "",
|
||||
"components.Settings.plexlibrariesDescription": "",
|
||||
"components.Settings.plexsettings": "",
|
||||
"components.Settings.plexsettingsDescription": "",
|
||||
"components.Settings.port": "",
|
||||
"components.Settings.radarrSettingsDescription": "",
|
||||
"components.Settings.radarrsettings": "",
|
||||
"components.Settings.save": "",
|
||||
"components.Settings.saving": "",
|
||||
"components.Settings.servername": "",
|
||||
"components.Settings.servernamePlaceholder": "",
|
||||
"components.Settings.sonarrSettingsDescription": "",
|
||||
"components.Settings.sonarrsettings": "",
|
||||
"components.Settings.ssl": "",
|
||||
"components.Settings.startscan": "",
|
||||
"components.Settings.sync": "",
|
||||
"components.Settings.syncing": "",
|
||||
"components.Setup.configureplex": "",
|
||||
"components.Setup.configureservices": "",
|
||||
"components.Setup.continue": "",
|
||||
"components.Setup.finish": "",
|
||||
"components.Setup.finishing": "",
|
||||
"components.Setup.loginwithplex": "",
|
||||
"components.Setup.signinMessage": "",
|
||||
"components.Setup.welcome": "",
|
||||
"components.Slider.noresults": "",
|
||||
"components.TvDetails.approverequests": "",
|
||||
"components.TvDetails.available": "",
|
||||
"components.TvDetails.cancelrequest": "",
|
||||
"components.TvDetails.cast": "",
|
||||
"components.TvDetails.declinerequests": "",
|
||||
"components.TvDetails.originallanguage": "",
|
||||
"components.TvDetails.overview": "",
|
||||
"components.TvDetails.overviewunavailable": "",
|
||||
"components.TvDetails.pending": "",
|
||||
"components.TvDetails.recommendations": "",
|
||||
"components.TvDetails.recommendationssubtext": "",
|
||||
"components.TvDetails.request": "",
|
||||
"components.TvDetails.requestmore": "",
|
||||
"components.TvDetails.similar": "",
|
||||
"components.TvDetails.similarsubtext": "",
|
||||
"components.TvDetails.status": "",
|
||||
"components.TvDetails.unavailable": "",
|
||||
"components.TvDetails.userrating": "",
|
||||
"components.UserEdit.admin": "",
|
||||
"components.UserEdit.adminDescription": "",
|
||||
"components.UserEdit.autoapprove": "",
|
||||
"components.UserEdit.autoapproveDescription": "",
|
||||
"components.UserEdit.avatar": "",
|
||||
"components.UserEdit.edituser": "",
|
||||
"components.UserEdit.email": "",
|
||||
"components.UserEdit.managerequests": "",
|
||||
"components.UserEdit.managerequestsDescription": "",
|
||||
"components.UserEdit.permissions": "",
|
||||
"components.UserEdit.request": "",
|
||||
"components.UserEdit.requestDescription": "",
|
||||
"components.UserEdit.save": "",
|
||||
"components.UserEdit.saving": "",
|
||||
"components.UserEdit.settings": "",
|
||||
"components.UserEdit.settingsDescription": "",
|
||||
"components.UserEdit.userfail": "",
|
||||
"components.UserEdit.username": "",
|
||||
"components.UserEdit.users": "",
|
||||
"components.UserEdit.usersDescription": "",
|
||||
"components.UserEdit.usersaved": "",
|
||||
"components.UserEdit.vote": "",
|
||||
"components.UserEdit.voteDescription": "",
|
||||
"pages.internalServerError": "",
|
||||
"pages.oops": "",
|
||||
"pages.pageNotFound": "",
|
||||
"pages.returnHome": "",
|
||||
"pages.serviceUnavailable": "",
|
||||
"pages.somethingWentWrong": ""
|
||||
}
|
Loading…
Reference in new issue