File tree 3 files changed +11
-11
lines changed
3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
- [submodule "scripts/graphics "]
2
- path = scripts/graphics
3
- url = https://github.com/WeblateOrg/graphics.git
4
1
[submodule "scripts/spdx-license-list "]
5
2
path = scripts/spdx-license-list
6
3
url = https://github.com/spdx/license-list-data.git
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
+ if [ ! -d ../graphics/ ] ; then
4
+ echo " Graphics repository missing!"
5
+ fi
6
+
3
7
# Widgets
4
- cp scripts /graphics/widgets/* .png weblate/static/widget-images/
8
+ cp .. /graphics/widgets/* .png weblate/static/widget-images/
5
9
6
10
# SVG
7
- cp scripts /graphics/logo/weblate.svg scripts /graphics/logo/weblate-black.svg weblate/static/
11
+ cp .. /graphics/logo/weblate.svg .. /graphics/logo/weblate-black.svg weblate/static/
8
12
./scripts/optimize-svg weblate/static/weblate* .svg
9
13
10
14
# favicon
11
- cp scripts /graphics/logo/weblate.ico weblate/static/favicon.ico
15
+ cp .. /graphics/logo/weblate.ico weblate/static/favicon.ico
12
16
13
17
# Scaled logos
14
18
for size in 24 32 80 128 150 180 192 512 ; do
15
- cp scripts /graphics/logo/weblate-background-$size .png weblate/static/weblate-$size .png
19
+ cp .. /graphics/logo/weblate-background-$size .png weblate/static/weblate-$size .png
16
20
done
17
21
for size in 16 32 128 1024 ; do
18
- cp scripts /graphics/logo/weblate-logo-$size .png weblate/static/logo-$size .png
22
+ cp .. /graphics/logo/weblate-logo-$size .png weblate/static/logo-$size .png
19
23
done
20
24
21
25
# Email logo
22
- cp scripts /graphics/logo/weblate-logo-48.png weblate/static/email-logo.png
26
+ cp .. /graphics/logo/weblate-logo-48.png weblate/static/email-logo.png
23
27
24
28
# Widgets
25
- cp scripts /graphics/open-graph/Og-Template.png weblate/static/widget-images/open-graph.png
29
+ cp .. /graphics/open-graph/Og-Template.png weblate/static/widget-images/open-graph.png
You can’t perform that action at this time.
0 commit comments