-
Notifications
You must be signed in to change notification settings - Fork 63
Conversation
src/locales/scripts/wp-locales.json
Outdated
@@ -467,7 +467,7 @@ | |||
"facebookLocale": "el_GR", | |||
"wpLocale": "el", | |||
"code": "el", | |||
"translated": 9 | |||
"translated": 28 |
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 looks like the change from #545, should this PR be pointed at that branch?
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.
Whoops, I didn't mean to include that file! I'll remove it from the commit.
8d56d6e
to
1536996
Compare
1536996
to
a2a9930
Compare
@@ -130,7 +129,6 @@ export default function useI18nSync() { | |||
onMounted(() => { | |||
window.addEventListener('message', localeMsgHandler) | |||
sendWindowMessage({ |
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.
Nice way of injecting dev
in one place instead of doing it in every function :)
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.
LGTM
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.
LGTM, this is great!
* Default environment variables are set on this key. Defaults are fallbacks to existing env vars. | ||
* All boolean values should be designed to be false by default. | ||
*/ | ||
export const env = { |
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.
I wonder if there is a performance boost to using Object.freeze
on this object literal?
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.
Maybe? I doubt it's a measurable difference though.
Fixes
Fixes #524 by @sarayourfriend
Description
Stops importing from
nuxt.config.js
during the runtime. See related issue for the rationale behind this.Testing Instructions
Run
pnpm dev
andpnpm storybook
and verify that they work as expected. There should be no changes to the behavior of the application.Checklist
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin