1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-20 21:54:58 -04:00

Translate Frontend Components, Episode and Helpers

This commit is contained in:
Stevie Robinson
2023-08-13 23:04:18 +02:00
committed by GitHub
parent 074aa6f445
commit e777b70184
51 changed files with 482 additions and 177 deletions
@@ -1,6 +1,7 @@
import PropTypes from 'prop-types';
import React from 'react';
import monitorOptions from 'Utilities/Series/monitorOptions';
import translate from 'Utilities/String/translate';
import SelectInput from './SelectInput';
function MonitorEpisodesSelectInput(props) {
@@ -15,7 +16,9 @@ function MonitorEpisodesSelectInput(props) {
if (includeNoChange) {
values.unshift({
key: 'noChange',
value: 'No Change',
get value() {
return translate('NoChange');
},
disabled: true
});
}
@@ -23,7 +26,9 @@ function MonitorEpisodesSelectInput(props) {
if (includeMixed) {
values.unshift({
key: 'mixed',
value: '(Mixed)',
get value() {
return `(${translate('Mixed')})`;
},
disabled: true
});
}