Skip to content

Move HTML-related code from JS to EJS to enable more i18n#1587

Merged
a60814billy merged 3 commits into
hackmdio:developfrom
tamo:more-i18n
Jul 9, 2021
Merged

Move HTML-related code from JS to EJS to enable more i18n#1587
a60814billy merged 3 commits into
hackmdio:developfrom
tamo:more-i18n

Conversation

@tamo

@tamo tamo commented Sep 1, 2020

Copy link
Copy Markdown
Contributor

Don't manipulate HTML in JS but just show/hide existing elements.
This way, we can translate more.
See #1581

@Yukaii Yukaii self-requested a review September 3, 2020 08:53
@Yukaii Yukaii added this to the Next milestone Sep 3, 2020
@Yukaii Yukaii temporarily deployed to codimd-more-i18n-llbsmxvcejeyl September 3, 2020 08:55 Inactive
@Yukaii Yukaii changed the base branch from master to develop September 10, 2020 12:16
@Yukaii

Yukaii commented Sep 10, 2020

Copy link
Copy Markdown
Member

@tamo This PR also needs to be rebased 👍

Tamotsu Takahashi added 3 commits September 11, 2020 12:50
Move HTML from JS to EJS.
#1581 (comment)
#1581 (comment)

Signed-off-by: Tamotsu Takahashi <[email protected]>
Move HTML from JS to EJS

I don't know how to register i18n helper to handlebars,
so "export to raw HTML" has not been touched.
You can do the same for html.hbs if you want.

Signed-off-by: Tamotsu Takahashi <[email protected]>
@Yukaii Yukaii temporarily deployed to codimd-more-i18n-llbsmxvcejeyl September 11, 2020 03:52 Inactive
@jackycute jackycute removed this from the Next milestone May 12, 2021

@jackycute jackycute left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tamo

@a60814billy a60814billy merged commit e7a5ea8 into hackmdio:develop Jul 9, 2021
edgarogh pushed a commit to WartaPoirier-corp/codimd that referenced this pull request Sep 21, 2021
@a60814billy a60814billy mentioned this pull request Jan 18, 2022
@stanley2058 stanley2058 mentioned this pull request Dec 26, 2023
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.

4 participants