♻️ Address pull request feedback

This commit is contained in:
Meier Lukas
2023-08-06 14:12:39 +02:00
parent 4b2c5f2816
commit 9e576f1498
53 changed files with 934 additions and 746 deletions

View File

@@ -1,4 +1,5 @@
{
"metaTitle": "Create Account",
"title": "Create Account",
"text": "Please define your credentials below",
"form": {
@@ -16,5 +17,19 @@
"buttons": {
"submit": "Create account"
}
},
"notifications": {
"loading": {
"title": "Creating account",
"text": "Please wait"
},
"success": {
"title": "Account created",
"text": "Your account has been created successfully"
},
"error": {
"title": "Error",
"text": "Something went wrong"
}
}
}

View File

@@ -1,4 +1,5 @@
{
"metaTitle": "Login",
"title": "Welcome back!",
"text": "Please enter your credentials",
"form": {

View File

@@ -1,28 +0,0 @@
{
"title": "Boards",
"cards": {
"statistics": {
"apps": "Apps",
"widgets": "Widgets",
"categories": "Categories"
},
"buttons": {
"view": "View board"
},
"menu": {
"setAsDefault": "Set as your default board",
"delete": {
"label": "Delete permanently",
"disabled": "Deletion disabled, because older Homarr components still rely on this.",
"modalTitle": "Delete board"
}
},
"badges": {
"fileSystem": "File system",
"default": "Default"
}
},
"buttons": {
"create": "Create new dashboard"
}
}

View File

@@ -35,9 +35,5 @@
"small": "small",
"medium": "medium",
"large": "large"
},
"header": {
"logout": "Logout",
"sign-in": "Sign in"
}
}

View File

@@ -16,6 +16,7 @@
"switchTheme": "Switch theme",
"preferences": "User preferences",
"defaultBoard": "Default dashboard",
"manage": "Manage",
"about": {
"label": "About",
"new": "New"
@@ -23,5 +24,11 @@
"logout": "Logout from {{username}}",
"login": "Login"
}
},
"modals": {
"movie": {
"title": "",
"topResults": "Top {{count}} results for <b>{{search}}</b>."
}
}
}

View File

@@ -0,0 +1,26 @@
{
"navigation": {
"home": {
"title": "Home"
},
"boards": {
"title": "Boards"
},
"users": {
"title": "Users",
"items": {
"manage": "Manage",
"invites": "Invites"
}
},
"help": {
"title": "Help",
"items": {
"documentation": "Documentation",
"report": "Report an issue / bug",
"discord": "Community Discord",
"contribute": "Contribute"
}
}
}
}

View File

@@ -0,0 +1,44 @@
{
"metaTitle": "Boards",
"pageTitle": "Boards",
"cards": {
"statistics": {
"apps": "Apps",
"widgets": "Widgets",
"categories": "Categories"
},
"buttons": {
"view": "View board"
},
"menu": {
"setAsDefault": "Set as your default board",
"delete": {
"label": "Delete permanently",
"disabled": "Deletion disabled, because older Homarr components still rely on this."
}
},
"badges": {
"fileSystem": "File system",
"default": "Default"
}
},
"buttons": {
"create": "Create new board"
},
"modals": {
"delete": {
"title": "Delete board",
"text": "Are you sure, that you want to delete this board? This action cannot be undone and your data will be lost permanently."
},
"create": {
"title": "Create board",
"text": "The name cannot be changed after a board has been created.",
"form": {
"name": {
"label": "Name"
},
"submit": "Create"
}
}
}
}

View File

@@ -0,0 +1,23 @@
{
"metaTitle": "Manage",
"hero": {
"title": "Welcome back, {{username}}",
"fallbackUsername": "Anonymous",
"subtitle": "Welcome to Your Application Hub. Organize, Optimize and Conquer!"
},
"quickActions": {
"title": "Quick actions",
"boards": {
"title": "Your boards",
"subtitle": "Create and manage your boards"
},
"inviteUsers": {
"title": "Invite a new user",
"subtitle": "Create and send an invitation for registration"
},
"manageUsers": {
"title": "Manage users",
"subtitle": "Delete and manage your users"
}
}
}

View File

@@ -10,7 +10,10 @@
}
},
"modals": {
"delete": "Delete user {{name}}"
"delete": {
"title": "Delete user {{name}}",
"text": "Are you sure, that you want to delete the user {{name}}? This will delete data associated with this account, but not any created dashboards by this user."
}
},
"searchDoesntMatch": "Your search does not match any entries. Please adjust your filter."
}

View File

@@ -1,4 +1,5 @@
{
"metaTitle": "Create user",
"steps": {
"account": {
"title": "First step",
@@ -15,7 +16,13 @@
"text": "Password",
"password": {
"label": "Password",
"requirement": "Includes at least 6 characters"
"requirements": {
"number": "Includes number",
"lowercase": "Includes lowercase letter",
"uppercase": "Includes uppercase letter",
"special": "Includes special character",
"length": "Includes at least {{count}} characters"
}
}
},
"finish": {
@@ -35,15 +42,20 @@
},
"notSet": "Not set",
"valid": "Valid"
},
"alertConfirmed": "User has been created in the database. They can now log in."
}
},
"completed": {
"alert": {
"title": "User was created",
"text": "The user was created in the database. They can now log in."
}
}
},
"buttons": {
"next": "Next",
"previous": "Previous",
"confirm": "Confirm",
"generateRandomPw": "Generate random",
"generateRandomPassword": "Generate random",
"createAnother": "Create another",
"goBack": "Go back to users"
}

View File

@@ -0,0 +1,50 @@
{
"metaTitle": "User invites",
"pageTitle": "Manage user invites",
"description": "Using invites, you can invite users to your Homarr instance. An invitation will only be valid for a certain time-span and can be used once. The expiration must be between 5 minutes and 12 months upon creation.",
"button": {
"createInvite": "Create invitation",
"deleteInvite": "Delete invite"
},
"table": {
"header": {
"id": "ID",
"creator": "Creator",
"expires": "Expires",
"action": "Actions"
},
"data": {
"expiresAt": "expired {{at}}",
"expiresIn": "in {{in}}"
}
},
"modals": {
"create": {
"title": "Create invite",
"description": "After the expiration, an invite will no longer be valid and the recipient of the invite won't be able to create an account.",
"form": {
"expires": {
"label": "Expiration date"
},
"submit": "Create"
}
},
"copy": {
"title": "Copy invitation",
"description": "Your invitation has been generated. After this modal closes, <b>you'll not be able to copy this link anymore</b>. If you do no longer wish to invite said person, you can delete this invitation any time.",
"invitationLink": "Invitation link",
"details": {
"id": "ID",
"token": "Token"
},
"button": {
"close": "Copy & Dismiss"
}
},
"delete": {
"title": "Delete invite",
"description": "Are you sure, that you want to delete this invitation? Users with this link will no longer be able to create an account using that link."
}
},
"noInvites": "There are no invitations yet."
}

View File

@@ -1,21 +0,0 @@
{
"title": "Manage user invites",
"text": "Using invites, you can invite users to your Homarr instance. An invitation will only be valid for a certain time-span and can be used once. The expiration must be between 5 minutes and 12 months upon creation.",
"button": {
"createInvite": "Create invitation",
"deleteInvite": "Delete invite"
},
"table": {
"header": {
"id": "ID",
"creator": "Creator",
"expires": "Expires",
"action": "Actions"
},
"data": {
"expiresAt": "expired {{at}}",
"expiresIn": "in {{in}}"
}
},
"noInvites": "There are no invitations yet."
}

View File

@@ -27,6 +27,10 @@
},
"population": {
"fallback": "Unknown"
},
"nothingFound": {
"title": "Nothing found",
"description": "Please try another search term"
}
}
}

View File

@@ -12,11 +12,11 @@
"number": "This field must be greater than or equal to {{minimum}}"
},
"too_big": {
"string": "This field must be at most {{minimum}} characters long",
"number": "This field must be less than or equal to {{minimum}}"
"string": "This field must be at most {{maximum}} characters long",
"number": "This field must be less than or equal to {{maximum}}"
},
"custom": {
"password_match": "Passwords must match"
"passwordMatch": "Passwords must match"
}
}
}