mirror of
https://gh.wpcy.net/https://github.com/WeblateOrg/weblate.git
synced 2026-05-02 10:03:14 +08:00
The default avatar size has changed from 16px to 24px, but the fallback images were not updated. Fixes #3577
25 lines
779 B
Bash
Executable file
25 lines
779 B
Bash
Executable file
#!/bin/sh
|
|
|
|
# Widgets
|
|
cp scripts/graphics/widgets/*.png weblate/static/widget-images/
|
|
|
|
# SVG
|
|
cp scripts/graphics/logo/weblate.svg scripts/graphics/logo/weblate-black.svg weblate/static/
|
|
./scripts/optimize-svg weblate/static/weblate*.svg
|
|
|
|
# favicon
|
|
cp scripts/graphics/logo/weblate.ico weblate/static/favicon.ico
|
|
|
|
# Scaled logos
|
|
for size in 24 32 80 128 150 180 192 512 ; do
|
|
cp scripts/graphics/logo/weblate-background-$size.png weblate/static/weblate-$size.png
|
|
done
|
|
for size in 16 32 128 1024 ; do
|
|
cp scripts/graphics/logo/weblate-logo-$size.png weblate/static/logo-$size.png
|
|
done
|
|
|
|
# Email logo
|
|
cp scripts/graphics/logo/weblate-logo-48.png weblate/static/email-logo.png
|
|
|
|
# Widgets
|
|
cp scripts/graphics/open-graph/Og-Template.png weblate/static/widget-images/open-graph.png
|