-
Notifications
You must be signed in to change notification settings - Fork 360
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
Blockbase: make 404 into a php template so it can be translated #4332
Conversation
@@ -198,6 +198,9 @@ | |||
} | |||
} | |||
}, | |||
"layout": { | |||
"contentSize": "620px" |
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.
We should probably also look into making it so the layout key generates a CSS variable, because this is redundant.
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.
Couldn't find anything so opened this: WordPress/gutenberg#33705
@@ -3,10 +3,6 @@ | |||
<!-- wp:group {"layout":{"inherit":true}, "tagName":"main"} --> | |||
<main class="wp-block-group"> | |||
|
|||
<!-- wp:heading --> | |||
<h2>Results:</h2> |
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.
Should we do the same for blockbase? That would make all 4 blockbase themes i11n-ready.
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.
Other than removing Results:
from blockbase as well I think this is good-to-go. I'm glad it's only one (and a simple) page.
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.
This LGTM! should we create a Glotpress project for Blockbase? I think we only did so for Quadrat
Yeah we've only created one for Quadrat so far, guessing we should do one for Blockbase too. |
Changes proposed in this Pull Request:
This makes it so Blockbase and its children's 404 template is php-based so it can be translated. I
I could not just add a 404.php template to Quadrat. Blockbase's 404.html template would win in the template resolution logic. So I had to replace Blockbase's template with a php-based one to get this approach to work.
Related issue(s):
#3653