vslavik / poedit

Translations editor for Mac, Windows and Unix
https://poedit.net
MIT License
1.77k stars 275 forks source link

Check for duplicate message definitions does not work if po filename is longer than 8 characters #763

Closed taler21 closed 2 years ago

taler21 commented 2 years ago

If a po file contains duplicate message definitions (for whatever reason), thankfully Poedit points out this problem.

Poedit-duplicate-msg-filename-short

But this check currently only works for po files whose name is not longer than 8 characters. If the po filename is longer than 8 characters, duplicate message definitions are not reported by Poedit.

Same file with longer filename: Poedit-duplicate-msg-filename-long

Please find attached a ZIP archive containing two test files that can be used to reproduce the issue. po-files-with-duplicate-messages.zip

Tested with Poedit-3.1.1 on Windows 10.