timvink / mkdocs-git-revision-date-localized-plugin

MkDocs plugin to add a last updated date to your site pages
https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/index.html
MIT License
193 stars 39 forks source link

[fix] get locale for mkdocs-static-i18n #125

Closed satisataka closed 9 months ago

satisataka commented 9 months ago

Faced a problem, the date was not translating. The property is taken from the wrong object

https://github.com/ultrabug/mkdocs-static-i18n/blob/5f97ac28b9f67a3db0f196edf2a1a0059b718213/mkdocs_static_i18n/plugin.py#L138 https://github.com/ultrabug/mkdocs-static-i18n/blob/5f97ac28b9f67a3db0f196edf2a1a0059b718213/mkdocs_static_i18n/suffix.py#L92C1-L92C1 https://github.com/ultrabug/mkdocs-static-i18n/blob/5f97ac28b9f67a3db0f196edf2a1a0059b718213/mkdocs_static_i18n/folder.py#L87C1-L87C1

timvink commented 9 months ago

Good one, thanks!