diff --git a/scm-ui/public/locales/en/commons.json b/scm-ui/public/locales/en/commons.json index f436658763..cfa2032bdd 100644 --- a/scm-ui/public/locales/en/commons.json +++ b/scm-ui/public/locales/en/commons.json @@ -29,6 +29,7 @@ "alt": "SCM-Manager" }, "primary-navigation": { + "repositories": "Repositories", "users": "Users", "logout": "Logout" } diff --git a/scm-ui/public/locales/en/repositories.json b/scm-ui/public/locales/en/repositories.json new file mode 100644 index 0000000000..4bb2370030 --- /dev/null +++ b/scm-ui/public/locales/en/repositories.json @@ -0,0 +1,6 @@ +{ + "repositories": { + "title": "Repositories", + "subtitle": "Repositories will be shown here" + } +} diff --git a/scm-ui/public/locales/en/users.json b/scm-ui/public/locales/en/users.json new file mode 100644 index 0000000000..7f8e026fb9 --- /dev/null +++ b/scm-ui/public/locales/en/users.json @@ -0,0 +1,30 @@ +{ + "user": { + "name": "Username", + "displayName": "Display Name", + "mail": "E-Mail", + "password": "Password", + "admin": "Admin", + "active": "Active" + }, + "users": { + "title": "Users", + "subtitle": "Create, read, update and delete users", + "add-button": "Add User" + }, + "delete-user-button": { + "label": "Delete", + "confirm-alert": { + "title": "Delete user", + "message": "Do you really want to delete the user?", + "submit": "Yes", + "cancel": "No" + } + }, + "edit-user-button": { + "label": "Edit" + }, + "user-form": { + "submit": "Submit" + } +} diff --git a/scm-ui/src/components/PrimaryNavigation.js b/scm-ui/src/components/PrimaryNavigation.js index 83be320395..bb853c9808 100644 --- a/scm-ui/src/components/PrimaryNavigation.js +++ b/scm-ui/src/components/PrimaryNavigation.js @@ -13,6 +13,11 @@ class PrimaryNavigation extends React.Component { return (