halkyon/packages/halkyon_ui/lib/l10n/halkyon_ui_localizations_en.dart
Tizian 「ティツィアーン」 55fc245859
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>
2026-11-04 09:32:01 +01:00

111 lines
2.4 KiB
Dart

// ignore: unused_import
import 'package:intl/intl.dart' as intl;
import 'halkyon_ui_localizations.dart';
// ignore_for_file: type=lint
/// The translations for English (`en`).
class HalkyonUiLocalizationsEn extends HalkyonUiLocalizations {
HalkyonUiLocalizationsEn([String locale = 'en']) : super(locale);
@override
String get brand => 'Halkyon';
@override
String get close => 'Close';
@override
String get cancel => 'Cancel';
@override
String get undo => 'Undo';
@override
String get dragToReorder => 'Drag to reorder';
@override
String get reorder => 'Reorder';
@override
String get reorderDone => 'Done';
@override
String get requiredField => 'Required';
@override
String get decrease => 'Decrease';
@override
String get increase => 'Increase';
@override
String get typeANumber => 'Type a number';
@override
String get gone =>
'This no longer exists. It may have been deleted on another device.';
@override
String get moreInfo => 'More info';
@override
String get copiedToClipboard => 'Copied to clipboard';
@override
String get copy => 'Copy';
@override
String paletteColorName(String name) {
String _temp0 = intl.Intl.selectLogic(
name,
{
'carrot': 'Carrot',
'cerise': 'Cerise',
'cobalt': 'Cobalt',
'copper': 'Copper',
'enzian': 'Enzian',
'fern': 'Fern',
'forest': 'Forest',
'ocean': 'Ocean',
'olive': 'Olive',
'pacific': 'Pacific',
'pickle': 'Pickle',
'pine': 'Pine',
'pink': 'Pink',
'plum': 'Plum',
'purple': 'Purple',
'reef': 'Reef',
'sahara': 'Sahara',
'slateblue': 'Slate blue',
'soil': 'Soil',
'strawberry': 'Strawberry',
'other': '$name',
},
);
return '$_temp0';
}
@override
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`).
class HalkyonUiLocalizationsEnGb extends HalkyonUiLocalizationsEn {
HalkyonUiLocalizationsEnGb() : super('en_GB');
}
/// The translations for English, as used in the United States (`en_US`).
class HalkyonUiLocalizationsEnUs extends HalkyonUiLocalizationsEn {
HalkyonUiLocalizationsEnUs() : super('en_US');
@override
String colorPickerLabel(String color) {
return 'Color: $color';
}
}