Skip to content

Commit db93296

Browse files
authored
Merge pull request #119 from Onix-Systems/fix/pubspec-and-localization
fix(Code): Remove unused dependencies and update .arb
2 parents 363e3dc + 0461905 commit db93296

File tree

6 files changed

+19
-38
lines changed

6 files changed

+19
-38
lines changed

bricks/flutter_clean_base/hooks/post_gen.dart

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -133,28 +133,19 @@ Future<void> getDependencies(HookContext context) async {
133133
List<String> dependencies = [
134134
'cupertino_icons',
135135
'dio',
136-
'pretty_dio_logger',
137-
'dio_cache_interceptor',
138-
'dio_cache_interceptor_hive_store',
139136
'hive_flutter',
140137
'freezed_annotation',
141138
'json_annotation',
142139
'get_it',
143140
'flutter_secure_storage:^9.0.0',
144141
'shared_preferences',
145-
'internet_connection_checker',
146-
'retry',
147-
'encrypt',
148142
'path_provider',
149143
'logger',
150144
'fluttertoast',
151145
'collection',
152146
'flutter_dotenv',
153147
'flutter_jailbreak_detection',
154148
'gap',
155-
// (Ivan Modlo): Connectivity Service has been blocked due to
156-
// unit tests that differ from the major version are lower than 6
157-
'connectivity_plus: ^6.0.3',
158149
'onix_flutter_core',
159150
];
160151

lib/app/localization/generated/intl/messages_en.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,6 @@ class MessageLookup extends MessageLookupByLibrary {
145145
MessageLookupByLibrary.simpleMessage("Import REST API requests"),
146146
"importStyles": MessageLookupByLibrary.simpleMessage("Import Styles"),
147147
"initial": MessageLookupByLibrary.simpleMessage("Initial screen?"),
148-
"integrateDevicePreview":
149-
MessageLookupByLibrary.simpleMessage("Integrate Device Preview?"),
150148
"integrateGraphQl":
151149
MessageLookupByLibrary.simpleMessage("Integrate GraphQL?"),
152150
"integrateSentry":
@@ -156,7 +154,7 @@ class MessageLookup extends MessageLookupByLibrary {
156154
"keystorePassword":
157155
MessageLookupByLibrary.simpleMessage(" Keystore password"),
158156
"list": MessageLookupByLibrary.simpleMessage("List"),
159-
"localization": MessageLookupByLibrary.simpleMessage("Localization:"),
157+
"localization": MessageLookupByLibrary.simpleMessage("Localization"),
160158
"localizationMethod":
161159
MessageLookupByLibrary.simpleMessage("Localization method"),
162160
"masonBrickSource":
@@ -212,7 +210,7 @@ class MessageLookup extends MessageLookupByLibrary {
212210
"request": MessageLookupByLibrary.simpleMessage("Request"),
213211
"response": MessageLookupByLibrary.simpleMessage("Response"),
214212
"retry": MessageLookupByLibrary.simpleMessage("Retry"),
215-
"router": MessageLookupByLibrary.simpleMessage("Router:"),
213+
"router": MessageLookupByLibrary.simpleMessage("Router"),
216214
"screenAlreadyExistsContent": MessageLookupByLibrary.simpleMessage(
217215
"Screen with such name already exists"),
218216
"screenAlreadyExistsTitle":

lib/app/localization/generated/intl/messages_uk.dart

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ class MessageLookup extends MessageLookupByLibrary {
114114
"figmaGetStylesError": MessageLookupByLibrary.simpleMessage(
115115
"Помилка завантаження стилів: перевірте інтернет з\'єднання, id figma файлу та токен"),
116116
"figmaToken": MessageLookupByLibrary.simpleMessage("Токен Figma"),
117+
"firebaseAuth": MessageLookupByLibrary.simpleMessage(
118+
"Інтегрувати Firebase з FirebaseAuth?"),
117119
"firstLastName":
118120
MessageLookupByLibrary.simpleMessage(" Ім\'я та прізвище"),
119121
"flavorize":
@@ -157,7 +159,7 @@ class MessageLookup extends MessageLookupByLibrary {
157159
"keystorePassword":
158160
MessageLookupByLibrary.simpleMessage(" Пароль до сховища ключів"),
159161
"list": MessageLookupByLibrary.simpleMessage("Список"),
160-
"localization": MessageLookupByLibrary.simpleMessage("Локалізація:"),
162+
"localization": MessageLookupByLibrary.simpleMessage("Локалізація"),
161163
"localizationMethod":
162164
MessageLookupByLibrary.simpleMessage("Метод локалізації"),
163165
"masonBrickSource":
@@ -214,7 +216,7 @@ class MessageLookup extends MessageLookupByLibrary {
214216
"request": MessageLookupByLibrary.simpleMessage("Запит"),
215217
"response": MessageLookupByLibrary.simpleMessage("Відповідь"),
216218
"retry": MessageLookupByLibrary.simpleMessage("Повторити"),
217-
"router": MessageLookupByLibrary.simpleMessage("Роутер:"),
219+
"router": MessageLookupByLibrary.simpleMessage("Роутер"),
218220
"screenAlreadyExistsContent": MessageLookupByLibrary.simpleMessage(
219221
"Екран з такою назвою вже існує"),
220222
"screenAlreadyExistsTitle":
@@ -259,7 +261,7 @@ class MessageLookup extends MessageLookupByLibrary {
259261
"Файл Свагера містить компоненти, що конфліктують з тими що є. Замінити зпарсеними компоненами або ігнорувати конфліктуючі дані?"),
260262
"swaggerURL": MessageLookupByLibrary.simpleMessage("Swagger URL"),
261263
"textStyles": MessageLookupByLibrary.simpleMessage("Стилі тексту"),
262-
"theming": MessageLookupByLibrary.simpleMessage("Theming"),
264+
"theming": MessageLookupByLibrary.simpleMessage("Темізація"),
263265
"title": MessageLookupByLibrary.simpleMessage(
264266
"Onix Flutter Project Generator"),
265267
"tools": MessageLookupByLibrary.simpleMessage("Інструменти"),

lib/app/localization/generated/l10n.dart

Lines changed: 4 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/app/localization/l10n/intl_en.arb

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@
4444
"usingBloc": "Using BLoC",
4545
"usingCubit": "Using Cubit",
4646
"actions": "Actions",
47-
"integrateDevicePreview": "Integrate Device Preview?",
4847
"theming": "Theming",
49-
"localization": "Localization:",
50-
"router": "Router:",
48+
"localization": "Localization",
49+
"router": "Router",
5150
"useSonar": "Will you use Sonar?",
5251
"firebaseAuth": "Integrate Firebase with FirebaseAuth?",
5352
"integrateGraphQl": "Integrate GraphQL?",
@@ -146,8 +145,8 @@
146145
"clear": "Clear",
147146
"parseErrorMessage": "Failed to Parse Swagger Components. Please try again or contact support if issue not resolved.",
148147
"noDataComponents": "No data components",
149-
"projectNameHelperText" : "Project name must be fully lowercase, with underscores to separate words. Also make sure that the name is a valid Dart identifier - it does not start with numbers, is not a reserved word, and does not start or end with an underscore.",
150-
"organizationNameHelperText" : "A digit cannot be the first character in a package segment. The package must have at least one '.’ separator. Multiple '.' characters are not allowed in a row.",
148+
"projectNameHelperText": "Project name must be fully lowercase, with underscores to separate words. Also make sure that the name is a valid Dart identifier - it does not start with numbers, is not a reserved word, and does not start or end with an underscore.",
149+
"organizationNameHelperText": "A digit cannot be the first character in a package segment. The package must have at least one '.’ separator. Multiple '.' characters are not allowed in a row.",
151150
"changeStateManagerError": "Change state manager warning",
152151
"changeStateManagerErrorContent": "Changing state manager will change ... to {variant}. Are you sure you want to continue?"
153152
}

lib/app/localization/l10n/intl_uk.arb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@
4444
"usingBloc": "Використати BLoC",
4545
"usingCubit": "Використати Cubit",
4646
"actions": "Дії",
47-
"theming": "Theming",
48-
"localization": "Локалізація:",
49-
"router": "Роутер:",
47+
"theming": "Темізація",
48+
"localization": "Локалізація",
49+
"router": "Роутер",
5050
"useSonar": "Підключити Sonar?",
51+
"firebaseAuth": "Інтегрувати Firebase з FirebaseAuth?",
5152
"integrateGraphQl": "Інтегрувати GraphQL?",
5253
"integrateSentry": "Інтегрувати Sentry?",
5354
"useScreenUtil": "Використовувати Screen Util?",

0 commit comments

Comments
 (0)