js: adapt hidden force-pushes to corrected french translation (#83831)
gitea/gitea-eo-custom/pipeline/head This commit looks good Details

This commit is contained in:
Paul Marillonnet 2023-11-22 14:30:38 +01:00
parent 6672b0b68a
commit b8798ae980
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
const pull_comments = document.querySelectorAll('.pull .comment-list .timeline-item')
var previous_forced_push = null;
for (var i=0; i<pull_comments.length; i++) {
var is_this_forced_push = (pull_comments[i].textContent.search('a forcé la poussée') != -1 ||
var is_this_forced_push = (pull_comments[i].textContent.search('a forcé') != -1 ||
pull_comments[i].textContent.search('a soumit de force') != -1 ||
pull_comments[i].textContent.search('force-pushed') != -1)
if (is_this_forced_push) {