From 13e1595c6ebff32ca905d9bd3dd781e241545e83 Mon Sep 17 00:00:00 2001
From: TheCatLady <52870424+TheCatLady@users.noreply.github.com>
Date: Wed, 31 Mar 2021 02:34:36 -0400
Subject: [PATCH] fix(lang): remove unused strings (#1330)
---
.../UserProfile/UserSettings/UserGeneralSettings/index.tsx | 2 --
.../UserSettings/UserNotificationSettings/index.tsx | 2 --
.../UserProfile/UserSettings/UserPermissions/index.tsx | 3 ---
src/i18n/locale/en.json | 7 -------
4 files changed, 14 deletions(-)
diff --git a/src/components/UserProfile/UserSettings/UserGeneralSettings/index.tsx b/src/components/UserProfile/UserSettings/UserGeneralSettings/index.tsx
index 435d2ed7f..d9c455e20 100644
--- a/src/components/UserProfile/UserSettings/UserGeneralSettings/index.tsx
+++ b/src/components/UserProfile/UserSettings/UserGeneralSettings/index.tsx
@@ -36,8 +36,6 @@ const messages = defineMessages({
regionTip: 'Filter content by regional availability',
originallanguage: 'Discover Language',
originallanguageTip: 'Filter content by original language',
- originalLanguageDefault: 'All Languages',
- languageServerDefault: 'Default ({language})',
movierequestlimit: 'Movie Request Limit',
seriesrequestlimit: 'Series Request Limit',
enableOverride: 'Enable Override',
diff --git a/src/components/UserProfile/UserSettings/UserNotificationSettings/index.tsx b/src/components/UserProfile/UserSettings/UserNotificationSettings/index.tsx
index 05e3beba2..df828e5b0 100644
--- a/src/components/UserProfile/UserSettings/UserNotificationSettings/index.tsx
+++ b/src/components/UserProfile/UserSettings/UserNotificationSettings/index.tsx
@@ -31,8 +31,6 @@ const messages = defineMessages({
sendSilently: 'Send Telegram Messages Silently',
sendSilentlyDescription: 'Send notifications with no sound',
validationTelegramChatId: 'You must provide a valid Telegram chat ID',
- plexuser: 'Plex User',
- localuser: 'Local User',
toastSettingsSuccess: 'Notification settings saved successfully!',
toastSettingsFailure: 'Something went wrong while saving settings.',
pgpKey: 'PGP Public Key',
diff --git a/src/components/UserProfile/UserSettings/UserPermissions/index.tsx b/src/components/UserProfile/UserSettings/UserPermissions/index.tsx
index 462042309..057b92197 100644
--- a/src/components/UserProfile/UserSettings/UserPermissions/index.tsx
+++ b/src/components/UserProfile/UserSettings/UserPermissions/index.tsx
@@ -15,9 +15,6 @@ import PageTitle from '../../../Common/PageTitle';
import PermissionEdit from '../../../PermissionEdit';
const messages = defineMessages({
- displayName: 'Display Name',
- plexuser: 'Plex User',
- localuser: 'Local User',
toastSettingsSuccess: 'Permissions saved successfully!',
toastSettingsFailure: 'Something went wrong while saving settings.',
permissions: 'Permissions',
diff --git a/src/i18n/locale/en.json b/src/i18n/locale/en.json
index f23b99420..a0d192d40 100644
--- a/src/i18n/locale/en.json
+++ b/src/i18n/locale/en.json
@@ -676,10 +676,8 @@
"components.UserProfile.UserSettings.UserGeneralSettings.enableOverride": "Enable Override",
"components.UserProfile.UserSettings.UserGeneralSettings.general": "General",
"components.UserProfile.UserSettings.UserGeneralSettings.generalsettings": "General Settings",
- "components.UserProfile.UserSettings.UserGeneralSettings.languageServerDefault": "Default ({language})",
"components.UserProfile.UserSettings.UserGeneralSettings.localuser": "Local User",
"components.UserProfile.UserSettings.UserGeneralSettings.movierequestlimit": "Movie Request Limit",
- "components.UserProfile.UserSettings.UserGeneralSettings.originalLanguageDefault": "All Languages",
"components.UserProfile.UserSettings.UserGeneralSettings.originallanguage": "Discover Language",
"components.UserProfile.UserSettings.UserGeneralSettings.originallanguageTip": "Filter content by original language",
"components.UserProfile.UserSettings.UserGeneralSettings.owner": "Owner",
@@ -694,12 +692,10 @@
"components.UserProfile.UserSettings.UserNotificationSettings.discordId": "Discord ID",
"components.UserProfile.UserSettings.UserNotificationSettings.discordIdTip": "The ID number for your Discord user account",
"components.UserProfile.UserSettings.UserNotificationSettings.enableNotifications": "Enable Notifications",
- "components.UserProfile.UserSettings.UserNotificationSettings.localuser": "Local User",
"components.UserProfile.UserSettings.UserNotificationSettings.notifications": "Notifications",
"components.UserProfile.UserSettings.UserNotificationSettings.notificationsettings": "Notification Settings",
"components.UserProfile.UserSettings.UserNotificationSettings.pgpKey": "PGP Public Key",
"components.UserProfile.UserSettings.UserNotificationSettings.pgpKeyTip": "Encrypt email messages",
- "components.UserProfile.UserSettings.UserNotificationSettings.plexuser": "Plex User",
"components.UserProfile.UserSettings.UserNotificationSettings.sendSilently": "Send Telegram Messages Silently",
"components.UserProfile.UserSettings.UserNotificationSettings.sendSilentlyDescription": "Send notifications with no sound",
"components.UserProfile.UserSettings.UserNotificationSettings.telegramChatId": "Telegram Chat ID",
@@ -725,10 +721,7 @@
"components.UserProfile.UserSettings.UserPasswordChange.validationCurrentPassword": "You must provide your current password",
"components.UserProfile.UserSettings.UserPasswordChange.validationNewPassword": "You must provide a new password",
"components.UserProfile.UserSettings.UserPasswordChange.validationNewPasswordLength": "Password is too short; should be a minimum of 8 characters",
- "components.UserProfile.UserSettings.UserPermissions.displayName": "Display Name",
- "components.UserProfile.UserSettings.UserPermissions.localuser": "Local User",
"components.UserProfile.UserSettings.UserPermissions.permissions": "Permissions",
- "components.UserProfile.UserSettings.UserPermissions.plexuser": "Plex User",
"components.UserProfile.UserSettings.UserPermissions.toastSettingsFailure": "Something went wrong while saving settings.",
"components.UserProfile.UserSettings.UserPermissions.toastSettingsSuccess": "Permissions saved successfully!",
"components.UserProfile.UserSettings.UserPermissions.unauthorizedDescription": "You cannot modify your own permissions.",