fix(lang): string edits

pull/2211/head
TheCatLady 3 years ago
parent 3b05472ff4
commit 1dc6def596
No known key found for this signature in database
GPG Key ID: 9DAC5971F01EE4AE

@ -18,7 +18,7 @@ const messages = defineMessages({
signin: 'Sign In', signin: 'Sign In',
signinheader: 'Sign in to continue', signinheader: 'Sign in to continue',
signinwithplex: 'Use your Plex account', signinwithplex: 'Use your Plex account',
signinwithoverseerr: 'Use your {applicationTitle} account', signinwithoverseerr: 'Use your {applicationTitle} password',
}); });
const Login = () => { const Login = () => {

@ -44,7 +44,7 @@ const messages = defineMessages({
accounttype: 'Type', accounttype: 'Type',
role: 'Role', role: 'Role',
created: 'Joined', created: 'Joined',
bulkedit: 'Bulk Edit', bulkedit: 'Edit Permissions',
owner: 'Owner', owner: 'Owner',
admin: 'Admin', admin: 'Admin',
plexuser: 'Plex User', plexuser: 'Plex User',
@ -55,7 +55,6 @@ const messages = defineMessages({
'Are you sure you want to delete this user? All of their request data will be permanently removed.', 'Are you sure you want to delete this user? All of their request data will be permanently removed.',
localuser: 'Local User', localuser: 'Local User',
createlocaluser: 'Create User', createlocaluser: 'Create User',
creating: 'Creating User…',
validationpasswordminchars: validationpasswordminchars:
'Password is too short; should be a minimum of 8 characters', 'Password is too short; should be a minimum of 8 characters',
usercreatedfailed: 'Something went wrong while creating the user.', usercreatedfailed: 'Something went wrong while creating the user.',
@ -316,8 +315,8 @@ const UserList = () => {
onOk={() => handleSubmit()} onOk={() => handleSubmit()}
okText={ okText={
isSubmitting isSubmitting
? intl.formatMessage(messages.creating) ? intl.formatMessage(globalMessages.creating)
: intl.formatMessage(messages.createlocaluser) : intl.formatMessage(globalMessages.create)
} }
okDisabled={isSubmitting || !isValid} okDisabled={isSubmitting || !isValid}
okButtonType="primary" okButtonType="primary"

@ -33,6 +33,8 @@ const globalMessages = defineMessages({
saving: 'Saving…', saving: 'Saving…',
import: 'Import', import: 'Import',
importing: 'Importing…', importing: 'Importing…',
create: 'Create',
creating: 'Creating…',
close: 'Close', close: 'Close',
edit: 'Edit', edit: 'Edit',
areyousure: 'Are you sure?', areyousure: 'Are you sure?',

@ -133,7 +133,7 @@
"components.Login.signin": "Sign In", "components.Login.signin": "Sign In",
"components.Login.signingin": "Signing In…", "components.Login.signingin": "Signing In…",
"components.Login.signinheader": "Sign in to continue", "components.Login.signinheader": "Sign in to continue",
"components.Login.signinwithoverseerr": "Use your {applicationTitle} account", "components.Login.signinwithoverseerr": "Use your {applicationTitle} password",
"components.Login.signinwithplex": "Use your Plex account", "components.Login.signinwithplex": "Use your Plex account",
"components.Login.validationemailrequired": "You must provide a valid email address", "components.Login.validationemailrequired": "You must provide a valid email address",
"components.Login.validationpasswordrequired": "You must provide a password", "components.Login.validationpasswordrequired": "You must provide a password",
@ -919,10 +919,9 @@
"components.UserList.admin": "Admin", "components.UserList.admin": "Admin",
"components.UserList.autogeneratepassword": "Automatically Generate Password", "components.UserList.autogeneratepassword": "Automatically Generate Password",
"components.UserList.autogeneratepasswordTip": "Email a server-generated password to the user", "components.UserList.autogeneratepasswordTip": "Email a server-generated password to the user",
"components.UserList.bulkedit": "Bulk Edit", "components.UserList.bulkedit": "Edit Permissions",
"components.UserList.created": "Joined", "components.UserList.created": "Joined",
"components.UserList.createlocaluser": "Create User", "components.UserList.createlocaluser": "Create User",
"components.UserList.creating": "Creating User…",
"components.UserList.deleteconfirm": "Are you sure you want to delete this user? All of their request data will be permanently removed.", "components.UserList.deleteconfirm": "Are you sure you want to delete this user? All of their request data will be permanently removed.",
"components.UserList.deleteuser": "Delete User", "components.UserList.deleteuser": "Delete User",
"components.UserList.displayName": "Display Name", "components.UserList.displayName": "Display Name",
@ -1069,6 +1068,8 @@
"i18n.cancel": "Cancel", "i18n.cancel": "Cancel",
"i18n.canceling": "Canceling…", "i18n.canceling": "Canceling…",
"i18n.close": "Close", "i18n.close": "Close",
"i18n.create": "Create",
"i18n.creating": "Creating…",
"i18n.decline": "Decline", "i18n.decline": "Decline",
"i18n.declined": "Declined", "i18n.declined": "Declined",
"i18n.delete": "Delete", "i18n.delete": "Delete",

Loading…
Cancel
Save