feat(ui): a question mark that keeps a section's explanation one tap away

HelpButton, beside a section's or a setting's title: the explanation opens
in a small dialog, under its title where given, rather than standing in the
everyday view (the developer's review of 3 Nov 2026). FieldInfoButton's
tooltip stays for a field's short hint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-11-03 21:27:16 +01:00
commit 55fc245859
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64
5 changed files with 85 additions and 3 deletions

View file

@ -1,6 +1,5 @@
{
"@@locale": "de",
"brand": "Halkyon",
"close": "Schließen",
"cancel": "Abbrechen",
@ -17,5 +16,6 @@
"copiedToClipboard": "In die Zwischenablage kopiert",
"copy": "Kopieren",
"paletteColorName": "{name, select, carrot{Karotte} cerise{Kirschrot} cobalt{Kobalt} copper{Kupfer} enzian{Enzian} fern{Farn} forest{Wald} ocean{Ozean} olive{Olive} pacific{Pazifik} pickle{Essiggurke} pine{Kiefer} pink{Rosa} plum{Pflaume} purple{Lila} reef{Riff} sahara{Sahara} slateblue{Schieferblau} soil{Erde} strawberry{Erdbeere} other{{name}}}",
"colorPickerLabel": "Farbe: {color}"
"colorPickerLabel": "Farbe: {color}",
"explain": "Was ist das?"
}

View file

@ -1,6 +1,5 @@
{
"@@locale": "en",
"brand": "Halkyon",
"@brand": {
"description": "The brand's word, above an app's own in its wordmark (\"Halkyon\" over \"Learn\")."
@ -38,5 +37,9 @@
"type": "String"
}
}
},
"explain": "What's this?",
"@explain": {
"description": "Tooltip of the question mark that opens a text explaining a section or setting (HelpButton)."
}
}

View file

@ -204,6 +204,12 @@ abstract class HalkyonUiLocalizations {
/// In en, this message translates to:
/// **'Colour: {color}'**
String colorPickerLabel(String color);
/// Tooltip of the question mark that opens a text explaining a section or setting (HelpButton).
///
/// In en, this message translates to:
/// **'What\'s this?'**
String get explain;
}
class _HalkyonUiLocalizationsDelegate

View file

@ -90,4 +90,7 @@ class HalkyonUiLocalizationsDe extends HalkyonUiLocalizations {
String colorPickerLabel(String color) {
return 'Farbe: $color';
}
@override
String get explain => 'Was ist das?';
}

View file

@ -90,6 +90,9 @@ class HalkyonUiLocalizationsEn extends HalkyonUiLocalizations {
String colorPickerLabel(String color) {
return 'Colour: $color';
}
@override
String get explain => 'What\'s this?';
}
/// The translations for English, as used in the United Kingdom (`en_GB`).