summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-06-09 02:52:36 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-06-09 02:52:36 +0200
commit4defebfff16d81c282ba4a74d1a5143d4ce46f96 (patch)
tree64c9a0e55ef4643771afeeff02ce74bbd9eb736f
parent52db1d03e5067de4ba77c3a12465149d268eb3d1 (diff)
parentf460560439ba2b5e09a2f66cbfb788501a582da1 (diff)
Merge branch 'master' of git.thomasvoss.com:euro-cash.eu
-rw-r--r--GNUmakefile7
-rw-r--r--data/mintages/hr4
-rw-r--r--data/mintages/hr-c-circ.csv7
-rw-r--r--data/mintages/hr-c-nifc.csv6
-rw-r--r--data/mintages/hr-c-proof.csv6
-rw-r--r--data/mintages/hr-s-circ.csv4
-rw-r--r--data/mintages/hr-s-nifc.csv4
-rw-r--r--data/mintages/hr-s-proof.csv4
-rw-r--r--src/i18n.go2
9 files changed, 38 insertions, 6 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 696fd91..d42cc0b 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -20,7 +20,12 @@ exttmpl: $(exttmpl)
go build ./cmd/exttmpl
%.min.css: %.css
- lightningcss -m $< -o $@
+ if command -v lightningcss >/dev/null; \
+ then \
+ lightningcss -m $< -o $@; \
+ else \
+ cp $< $@; \
+ fi
clean:
find . -type f \( \
diff --git a/data/mintages/hr b/data/mintages/hr
deleted file mode 100644
index ecbddbd..0000000
--- a/data/mintages/hr
+++ /dev/null
@@ -1,4 +0,0 @@
-2023:
- 72.000.000 63.000.000 40.000.000 80.000.000 50.000.000 45.000.000 40.000.000 30.000.000
- ? ? ? ? ? ? ? ?
- ? ? ? ? ? ? ? ?
diff --git a/data/mintages/hr-c-circ.csv b/data/mintages/hr-c-circ.csv
new file mode 100644
index 0000000..312619c
--- /dev/null
+++ b/data/mintages/hr-c-circ.csv
@@ -0,0 +1,7 @@
+# TODO: Find the official names of all these coins
+Year,Name,Mintmark,Mintage,Reference
+2023,Introduction of the Euro,,,
+2024,City of Varaždin,,,
+2024,Marko Marulić,,,
+2025,City of Pula,,,
+2025,Kingdom of Croatia and King Tomislav,,, \ No newline at end of file
diff --git a/data/mintages/hr-c-nifc.csv b/data/mintages/hr-c-nifc.csv
new file mode 100644
index 0000000..726622f
--- /dev/null
+++ b/data/mintages/hr-c-nifc.csv
@@ -0,0 +1,6 @@
+Year,Name,Mintmark,Mintage,Reference
+2023,Introduction of the Euro,,,
+2024,City of Varaždin,,,
+2024,Marko Marulić,,,
+2025,City of Pula,,,
+2025,Kingdom of Croatia and King Tomislav,,, \ No newline at end of file
diff --git a/data/mintages/hr-c-proof.csv b/data/mintages/hr-c-proof.csv
new file mode 100644
index 0000000..726622f
--- /dev/null
+++ b/data/mintages/hr-c-proof.csv
@@ -0,0 +1,6 @@
+Year,Name,Mintmark,Mintage,Reference
+2023,Introduction of the Euro,,,
+2024,City of Varaždin,,,
+2024,Marko Marulić,,,
+2025,City of Pula,,,
+2025,Kingdom of Croatia and King Tomislav,,, \ No newline at end of file
diff --git a/data/mintages/hr-s-circ.csv b/data/mintages/hr-s-circ.csv
new file mode 100644
index 0000000..d7334f0
--- /dev/null
+++ b/data/mintages/hr-s-circ.csv
@@ -0,0 +1,4 @@
+Year,Mintmark,"€0,01","€0,02","€0,05","€0,10","€0,20","€0,50","€1,00","€2,00",Reference
+2023,,72000000,63000000,40000000,80000000,50000000,45000000,40000000,30000000,
+2024,,1089506,1088006,13088006,1048006,4508006,1028006,1028006,1008006,
+2025,,6609506,4328006,0,5128006,248006,0,0,0, \ No newline at end of file
diff --git a/data/mintages/hr-s-nifc.csv b/data/mintages/hr-s-nifc.csv
new file mode 100644
index 0000000..47e01c4
--- /dev/null
+++ b/data/mintages/hr-s-nifc.csv
@@ -0,0 +1,4 @@
+Year,Mintmark,"€0,01","€0,02","€0,05","€0,10","€0,20","€0,50","€1,00","€2,00",Reference
+2023,,,,,,,,,,
+2024,,,,,,,,,,
+2025,,,,,,,,,, \ No newline at end of file
diff --git a/data/mintages/hr-s-proof.csv b/data/mintages/hr-s-proof.csv
new file mode 100644
index 0000000..47e01c4
--- /dev/null
+++ b/data/mintages/hr-s-proof.csv
@@ -0,0 +1,4 @@
+Year,Mintmark,"€0,01","€0,02","€0,05","€0,10","€0,20","€0,50","€1,00","€2,00",Reference
+2023,,,,,,,,,,
+2024,,,,,,,,,,
+2025,,,,,,,,,, \ No newline at end of file
diff --git a/src/i18n.go b/src/i18n.go
index e234fde..b1c954d 100644
--- a/src/i18n.go
+++ b/src/i18n.go
@@ -1,4 +1,4 @@
-//go:generate gotext -srclang=en -dir=rosetta extract -lang=bg,el,en,nl .
+//go:generate go tool gotext -srclang=en -dir=rosetta extract -lang=bg,el,en,nl .
//go:generate ../exttmpl
package src