Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] There is a hard code text display in related.html #461

Open
4 tasks done
imjokey opened this issue Mar 2, 2024 · 0 comments
Open
4 tasks done

[Bug] There is a hard code text display in related.html #461

imjokey opened this issue Mar 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@imjokey
Copy link
Contributor

imjokey commented Mar 2, 2024

I confirm:

Hugo version

0.123.7

Where is this bug showing up?

In the browser: Hugo builds the site, but something doesn't look right.

Operating system

macOS 14.1.2

Browser (if applicable)

Version 122.0.6261.94 (Official Build) (arm64)

Current behavior

The Chinese translation field series_posts has been provided, but the text display at the end of the article is still "Posts in this series"

Expected behavior

I expect the relevant pages to have the correct translation text available.

Steps to reproduce

I reviewed relevant code in /layouts/partials/related.html, I found there is a hard code h2 text about the 'series_posts' translator field.

Relevant log output

No response

Related code

image

Preferred solution

I hope I can fix it with a translator placeholder.

Other information

No response

@imjokey imjokey added the bug Something isn't working label Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant