diff --git a/src/app/(main)/profile/ProfileSettings.tsx b/src/app/(main)/profile/ProfileSettings.tsx
index 1021c37e..9c7db39f 100644
--- a/src/app/(main)/profile/ProfileSettings.tsx
+++ b/src/app/(main)/profile/ProfileSettings.tsx
@@ -23,7 +23,7 @@ export function ProfileSettings() {
return formatMessage(labels.user);
}
if (value === ROLES.admin) {
- return formatMessage(labels.administrator);
+ return formatMessage(labels.admin);
}
if (value === ROLES.viewOnly) {
return formatMessage(labels.viewOnly);
diff --git a/src/app/(main)/settings/users/UserAddForm.tsx b/src/app/(main)/settings/users/UserAddForm.tsx
index 7ea72007..979f399f 100644
--- a/src/app/(main)/settings/users/UserAddForm.tsx
+++ b/src/app/(main)/settings/users/UserAddForm.tsx
@@ -34,7 +34,7 @@ export function UserAddForm({ onSave, onClose }) {
return formatMessage(labels.user);
}
if (value === ROLES.admin) {
- return formatMessage(labels.administrator);
+ return formatMessage(labels.admin);
}
if (value === ROLES.viewOnly) {
return formatMessage(labels.viewOnly);
@@ -58,7 +58,7 @@ export function UserAddForm({ onSave, onClose }) {
- {formatMessage(labels.viewOnly)}
- {formatMessage(labels.user)}
- - {formatMessage(labels.administrator)}
+ - {formatMessage(labels.admin)}
diff --git a/src/app/(main)/settings/users/[userId]/UserEditForm.tsx b/src/app/(main)/settings/users/[userId]/UserEditForm.tsx
index 369b4ff2..1acfc581 100644
--- a/src/app/(main)/settings/users/[userId]/UserEditForm.tsx
+++ b/src/app/(main)/settings/users/[userId]/UserEditForm.tsx
@@ -46,7 +46,7 @@ export function UserEditForm({ userId, onSave }: { userId: string; onSave?: () =
return formatMessage(labels.user);
}
if (value === ROLES.admin) {
- return formatMessage(labels.administrator);
+ return formatMessage(labels.admin);
}
if (value === ROLES.viewOnly) {
return formatMessage(labels.viewOnly);
@@ -76,7 +76,7 @@ export function UserEditForm({ userId, onSave }: { userId: string; onSave?: () =
- {formatMessage(labels.viewOnly)}
- {formatMessage(labels.user)}
- - {formatMessage(labels.administrator)}
+ - {formatMessage(labels.admin)}
diff --git a/src/components/messages.ts b/src/components/messages.ts
index 36bdf057..9173ab3f 100644
--- a/src/components/messages.ts
+++ b/src/components/messages.ts
@@ -18,7 +18,7 @@ export const labels = defineMessages({
user: { id: 'label.user', defaultMessage: 'User' },
viewOnly: { id: 'label.view-only', defaultMessage: 'View only' },
manage: { id: 'label.manage', defaultMessage: 'Manage' },
- administrator: { id: 'label.administrator', defaultMessage: 'Administrator' },
+ admin: { id: 'label.administrator', defaultMessage: 'Administrator' },
confirm: { id: 'label.confirm', defaultMessage: 'Confirm' },
details: { id: 'label.details', defaultMessage: 'Details' },
website: { id: 'label.website', defaultMessage: 'Website' },