Skip to content

Commit

Permalink
Text and correction changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonor2004 committed Nov 27, 2024
1 parent ed637da commit 48e1933
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
4 changes: 2 additions & 2 deletions popup/components/controls/SwitchControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ function SwitchControl({
<div className="flex items-center justify-between w-full">
<label htmlFor={storageKey} className="text-[15px] font-bold">
{label}
</label>
{tooltipContent && (
{tooltipContent && (
<span className="question-icon">

Check failure on line 38 in popup/components/controls/SwitchControl.js

View workflow job for this annotation

GitHub Actions / Lint Javascript code

Insert `····`
<RiQuestionLine data-tooltip-id={tooltipId} />

Check failure on line 39 in popup/components/controls/SwitchControl.js

View workflow job for this annotation

GitHub Actions / Lint Javascript code

Insert `····`
<Tooltip

Check failure on line 40 in popup/components/controls/SwitchControl.js

View workflow job for this annotation

GitHub Actions / Lint Javascript code

Replace `····················` with `························`
Expand All @@ -46,6 +45,7 @@ function SwitchControl({
/>

Check failure on line 45 in popup/components/controls/SwitchControl.js

View workflow job for this annotation

GitHub Actions / Lint Javascript code

Replace `····················` with `························`
</span>

Check failure on line 46 in popup/components/controls/SwitchControl.js

View workflow job for this annotation

GitHub Actions / Lint Javascript code

Insert `····`
)}

Check failure on line 47 in popup/components/controls/SwitchControl.js

View workflow job for this annotation

GitHub Actions / Lint Javascript code

Insert `····`
</label>
<StyledSwitch
onCheckedChange={async (checked) => {
setLocalState(checked);
Expand Down
7 changes: 4 additions & 3 deletions popup/components/sections/Features.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ const Layout = () => (
storageKey="autoLogin"
tooltipContent={
<>
Depois de ativada a opção, <br />
o login deve ser feito pelas credenciais <br />
não pela autenticação federada.
Relogin automático quando a sessão for perdida. <br />
Depois de ativada a opção, é necessário repetir o login. <br />
Atenção, esta opção apenas funciona com login por <br />
credenciais e não como autenticação federada.
</>
}
tooltipId="autoLogin-tooltip"
Expand Down
16 changes: 12 additions & 4 deletions popup/components/sections/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,30 @@ const Layout = () => (
storageKey="navbar"
tooltipContent={
<>
Muda as opções da barra <br />
lateral para a parte superior.
Ativar navegação superior e esconder<br />
barra de navegação da esquerda.
</>
}
tooltipId="navbar-tooltip"
/>
<SwitchControl
label="Esconder atalhos"
storageKey="shortcuts"
tooltipContent={"Esconde a opção dos atalhos."}
tooltipContent={
<>
Esconder a opção dos atalhos <br />da barra lateral direita.
</>
}
tooltipId="shortcuts-tooltip"
/>
<SwitchControl
label="Mudar fonte de letra"
storageKey="font"
tooltipContent={"Muda a fonte do texto para Roboto."}
tooltipContent={
<>
Alterar a fonte do <br />texto para Roboto.
</>
}
tooltipId="font-tooltip"
/>
</Section>
Expand Down

0 comments on commit 48e1933

Please sign in to comment.