Skip to content

Commit

Permalink
Make button label shorter
Browse files Browse the repository at this point in the history
  • Loading branch information
hoiast committed May 12, 2023
1 parent 8ad218f commit 76dc7af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,7 @@ watch(selectedLocale, () => {
}"
/>
<Button
:label="
isMeasuringBrightness
? $t('Close Brightness Detector')
: $t('Open Brightness Detector')
"
:label="$t('Brightness Detector')"
:icon="isMeasuringBrightness ? 'pi pi-times' : 'pi pi-external-link'"
:class="isMeasuringBrightness ? 'p-button-danger' : ''"
@click="$emit('update:isMeasuringBrightness', !isMeasuringBrightness)"
Expand Down
4 changes: 1 addition & 3 deletions src/i18n/pt-BR.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"Pause / Play": "Parar / Iniciar.",
"Close Brightness Detector": "Fechar Detector de Brilho",
"Open Brightness Detector": "Abrir Detector de Brilho",
"Start brightness measurements": "Iniciar medidas de brilho.",
"Enable interface hints": "Ativar dicas da interface",
"Disable interface hints": "Desativar dicas da interface",
Expand Down Expand Up @@ -102,4 +100,4 @@
"Time (earth days)": "Tempo (dias terrestres)",
"Brightness": "Brilho",
"Light Curve": "Curva de Brilho"
}
}

0 comments on commit 76dc7af

Please sign in to comment.