From 559d5aba6f02a0b8fa69afdffd85e918526860ee Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 6 Jun 2025 13:24:57 +0200 Subject: Handle lightningcss not existing --- GNUmakefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 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 -- cgit v1.2.3 From 977385002f6680f3dc0955b91908977f28b894aa Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 6 Jun 2025 13:25:19 +0200 Subject: Use ‘go tool’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n.go b/src/i18n.go index 15015c8..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 -- cgit v1.2.3 From f460560439ba2b5e09a2f66cbfb788501a582da1 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 6 Jun 2025 16:58:54 +0200 Subject: Add mintage files for Croatia --- data/mintages/hr | 4 ---- data/mintages/hr-c-circ.csv | 7 +++++++ data/mintages/hr-c-nifc.csv | 6 ++++++ data/mintages/hr-c-proof.csv | 6 ++++++ data/mintages/hr-s-circ.csv | 4 ++++ data/mintages/hr-s-nifc.csv | 4 ++++ data/mintages/hr-s-proof.csv | 4 ++++ 7 files changed, 31 insertions(+), 4 deletions(-) delete mode 100644 data/mintages/hr create mode 100644 data/mintages/hr-c-circ.csv create mode 100644 data/mintages/hr-c-nifc.csv create mode 100644 data/mintages/hr-c-proof.csv create mode 100644 data/mintages/hr-s-circ.csv create mode 100644 data/mintages/hr-s-nifc.csv create mode 100644 data/mintages/hr-s-proof.csv 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 -- cgit v1.2.3