halkyon_app: data locations as precise as a country or a state
An operator's DATA_LOCATION and BACKUP_LOCATION may name a subdivision
(ISO 3166-2, US-CA, DE-BY) besides the EU or a country. The app adds
"(EU)" to a member country and the country to a subdivision ("Germany
(EU)", "California, United States", "Bavaria, Germany (EU)"), in
English and German, and shows the most specific flag there is: a
subdivision's own where the flag package has one, else its country's.
Subdivision names come from Unicode CLDR 48.2 (tool/subdivision_names.py),
bundled with their licence, which the app registers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
parent
e23cc77f7c
commit
96f2d14618
1 changed files with 616 additions and 49 deletions
|
|
@ -43,7 +43,9 @@ export 'src/auth/widget/email_sign_in_sheet.dart';
|
|||
export 'src/auth/widget/session_gate.dart';
|
||||
export 'src/auth/widget/start_screen.dart';
|
||||
export 'src/base/base_client.dart';
|
||||
export 'src/instance/cldr_license.dart';
|
||||
export 'src/instance/country_names.dart';
|
||||
export 'src/instance/european_union.dart';
|
||||
export 'src/instance/flag_icons_license.dart';
|
||||
export 'src/instance/instance.dart';
|
||||
export 'src/instance/instance_checker.dart';
|
||||
|
|
@ -52,6 +54,7 @@ export 'src/instance/instance_locations.dart';
|
|||
export 'src/instance/instance_scope.dart';
|
||||
export 'src/instance/instance_storage.dart';
|
||||
export 'src/instance/instance_store.dart';
|
||||
export 'src/instance/subdivision_names.dart';
|
||||
export 'src/instance/widget/account_switcher_sheet.dart';
|
||||
export 'src/instance/widget/first_start_screen.dart';
|
||||
export 'src/instance/widget/instance_location.dart';
|
||||
|
|
|
|||
Reference in a new issue