1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

Tools: Ignore translations in changelog

This commit is contained in:
Laurent Cozic 2022-12-04 19:35:48 +00:00
parent 67bd5a0f18
commit 4cc41ccd2e

View File

@ -132,7 +132,7 @@ function filterLogs(logs: LogEntry[], platform: Platform) {
// but that's not useful in a changelog especially since most people
// don't know country and language codes. So we catch all these and
// bundle them all up in a single "Updated translations" at the end.
if (log.message.match(/Translation: Update .*?\.po/)) {
if (log.message.match(/Translation:\sUpdate\s.*?(\.po|[a-zA-Z][a-zA-Z]|[a-zA-Z][a-zA-Z]_[a-zA-Z][a-zA-Z])/)) {
// updatedTranslations = true;
addIt = false;
}