diff --git a/src/components/UserList/index.tsx b/src/components/UserList/index.tsx index ff5ad97ed..ce925cf02 100644 --- a/src/components/UserList/index.tsx +++ b/src/components/UserList/index.tsx @@ -9,6 +9,7 @@ import { } from '@heroicons/react/solid'; import axios from 'axios'; import { Field, Form, Formik } from 'formik'; +import getConfig from 'next/config'; import Link from 'next/link'; import { useRouter } from 'next/router'; import React, { useEffect, useState } from 'react'; @@ -36,12 +37,11 @@ import Transition from '../Transition'; import BulkEditModal from './BulkEditModal'; import JellyfinImportModal from './JellyfinImportModal'; import PlexImportModal from './PlexImportModal'; -import getConfig from 'next/config'; const messages = defineMessages({ users: 'Users', userlist: 'User List', - importfromplex: 'Import {mediaServerName} Users', + importfrommediaserver: 'Import {mediaServerName} Users', user: 'User', totalrequests: 'Requests', accounttype: 'Type', @@ -506,15 +506,15 @@ const UserList: React.FC = () => { {publicRuntimeConfig.JELLYFIN_TYPE == 'emby' - ? intl.formatMessage(messages.importfromplex, { + ? intl.formatMessage(messages.importfrommediaserver, { mediaServerName: 'Emby', }) : settings.currentSettings.mediaServerType === MediaServerType.PLEX - ? intl.formatMessage(messages.importfromplex, { + ? intl.formatMessage(messages.importfrommediaserver, { mediaServerName: 'Plex', }) - : intl.formatMessage(messages.importfromplex, { + : intl.formatMessage(messages.importfrommediaserver, { mediaServerName: 'Jellyfin', })} diff --git a/src/i18n/locale/ca.json b/src/i18n/locale/ca.json index 027f4c5c6..3e129ed03 100644 --- a/src/i18n/locale/ca.json +++ b/src/i18n/locale/ca.json @@ -686,6 +686,7 @@ "components.UserList.nouserstoimport": "No hi ha usuaris nous de Plex a importar.", "components.UserList.localuser": "Usuari local", "components.UserList.importfromplexerror": "S'ha produït un error en importar usuaris de Plex.", + "components.UserList.importfrommediaserver": "Importeu usuaris de {mediaServerName}", "components.UserList.importfromplex": "Importeu usuaris de Plex", "components.UserList.importedfromplex": "{userCount} {userCount, plural, one {usuari} other {usuaris}} de Plex importat correctament!", "components.TvDetails.watchtrailer": "Veure el tràiler", diff --git a/src/i18n/locale/da.json b/src/i18n/locale/da.json index e472beedd..3c61ac183 100644 --- a/src/i18n/locale/da.json +++ b/src/i18n/locale/da.json @@ -850,6 +850,7 @@ "components.UserList.nouserstoimport": "Ingen nye brugere som kan importeres fra Plex.", "components.UserList.edituser": "Redigér Brugertilladelser", "components.UserList.email": "Email Adresse", + "components.UserList.importfrommediaserver": "Importér Brugere fra {mediaServerName}", "components.UserList.importfromplex": "Importér Brugere fra Plex", "components.UserList.owner": "Ejer", "components.UserList.password": "Kodeord", diff --git a/src/i18n/locale/de.json b/src/i18n/locale/de.json index a2454f280..56b2ce099 100644 --- a/src/i18n/locale/de.json +++ b/src/i18n/locale/de.json @@ -223,6 +223,7 @@ "components.Settings.SettingsAbout.Releases.latestversion": "Neuste", "components.Settings.SettingsAbout.Releases.currentversion": "Aktuell", "components.UserList.importfromplexerror": "Beim Importieren von Plex-Benutzern ist etwas schief gelaufen.", + "components.UserList.importfrommediaserver": "{mediaServerName}-Benutzer importieren", "components.UserList.importfromplex": "Plex-Benutzer importieren", "components.TvDetails.viewfullcrew": "Komplette Crew anzeigen", "components.TvDetails.TvCrew.fullseriescrew": "Komplette Serien-Crew", diff --git a/src/i18n/locale/el.json b/src/i18n/locale/el.json index 9355f5d66..57784c736 100644 --- a/src/i18n/locale/el.json +++ b/src/i18n/locale/el.json @@ -602,6 +602,7 @@ "components.UserList.localuser": "Τοπικός χρήστης", "components.UserList.localLoginDisabled": "Η ρύθμιση Ενεργοποίηση τοπικής σύνδεσης είναι προς το παρόν απενεργοποιημένη.", "components.UserList.importfromplexerror": "Κάτι πήγε στραβά κατά την εισαγωγή χρηστών από το Plex.", + "components.UserList.importfrommediaserver": "Εισαγωγή χρηστών από το {mediaServerName}", "components.UserList.importfromplex": "Εισαγωγή χρηστών από το Plex", "components.UserList.importedfromplex": "{userCount, plural, one {# νέου χρήστη} other {#νέοι χρήστες}} εισήχθησαν απο το Plex επιτυχώς!", "components.UserList.email": "Διεύθυνση ηλεκτρονικού ταχυδρομείου", diff --git a/src/i18n/locale/en.json b/src/i18n/locale/en.json index b6f38832f..c809b406a 100644 --- a/src/i18n/locale/en.json +++ b/src/i18n/locale/en.json @@ -861,6 +861,7 @@ "components.UserList.edituser": "Edit User Permissions", "components.UserList.email": "Email Address", "components.UserList.importedfromplex": "{userCount} Plex {userCount, plural, one {user} other {users}} imported successfully!", + "components.UserList.importfrommediaserver": "Import {mediaServerName} Users", "components.UserList.importfromplex": "Import Plex Users", "components.UserList.importfromplexerror": "Something went wrong while importing Plex users.", "components.UserList.localLoginDisabled": "The Enable Local Sign-In setting is currently disabled.", diff --git a/src/i18n/locale/es.json b/src/i18n/locale/es.json index e1ff1be0c..3f414d270 100644 --- a/src/i18n/locale/es.json +++ b/src/i18n/locale/es.json @@ -223,6 +223,7 @@ "components.Settings.SettingsAbout.Releases.currentversion": "Actual", "components.MovieDetails.studio": "{studioCount, plural, one {Estudio} other {Estudios}}", "components.UserList.importfromplexerror": "Algo salió mal importando usuarios de Plex.", + "components.UserList.importfrommediaserver": "Importar Usuarios de {mediaServerName}", "components.UserList.importfromplex": "Importar Usuarios de Plex", "components.UserList.importedfromplex": "¡{userCount, plural, one {# nuevo usuario} other {# nuevos usuarios}} importado/s de Plex con éxito!", "components.TvDetails.viewfullcrew": "Ver Equipo Completo", diff --git a/src/i18n/locale/fr.json b/src/i18n/locale/fr.json index 8099c7a2a..22d8af984 100644 --- a/src/i18n/locale/fr.json +++ b/src/i18n/locale/fr.json @@ -223,6 +223,7 @@ "components.Settings.SettingsAbout.Releases.latestversion": "Dernière version", "components.Settings.SettingsAbout.Releases.currentversion": "Actuelle", "components.UserList.importfromplexerror": "Une erreur s'est produite durant l'importation des utilisateurs de Plex.", + "components.UserList.importfrommediaserver": "Importer les utilisateurs de {mediaServerName}", "components.UserList.importfromplex": "Importer les utilisateurs de Plex", "components.UserList.importedfromplex": "{userCount} {userCount, plural, one {utilisateur} other {utilisateurs}} importé(s) depuis Plex avec succès !", "components.TvDetails.viewfullcrew": "Voir l'équipe complète de la série", diff --git a/src/i18n/locale/hu.json b/src/i18n/locale/hu.json index d04a9dc88..9a1f28c85 100644 --- a/src/i18n/locale/hu.json +++ b/src/i18n/locale/hu.json @@ -165,6 +165,7 @@ "components.UserList.password": "Jelszó", "components.UserList.localuser": "Helyi felhasználó", "components.UserList.importfromplexerror": "Hiba történt a felhasználók Plex-ről történő importálása közben.", + "components.UserList.importfrommediaserver": "Felhasználók importálása {mediaServerName}-ről", "components.UserList.importfromplex": "Felhasználók importálása Plex-ről", "components.UserList.importedfromplex": "{userCount, plural, =0 {Nem lett új} one {# új} other {# új}} felhasználó importálva Plex-ről!", "components.UserList.email": "E-mail-cím", diff --git a/src/i18n/locale/it.json b/src/i18n/locale/it.json index dea1ddd87..7d4cef42c 100644 --- a/src/i18n/locale/it.json +++ b/src/i18n/locale/it.json @@ -223,6 +223,7 @@ "components.Settings.SettingsAbout.Releases.latestversion": "Versione più recente", "components.Settings.SettingsAbout.Releases.currentversion": "Versione attuale", "components.UserList.importfromplexerror": "Qualcosa è andato storto nell'importare gli utenti Plex.", + "components.UserList.importfrommediaserver": "Importa utenti {mediaServerName}", "components.UserList.importfromplex": "Importa utenti Plex", "components.UserList.importedfromplex": "{userCount} {userCount, plural, one {utente} other {utenti}} Plex {userCount, plural, one {importato} other {importati}} correttamente!", "components.TvDetails.viewfullcrew": "Vedi troupe completa", diff --git a/src/i18n/locale/ja.json b/src/i18n/locale/ja.json index f3fe3413c..f83860084 100644 --- a/src/i18n/locale/ja.json +++ b/src/i18n/locale/ja.json @@ -231,6 +231,7 @@ "components.TvDetails.watchtrailer": "予告編を見る", "components.MovieDetails.watchtrailer": "予告編を見る", "components.UserList.importfromplexerror": "Plexからユーザーをインポート中に問題が発生しました。", + "components.UserList.importfrommediaserver": "{mediaServerName}からユーザーをインポート", "components.UserList.importfromplex": "Plexからユーザーをインポート", "components.UserList.importedfromplex": "Plex から新ユーザー {userCount} 名をインポートしました。", "components.TvDetails.viewfullcrew": "フルクルーを表示", diff --git a/src/i18n/locale/nb_NO.json b/src/i18n/locale/nb_NO.json index 61539a64d..07d5a6640 100644 --- a/src/i18n/locale/nb_NO.json +++ b/src/i18n/locale/nb_NO.json @@ -194,6 +194,7 @@ "components.UserList.userssaved": "Brukertillatelsene ble lagret!", "components.UserList.users": "Brukere", "components.UserList.importfromplexerror": "Noe gikk galt ved importering av brukere fra Plex.", + "components.UserList.importfrommediaserver": "Importer brukere fra {mediaServerName}", "components.UserList.importfromplex": "Importer brukere fra Plex", "components.UserList.importedfromplex": "{userCount} {userCount, plural, one {ny bruker} other {nye brukere}} ble importert fra Plex!", "components.Settings.menuUsers": "Brukere", diff --git a/src/i18n/locale/nl.json b/src/i18n/locale/nl.json index 9d61ec7d9..077a31a92 100644 --- a/src/i18n/locale/nl.json +++ b/src/i18n/locale/nl.json @@ -214,7 +214,8 @@ "components.UserList.userdeleteerror": "Er ging iets mis bij het verwijderen van de gebruiker.", "components.UserList.userdeleted": "Gebruiker succesvol verwijderd!", "components.UserList.importfromplexerror": "Er is iets misgegaan bij het importeren van Plex-gebruikers.", - "components.UserList.importfromplex": "Plex-gebruikers importeren", + "components.UserList.importfrommediaserver": "{mediaServerName}-gebruikers importeren", + "components.UserList.importfromplex": "{mediaServerName}-gebruikers importeren", "components.UserList.deleteuser": "Gebruiker verwijderen", "components.UserList.deleteconfirm": "Weet je zeker dat je deze gebruiker wilt verwijderen? Al hun bestaande aanvraaggegevens zullen worden verwijderd.", "components.TvDetails.watchtrailer": "Trailer bekijken", diff --git a/src/i18n/locale/pl.json b/src/i18n/locale/pl.json index 1a3eefb9f..597147d53 100644 --- a/src/i18n/locale/pl.json +++ b/src/i18n/locale/pl.json @@ -962,6 +962,7 @@ "components.UserProfile.UserSettings.UserNotificationSettings.sendSilently": "Wyślij po cichu", "components.UserProfile.UserSettings.UserNotificationSettings.telegramsettingsfailed": "Nie udało się zapisać ustawień powiadomień telegram.", "components.UserProfile.UserSettings.UserNotificationSettings.discordIdTip": "Wielocyfrowy numer ID powiązany z Twoim kontem użytkownika", + "components.UserList.importfrommediaserver": "Importuj użytkowników {mediaServerName}", "components.UserList.importfromplex": "Importuj użytkowników Plex", "i18n.available": "Dostępny", "components.UserList.sortDisplayName": "Wyświetlana nazwa", diff --git a/src/i18n/locale/pt_BR.json b/src/i18n/locale/pt_BR.json index c99ebb022..3d200e45b 100644 --- a/src/i18n/locale/pt_BR.json +++ b/src/i18n/locale/pt_BR.json @@ -228,6 +228,7 @@ "components.MovieDetails.viewfullcrew": "Ver Equipe Técnica Completa", "components.MovieDetails.MovieCrew.fullcrew": "Equipe Técnica Completa", "components.UserList.importfromplexerror": "Algo deu errado ao importar usuários do Plex.", + "components.UserList.importfrommediaserver": "Importar Usuários do {mediaServerName}", "components.UserList.importfromplex": "Importar Usuários do Plex", "components.UserList.importedfromplex": "{userCount} {userCount, plural, one {usuário Plex importado} other {usuários Plex importados}} com sucesso!", "components.Settings.Notifications.NotificationsSlack.agentenabled": "Habilitar Agente", diff --git a/src/i18n/locale/pt_PT.json b/src/i18n/locale/pt_PT.json index 4bcad9f57..7591a4da2 100644 --- a/src/i18n/locale/pt_PT.json +++ b/src/i18n/locale/pt_PT.json @@ -199,6 +199,7 @@ "components.UserList.passwordinfodescription": "Configurar um URL de aplicação e ativar as notificações por e-mail para permitir a geração automática de palavra-passe.", "components.UserList.localuser": "Utilizador Local", "components.UserList.importfromplexerror": "Ocorreu um erro ao importar utilizadores do Plex.", + "components.UserList.importfrommediaserver": "Importar Utilizadores do {mediaServerName}", "components.UserList.importfromplex": "Importar Utilizadores do Plex", "components.UserList.importedfromplex": "{userCount, plural, one {# novo utilizador} other {# novos utilizadores}} importados do Plex com sucesso!", "components.UserList.email": "Endereço de E-mail", diff --git a/src/i18n/locale/ru.json b/src/i18n/locale/ru.json index bf36dbb66..9ba93e553 100644 --- a/src/i18n/locale/ru.json +++ b/src/i18n/locale/ru.json @@ -793,6 +793,7 @@ "components.UserList.usercreatedfailed": "Что-то пошло не так при создании пользователя.", "components.UserList.passwordinfodescription": "Настройте URL-адрес приложения и включите уведомления по электронной почте, чтобы обеспечить возможность автоматической генерации пароля.", "components.UserList.importfromplexerror": "Что-то пошло не так при импорте пользователей из Plex.", + "components.UserList.importfrommediaserver": "Импортировать пользователей из {mediaServerName}", "components.UserList.importfromplex": "Импортировать пользователей из Plex", "components.UserList.importedfromplex": "{userCount, plural, one {# новый пользователь} other {# новых пользователя(ей)}} успешно импортированы из Plex!", "components.UserList.edituser": "Изменить разрешения пользователя", diff --git a/src/i18n/locale/sq.json b/src/i18n/locale/sq.json index 3c63691e3..627d27322 100644 --- a/src/i18n/locale/sq.json +++ b/src/i18n/locale/sq.json @@ -1006,6 +1006,7 @@ "components.UserProfile.UserSettings.UserPermissions.toastSettingsFailure": "Diçka shkoi keq duke ruajtur cilësimet.", "components.Settings.webAppUrlTip": "Në mënyrë opsionale drejto përdoruesit në aplikacionin web në serverin tënd në vend të atij web", "components.TvDetails.episodeRuntimeMinutes": "{runtime} minuta", + "components.UserList.importfrommediaserver": "Importoni përdoruesit {mediaServerName}", "components.UserList.importfromplex": "Importoni përdoruesit Plex", "components.UserList.importfromplexerror": "Diçka shkoi keq duke importuar përdoruesit Plex.", "components.TvDetails.firstAirDate": "Data e parë e transmetimit", diff --git a/src/i18n/locale/sv.json b/src/i18n/locale/sv.json index bdbb4bbd9..36247bd4b 100644 --- a/src/i18n/locale/sv.json +++ b/src/i18n/locale/sv.json @@ -222,6 +222,7 @@ "components.Settings.SettingsAbout.Releases.releasedataMissing": "Versionsdata är för närvarande inte tillgänglig.", "components.Settings.SettingsAbout.Releases.latestversion": "Senaste Versionen", "components.Settings.SettingsAbout.Releases.currentversion": "Aktuell", + "components.UserList.importfrommediaserver": "Importera {mediaServerName}användare", "components.UserList.importfromplex": "Importera Plexanvändare", "components.UserList.importfromplexerror": "Något gick fel när Plexanvändare importerades.", "components.TvDetails.watchtrailer": "Kolla Trailer", diff --git a/src/i18n/locale/zh_Hans.json b/src/i18n/locale/zh_Hans.json index 16b29ad76..9ef29adbe 100644 --- a/src/i18n/locale/zh_Hans.json +++ b/src/i18n/locale/zh_Hans.json @@ -24,6 +24,7 @@ "components.UserList.localuser": "本地用户", "components.UserList.localLoginDisabled": "允许本地登录的设置目前被禁用。", "components.UserList.importfromplexerror": "导入 Plex 用户时出错。", + "components.UserList.importfrommediaserver": "导入 {mediaServerName} 用户", "components.UserList.importfromplex": "导入 Plex 用户", "components.UserList.importedfromplex": "{userCount} Plex {userCount, plural, one {user} other {users}} 成功导入!", "components.UserList.email": "电子邮件地址", diff --git a/src/i18n/locale/zh_Hant.json b/src/i18n/locale/zh_Hant.json index d18433bbf..85293a062 100644 --- a/src/i18n/locale/zh_Hant.json +++ b/src/i18n/locale/zh_Hant.json @@ -52,6 +52,7 @@ "components.Settings.radarrsettings": "Radarr 設定", "components.Settings.menuPlexSettings": "Plex", "components.UserList.importfromplexerror": "匯入 Plex 使用者時出了點問題。", + "components.UserList.importfrommediaserver": "匯入 {mediaServerName} 使用者", "components.UserList.importfromplex": "匯入 Plex 使用者", "components.UserList.importedfromplex": "匯入 {userCount} 個 Plex 使用者成功!", "components.UserList.localuser": "本地使用者",