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

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

Merged
merged 3 commits into from
Jul 9, 2021
Merged

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

merged 3 commits into from
Jul 9, 2021

Conversation

tamo
Copy link
Contributor

@tamo tamo commented Sep 1, 2020

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
Copy link
Member

Yukaii commented Sep 10, 2020

@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
Copy link
Member

@jackycute jackycute left a comment

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.

None yet

4 participants