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

Make draft title translatable #8891

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Leilei332
Copy link
Contributor

Attempt to make the generated draft title localized. The zh-Hans translations are added as demo.

图片

Added three translatable strings:

  • DraftTitle: Template for generating the draft title. $1$ for the draft number, $2$ for tiddler title, $3$ for attribution.
  • DraftAuthor: Template for generating the attribution.
  • DraftNumber: Template for generating the draft number. Because of whitespace, this has to be customizable.

Copy link

Confirmed: Leilei332 has already signed the Contributor License Agreement (see contributing.md)

Copy link

netlify bot commented Jan 11, 2025

Deploy Preview for tiddlywiki-previews ready!

Name Link
🔨 Latest commit 7aec0e1
🔍 Latest deploy log https://app.netlify.com/sites/tiddlywiki-previews/deploys/6781b8128dab5100081b7336
😎 Deploy Preview https://deploy-preview-8891--tiddlywiki-previews.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@pmario
Copy link
Member

pmario commented Jan 11, 2025

Translations like this one should not need to implement "special handling" in core modules. .multid files can handle transclusions and macros.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants