mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-06 03:17:51 +02:00
updated profile navigation + some naming changes
This commit is contained in:
@@ -43,13 +43,12 @@
|
||||
"previous": "Previous"
|
||||
},
|
||||
"profile": {
|
||||
"navigation-label": "Navigation",
|
||||
"actions-label": "Actions",
|
||||
"navigationLabel": "Profile Navigation",
|
||||
"informationNavLink": "Information",
|
||||
"changePasswordNavLink": "Change password",
|
||||
"username": "Username",
|
||||
"displayName": "Display Name",
|
||||
"mail": "E-Mail",
|
||||
"information": "Information",
|
||||
"change-password": "Change password",
|
||||
"error-title": "Error",
|
||||
"error-subtitle": "Cannot display profile",
|
||||
"error": "Error",
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
"create-button": "Create"
|
||||
},
|
||||
"repository-root": {
|
||||
"error-title": "Error",
|
||||
"error-subtitle": "Unknown repository error",
|
||||
"navigationLabel": "Repository Navigation",
|
||||
"historyNavLink": "Commits",
|
||||
"informationNavLink": "Information",
|
||||
"permissionsNavLink": "Permissions",
|
||||
"sourcesNavLink": "Sources"
|
||||
"sourcesNavLink": "Sources",
|
||||
"errorTitle": "Error",
|
||||
"errorSubtitle": "Unknown repository error"
|
||||
},
|
||||
"create": {
|
||||
"title": "Create Repository",
|
||||
|
||||
@@ -34,12 +34,12 @@
|
||||
"subtitle": "Create a new user"
|
||||
},
|
||||
"single-user": {
|
||||
"error-title": "Error",
|
||||
"error-subtitle": "Unknown user error",
|
||||
"navigationLabel": "User Navigation",
|
||||
"informationNavLink": "Information",
|
||||
"editNavLink": "Edit",
|
||||
"setPasswordNavLink": "Set password"
|
||||
"setPasswordNavLink": "Set password",
|
||||
"errorTitle": "Error",
|
||||
"errorSubtitle": "Unknown user error"
|
||||
},
|
||||
"validation": {
|
||||
"mail-invalid": "This email is invalid",
|
||||
|
||||
@@ -69,13 +69,11 @@ class Profile extends React.Component<Props, State> {
|
||||
</div>
|
||||
<div className="column">
|
||||
<Navigation>
|
||||
<Section label={t("profile.navigation-label")}>
|
||||
<NavLink to={`${url}`} label={t("profile.information")} />
|
||||
</Section>
|
||||
<Section label={t("profile.actions-label")}>
|
||||
<Section label={t("profile.navigationLabel")}>
|
||||
<NavLink to={`${url}`} label={t("profile.informationNavLink")} />
|
||||
<NavLink
|
||||
to={`${url}/password`}
|
||||
label={t("profile.change-password")}
|
||||
label={t("profile.changePasswordNavLink")}
|
||||
/>
|
||||
</Section>
|
||||
</Navigation>
|
||||
|
||||
@@ -80,8 +80,8 @@ class RepositoryRoot extends React.Component<Props> {
|
||||
if (error) {
|
||||
return (
|
||||
<ErrorPage
|
||||
title={t("repository-root.error-title")}
|
||||
subtitle={t("repository-root.error-subtitle")}
|
||||
title={t("repository-root.errorTitle")}
|
||||
subtitle={t("repository-root.errorSubtitle")}
|
||||
error={error}
|
||||
/>
|
||||
);
|
||||
|
||||
@@ -80,8 +80,8 @@ class SingleUser extends React.Component<Props> {
|
||||
if (error) {
|
||||
return (
|
||||
<ErrorPage
|
||||
title={t("single-user.error-title")}
|
||||
subtitle={t("single-user.error-subtitle")}
|
||||
title={t("single-user.errorTitle")}
|
||||
subtitle={t("single-user.errorSubtitle")}
|
||||
error={error}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user