Skip to content

Commit

Permalink
Merge branch 'ukrainian'
Browse files Browse the repository at this point in the history
  • Loading branch information
mwageringel committed Aug 18, 2022
2 parents f26212a + 813abdf commit 66c0efd
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 11 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
20 changes: 20 additions & 0 deletions lib/l10n/app_uk.arb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"settings": "Налаштування",
"theme": "Тема",
"themeSystem": "Системні налаштування",
"themeLight": "Світла",
"themeDark": "Темна",
"darkThemeBlackBackground": "Чорний фон у темній темі",
"darkThemeBlackBackgroundSubtitle": "В основному призначено для ерканів OLED",
"restart": "Перезапустити",
"restartSubtitle": "Довге натискання, щоб скинути поступ",
"version": "Версія",
"moreInfo": "Більше інформації на ",
"levelTitle": "Рівень",
"endMessage": "Вітаємо!",
"extendedMessage": "0JLQuNC00LDRgtC90LUg0LTQvtGB0Y/Qs9C90LXQvdC90Y8hINCS0Lgg0LTQvtGB0LvRltC00LjQu9C4INCw0YDQuNGE0LzQtdGC0LjQutGDINGB0LrRltC90YfQtdC90L3QuNGFINC/0L7Qu9GW0LIg0ZbQtyAxMSDRliAxMjEg0LXQu9C10LzQtdC90YLQsNC80LguICjQktC4INC30LDQvNGW0YLQuNC70Lgg0YHRhdC+0LbRltGB0YLRjCDRltC3INC60L7QvNC/0LvQtdC60YHQvdC40LzQuCDRh9C40YHQu9Cw0LzQuD8p",
"exitDialogTitle": "Зберігання недоступне.",
"exitDialogContent": "Увесь поступ буде втрачено під час виходу. Продовжити?",
"dialogCancel": "Скасувати",
"dialogOk": "Гаразд"
}
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
3 changes: 3 additions & 0 deletions metadata/uk/full_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Виявляйте правила вирішуючи маленькі головоломки. Ви дізнаєтеся про нові математичні ідеї.

Ніяких математичних знань не вимагається, лише основна арифметика.
1 change: 1 addition & 0 deletions metadata/uk/short_description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Математична гра-головоломка

0 comments on commit 66c0efd

Please sign in to comment.