-
Notifications
You must be signed in to change notification settings - Fork 12
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
Wrong text extraction #48
Comments
see https://github.com/perpetualKid/GetText.NET/wiki/Extractor-Intro last chapter
Is the issue that the " - " string is unnecessarily extracted and stored in the .pot file? |
Exactly, that's the problem. Is there a way to perform recognition of those properties only on *.Designer.cs files? |
right now it's hardcoded to extract strings from any of the listed properties. Given though this is irritating but otherwise harmless, not sure if an enhancement will justify a new version to be released. Is this causing any blocking issues in your workflow? |
Don't worry, is not urgent. I have currently made a workaround within the parser to check those properties only on files with the extension *.Designer.cs. |
@perpetualKid We have a similar problem where the Extractor extracts all |
certainly possible, code contributions are welcome |
GetText.Extractor version: 1.8.7+bff42fb416
In our code we concatenate strings in this way:
lblArtCode.Text += " - " + ds.Current.Name;
and the correct call to extract is:
localizer.TextTranslator("Correct call to my localization method");
Calling
GetText.Extractor -as TextTranslator
erroneously add the string" - "
to messages.potThe text was updated successfully, but these errors were encountered: