Web: Client: JavascriptSDK: corrected translations

This commit is contained in:
Vladimir Khvan 2024-04-19 14:27:03 +05:00
parent 0e784d6d0b
commit 88132ddb35
2 changed files with 7 additions and 4 deletions

View File

@ -46,6 +46,7 @@
"EnterWidth": "Enter width", "EnterWidth": "Enter width",
"FeedbackAndSupport": "Feedback&Support", "FeedbackAndSupport": "Feedback&Support",
"FileContentCopy": "File content copy restriction", "FileContentCopy": "File content copy restriction",
"FileFilter": "File Filter",
"FileId": "File ID", "FileId": "File ID",
"FilePreview": "File preview", "FilePreview": "File preview",
"FileSelector": "File selector", "FileSelector": "File selector",
@ -81,6 +82,7 @@
"RightPanelCollapsed": "Right panel collapsed", "RightPanelCollapsed": "Right panel collapsed",
"RoomOrFolder": "Room or Folder", "RoomOrFolder": "Room or Folder",
"RoomOrFolderDescription": "You can select the section, room or folder you want to display", "RoomOrFolderDescription": "You can select the section, room or folder you want to display",
"RoomFilter": "Room Filter",
"RoomPreview": "Room preview", "RoomPreview": "Room preview",
"RoomSelector": "Room selector", "RoomSelector": "Room selector",
"RoomSelectorDescription": "Embed a room selector to allow users to access any room from the list of the available ones. ", "RoomSelectorDescription": "Embed a room selector to allow users to access any room from the list of the available ones. ",
@ -89,6 +91,7 @@
"Scale": "Scale", "Scale": "Scale",
"SDKDescription": "JavaScript SDK allows you to embed the whole DocSpace or its part into your web interface. Select ready-to-use modes with the pre-defined parameters or a custom one to configure it manually. To learn more about SDK, refer to the ", "SDKDescription": "JavaScript SDK allows you to embed the whole DocSpace or its part into your web interface. Select ready-to-use modes with the pre-defined parameters or a custom one to configure it manually. To learn more about SDK, refer to the ",
"SearchBlock": "Search block", "SearchBlock": "Search block",
"SearchByNameEmail": "Search by name or email",
"SearchFilterAndSort": "Search, Filter and Sort", "SearchFilterAndSort": "Search, Filter and Sort",
"SearchTerm": "Search term", "SearchTerm": "Search term",
"SelectButtonText": "Select Button text", "SelectButtonText": "Select Button text",

View File

@ -382,7 +382,7 @@ export const FilterBlock = ({ t, config, setConfig }) => {
return "id" in config ? ( return "id" in config ? (
<> <>
<Label className="label" text={t("Files:Filter")} /> <Label className="label" text={t("FileFilter")} />
<ToggleButton <ToggleButton
className="toggle" className="toggle"
label={t("Files:ByAuthor")} label={t("Files:ByAuthor")}
@ -404,7 +404,7 @@ export const FilterBlock = ({ t, config, setConfig }) => {
<TextInput <TextInput
scale scale
onChange={onChangeAuthor} onChange={onChangeAuthor}
placeholder={t("Common:Search")} placeholder={t("SearchByNameEmail")}
value={author} value={author}
onFocus={openInviteInputPanel} onFocus={openInviteInputPanel}
isAutoFocussed isAutoFocussed
@ -457,7 +457,7 @@ export const FilterBlock = ({ t, config, setConfig }) => {
</> </>
) : ( ) : (
<> <>
<Label className="label" text={t("Files:Filter")} /> <Label className="label" text={t("RoomFilter")} />
<ToggleButton <ToggleButton
className="toggle" className="toggle"
label={t("Common:Member")} label={t("Common:Member")}
@ -478,7 +478,7 @@ export const FilterBlock = ({ t, config, setConfig }) => {
<TextInput <TextInput
scale scale
onChange={onChangeAuthor} onChange={onChangeAuthor}
placeholder={t("Common:Search")} placeholder={t("SearchByNameEmail")}
value={author} value={author}
onFocus={openInviteInputPanel} onFocus={openInviteInputPanel}
isAutoFocussed isAutoFocussed