l10n: localized screenshot generation & post-processing
updated screenshots for izzy
|
@ -33,7 +33,7 @@ Aves integrates with Android (from **API 19 to 31**, i.e. from KitKat to S) with
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
<img src="https://raw.githubusercontent.com/deckerst/aves_extra/main/screenshots/S10/1-S10-collection.png" alt='Collection screenshot' height="400" /><img src="https://raw.githubusercontent.com/deckerst/aves_extra/main/screenshots/S10/2-S10-viewer.png" alt='Image screenshot' height="400" /><img src="https://raw.githubusercontent.com/deckerst/aves_extra/main/screenshots/S10/5-S10-stats.png" alt='Stats screenshot' height="400" /><img src="https://raw.githubusercontent.com/deckerst/aves_extra/main/screenshots/S10/3-S10-info__basic_.png" alt='Info (basic) screenshot' height="400" /><img src="https://raw.githubusercontent.com/deckerst/aves_extra/main/screenshots/S10/4-S10-info__metadata_.png" alt='Info (metadata) screenshot' height="400" /><img src="https://raw.githubusercontent.com/deckerst/aves_extra/main/screenshots/S10/6-S10-countries.png" alt='Countries screenshot' height="400" />
|
<img src="https://raw.githubusercontent.com/deckerst/aves_extra/main/screenshots/play/en/1.png" alt='Collection screenshot' height="400" /><img src="https://raw.githubusercontent.com/deckerst/aves_extra/main/screenshots/play/en/2.png" alt='Image screenshot' height="400" /><img src="https://raw.githubusercontent.com/deckerst/aves_extra/main/screenshots/play/en/5.png" alt='Stats screenshot' height="400" /><img src="https://raw.githubusercontent.com/deckerst/aves_extra/main/screenshots/play/en/3.png" alt='Info (basic) screenshot' height="400" /><img src="https://raw.githubusercontent.com/deckerst/aves_extra/main/screenshots/play/en/4.png" alt='Info (metadata) screenshot' height="400" /><img src="https://raw.githubusercontent.com/deckerst/aves_extra/main/screenshots/play/en/6.png" alt='Countries screenshot' height="400" />
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
|
BIN
fastlane/metadata/android/de/images/phoneScreenshots/1.png
Normal file
After Width: | Height: | Size: 275 KiB |
BIN
fastlane/metadata/android/de/images/phoneScreenshots/2.png
Normal file
After Width: | Height: | Size: 500 KiB |
BIN
fastlane/metadata/android/de/images/phoneScreenshots/3.png
Normal file
After Width: | Height: | Size: 208 KiB |
BIN
fastlane/metadata/android/de/images/phoneScreenshots/4.png
Normal file
After Width: | Height: | Size: 88 KiB |
BIN
fastlane/metadata/android/de/images/phoneScreenshots/5.png
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
fastlane/metadata/android/de/images/phoneScreenshots/6.png
Normal file
After Width: | Height: | Size: 366 KiB |
Before Width: | Height: | Size: 241 KiB After Width: | Height: | Size: 275 KiB |
Before Width: | Height: | Size: 470 KiB After Width: | Height: | Size: 500 KiB |
Before Width: | Height: | Size: 165 KiB After Width: | Height: | Size: 207 KiB |
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 87 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 327 KiB After Width: | Height: | Size: 367 KiB |
BIN
fastlane/metadata/android/es-MX/images/phoneScreenshots/1.png
Normal file
After Width: | Height: | Size: 277 KiB |
BIN
fastlane/metadata/android/es-MX/images/phoneScreenshots/2.png
Normal file
After Width: | Height: | Size: 500 KiB |
BIN
fastlane/metadata/android/es-MX/images/phoneScreenshots/3.png
Normal file
After Width: | Height: | Size: 212 KiB |
BIN
fastlane/metadata/android/es-MX/images/phoneScreenshots/4.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
fastlane/metadata/android/es-MX/images/phoneScreenshots/5.png
Normal file
After Width: | Height: | Size: 81 KiB |
BIN
fastlane/metadata/android/es-MX/images/phoneScreenshots/6.png
Normal file
After Width: | Height: | Size: 366 KiB |
BIN
fastlane/metadata/android/fr/images/phoneScreenshots/1.png
Normal file
After Width: | Height: | Size: 275 KiB |
BIN
fastlane/metadata/android/fr/images/phoneScreenshots/2.png
Normal file
After Width: | Height: | Size: 500 KiB |
BIN
fastlane/metadata/android/fr/images/phoneScreenshots/3.png
Normal file
After Width: | Height: | Size: 210 KiB |
BIN
fastlane/metadata/android/fr/images/phoneScreenshots/4.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
fastlane/metadata/android/fr/images/phoneScreenshots/5.png
Normal file
After Width: | Height: | Size: 80 KiB |
BIN
fastlane/metadata/android/fr/images/phoneScreenshots/6.png
Normal file
After Width: | Height: | Size: 366 KiB |
BIN
fastlane/metadata/android/ko/images/phoneScreenshots/1.png
Normal file
After Width: | Height: | Size: 274 KiB |
BIN
fastlane/metadata/android/ko/images/phoneScreenshots/2.png
Normal file
After Width: | Height: | Size: 501 KiB |
BIN
fastlane/metadata/android/ko/images/phoneScreenshots/3.png
Normal file
After Width: | Height: | Size: 208 KiB |
BIN
fastlane/metadata/android/ko/images/phoneScreenshots/4.png
Normal file
After Width: | Height: | Size: 83 KiB |
BIN
fastlane/metadata/android/ko/images/phoneScreenshots/5.png
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
fastlane/metadata/android/ko/images/phoneScreenshots/6.png
Normal file
After Width: | Height: | Size: 365 KiB |
BIN
fastlane/metadata/android/ru/images/phoneScreenshots/1.png
Normal file
After Width: | Height: | Size: 276 KiB |
BIN
fastlane/metadata/android/ru/images/phoneScreenshots/2.png
Normal file
After Width: | Height: | Size: 500 KiB |
BIN
fastlane/metadata/android/ru/images/phoneScreenshots/3.png
Normal file
After Width: | Height: | Size: 215 KiB |
BIN
fastlane/metadata/android/ru/images/phoneScreenshots/4.png
Normal file
After Width: | Height: | Size: 88 KiB |
BIN
fastlane/metadata/android/ru/images/phoneScreenshots/5.png
Normal file
After Width: | Height: | Size: 81 KiB |
BIN
fastlane/metadata/android/ru/images/phoneScreenshots/6.png
Normal file
After Width: | Height: | Size: 366 KiB |
|
@ -28,10 +28,10 @@ for source in raw/*/*; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# izzy: scale down
|
# izzy: scale down + fastlane folder structure
|
||||||
for source in overlay/*/*; do
|
for source in overlay/*/*; do
|
||||||
if [[ -f "$source" ]]; then
|
if [[ -f "$source" ]]; then
|
||||||
target=${source/overlay/izzy}
|
target=$(echo "$source" | sed -e 's/overlay\/\(.*\)\//izzy\/\1\/images\/phoneScreenshots\//g')
|
||||||
echo "$source -> $target"
|
echo "$source -> $target"
|
||||||
mkdir -p "$(dirname "$target")"
|
mkdir -p "$(dirname "$target")"
|
||||||
convert -resize 350x "$source" "$target"
|
convert -resize 350x "$source" "$target"
|
||||||
|
|
|
@ -14,11 +14,14 @@ import 'utils/driver_extension.dart';
|
||||||
late FlutterDriver driver;
|
late FlutterDriver driver;
|
||||||
String _languageCode = '';
|
String _languageCode = '';
|
||||||
|
|
||||||
|
final languageCodes = SupportedLocales.languagesByLanguageCode.keys;
|
||||||
const outputDirectory = 'screenshots/raw';
|
const outputDirectory = 'screenshots/raw';
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
group('[Aves app]', () {
|
group('[Aves app]', () {
|
||||||
setUpAll(() async {
|
setUpAll(() async {
|
||||||
|
await Future.forEach(languageCodes, (languageCode) => Directory('$outputDirectory/$languageCode').create(recursive: true));
|
||||||
|
|
||||||
await copyContent(screenshotsSourceDir, screenshotsTargetDirAdb);
|
await copyContent(screenshotsSourceDir, screenshotsTargetDirAdb);
|
||||||
await Future.forEach<String>(
|
await Future.forEach<String>(
|
||||||
[
|
[
|
||||||
|
@ -38,8 +41,8 @@ void main() {
|
||||||
});
|
});
|
||||||
|
|
||||||
test('scan media dir', () => driver.scanMediaDir(screenshotsTargetDirAndroid));
|
test('scan media dir', () => driver.scanMediaDir(screenshotsTargetDirAndroid));
|
||||||
SupportedLocales.languagesByLanguageCode.keys.forEach((languageCode) async {
|
|
||||||
await Directory('$outputDirectory/$_languageCode').create(recursive: true);
|
languageCodes.forEach((languageCode) {
|
||||||
setLanguage(languageCode);
|
setLanguage(languageCode);
|
||||||
configureCollectionVisibility(AppDebugAction.prepScreenshotThumbnails);
|
configureCollectionVisibility(AppDebugAction.prepScreenshotThumbnails);
|
||||||
collection();
|
collection();
|
||||||
|
@ -141,7 +144,7 @@ void info() {
|
||||||
|
|
||||||
await _takeScreenshot(driver, '3');
|
await _takeScreenshot(driver, '3');
|
||||||
|
|
||||||
await driver.scroll(verticalPageView, 0, -750, const Duration(milliseconds: 600));
|
await driver.scroll(verticalPageView, 0, -680, const Duration(milliseconds: 600));
|
||||||
await Future.delayed(const Duration(seconds: 1));
|
await Future.delayed(const Duration(seconds: 1));
|
||||||
|
|
||||||
final gpsTile = find.descendant(
|
final gpsTile = find.descendant(
|
||||||
|
|