Files
homarr/packages/translation/src/lang/en.ts
T
Meier Lukas bb02163e25 feat: board settings (#137)
* refactor: improve user feedback for general board settings section

* wip: add board settings for background and colors, move danger zone to own file, refactor code

* feat: add shade selector

* feat: add slider for opacity

* fix: issue with invalid hex values for color preview

* refactor: add shared mutation hook for saving partial board settings with invalidate query

* fix: add cleanup for not applied changes to logo and page title

* feat: add layout settings

* feat: add empty custom css section to board settings

* refactor: improve layout of board logo on mobile

* feat: add theme provider for board colors

* refactor: add auto contrast for better contrast of buttons with low primary shade

* feat: add background for boards

* feat: add opacity for boards

* feat: add rename board

* feat: add visibility and delete of board settings

* fix: issue that wrong data is updated with update board method

* refactor: improve danger zone button placement for mobile

* fix: board not revalidated when already in boards layout

* refactor: improve board color preview

* refactor: change save button color to teal, add placeholders for general board settings

* chore: update initial migration

* refactor: remove unnecessary div

* chore: address pull request feedback

* fix: ci issues

* fix: deepsource issues

* chore: address pull request feedback

* fix: formatting issue

* chore: address pull request feedback
2024-03-03 16:01:32 +01:00

567 lines
14 KiB
TypeScript

import "dayjs/locale/en";
export default {
user: {
page: {
login: {
title: "Log in to your account",
subtitle: "Welcome back! Please enter your credentials",
},
init: {
title: "New Homarr installation",
subtitle: "Please create the initial administator user",
},
},
field: {
username: {
label: "Username",
},
password: {
label: "Password",
},
passwordConfirm: {
label: "Confirm password",
},
},
action: {
login: "Login",
create: "Create user",
},
},
integration: {
page: {
list: {
title: "Integrations",
search: "Search integrations",
empty: "No integrations found",
},
create: {
title: "New {name} integration",
notification: {
success: {
title: "Creation successful",
message: "The integration was successfully created",
},
error: {
title: "Creation failed",
message: "The integration could not be created",
},
},
},
edit: {
title: "Edit {name} integration",
notification: {
success: {
title: "Changes applied successfully",
message: "The integration was successfully saved",
},
error: {
title: "Unable to apply changes",
message: "The integration could not be saved",
},
},
},
delete: {
title: "Delete integration",
message: "Are you sure you want to delete the integration {name}?",
notification: {
success: {
title: "Deletion successful",
message: "The integration was successfully deleted",
},
error: {
title: "Deletion failed",
message: "Unable to delete the integration",
},
},
},
},
field: {
name: {
label: "Name",
},
url: {
label: "Url",
},
},
action: {
create: "New integration",
},
testConnection: {
action: "Test connection",
alertNotice:
"The Save button is enabled once a successful connection is established",
notification: {
success: {
title: "Connection successful",
message: "The connection was successfully established",
},
invalidUrl: {
title: "Invalid URL",
message: "The URL is invalid",
},
notAllSecretsProvided: {
title: "Missing credentials",
message: "Not all credentials were provided",
},
invalidCredentials: {
title: "Invalid credentials",
message: "The credentials are invalid",
},
commonError: {
title: "Connection failed",
message: "The connection could not be established",
},
},
},
secrets: {
title: "Secrets",
lastUpdated: "Last updated {date}",
secureNotice: "This secret cannot be retrieved after creation",
reset: {
title: "Reset secret",
message: "Are you sure you want to reset this secret?",
},
kind: {
username: {
label: "Username",
newLabel: "New username",
},
apiKey: {
label: "API Key",
newLabel: "New API Key",
},
password: {
label: "Password",
newLabel: "New password",
},
},
},
},
common: {
action: {
backToOverview: "Back to overview",
create: "Create",
edit: "Edit",
save: "Save",
saveChanges: "Save changes",
cancel: "Cancel",
confirm: "Confirm",
previous: "Previous",
next: "Next",
},
multiSelect: {
placeholder: "Pick one or more values",
},
select: {
placeholder: "Pick value",
badge: {
recommended: "Recommended",
},
},
search: {
placeholder: "Search for anything...",
nothingFound: "Nothing found",
group: {
all: "All",
web: "Web",
action: "Actions",
},
},
userAvatar: {
menu: {
switchToDarkMode: "Switch to dark mode",
switchToLightMode: "Switch to light mode",
management: "Management",
logout: "Logout",
navigateDefaultBoard: "Navigate to default board",
},
},
noResults: "No results found",
preview: {
show: "Show preview",
hide: "Hide preview",
},
},
section: {
category: {
field: {
name: {
label: "Name",
},
},
action: {
create: "New category",
edit: "Rename category",
remove: "Remove category",
moveUp: "Move up",
moveDown: "Move down",
createAbove: "New category above",
createBelow: "New category below",
},
create: {
title: "New category",
submit: "Add category",
},
remove: {
title: "Remove category",
message: "Are you sure you want to remove the category {name}?",
},
edit: {
title: "Rename category",
submit: "Rename category",
},
menu: {
label: {
create: "New category",
changePosition: "Change position",
},
},
},
},
item: {
action: {
create: "New item",
import: "Import item",
edit: "Edit item",
move: "Move item",
remove: "Remove item",
},
menu: {
label: {
settings: "Settings",
dangerZone: "Danger Zone",
},
},
create: {
title: "Choose item to add",
addToBoard: "Add to board",
},
edit: {
title: "Edit item",
field: {
integrations: {
label: "Integrations",
},
},
},
remove: {
title: "Remove item",
message: "Are you sure you want to remove this item?",
},
},
widget: {
clock: {
name: "Date and time",
description: "Displays the current date and time.",
option: {
is24HourFormat: {
label: "24-hour format",
description: "Use 24-hour format instead of 12-hour format",
},
isLocaleTime: {
label: "Use locale time",
},
timezone: {
label: "Timezone",
},
},
},
weather: {
name: "Weather",
description:
"Displays the current weather information of a set location.",
option: {
location: {
label: "Location",
},
showCity: {
label: "Show city",
},
},
},
},
board: {
action: {
edit: {
notification: {
success: {
title: "Changes applied successfully",
message: "The board was successfully saved",
},
error: {
title: "Unable to apply changes",
message: "The board could not be saved",
},
},
},
},
field: {
pageTitle: {
label: "Page title",
},
metaTitle: {
label: "Meta title",
},
logoImageUrl: {
label: "Logo image URL",
},
faviconImageUrl: {
label: "Favicon image URL",
},
backgroundImageUrl: {
label: "Background image URL",
},
backgroundImageAttachment: {
label: "Background image attachment",
option: {
fixed: {
label: "Fixed",
description: "Background stays in the same position.",
},
scroll: {
label: "Scroll",
description: "Background scrolls with your mouse.",
},
},
},
backgroundImageRepeat: {
label: "Background image repeat",
option: {
repeat: {
label: "Repeat",
description:
"The image is repeated as much as needed to cover the whole background image painting area.",
},
"no-repeat": {
label: "No repeat",
description:
"The image is not repeated and may not fill the entire space.",
},
"repeat-x": {
label: "Repeat X",
description: "Same as 'Repeat' but only on horizontal axis.",
},
"repeat-y": {
label: "Repeat Y",
description: "Same as 'Repeat' but only on vertical axis.",
},
},
},
backgroundImageSize: {
label: "Background image size",
option: {
cover: {
label: "Cover",
description:
"Scales the image as small as possible to cover the entire window by cropping excessive space.",
},
contain: {
label: "Contain",
description:
"Scales the image as large as possible within its container without cropping or stretching the image.",
},
},
},
primaryColor: {
label: "Primary color",
},
secondaryColor: {
label: "Secondary color",
},
opacity: {
label: "Opacity",
},
customCss: {
label: "Custom CSS",
},
columnCount: {
label: "Column count",
},
name: {
label: "Name",
},
},
setting: {
title: "Settings for {boardName} board",
section: {
general: {
title: "General",
unrecognizedLink:
"The provided link is not recognized and won't preview, it might still work.",
},
layout: {
title: "Layout",
},
background: {
title: "Background",
},
color: {
title: "Colors",
},
customCss: {
title: "Custom css",
},
dangerZone: {
title: "Danger Zone",
action: {
rename: {
label: "Rename board",
description:
"Changing the name will break any links to this board.",
button: "Change name",
modal: {
title: "Rename board",
},
},
visibility: {
label: "Change board visibility",
description: {
public: "This board is currently public.",
private: "This board is currently private.",
},
button: {
public: "Make private",
private: "Make public",
},
confirm: {
public: {
title: "Make board private",
description:
"Are you sure you want to make this board private? This will hide the board from the public. Links for guest users will break.",
},
private: {
title: "Make board public",
description:
"Are you sure you want to make this board public? This will make the board accessible to everyone.",
},
},
},
delete: {
label: "Delete this board",
description:
"Once you delete a board, there is no going back. Please be certain.",
button: "Delete this board",
confirm: {
title: "Delete board",
description:
"Are you sure you want to delete this board? This will permanently delete the board and all its content.",
},
},
},
},
},
},
},
management: {
metaTitle: "Management",
title: {
morning: "Good morning, {username}",
afternoon: "Good afternoon, {username}",
evening: "Good evening, {username}",
},
notFound: {
title: "Not Found",
text: "Could not find requested resource",
},
navbar: {
items: {
home: "Home",
boards: "Boards",
users: {
label: "Users",
items: {
manage: "Manage",
invites: "Invites",
},
},
tools: {
label: "Tools",
items: {
docker: "Docker",
},
},
help: {
label: "Help",
items: {
documentation: "Documentation",
submitIssue: "Submit an issue",
discord: "Community Discord",
sourceCode: "Source Code",
},
},
about: "About",
},
},
page: {
board: {
title: "Manage boards",
button: {
create: "Create board",
delete: "Delete board",
},
modal: {
createBoard: {
field: {
name: {
label: "Name",
},
},
},
},
},
user: {
list: {
metaTitle: "Manage users",
title: "Users",
},
edit: {
metaTitle: "Edit user {username}",
},
create: {
metaTitle: "Create user",
title: "Create new user",
step: {
personalInformation: {
label: "Personal information",
field: {
username: {
label: "Username",
},
email: {
label: "E-Mail",
},
},
},
security: {
label: "Security",
field: {
password: {
label: "Password",
},
confirmPassword: {
label: "Confirm password",
},
},
},
permissions: {
label: "Permissions",
description: "Coming soon",
},
review: {
label: "Review",
},
completed: {
title: "User created",
},
},
buttons: {
createAnother: "Create another user",
return: "Return to the user list",
},
},
},
},
},
} as const;