Skip to content

Handle lone '%' translation strings without parser exceptions - fixes issue #28#29

Open
harshlm15 wants to merge 2 commits into
linuxmint:masterfrom
harshlm15:master
Open

Handle lone '%' translation strings without parser exceptions - fixes issue #28#29
harshlm15 wants to merge 2 commits into
linuxmint:masterfrom
harshlm15:master

Conversation

@harshlm15

Copy link
Copy Markdown

Fixes issue #28
Now there are no errors coming in the terminal when there is lone % value.
The issue talks about the Success Message as well - if there are no errors.
Have left it out for now, in case, it is intentional to have no message for the users if there are no issues.

Thank you

harshlm15 added 2 commits May 30, 2026 21:53
Entries consisting solely of '%' currently emit:

Error parsing msgid at index 0: string index out of range
Error parsing msgstr at index 0: string index out of range

Validation still completes successfully, but the parser emits
confusing terminal output.
@harshlm15 harshlm15 changed the title Handle lone '%' translation strings without parser exceptions Handle lone '%' translation strings without parser exceptions - fixes issue #28 May 30, 2026
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.

1 participant