@@ -62,71 +63,59 @@ function AuthenticationRequiredModalContent(props) {
className={styles.authRequiredAlert}
kind={kinds.WARNING}
>
- {authenticationRequiredWarning}
+ {translate('AuthenticationRequiredWarning')}
{
isPopulated && !error ?
- Authentication
+ {translate('Authentication')}
- {
- authenticationEnabled ?
-
- Authentication Required
+
+ {translate('AuthenticationRequired')}
-
- :
- null
- }
+
+
- {
- authenticationEnabled ?
-
- Username
+
+ {translate('Username')}
-
- :
- null
- }
+
+
- {
- authenticationEnabled ?
-
- Password
+
+ {translate('Password')}
-
- :
- null
- }
+
+
:
null
}
@@ -143,7 +132,7 @@ function AuthenticationRequiredModalContent(props) {
isDisabled={!authenticationEnabled}
onPress={onSavePress}
>
- Save
+ {translate('Save')}
diff --git a/src/NzbDrone.Core/Localization/Core/en.json b/src/NzbDrone.Core/Localization/Core/en.json
index 670c26a5c..b29e17432 100644
--- a/src/NzbDrone.Core/Localization/Core/en.json
+++ b/src/NzbDrone.Core/Localization/Core/en.json
@@ -108,6 +108,10 @@
"Authentication": "Authentication",
"AuthenticationMethodHelpText": "Require Username and Password to access Lidarr",
"AutoAdd": "Auto Add",
+ "AuthenticationRequired": "Authentication Required",
+ "AuthenticationRequiredHelpText": "Change which requests authentication is required for. Do not change unless you understand the risks.",
+ "AuthenticationRequiredWarning": "To prevent remote access without authentication, Lidarr now requires authentication to be enabled. You can optionally disable authentication from local addresses.",
+ "Auto": "Auto",
"AutoRedownloadFailedHelpText": "Automatically search for and attempt to download a different release",
"Automatic": "Automatic",
"AutomaticAdd": "Automatic Add",