Skip to content

Commit af95586

Browse files
Added Swedish translation
1 parent 474fc05 commit af95586

13 files changed

+323
-270
lines changed

.gitignore

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ yarn-error.log
66
/__sapper__/
77
Samples.md
88
createScreenshot.js
9-
createPattern.js
10-
createPatternImage.js
9+
createPattern*
1110
airtable.js
1211
/static/archive
1312
/static/social

nodejs/htmlGenerator.js

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ xlsxFile("../../../../OneDrive/Documents/Patterns.xlsm", { sheet: "Patterns" }).
3939
{ lang: "pt", name: "Português", col: 10, site: "https://pt.pattern.monster", path: "../pt.pattern.monster/" },
4040
{ lang: "zh-cn", name: "中文(简体)", col: 11, site: "https://cn.pattern.monster", path: "../cn.pattern.monster/" },
4141
{ lang: "nl", name: "Nederlands", col: 12, site: "https://nl.pattern.monster", path: "../nl.pattern.monster/" },
42+
{ lang: "sv", name: "Svenska", col: 13, site: "https://sv.pattern.monster", path: "../sv.pattern.monster/" },
4243

4344
// { lang: "uk", name: "Українська", col: 13, path: "../../uk.pattern.monster/" },
4445
// { lang: "af", name: "Afrikaans", col: 14, path: "../../af.pattern.monster/" },

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"dev": "sapper dev",
77
"build": "sapper build --legacy",
8-
"export": "sapper export --entry \"index api features confirmed herringbone-7 herringbone-8 flower-1 flower-2 flower-3 flower-4 flower-5 flower-6 flower-7 plus-1 plus-2 plus-3 plus-4 circles-1 circles-2 circles-3 circles-4 circles-5 circles-6 circles-7 concentric-circles-1 concentric-circles-2 concentric-circles-3 adjointed-circles adjointed-diamonds diamonds-1 diamonds-2 diamonds-3 hexagon-1 hexagon-2 hexagon-3 hexagon-4 hexagon-5 hexagon-6 hexagon-7 hexagon-8 overlapping-hexagons squares-and-squares-1 squares-and-squares-2 squares-and-diamonds squares-and-circles-1 squares-and-circles-2 squares-and-plus-1 squares-and-plus-2 squares-and-stars-1 squares-and-stars-2 stars-and-lines-1 stars-and-lines-2 triangles-1 triangles-2 triangles-3 triangles-4 triangles-5 triangles-6 triangles-7 triangles-8 triangles-9 triangles-10 inverted-triangles checkerboard japanese-pattern-1 japanese-pattern-2 japanese-pattern-3 japanese-pattern-4 japanese-pattern-5 japanese-pattern-6 eyes-1 eyes-2 eyes-3 eyes-4 jigsaw railroad octagons-1 octagons-2 lines-1 lines-2 scales-1 scales-2 scales-3 scales-4 leaves-1 leaves-2 leaves-3 leaves-4 leaves-5 leaves-6 leaves-7 leaves-8 pipes zebra memphis-1 memphis-2 memphis-3 memphis-4 memphis-5 memphis-6 greek-key chinese-1 chinese-2 chinese-3 chinese-4 chinese-9 chinese-5 chinese-6 chinese-7 chinese-8 new-1 new-2 new-3 new-4 new-5 new-6 new-7 new-8 new-9 new-10 new-11 new-12 new-13 new-14 new-15 new-16 new-17 double-bubble-1 double-bubble-2 stars-1 stars-2 stars-3 stars-4 stars-5 stars-6 semicircles-1 songket-1 christmas-tree-1 candy-cane-1 christmas-bells-1 christmas-pattern-1 christmas-pattern-2 christmas-pattern-3 snowflakes-1 christmas-tree-balls santa-claus christmas-gift cubes-1 cubes-2 cubes-3 stained-glass tiles-1 rectangles-and-squares-1 mexican-pattern-1 mexican-pattern-2 ethnic-pattern-1 ethnic-pattern-2 ethnic-pattern-3 plaid-pattern-1 plaid-pattern-2 plaid-pattern-3 plaid-pattern-4 doodle-1 doodle-2 batik-1 batik-2 batik-3 batik-4 batik-5 batik-6 african-1 african-2 african-3 african-4 triangles-11 hexagon-9 tiles-2 tiles-3 tribal-1 tribal-2 waves-8 leaves-9 blobs african-5 triangles-12 squares-and-triangles-1 tribal-3 circles-7 triangles-13 triangles-14 triangles-15 triangles-16 circles-8 concentric-circles-4 concentric-circles-5 concentric-circles-6 stripes-1 stripes-2 chevron-3 chevron-4 terrazzo-1 geometric-1 halloween-1 halloween-2 halloween-3 halloween-4 halloween-5 halloween-6 hexagon-10 hexagon-11 squares-1 squares-2 sprinkles-1 cubes-4 geometric-2 geometric-3 geometric-4 circles-10 circles-11 circles-12 triangles-17 triangles-18 geometric-5 geometric-6\"",
8+
"export": "sapper export --entry \"index api features confirmed herringbone-7 herringbone-8 flower-1 flower-2 flower-3 flower-4 flower-5 flower-6 flower-7 plus-1 plus-2 plus-3 plus-4 circles-1 circles-2 circles-3 circles-4 circles-5 circles-6 circles-7 concentric-circles-1 concentric-circles-2 concentric-circles-3 adjointed-circles adjointed-diamonds diamonds-1 diamonds-2 diamonds-3 hexagon-1 hexagon-2 hexagon-3 hexagon-4 hexagon-5 hexagon-6 hexagon-7 hexagon-8 overlapping-hexagons squares-and-squares-1 squares-and-squares-2 squares-and-diamonds squares-and-circles-1 squares-and-circles-2 squares-and-plus-1 squares-and-plus-2 squares-and-stars-1 squares-and-stars-2 stars-and-lines-1 stars-and-lines-2 triangles-1 triangles-2 triangles-3 triangles-4 triangles-5 triangles-6 triangles-7 triangles-8 triangles-9 triangles-10 inverted-triangles checkerboard japanese-pattern-1 japanese-pattern-2 japanese-pattern-3 japanese-pattern-4 japanese-pattern-5 japanese-pattern-6 eyes-1 eyes-2 eyes-3 eyes-4 jigsaw railroad octagons-1 octagons-2 lines-1 lines-2 scales-1 scales-2 scales-3 scales-4 leaves-1 leaves-2 leaves-3 leaves-4 leaves-5 leaves-6 leaves-7 leaves-8 pipes zebra memphis-1 memphis-2 memphis-3 memphis-4 memphis-5 memphis-6 greek-key chinese-1 chinese-2 chinese-3 chinese-4 chinese-9 chinese-5 chinese-6 chinese-7 chinese-8 new-1 new-2 new-3 new-4 new-5 new-6 new-7 new-8 new-9 new-10 new-11 new-12 new-13 new-14 new-15 new-16 new-17 double-bubble-1 double-bubble-2 stars-1 stars-2 stars-3 stars-4 stars-5 stars-6 semicircles-1 songket-1 christmas-tree-1 candy-cane-1 christmas-bells-1 christmas-pattern-1 christmas-pattern-2 christmas-pattern-3 snowflakes-1 christmas-tree-balls santa-claus christmas-gift cubes-1 cubes-2 cubes-3 stained-glass tiles-1 rectangles-and-squares-1 mexican-pattern-1 mexican-pattern-2 ethnic-pattern-1 ethnic-pattern-2 ethnic-pattern-3 plaid-pattern-1 plaid-pattern-2 plaid-pattern-3 plaid-pattern-4 doodle-1 doodle-2 batik-1 batik-2 batik-3 batik-4 batik-5 batik-6 african-1 african-2 african-3 african-4 triangles-11 hexagon-9 tiles-2 tiles-3 tribal-1 tribal-2 waves-8 leaves-9 blobs african-5 triangles-12 squares-and-triangles-1 tribal-3 circles-7 triangles-13 triangles-14 triangles-15 triangles-16 circles-8 concentric-circles-4 concentric-circles-5 concentric-circles-6 stripes-1 stripes-2 chevron-3 chevron-4 terrazzo-1 geometric-1 halloween-1 halloween-2 halloween-3 halloween-4 halloween-5 halloween-6 hexagon-10 hexagon-11 squares-1 squares-2 sprinkles-1 cubes-4 geometric-2 geometric-3 geometric-4 circles-10 circles-11 circles-12 triangles-17 triangles-18 geometric-5 geometric-6 squiggle-1 moroccan-1 moroccan-2 japanese-pattern-7 waves-9 christmas-pattern-4 christmas-pattern-5 plaid-pattern-5\"",
99
"start": "node __sapper__/build",
1010
"test": "run-p --race dev cy:run"
1111
},

src/components/Footer.svelte

+12-12
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@
3636
"Catalan2% • 2%",
3737
"Chinese Simplified100% • 100%",
3838
"Chinese Traditional2% • 2%",
39-
"Czech2% • 2%",
39+
"Czech6% • 6%",
4040
"Danish2% • 2%",
4141
"Dutch100% • 100%",
4242
"Finnish5% • 5%",
4343
"French34% • 34%",
44-
"German43% • 43%",
44+
"German100% • 100%",
4545
"Greek2% • 2%",
46-
"Hebrew2% • 2%",
46+
"Hebrew17% • 17%",
4747
"Hungarian2% • 2%",
4848
"Italian100% • 100%",
4949
"Japanese3% • 3%",
@@ -54,10 +54,10 @@
5454
"Portuguese2% • 2%",
5555
"Portuguese, Brazilian100% • 100%",
5656
"Romanian100% • 100%",
57-
"Russian2% • 2%",
57+
"Russian18% • 18%",
5858
"Serbian (Cyrillic)2% • 2%",
59-
"Spanish59% • 59%",
60-
"Swedish2% • 2%",
59+
"Spanish64% • 64%",
60+
"Swedish100% • 100%",
6161
"Turkish100% • 100%",
6262
"Ukrainian27% • 27%",
6363
"Vietnamese2% • 2%",
@@ -68,14 +68,14 @@
6868
"2% • 2%",
6969
"100% • 100%",
7070
"2% • 2%",
71-
"2% • 2%",
71+
"6% • 6%",
7272
"2% • 2%",
7373
"100% • 100%",
7474
"5% • 5%",
7575
"34% • 34%",
76-
"43% • 43%",
77-
"2% • 2%",
76+
"100% • 100%",
7877
"2% • 2%",
78+
"17% • 17%",
7979
"2% • 2%",
8080
"100% • 100%",
8181
"3% • 3%",
@@ -86,10 +86,10 @@
8686
"2% • 2%",
8787
"100% • 100%",
8888
"100% • 100%",
89+
"18% • 18%",
8990
"2% • 2%",
90-
"2% • 2%",
91-
"59% • 59%",
92-
"2% • 2%",
91+
"64% • 64%",
92+
"100% • 100%",
9393
"100% • 100%",
9494
"27% • 27%",
9595
"2% • 2%",

src/components/LangSelect.svelte

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
{ id: "pl", name: "Polski", link: "https://pl.pattern.monster" },
1616
{ id: "pt", name: "Português", link: "https://pt.pattern.monster" },
1717
{ id: "ro", name: "Română", link: "https://ro.pattern.monster" },
18+
{ id: "sv", name: "Svenska", link: "https://sv.pattern.monster" },
1819
{ id: "tr", name: "Türkçe", link: "https://tr.pattern.monster" },
1920
{ id: "ar", name: "العربية", link: "https://ar.pattern.monster" },
2021
{ id: "zh-cn", name: "中文(简体)", link: "https://cn.pattern.monster" },

src/components/Nav.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
let visible = true;
1414
let bellCount = "0";
1515
16-
let starsCount = 225;
16+
let starsCount = 251;
1717
1818
// const dispatch = createEventDispatcher();
1919

src/routes/_constants.js

+4
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ const strings = {
140140
lang: "nl",
141141
website: "https://nl.pattern.monster",
142142
},
143+
{
144+
lang: "sv",
145+
website: "https://sv.pattern.monster",
146+
},
143147
],
144148
};
145149

src/routes/_index.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/routes/_values.js

+8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
let changeLog = [
2+
{
3+
date: "December 14, 2021",
4+
updates: [
5+
'Added 8 new patterns',
6+
'Added Swedish translation by Viktor Schultz available <a href="https://sv.pattern.monster">here</a>',
7+
'Updated the Spanish translation by DraftThunder 343 amd German translation by JFK-05',
8+
],
9+
},
210
{
311
date: "October 20, 2021",
412
updates: [

src/template.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<link rel="sitemap" type="application/xml" href="https://pattern.monster/sitemap.xml" />
1010
<link rel="icon" type="image/png" href="favicon.png" />
1111
<link rel="apple-touch-icon" href="logo-512.png" />
12-
<link rel="stylesheet" href="global-1634680623.min.css" />
13-
<link rel="preload" href="pickr-1634680623.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'" />
12+
<link rel="stylesheet" href="global-1639427758.min.css" />
13+
<link rel="preload" href="pickr-1639427758.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'" />
1414
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap" rel="stylesheet" />
1515

1616
<meta name="author" content="Naveen CS" />
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)