mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 18:30:42 +00:00
Add text to buttons
This commit is contained in:
parent
e6d00f4561
commit
a7a587a769
@ -155,6 +155,7 @@ public class InputBar extends HorizontalLayout implements LocaleChangeObserver {
|
|||||||
termInputField.setLabel(getTranslation("root.termLabel"));
|
termInputField.setLabel(getTranslation("root.termLabel"));
|
||||||
exampleButton.setText(getTranslation("root.exampleButton"));
|
exampleButton.setText(getTranslation("root.exampleButton"));
|
||||||
inferTypeButton.setText(getTranslation("root.typeInfer"));
|
inferTypeButton.setText(getTranslation("root.typeInfer"));
|
||||||
|
infoIcon.setText(getTranslation("root.inputSyntaxShort"));
|
||||||
infoIcon.getElement().setAttribute("title", getTranslation("root.inputSyntax"));
|
infoIcon.getElement().setAttribute("title", getTranslation("root.inputSyntax"));
|
||||||
exampleButton.getElement().setAttribute("title", getTranslation("root.exampleTooltip"));
|
exampleButton.getElement().setAttribute("title", getTranslation("root.exampleTooltip"));
|
||||||
assumptionInputField.setPlaceholder(getTranslation("root.typeInputFieldPlaceholder"));
|
assumptionInputField.setPlaceholder(getTranslation("root.typeInputFieldPlaceholder"));
|
||||||
|
@ -111,7 +111,7 @@ public class UpperBar extends VerticalLayout implements LocaleChangeObserver {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void localeChange(LocaleChangeEvent event) {
|
public void localeChange(LocaleChangeEvent event) {
|
||||||
helpButton.getElement().setAttribute("title", getTranslation("root.helpIconTooltip"));
|
helpButton.setText(getTranslation("root.helpIcon"));
|
||||||
languageSelect.setTextRenderer(renderer);
|
languageSelect.setTextRenderer(renderer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -8,6 +8,7 @@ root.termLabel=Term
|
|||||||
root.typeInfer=Typisieren
|
root.typeInfer=Typisieren
|
||||||
root.operatingHelp=Hilfe
|
root.operatingHelp=Hilfe
|
||||||
root.inputSyntax=Eingabe-Syntax
|
root.inputSyntax=Eingabe-Syntax
|
||||||
|
root.inputSyntaxShort=Syntax
|
||||||
root.inferenceRules=Ableitungsregeln
|
root.inferenceRules=Ableitungsregeln
|
||||||
root.absRule=Abs-Regel
|
root.absRule=Abs-Regel
|
||||||
root.appRule=App-Regel
|
root.appRule=App-Regel
|
||||||
@ -161,7 +162,7 @@ verwendeten Pakete aufgelistet.
|
|||||||
root.correctAssumptions=Korrigiere oder lösche die ungültigen Typannahmen (rot hinterlegt) \
|
root.correctAssumptions=Korrigiere oder lösche die ungültigen Typannahmen (rot hinterlegt) \
|
||||||
vor dem Schließen des Dialogs.
|
vor dem Schließen des Dialogs.
|
||||||
root.copyLatexTooltip=Kopiere LaTeX-code
|
root.copyLatexTooltip=Kopiere LaTeX-code
|
||||||
root.helpIconTooltip=Hilfe und Sprachwechsel
|
root.helpIcon=Hilfe
|
||||||
root.exampleTooltip=Beispielterme
|
root.exampleTooltip=Beispielterme
|
||||||
root.shareButtonTooltip=LaTeX-Code und Permalink
|
root.shareButtonTooltip=LaTeX-Code und Permalink
|
||||||
root.lastStepTooltip=Letzter Schritt
|
root.lastStepTooltip=Letzter Schritt
|
||||||
|
@ -8,6 +8,7 @@ root.termLabel=Term
|
|||||||
root.typeInfer=Type
|
root.typeInfer=Type
|
||||||
root.operatingHelp=Help
|
root.operatingHelp=Help
|
||||||
root.inputSyntax=Input Syntax
|
root.inputSyntax=Input Syntax
|
||||||
|
root.inputSyntaxShort=Syntax
|
||||||
root.inferenceRules=Inference Rules
|
root.inferenceRules=Inference Rules
|
||||||
root.absRule=Abs rule
|
root.absRule=Abs rule
|
||||||
root.appRule=App rule
|
root.appRule=App rule
|
||||||
@ -150,7 +151,7 @@ root.text8=The dialog contains a permalink to the current page, the LaTeX-code o
|
|||||||
to compile the code.
|
to compile the code.
|
||||||
root.correctAssumptions=Correct or delete the invalid type assumptions (red background) before closing the dialog.
|
root.correctAssumptions=Correct or delete the invalid type assumptions (red background) before closing the dialog.
|
||||||
root.copyLatexTooltip=Copy LaTeX code
|
root.copyLatexTooltip=Copy LaTeX code
|
||||||
root.helpIconTooltip=Help and language switch
|
root.helpIcon=Help
|
||||||
root.exampleTooltip=Example terms
|
root.exampleTooltip=Example terms
|
||||||
root.shareButtonTooltip=LaTeX code and permalink
|
root.shareButtonTooltip=LaTeX code and permalink
|
||||||
root.lastStepTooltip=Last step
|
root.lastStepTooltip=Last step
|
||||||
|
Loading…
Reference in New Issue
Block a user