This commit is contained in:
Thibault Deckers 2023-04-27 20:30:30 +02:00
parent 6127ae5152
commit 14bd70a46d
16 changed files with 594 additions and 560 deletions

View file

@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
### Added
- Collection: support for Sony predictive capture as burst
- Hungarian translation (thanks György Viktor, byPety)
### Changed

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 499 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 342 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 336 KiB

View file

@ -42,6 +42,8 @@ class Contributors {
Contributor('Evgeniy Khramov', 'thejenjagamertjg@gmail.com'),
Contributor('syu_pf_ssy', 'syu.pf.ssy@outlook.com'),
Contributor('Dick Pluim', 'github@dickpluim.com'),
Contributor('György Viktor', 'wickdj@gmail.com'),
Contributor('byPety', 'peter@csordascsalad.hu'),
// Contributor('SAMIRAH AIL', 'samiratalzahrani@gmail.com'), // Arabic
// Contributor('Salih Ail', 'rrrfff444@gmail.com'), // Arabic
// Contributor('امیر جهانگرد', 'ijahangard.a@gmail.com'), // Persian
@ -52,7 +54,7 @@ class Contributors {
// Contributor('Martin Frandel', 'martinko.fr@gmail.com'), // Slovak
// Contributor('GoRaN', 'gorangharib.909@gmail.com'), // Kurdish (Central)
// Contributor('Rohit Burman', 'rohitburman31p@rediffmail.com'), // Hindi
// Contributor('György Viktor', 'wickdj@gmail.com'), // Hungarian
// Contributor('Subham Jena', 'subhamjena8465@gmail.com'), // Odia
};
}

View file

@ -57,7 +57,7 @@ class AvesApp extends StatefulWidget {
// temporary exclude locales not ready yet for prime time
// `ckb`: add `flutter_ckb_localization` and necessary app localization delegates when ready
static final _unsupportedLocales = {'ar', 'ckb', 'fa', 'gl', 'he', 'hi', 'nn', 'sk', 'th'}.map(Locale.new).toSet();
static final _unsupportedLocales = {'ar', 'ckb', 'fa', 'gl', 'he', 'hi', 'nn', 'or', 'sk', 'th'}.map(Locale.new).toSet();
static final List<Locale> supportedLocales = AppLocalizations.supportedLocales.where((v) => !_unsupportedLocales.contains(v)).toList();
static final ValueNotifier<EdgeInsets> cutoutInsetsNotifier = ValueNotifier(EdgeInsets.zero);

View file

@ -1,6 +1,7 @@
enum AppDebugAction {
prepScreenshotThumbnails,
prepScreenshotStats,
prepScreenshotCountries,
mediaStoreScanDir,
greenScreen,
}

View file

@ -1,6 +1,7 @@
import 'dart:async';
import 'package:aves/model/favourites.dart';
import 'package:aves/model/filters/location.dart';
import 'package:aves/model/filters/path.dart';
import 'package:aves/model/filters/tag.dart';
import 'package:aves/model/settings/settings.dart';
@ -188,6 +189,11 @@ class _AppDebugPageState extends State<AppDebugPage> {
PathFilter('/storage/emulated/0/Pictures/Dev'),
}, false);
break;
case AppDebugAction.prepScreenshotCountries:
settings.changeFilterVisibility({
LocationFilter(LocationLevel.country, 'Belgium;BE'),
}, false);
break;
case AppDebugAction.mediaStoreScanDir:
// scan files copied from test assets
// we do it via the app instead of broadcasting via ADB

View file

@ -10,6 +10,7 @@ class SupportedLocales {
'es': 'Español (México)',
'eu': 'Euskara',
'fr': 'Français',
'hu': 'Magyar',
'id': 'Bahasa Indonesia',
'it': 'Italiano',
'ja': '日本語',

View file

@ -55,6 +55,7 @@ void main() {
viewer();
info();
stats();
configureCollectionVisibility(AppDebugAction.prepScreenshotCountries);
countries();
map();
});
@ -218,7 +219,7 @@ void map() {
await driver.tapKeyAndWait('drawer-type-null');
await _search('animals', 'tag-false-animals');
await _search('Singapore', 'location-false-LocationLevel.country-Singapore');
await _search('Singapore', 'location-false-LocationLevel.country-SG-Singapore');
await driver.tapKeyAndWait('appbar-menu-button');
await driver.tapKeyAndWait('menu-map');

File diff suppressed because it is too large Load diff