Skip to content

Commit

Permalink
Fix screenshot creator script using wrong languages
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteHamster committed May 3, 2024
1 parent 3ba6959 commit 32234b7
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 0 deletions.
Binary file modified listings/ca/graphics/large-tablet-screenshots/tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified listings/de-DE/graphics/large-tablet-screenshots/tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified listings/en-US/graphics/large-tablet-screenshots/tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified listings/es-ES/graphics/large-tablet-screenshots/tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified listings/fr-FR/graphics/large-tablet-screenshots/tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified listings/he-IL/graphics/large-tablet-screenshots/tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified listings/it-IT/graphics/large-tablet-screenshots/tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified listings/nl-NL/graphics/large-tablet-screenshots/tablet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions screenshots/02_frameScreenshots.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ def generate_screenshots(language, font):
simple_phone(texts["03.png"], 'background2.png', raw_screenshots_path + '/02.png', output_path + '/phone-screenshots/03.png', font)
simple_phone(texts["04.png"], 'background1.png', raw_screenshots_path + '/04.png', output_path + '/phone-screenshots/04.png', font)
simple_phone(texts["05.png"], 'background2.png', raw_screenshots_path + '/05.png', output_path + '/phone-screenshots/05.png', font)

if not Path(raw_screenshots_path + '/tablet.png').is_file():
raw_screenshots_path = 'raw/en-US'

simple_tablet(texts["tablet.png"], raw_screenshots_path + '/tablet.png', output_path + '/large-tablet-screenshots/tablet.png', font)
os.system('mogrify -resize 1120 "' + output_path + '/phone-screenshots/0*.png"')
os.system('mogrify -resize 1120 "' + output_path + '/large-tablet-screenshots/tablet.png"')
Expand Down

0 comments on commit 32234b7

Please sign in to comment.