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

Nenuial/issue76 #77

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Nenuial/issue76 #77

wants to merge 3 commits into from

Conversation

Nenuial
Copy link
Collaborator

@Nenuial Nenuial commented Sep 18, 2024

This commit adresses the problems mentioned by @joelnitta in #76.

If a freeze folder is present, we should make sure that for each language the frozen content is for that language only.

This should fix #76, but ideally @joelnitta could confirm it before we merge.

@Nenuial Nenuial linked an issue Sep 18, 2024 that may be closed by this pull request
@Nenuial Nenuial requested a review from maelle September 18, 2024 11:46
@joelnitta
Copy link
Contributor

@Nenuial Thanks for this. I should be able to try it tomorrow.

@Nenuial
Copy link
Collaborator Author

Nenuial commented Sep 18, 2024

Great, thanks for your feedback!

@joelnitta
Copy link
Contributor

joelnitta commented Sep 18, 2024

I can confirm: this works for me!

Copy link
Contributor

@maelle maelle left a comment

Choose a reason for hiding this comment

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

🚀

R/render.R Outdated Show resolved Hide resolved
freeze_dirs, fixed = TRUE
)

fs::dir_copy(freeze_lang, fs::path(freeze_temp, freeze_dirs))
Copy link
Contributor

Choose a reason for hiding this comment

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

should all of this go into a well-named helper function?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'm not sure I follow. You're suggesting a helper function for the copy and move/delete part, or the entire logic around freeze folders (L205-L224)?

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.

Posts with freeze not getting translated
3 participants