mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-01 04:08:45 -05:00
refactor(lang): use global strings where appropriate and remove unused strings (#1265)
This commit is contained in:
@@ -16,15 +16,11 @@ const messages = defineMessages({
|
||||
users: 'Users',
|
||||
userSettings: 'User Settings',
|
||||
userSettingsDescription: 'Configure global and default user settings.',
|
||||
save: 'Save Changes',
|
||||
saving: 'Saving…',
|
||||
toastSettingsSuccess: 'User settings saved successfully!',
|
||||
toastSettingsFailure: 'Something went wrong while saving settings.',
|
||||
localLogin: 'Enable Local Sign-In',
|
||||
movieRequestLimitLabel: 'Global Movie Request Limit',
|
||||
movieRequestLimit: '{quotaLimit} movies per {quotaDays} days',
|
||||
tvRequestLimitLabel: 'Global Series Request Limit',
|
||||
tvRequestLimit: '{quotaLimit} seasons per {quotaDays} days',
|
||||
defaultPermissions: 'Default Permissions',
|
||||
});
|
||||
|
||||
@@ -173,8 +169,8 @@ const SettingsUsers: React.FC = () => {
|
||||
disabled={isSubmitting}
|
||||
>
|
||||
{isSubmitting
|
||||
? intl.formatMessage(messages.saving)
|
||||
: intl.formatMessage(messages.save)}
|
||||
? intl.formatMessage(globalMessages.saving)
|
||||
: intl.formatMessage(globalMessages.save)}
|
||||
</Button>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user