Skip to content

Commit bd7526f

Browse files
committed
Update Dashboard injection
1 parent 41be894 commit bd7526f

File tree

5 files changed

+77
-61
lines changed

5 files changed

+77
-61
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/chrome-manifest.json",
33
"manifest_version": 3,
4-
"version": "0.6.8",
4+
"version": "0.6.9",
55
"default_locale": "en",
66
"name": "__MSG_appName__",
77
"description": "__MSG_appDescription__",

package-lock.json

Lines changed: 72 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": true,
33
"name": "webflow-ui-localization",
44
"description": "Translate the Webflow Dashboard and Designer UI into Japanese, Chinese, Korean, and more!",
5-
"version": "0.6.8",
5+
"version": "0.6.9",
66
"license": "MIT",
77
"type": "module",
88
"author": {

src/content/injections.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ function injectDesignerFooter(
189189
}
190190

191191
function injectSimpleFooter(currentLanguage: Exclude<LanguageCode, 'off'>, isEnabled: boolean, attempt = 0) {
192-
const target = document.querySelector('nav[data-sc="LeftNavView VStack Stack View"]')
192+
// Webflow dashboard nav now nests under LeftNavContainer.
193+
const target = document.querySelector('div[data-sc="LeftNavContainer View"] nav')
193194
if (!target) {
194195
if (attempt < MAX_RETRIES) {
195196
setTimeout(() => injectSimpleFooter(currentLanguage, isEnabled, attempt + 1), RETRY_INTERVAL_MS)

src/locales/_ref/_no_translate.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ If these words are part of a sentence, KEEP them as they are in English within t
1010
- Designer / Webflow Designer
1111
- Editor (referring to the Webflow Designer's Editor Mode)
1212
- AI
13+
- Webflow AI
1314
- LLM
1415
- HTML
1516
- CSS

0 commit comments

Comments
 (0)