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

Have the import the ability to ignore comments #73

Open
OBCZ opened this issue Dec 7, 2023 · 0 comments
Open

Have the import the ability to ignore comments #73

OBCZ opened this issue Dec 7, 2023 · 0 comments
Assignees

Comments

@OBCZ
Copy link

OBCZ commented Dec 7, 2023

Summary and context of the enhancement
Hello guys, in the configuration of the import

poEditor {
    apiToken = "your_api_token"
    projectId = 12345
    defaultLang = "en"
}

I am missing a config property for comments.
My strings import is always with them included, which makes the final resource file kinda bloated.

<string>abc</string>
<!--comment related to "def"-->
<string>def</string>

It is only comments, which is not crucial, but still you can introduce a lot of unnecessary things like TODOs, unrelated information, etc.
I haven't found how to omit them in the import.

Suggested implementation
Just a boolean property on the config would be great.

poEditor {
    apiToken = "your_api_token"
    projectId = 12345
    defaultLang = "en"
    **importComments = false**
}

Thanks!

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

No branches or pull requests

2 participants