Skip to content

Add a filter for the classes of the translation table and an action after the translation table is displayed#1665

Merged
amieiro merged 6 commits intoGlotPress:developfrom
amieiro:translations-table-filter
Sep 19, 2023
Merged

Add a filter for the classes of the translation table and an action after the translation table is displayed#1665
amieiro merged 6 commits intoGlotPress:developfrom
amieiro:translations-table-filter

Conversation

@amieiro
Copy link
Copy Markdown
Member

@amieiro amieiro commented Jul 31, 2023

Problem

If we need to filter the classes of the translation table, or we need to add some element after the translation table is displayed, we can't do it.

This PR is related with this one at translate.wordpress.org.

Solution

This PR adds:

  • a filter tochange the classes of the translation table.
  • an action to add content after the translation table is displayed.

Testing Instructions

You can check this PR with this other PR, so you will see a live preview for the patterns on the right side of the translations table.

@amieiro amieiro marked this pull request as ready for review July 31, 2023 11:32
@amieiro amieiro requested review from akirk and trymebytes July 31, 2023 11:32
Comment thread gp-templates/translations.php Outdated
Comment thread gp-templates/translations.php
@amieiro amieiro changed the title Add a filter for the content of the translation table Add a filter for the classes of the translation table and an action after the translation table is showed Jul 31, 2023
@amieiro amieiro changed the title Add a filter for the classes of the translation table and an action after the translation table is showed Add a filter for the classes of the translation table and an action after the translation table is displayed Jul 31, 2023
@amieiro amieiro requested a review from akirk July 31, 2023 15:29
Comment thread gp-templates/translations.php Outdated
@amieiro amieiro force-pushed the translations-table-filter branch from 4e14c3c to 6f9a4cf Compare September 19, 2023 13:33
@amieiro amieiro merged commit 8be06ce into GlotPress:develop Sep 19, 2023
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.

2 participants