Skip to content

Commit

Permalink
Web: Files: added MainHeaderSelectAll translation, added group menu c…
Browse files Browse the repository at this point in the history
…heckbox title
  • Loading branch information
dmitry-sychugov committed Nov 29, 2021
1 parent 82a1458 commit c9b58ca
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/asc-web-components/checkbox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class Checkbox extends React.Component {
isDisabled={isDisabled}
isIndeterminate={isIndeterminate}
className={className}
title={title}
>
<HiddenInput
type="checkbox"
Expand Down
4 changes: 4 additions & 0 deletions packages/asc-web-components/table-container/TableGroupMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import Checkbox from "../checkbox";
import { StyledTableGroupMenu, StyledScrollbar } from "./StyledTableContainer";
import ComboBox from "../combobox";
import GroupMenuItem from "./GroupMenuItem";
import { useTranslation } from "react-i18next";

const TableGroupMenu = (props) => {
const {
Expand All @@ -20,6 +21,8 @@ const TableGroupMenu = (props) => {
onChange && onChange(e.target && e.target.checked);
};

const { t } = useTranslation();

return (
<>
<StyledTableGroupMenu
Expand All @@ -32,6 +35,7 @@ const TableGroupMenu = (props) => {
onChange={onCheckboxChange}
isChecked={isChecked}
isIndeterminate={isIndeterminate}
title={t("Translations:MainHeaderSelectAll")}
/>
<ComboBox
comboIcon="/static/images/triangle.navigation.down.react.svg"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"MobileLinux": "Download ONLYOFFICE Desktop Editors für Linux",
"MobileAndroid": "Laden Sie ONLYOFFICE Documents im Google Play Store herunter",
"MobileIos": "Download ONLYOFFICE Desktop Editors im App Store",
"MainHeaderSelectAll": "Alle wählen",
"OwnerChange": "Besitzer ändern",
"Presentations": "Präsentationen",
"Restore": "Wiederherstellen",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"MobileLinux": "Download ONLYOFFICE Desktop Editors for Linux",
"MobileAndroid": "Get ONLYOFFICE Documents on Google Play",
"MobileIos": "Download ONLYOFFICE Documents on the App Store",
"MainHeaderSelectAll": "Select all",
"OwnerChange": "Change owner",
"Presentations": "Presentations",
"Restore": "Restore",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"MobileLinux": "Télécharger les applications de bureau ONLYOFFICE pour Linux",
"MobileAndroid": "Télécharger ONLYOFFICE Documents sur Google Play",
"MobileIos": "Télécharger ONLYOFFICE Documents sur App Store",
"MainHeaderSelectAll": "Sélectionner tout",
"OwnerChange": "Changer le propriétaire",
"Presentations": "Présentations",
"Restore": "Restaurer",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
"MobileMac": "Scarica ONLYOFFICE Desktop Editors per Mac OS",
"MobileLinux": "Scarica ONLYOFFICE Desktop Editors per Linux",
"MobileAndroid": "Ottieni ONLYOFFICE Documents da Google Play",
"MobileIos": "Scarica ONLYOFFICE Documents dall'App Store"
"MobileIos": "Scarica ONLYOFFICE Documents dall'App Store",
"MainHeaderSelectAll": "Seleziona tutto"
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"MobileLinux": "Baixar ONLYOFFICE Desktop Editors para Linux",
"MobileAndroid": "Obter ONLYOFFICE Documents no Google Play",
"MobileIos": "Baixar ONLYOFFICE Documents na App Store",
"MainHeaderSelectAll": "Selecionar todos",
"OwnerChange": "Alterar proprietário",
"Presentations": "Apresentações ",
"Restore": "Restaurar",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"LinkCopySuccess": "Link-ul a fost copiat în clipboard",
"Move": "Mută",
"MoveToOperation": "Mutare",
"MainHeaderSelectAll": "Selectează tot",
"OwnerChange": "Schimbare proprietar",
"Presentations": "Prezentări",
"Restore": "Restabilire",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"MobileLinux": "Скачать десктопные редакторы ONLYOFFICE для Linux",
"MobileAndroid": "Скачать ONLYOFFICE Документы в Google Play",
"MobileIos": "Скачать ONLYOFFICE Документы в App Store",
"MainHeaderSelectAll": "Выделить всё",
"OwnerChange": "Сменить владельца",
"Presentations": "Презентации",
"Restore": "Восстановить",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
"TypeTitleSharePoint": "SharePoint",
"TypeTitleSkyDrive": "OneDrive",
"TypeTitleWebDav": "WebDAV",
"TypeTitleYandex": "Yandex.Disk"
"TypeTitleYandex": "Yandex.Disk",
"MainHeaderSelectAll": "Vybrať všetko"
}

0 comments on commit c9b58ca

Please sign in to comment.