Skip to content

Commit

Permalink
enable ukrainian
Browse files Browse the repository at this point in the history
  • Loading branch information
mwageringel committed Aug 18, 2022
1 parent bd6753c commit 813abdf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Changelog

## [Unreleased]
### Added
- Ukrainian translation (by @andmizyk)

## [1.1.3] - 2022-08-15
### Added
Expand Down
2 changes: 1 addition & 1 deletion lib/l10n/app_uk.arb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"moreInfo": "Більше інформації на ",
"levelTitle": "Рівень",
"endMessage": "Вітаємо!",
"extendedMessage": "T3V0c3RhbmRpbmcgYWNjb21wbGlzaG1lbnQhIFlvdSBoYXZlIGV4cGxvcmVkIHRoZSBhcml0aG1ldGljcyBvZiB0aGUgZmluaXRlIGZpZWxkcyB3aXRoIDExIGFuZCAxMjEgZWxlbWVudHMuIChEaWQgeW91IG5vdGljZSBhIHNpbWlsYXJpdHkgd2l0aCBjb21wbGV4IG51bWJlcnM/KQ==",
"extendedMessage": "0JLQuNC00LDRgtC90LUg0LTQvtGB0Y/Qs9C90LXQvdC90Y8hINCS0Lgg0LTQvtGB0LvRltC00LjQu9C4INCw0YDQuNGE0LzQtdGC0LjQutGDINGB0LrRltC90YfQtdC90L3QuNGFINC/0L7Qu9GW0LIg0ZbQtyAxMSDRliAxMjEg0LXQu9C10LzQtdC90YLQsNC80LguICjQktC4INC30LDQvNGW0YLQuNC70Lgg0YHRhdC+0LbRltGB0YLRjCDRltC3INC60L7QvNC/0LvQtdC60YHQvdC40LzQuCDRh9C40YHQu9Cw0LzQuD8p",
"exitDialogTitle": "Зберігання недоступне.",
"exitDialogContent": "Увесь поступ буде втрачено під час виходу. Продовжити?",
"dialogCancel": "Скасувати",
Expand Down
13 changes: 2 additions & 11 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import 'dart:math';
import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:provider/provider.dart';
import 'package:path/path.dart';
Expand Down Expand Up @@ -720,16 +719,8 @@ class MyApp extends StatelessWidget {
visualDensity: FlexColorScheme.comfortablePlatformDensity,
darkIsTrueBlack: world.pureBlack,
),
localizationsDelegates: const [
AppLocalizations.delegate,
GlobalMaterialLocalizations.delegate,
GlobalWidgetsLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
],
supportedLocales: const [
Locale('en', ''), // English, no country code
Locale('de', ''), // German, no country code
],
localizationsDelegates: AppLocalizations.localizationsDelegates,
supportedLocales: AppLocalizations.supportedLocales,
home: const ExamsScreen(),
),
);
Expand Down

0 comments on commit 813abdf

Please sign in to comment.