mirror of
https://github.com/MaintainTeam/Hypatia.git
synced 2025-02-28 21:38:21 +03:00
Translate banners
This commit is contained in:
parent
2ca21ff08a
commit
6cf22de675
8 changed files with 28 additions and 0 deletions
Binary file not shown.
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 8 KiB |
BIN
fastlane/metadata/android/es/images/featureGraphic.png
Normal file
BIN
fastlane/metadata/android/es/images/featureGraphic.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.8 KiB |
BIN
fastlane/metadata/android/pt-BR/images/featureGraphic.png
Normal file
BIN
fastlane/metadata/android/pt-BR/images/featureGraphic.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.5 KiB |
BIN
graphics/featureGraphic_clean.png
Normal file
BIN
graphics/featureGraphic_clean.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9 KiB |
20
graphics/makefile
Normal file
20
graphics/makefile
Normal file
|
@ -0,0 +1,20 @@
|
|||
TEMPLATE := featureGraphic_clean.png
|
||||
LANG_FILES := $(wildcard translations/*.txt)
|
||||
BASE_OUTPUT_DIR := ../fastlane/metadata/android
|
||||
LANG_DIRS := $(patsubst translations/%.txt,$(BASE_OUTPUT_DIR)/%/images, $(LANG_FILES))
|
||||
PNG_FILES := $(patsubst translations/%.txt, $(BASE_OUTPUT_DIR)/%/images/featureGraphic.png, $(LANG_FILES))
|
||||
|
||||
all: $(PNG_FILES)
|
||||
|
||||
$(BASE_OUTPUT_DIR)/%/images/featureGraphic.png: translations/%.txt $(TEMPLATE)
|
||||
@mkdir -p $(dir $@)
|
||||
@TRANSLATION_CONTENT=$$(cat $< ); \
|
||||
convert $(TEMPLATE) \
|
||||
-gravity West -font 'Fira-Sans-Bold' -pointsize 75 -annotate +350-80 "Hypatia" \
|
||||
-gravity West -font 'Fira-Sans' -pointsize 45 -annotate +350+70 "$$TRANSLATION_CONTENT" $@
|
||||
@pngquant --force --ext .png --skip-if-larger --quality=65-80 $@
|
||||
|
||||
clean:
|
||||
@rm -f $(PNG_FILES)
|
||||
|
||||
.PHONY: all clean
|
2
graphics/translations/en-US.txt
Normal file
2
graphics/translations/en-US.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
The world's first FOSS realtime
|
||||
malware scanner for Android
|
3
graphics/translations/es.txt
Normal file
3
graphics/translations/es.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
El primer escáner de malware
|
||||
en tiempo real FOSS del mundo
|
||||
para Android
|
3
graphics/translations/pt-BR.txt
Normal file
3
graphics/translations/pt-BR.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
O primeiro escaneador de
|
||||
malware em tempo real
|
||||
FOSS para Android do mundo
|
Loading…
Add table
Reference in a new issue