summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile9
-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.go28
9 files changed, 59 insertions, 13 deletions
diff --git a/GNUmakefile b/GNUmakefile
index e3aa32b..3142cd5 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -19,7 +19,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 \( \
@@ -29,4 +34,4 @@ clean:
-or -name '*.tar.gz' \
\) -delete
-.PHONY: all-i18n clean release
+.PHONY: all-i18n clean release \ No newline at end of file
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 fe67b04..1d53b52 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
@@ -180,6 +180,13 @@ var (
Enabled: true,
},
{
+ Bcp: "da",
+ Name: "dansk",
+ dateFmt: "02.01.2006",
+ Eurozone: false,
+ Enabled: false,
+ },
+ {
Bcp: "en-US",
Name: "English (US)",
dateFmt: "1/2/2006",
@@ -187,16 +194,23 @@ var (
Enabled: false,
},
{
- Bcp: "ro",
- Name: "română",
- dateFmt: "02.01.2006",
+ Bcp: "hu",
+ Name: "magyar",
+ dateFmt: "2006. 01. 02.",
Eurozone: false,
Enabled: false,
},
{
- Bcp: "sq",
- Name: "Shqip",
- dateFmt: "2.1.2006",
+ Bcp: "pl",
+ Name: "polski",
+ dateFmt: "2.01.2006",
+ Eurozone: false,
+ Enabled: false,
+ },
+ {
+ Bcp: "ro",
+ Name: "română",
+ dateFmt: "02.01.2006",
Eurozone: false,
Enabled: false,
},