22 lines
587 B
Python
22 lines
587 B
Python
"""
|
|
Test-Skript zum Generieren der Flaggen-Icons.
|
|
Erstellt Icons für verschiedene Sprachen basierend auf dxfCs.png.
|
|
"""
|
|
import flags
|
|
|
|
print("="*70)
|
|
print("Test Suite: Flags create")
|
|
print("="*70)
|
|
|
|
# Generiere alle Flaggen-Icons
|
|
icons = []
|
|
icons.append(flags.add_flag(flags.flag_en, "dxfen"))
|
|
icons.append(flags.add_flag(flags.flag_fr, "dxffr"))
|
|
icons.append(flags.add_flag(flags.flag_it, "dxfit"))
|
|
icons.append(flags.add_flag(flags.flag_es, "dxfes"))
|
|
|
|
print("Generierte Icons:")
|
|
for icon in icons:
|
|
print(f" - {icon}")
|
|
print(f"\nAlle Icons wurden in {flags.ICON_DIR} gespeichert.")
|