Use Mojolicious::Plugin::Localize from CPAN
Change-Id: Ie98f4bf7c0f666d9e4c8e875ae20e7cada39cff9
diff --git a/.github/workflows/linux-perl.yml b/.github/workflows/linux-perl.yml
index bbc835f..05428dd 100644
--- a/.github/workflows/linux-perl.yml
+++ b/.github/workflows/linux-perl.yml
@@ -24,7 +24,6 @@
- name: Install dependencies
run: |
cpanm --force -v Module::Pluggable
- cpanm https://github.com/Akron/Mojolicious-Plugin-Localize.git
cpanm --installdeps .
cpanm -n Cpanel::JSON::XS EV
- name: Run tests
diff --git a/.github/workflows/macos-perl.yml b/.github/workflows/macos-perl.yml
index f31e9cb..71d40d7 100644
--- a/.github/workflows/macos-perl.yml
+++ b/.github/workflows/macos-perl.yml
@@ -18,7 +18,6 @@
- name: Install dependencies
run: |
curl -L https://cpanmin.us > cpanm
- perl cpanm https://github.com/Akron/Mojolicious-Plugin-Localize.git
perl cpanm --installdeps .
- name: Run Tests
run: prove -lr t/
diff --git a/Changes b/Changes
index f5f4dbe..2b4f254 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,6 @@
-0.66 2026-06-30
+0.66 2026-07-03
- Fix link to NEGRA corpus (diewald)
+ - Use M::P::Localize from CPAN (diewald)
0.65 2026-04-21
- Expose colors and forms to plugins (diewald)
diff --git a/Dockerfile b/Dockerfile
index c4af265..e035048 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -49,7 +49,6 @@
RUN curl -fsSL https://raw.githubusercontent.com/kupietz/cpm/main/cpm > /bin/cpm && chmod a+x /bin/cpm
RUN cpm install --test -g Cpanel::JSON::XS File::ShareDir::Install EV IO::Socket::Socks && \
- cpm install --test -g "https://github.com/Akron/Mojolicious-Plugin-Localize/archive/refs/tags/v0.22.tar.gz" && \
cpm install --test -g "https://github.com/KorAP/KorAP-XML-TEI/archive/refs/tags/v2.6.1.tar.gz" && \
cpm install --test -g "https://github.com/KorAP/KorAP-XML-Krill/archive/refs/tags/v0.64.tar.gz" && \
cpm install --test -g "https://github.com/KorAP/KorAP-XML-CoNLL-U/archive/refs/tags/v0.6.3.tar.gz"
diff --git a/Makefile.PL b/Makefile.PL
index 0037778..ea02191 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -28,6 +28,7 @@
'Mojolicious::Plugin::ClientIP' => 0.02,
'Mojolicious::Plugin::AutoSecrets' => 0.006,
'Mojolicious::Plugin::TagHelpers::ContentBlock' => 0.12,
+ 'Mojolicious::Plugin::Localize' => 0.23,
'Cache::FastMmap' => 1.61,
'DateTime' => 1.66,
@@ -39,10 +40,7 @@
'List::Util' => 1.70,
# Required for bundled plugins
- 'Mojolicious::Plugin::Piwik' => 2.00,
-
- # Currently on GitHub only (github.com/akron)
- 'Mojolicious::Plugin::Localize' => 0.22
+ 'Mojolicious::Plugin::Piwik' => 2.00
},
META_MERGE => {
diff --git a/README.md b/README.md
index 68de7b7..43039c4 100644
--- a/README.md
+++ b/README.md
@@ -75,16 +75,7 @@
if available. The installation guide requires
[App::cpanminus](http://search.cpan.org/~miyagawa/App-cpanminus/) as well.
-Some perl modules are not on CPAN yet, so you need to install them from GitHub.
-The easiest way to do this is using
-[App::cpanminus](http://search.cpan.org/~miyagawa/App-cpanminus/).
-This will probably need administration rights.
-
-```shell
-cpanm https://github.com/Akron/Mojolicious-Plugin-Localize.git
-```
-
-Then install the dependencies using
+Install the dependencies using
[App::cpanminus](http://search.cpan.org/~miyagawa/App-cpanminus/)
(there is no need to install Kalamar)
and run the test suite.