-
Notifications
You must be signed in to change notification settings - Fork 173
Add the pattern preview #169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
...s.org/public_html/wp-content/plugins/wporg-gp-virtual-projects/wporg-gp-virtual-projects.php
Outdated
Show resolved
Hide resolved
…projects/wporg-gp-virtual-projects.php Co-authored-by: Alex Kirk <[email protected]>
|
After some hiccups with getting the patch applied and realizing I need to append |
|
@akirk can you review this related GlotPress PR, so we can include it in the next GlotPress release? |
akirk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GlotPress/GlotPress#1665 is already approved, we can move ahead with this one!
See #169 git-svn-id: https://meta.svn.wordpress.org/sites/trunk@12904 74240141-8908-4e6f-9713-ba540dce6ec7
|
I have released this PR to production and I have informed to the community about this improvement. I close this PR. |
See WordPress#169 git-svn-id: https://meta.svn.wordpress.org/sites/trunk@12904 74240141-8908-4e6f-9713-ba540dce6ec7
Problem
When you see the strings to translate in a pattern, you don't have a live preview to be able to see the strings in context.
Solution
This PR adds the live preview for the patterns, using the filter and action added in GlotPress.
Responsive preview (under 1280 px)
Testing Instructions
You need to use this GlotPress branch (or the develop branch if this branch has been merged).
You need to add the
&pattern_preview=truetext in the URL to enable this preview.To test this PR: