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
208 stars 45 forks source link

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

Closed satisataka closed 12 months ago

satisataka commented 1 year 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 12 months ago

Good one, thanks!