You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
378 B
15 lines
378 B
import translate from 'Utilities/String/translate';
|
|
|
|
export default function getFinaleTypeName(finaleType?: string): string | null {
|
|
switch (finaleType) {
|
|
case 'series':
|
|
return translate('SeriesFinale');
|
|
case 'season':
|
|
return translate('SeasonFinale');
|
|
case 'midseason':
|
|
return translate('MidseasonFinale');
|
|
default:
|
|
return null;
|
|
}
|
|
}
|