this.setState({ showSelectId: true })}
- helperText={`(${I18n.t('optional')})`}
- InputProps={{
- readOnly: true,
- endAdornment:
- this.props.value !== true ? {
- e.stopPropagation();
- this.stateChange(true);
- }}>
-
- : null
- }}
- />
+
+ {
+ e.stopPropagation();
+ this.stateChange(true);
+ }}>
+
+ : null
+ }}
+ />
+
+
>;
}
}
StatePanel.propTypes = {
value: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
+ profile: PropTypes.object,
onChange: PropTypes.func,
title: PropTypes.string,
socket: PropTypes.object,
diff --git a/src/src/i18n/de.json b/src/src/i18n/de.json
index 6097637..1d8b306 100644
--- a/src/src/i18n/de.json
+++ b/src/src/i18n/de.json
@@ -60,13 +60,13 @@
"30 m.": "30 M.",
"You cannot enable or disable this profile as it controlled by %s state": "Sie können dieses Profil nicht aktivieren oder deaktivieren, da es vom \"%s\" gesteuert wird",
"Press \"shift\" and move mouse to change more than one slider": "Drücken Sie \"Shift\" und bewegen Sie die Maus, um mehr als einen Schieberegler zu ändern",
- "Ignore values if same as previous": "Die Werte, wenn sie mit den vorherigen identisch sind, ignorieren\n",
+ "Ignore values if same as previous": "Die Werte ignorieren, wenn sie mit den vorherigen identisch sind",
"Do not control if device already in desired state": "Nicht schreiben, falls das Gerät sich bereits im gewünschten Zustand befindet",
"Now": "Jetzt",
"on": "AN",
"off": "AUS",
"Custom": "Anpassbar",
- "Advanced settings": "Erweiterte Einstellungen",
+ "Advanced settings": "Erweitert",
"Holiday": "Feiertag",
"Holiday ID": "Feiertags-ID",
"Apply": "Anwenden",
@@ -76,4 +76,4 @@
"Errors": "Fehler",
"Advanced profile options": "Erweiterte Profiloptionen",
"Applied for all profiles": "Gilt für alle Profile"
-}
\ No newline at end of file
+}
diff --git a/src/src/i18n/en.json b/src/src/i18n/en.json
index 7b300c6..d76cd7d 100644
--- a/src/src/i18n/en.json
+++ b/src/src/i18n/en.json
@@ -60,7 +60,7 @@
"30 m.": "30 m.",
"You cannot enable or disable this profile as it controlled by %s state": "You cannot enable or disable this profile as it controlled by \"%s\" state",
"Press \"shift\" and move mouse to change more than one slider": "Press \"shift\" and move mouse to change more than one slider",
- "Ignore values if same as previous": "Ignore values if same as previous\n",
+ "Ignore values if same as previous": "Ignore values if same as previous",
"Do not control if device already in desired state": "Do not control if device already in desired state",
"Now": "Now",
"on": "on",
@@ -76,4 +76,4 @@
"Errors": "Errors",
"Advanced profile options": "Advanced profile options",
"Applied for all profiles": "Applied for all profiles"
-}
\ No newline at end of file
+}
diff --git a/src/src/i18n/es.json b/src/src/i18n/es.json
index c3c52e9..ee821f4 100644
--- a/src/src/i18n/es.json
+++ b/src/src/i18n/es.json
@@ -60,7 +60,7 @@
"30 m.": "30 m.",
"You cannot enable or disable this profile as it controlled by %s state": "No puede habilitar o deshabilitar este perfil ya que está controlado por el estado %s",
"Press \"shift\" and move mouse to change more than one slider": "Presione \"shift\" y mueva el mouse para cambiar más de un control deslizante",
- "Ignore values if same as previous": "Ignorar valores si son iguales que los anteriores\n",
+ "Ignore values if same as previous": "Ignorar valores si son iguales que los anteriores",
"Do not control if device already in desired state": "No controlar si el dispositivo ya está en el estado deseado",
"Now": "Ahora",
"on": "on",
@@ -76,4 +76,4 @@
"Errors": "Errores",
"Advanced profile options": "Opciones avanzadas de perfil",
"Applied for all profiles": "Aplicado para todos los perfiles."
-}
\ No newline at end of file
+}
diff --git a/src/src/i18n/fr.json b/src/src/i18n/fr.json
index 9e3b689..9e4b638 100644
--- a/src/src/i18n/fr.json
+++ b/src/src/i18n/fr.json
@@ -60,7 +60,7 @@
"30 m.": "30 m.",
"You cannot enable or disable this profile as it controlled by %s state": "Vous ne pouvez pas activer ou désactiver ce profil car il est contrôlé par l'état %s",
"Press \"shift\" and move mouse to change more than one slider": "Appuyez sur \"shift\" et déplacez la souris pour modifier plusieurs curseurs",
- "Ignore values if same as previous": "Ignorer les valeurs si elles sont identiques aux précédentes\n",
+ "Ignore values if same as previous": "Ignorer les valeurs si elles sont identiques aux précédentes",
"Do not control if device already in desired state": "Ne contrôlez pas si l'appareil est déjà dans l'état souhaité",
"Now": "Maintenant",
"on": "on",
@@ -76,4 +76,4 @@
"Errors": "les erreurs",
"Advanced profile options": "Options de profil avancées",
"Applied for all profiles": "Appliqué pour tous les profils"
-}
\ No newline at end of file
+}
diff --git a/src/src/i18n/it.json b/src/src/i18n/it.json
index 83620c9..f7efb33 100644
--- a/src/src/i18n/it.json
+++ b/src/src/i18n/it.json
@@ -60,7 +60,7 @@
"30 m.": "30 m.",
"You cannot enable or disable this profile as it controlled by %s state": "Non puoi abilitare o disabilitare questo profilo poiché è controllato dallo stato %s",
"Press \"shift\" and move mouse to change more than one slider": "Premi \"shift\" e muovi il mouse per cambiare più di un cursore",
- "Ignore values if same as previous": "Ignora i valori se uguali a quelli precedenti\n",
+ "Ignore values if same as previous": "Ignora i valori se uguali a quelli precedenti",
"Do not control if device already in desired state": "Non controllare se il dispositivo è già nello stato desiderato",
"Now": "Ora",
"on": "on",
@@ -76,4 +76,4 @@
"Errors": "Errori",
"Advanced profile options": "Opzioni avanzate del profilo",
"Applied for all profiles": "Applicato per tutti i profili"
-}
\ No newline at end of file
+}
diff --git a/src/src/i18n/nl.json b/src/src/i18n/nl.json
index 2268293..c06ade7 100644
--- a/src/src/i18n/nl.json
+++ b/src/src/i18n/nl.json
@@ -60,7 +60,7 @@
"30 m.": "30 m.",
"You cannot enable or disable this profile as it controlled by %s state": "U kunt dit profiel niet in- of uitschakelen omdat het wordt beheerd door de status %s",
"Press \"shift\" and move mouse to change more than one slider": "Druk op \"shift\" en beweeg de muis om meer dan één schuifregelaar te wijzigen",
- "Ignore values if same as previous": "Negeer waarden als deze hetzelfde zijn als de vorige\n",
+ "Ignore values if same as previous": "Negeer waarden als deze hetzelfde zijn als de vorige",
"Do not control if device already in desired state": "Controleer niet of het apparaat zich al in de gewenste staat bevindt",
"Now": "Nu",
"on": "on",
@@ -76,4 +76,4 @@
"Errors": "Fouten",
"Advanced profile options": "Geavanceerde profielopties",
"Applied for all profiles": "Toegepast op alle profielen"
-}
\ No newline at end of file
+}
diff --git a/src/src/i18n/pl.json b/src/src/i18n/pl.json
index 6e6b0b6..e37ad8b 100644
--- a/src/src/i18n/pl.json
+++ b/src/src/i18n/pl.json
@@ -60,7 +60,7 @@
"30 m.": "30 m.",
"You cannot enable or disable this profile as it controlled by %s state": "Nie możesz włączyć ani wyłączyć tego profilu, ponieważ jest on kontrolowany przez stan %s",
"Press \"shift\" and move mouse to change more than one slider": "Naciśnij „shift” i poruszaj myszą, aby zmienić więcej niż jeden suwak",
- "Ignore values if same as previous": "Ignoruj wartości, jeśli są takie same jak poprzednie\n",
+ "Ignore values if same as previous": "Ignoruj wartości, jeśli są takie same jak poprzednie",
"Do not control if device already in desired state": "Nie kontroluj, jeśli urządzenie jest już w pożądanym stanie",
"Now": "Teraz",
"on": "on",
@@ -76,4 +76,4 @@
"Errors": "Błędy",
"Advanced profile options": "Zaawansowane opcje profilu",
"Applied for all profiles": "Dotyczy wszystkich profili"
-}
\ No newline at end of file
+}
diff --git a/src/src/i18n/pt.json b/src/src/i18n/pt.json
index 5acf315..aaef8e2 100644
--- a/src/src/i18n/pt.json
+++ b/src/src/i18n/pt.json
@@ -60,7 +60,7 @@
"30 m.": "30 m.",
"You cannot enable or disable this profile as it controlled by %s state": "Você não pode ativar ou desativar este perfil, pois ele é controlado pelo estado %s",
"Press \"shift\" and move mouse to change more than one slider": "Pressione \"shift\" e mova o mouse para alterar mais de um controle deslizante",
- "Ignore values if same as previous": "Ignore os valores se forem iguais aos anteriores\n",
+ "Ignore values if same as previous": "Ignore os valores se forem iguais aos anteriores",
"Do not control if device already in desired state": "Não controle se o dispositivo já está no estado desejado",
"Now": "Agora",
"on": "sobre",
@@ -76,4 +76,4 @@
"Errors": "Erros",
"Advanced profile options": "Opções avançadas de perfil",
"Applied for all profiles": "Aplicado para todos os perfis"
-}
\ No newline at end of file
+}
diff --git a/src/src/i18n/ru.json b/src/src/i18n/ru.json
index 976c14d..6c12c64 100644
--- a/src/src/i18n/ru.json
+++ b/src/src/i18n/ru.json
@@ -60,7 +60,7 @@
"30 m.": "30 м.",
"You cannot enable or disable this profile as it controlled by %s state": "Вы не можете включить или отключить этот профиль, так как он управляется состоянием \"%s\"",
"Press \"shift\" and move mouse to change more than one slider": "Нажмите «Shift» и переместите мышь, чтобы изменить более одного ползунка.",
- "Ignore values if same as previous": "Игнорировать значения, если они такие же, как и предыдущие\n",
+ "Ignore values if same as previous": "Игнорировать значения, если они такие же, как и предыдущие",
"Do not control if device already in desired state": "Не контролировать, если устройство уже находится в желаемом состоянии",
"Now": "Сейчас",
"on": "ВКЛ",
@@ -76,4 +76,4 @@
"Errors": "Ошибки",
"Advanced profile options": "Расширенные параметры профиля",
"Applied for all profiles": "Применяется для всех профилей"
-}
\ No newline at end of file
+}
diff --git a/src/src/i18n/uk.json b/src/src/i18n/uk.json
index 9d781a0..2829e8e 100644
--- a/src/src/i18n/uk.json
+++ b/src/src/i18n/uk.json
@@ -60,7 +60,7 @@
"search text": "Пошуковий текст",
"You cannot enable or disable this profile as it controlled by %s state": "Ви не можете ввімкнути або вимкнути цей профіль, оскільки він контролюється станом %s",
"Press \"shift\" and move mouse to change more than one slider": "Натисніть «Shift» і перемістіть мишу, щоб змінити більше одного повзунка",
- "Ignore values if same as previous": "Ігнорувати значення, якщо такі ж, як попередні\n",
+ "Ignore values if same as previous": "Ігнорувати значення, якщо такі ж, як попередні",
"Do not control if device already in desired state": "Не контролюйте, якщо пристрій уже в потрібному стані",
"Now": "Зараз",
"on": "ВКЛ",
@@ -76,4 +76,4 @@
"Errors": "Помилки",
"Advanced profile options": "Розширені параметри профілю",
"Applied for all profiles": "Застосовується для всіх профілів"
-}
\ No newline at end of file
+}
diff --git a/src/src/i18n/zh-cn.json b/src/src/i18n/zh-cn.json
index d6788f7..fd9c210 100644
--- a/src/src/i18n/zh-cn.json
+++ b/src/src/i18n/zh-cn.json
@@ -60,7 +60,7 @@
"30 m.": "30分钟",
"You cannot enable or disable this profile as it controlled by %s state": "您不能启用或禁用此配置文件,因为它由 %s 状态控制",
"Press \"shift\" and move mouse to change more than one slider": "按下“shift”并移动鼠标即可更改多个滑块",
- "Ignore values if same as previous": "如果与之前相同则忽略值\n",
+ "Ignore values if same as previous": "如果与之前相同则忽略值",
"Do not control if device already in desired state": "如果设备已处于所需状态则不进行控制",
"Now": "现在",
"on": "on",
@@ -76,4 +76,4 @@
"Errors": "错误",
"Advanced profile options": "高级配置文件选项",
"Applied for all profiles": "适用于所有配置文件"
-}
\ No newline at end of file
+}