feat(frontend): add french language file

also expanded translation coverage (still lots to do!)
This commit is contained in:
sct
2020-11-27 05:11:45 +00:00
parent 2aefcfdfb9
commit cd6d8a8216
18 changed files with 749 additions and 111 deletions

View File

@@ -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;
};