Skip to content

Japanese readtime.other shows a full-width instead of the correct number #7099

@gh640

Description

@gh640

Context

No response

Bug description

The issue is with the translation of the Japanese text.

When the theme language is set to Japanese (ja) and the blog plugin is used, the string readtime.other (which is "# min read" in English) is not displayed correctly.

Specifically, the number representing the minutes is not displayed properly, resulting in the text "このページは約#分で読めます" (which is "# min read" in English).

It should actually be displayed as "このページは約15分で読めます" (which translates to "This page can be read in about 15 minutes").

I guess the cause should be the use of a full-width character where a half-width # character should be used.

(This is an translation issue. I apologize if I am mistaken about the place and method to report this.)

Related links

Reproduction

9.5.18-wrong-number-display-in-japanese.zip

Steps to reproduce

  1. Run the dev server by mkdocs serve
  2. Open the blog post page in a browser: http://localhost:8000/blog/2024/04/24/this-is-a-sampple-post/
  3. Check the display of ul.md-post__meta element

Browser

No response

Before submitting

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bugresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions