From 8d8f92e4792f045f587709bd5a40be443b866bbb Mon Sep 17 00:00:00 2001 From: Hugo Pointcheval Date: Wed, 1 Mar 2023 17:28:07 +0100 Subject: [PATCH] ci(i18n): fix ci --- packages/wyatt_i18n/test/wyatt_i18n_test.dart | 21 ------------------- 1 file changed, 21 deletions(-) delete mode 100644 packages/wyatt_i18n/test/wyatt_i18n_test.dart diff --git a/packages/wyatt_i18n/test/wyatt_i18n_test.dart b/packages/wyatt_i18n/test/wyatt_i18n_test.dart deleted file mode 100644 index 7fc032cc..00000000 --- a/packages/wyatt_i18n/test/wyatt_i18n_test.dart +++ /dev/null @@ -1,21 +0,0 @@ -/// The i18n works as follows: -/// 1. The i18n file is loaded from a source. -/// - The i18n file is loaded from the assets folder. -/// - The i18n file can be in json, yaml or ARB format. -/// - The i18n file must contain a `@@locale` key with the locale code. -/// - The i18n file must be named `i18n..`. -/// - The i18n file is loaded from a network source. -/// - The i18n file can be in json, yaml or ARB format. -/// - The i18n file must contain a `@@locale` key with the locale code. -/// - The assets folder must contain a `i18n..` or -/// `i18n.` files used as a fallback. -/// 2. The i18n file is parsed and the locale is extracted. -/// 3. The i18n file is added to the i18n map. -/// 4. The i18n map is provided to the app. -/// -/// The i18n map can be reloaded by calling the `reload` method. -/// This will reload the i18n file from the source and update the i18n map. -/// And update any widgets that are listening to the i18n map. -/// -/// A top level BLoC is used to provide the i18n map to the app. -void main() {}