Skip to content
Snippets Groups Projects

Draft: Take translations into account to find and replace searched text

WIP. Catching this up to the 2.0.x main branch (was 3 years stale)

What's left:

  • When Drupal's $getQuery()->execute() runs, it return a list of entities that match on the text in ANY of the languages. Some logic here presupposes that there's a match in every language (leftover from when it wasn't away of multiple languages at all)
  • Assess issues in Node::search()
  • Assess issues in Paragraph::search()
  • Assess issues in Node::replace()
  • Assess issues in Paragraph::replace()
  • Assess issues in Node::undo()
  • Assess issues in Paragraph::undo()
  • Add functional test for multilanguage Search (Node and Paragraph)
  • Add functional test for multilanguage Replace (Node and Paragraph)
  • Add functional test for multilanguage Undo (Node and Paragraph)
Edited by Brad Garner

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Brad Garner added 1 commit

    added 1 commit

    Compare with previous version

  • Brad Garner mentioned in merge request !9

    mentioned in merge request !9

  • Brad Garner added 1 commit

    added 1 commit

    • f0817b47 - linting code for phpcs issues

    Compare with previous version

  • Brad Garner changed the description

    changed the description

  • Brad Garner marked the checklist item When Drupal's $getQuery()->execute() runs, it return a list of entities that match on the text in ANY of the languages. Some logic here presupposes that there's a match in every language (leftover from when it wasn't away of multiple languages at all) as completed

    marked the checklist item When Drupal's $getQuery()->execute() runs, it return a list of entities that match on the text in ANY of the languages. Some logic here presupposes that there's a match in every language (leftover from when it wasn't away of multiple languages at all) as completed

  • Brad Garner marked this merge request as draft

    marked this merge request as draft

  • Brad Garner changed title from Draft: DRAFT Take translations into account to find and replace searched text to Draft: Take translations into account to find and replace searched text

    changed title from Draft: DRAFT Take translations into account to find and replace searched text to Draft: Take translations into account to find and replace searched text

  • Brad Garner added 1 commit

    added 1 commit

    • 91fb3944 - support serch results in > 1 lang of same node

    Compare with previous version

  • Brad Garner changed the description

    changed the description

  • Brad Garner added 1 commit

    added 1 commit

    • 776238c2 - Improve translation logic for nodes lacking translations

    Compare with previous version

Please register or sign in to reply
Loading