Skip to content

i18n: Feat/add zig wasm - #1032

Closed
livecodes-ci[bot] wants to merge 2 commits into
developfrom
i18n/Seth0x41/feat/add-zig-wasm
Closed

livecodes-ci[bot] wants to merge 2 commits into
developfrom
i18n/Seth0x41/feat/add-zig-wasm

Conversation

@livecodes-ci

@livecodes-ci livecodes-ci Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this? (check all applicable)

  • ✨ Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • ♻️ Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore (Release)
  • ⏩ Revert
  • 🌐 Internationalization / Translation

Description

i18n Actions: .i18n-update-pull

Localization pulled from Lokalise.

Name Description
i18n Branch i18n/Seth0x41/feat/add-zig-wasm
Last Commit SHA 67ba423

Related Tickets & Documents

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 12, 2026

Copy link
Copy Markdown

Deploying livecodes with  Cloudflare Pages  Cloudflare Pages

Latest commit: 67ba423
Status: ✅  Deploy successful!
Preview URL: https://a7a41011.livecodes.pages.dev
Branch Preview URL: https://i18n-seth0x41-feat-add-zig-w.livecodes.pages.dev

View logs

@livecodes-ci livecodes-ci Bot mentioned this pull request Sep 12, 2026
19 tasks
@netlify

netlify Bot commented Sep 12, 2026

Copy link
Copy Markdown

Deploy Preview for livecodes ready!

Name Link
🔨 Latest commit 67ba423
🔍 Latest deploy log https://app.netlify.com/projects/livecodes/deploys/6aa54646c7bf45000827cc68
😎 Deploy Preview https://deploy-preview-1032--livecodes.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions

Copy link
Copy Markdown
Contributor

Size Change: 0 B

Total Size: 1.13 MB

ℹ️ View Unchanged
Filename Size Change
build/404.html 1.45 kB 0 B
build/app.html 250 B 0 B
build/index.html 1.57 kB +2 B (+0.13%)
build/livecodes/app.css 23.8 kB 0 B
build/livecodes/app.js 114 kB +46 B (+0.04%)
build/livecodes/assets.js 8.64 kB -27 B (-0.31%)
build/livecodes/assets/noop.js 18 B 0 B
build/livecodes/assets/templates/diagrams-starter.html 2.19 kB 0 B
build/livecodes/backup.js 3.74 kB +1 B (+0.03%)
build/livecodes/blockly.js 15.6 kB 0 B
build/livecodes/broadcast.js 1.19 kB -1 B (-0.08%)
build/livecodes/bundle-types.js 4.4 kB 0 B
build/livecodes/code-to-image.js 11 kB -17 B (-0.15%)
build/livecodes/codejar.js 19.4 kB 0 B
build/livecodes/codemirror.js 17.6 kB 0 B
build/livecodes/compile.page.js 2.46 kB 0 B
build/livecodes/compile.worker.js 15.8 kB 0 B
build/livecodes/compiler-utils.js 3.93 kB 0 B
build/livecodes/custom-editor-utils.js 198 B 0 B
build/livecodes/deploy.js 6.91 kB +2 B (+0.03%)
build/livecodes/editor-settings.js 22.7 kB -10 B (-0.04%)
build/livecodes/embed-ui.js 5.51 kB -7 B (-0.13%)
build/livecodes/embed.js 93.7 kB -54 B (-0.06%)
build/livecodes/export.js 3.92 kB 0 B
build/livecodes/firebase.js 22.7 kB 0 B
build/livecodes/format.worker.js 15.1 kB 0 B
build/livecodes/google-fonts.js 7.12 kB 0 B
build/livecodes/headless.js 81.2 kB 0 B
build/livecodes/i18n-ar-language-info.json 5.68 kB +102 B (+1.83%)
build/livecodes/i18n-ar-translation.json 9.37 kB +7 B (+0.07%)
build/livecodes/i18n-bn-language-info.json 6.11 kB +98 B (+1.63%)
build/livecodes/i18n-bn-translation.json 9.7 kB -2 B (-0.02%)
build/livecodes/i18n-de-language-info.json 5.74 kB +79 B (+1.4%)
build/livecodes/i18n-de-translation.json 9.49 kB +9 B (+0.09%)
build/livecodes/i18n-en-language-info.json 4.88 kB 0 B
build/livecodes/i18n-en-translation.json 8.09 kB 0 B
build/livecodes/i18n-es-language-info.json 5.41 kB +80 B (+1.5%)
build/livecodes/i18n-es-translation.json 9.22 kB +8 B (+0.09%)
build/livecodes/i18n-fa-language-info.json 5.88 kB +93 B (+1.61%)
build/livecodes/i18n-fa-translation.json 9.52 kB +4 B (+0.04%)
build/livecodes/i18n-fr-language-info.json 5.62 kB +90 B (+1.63%)
build/livecodes/i18n-fr-translation.json 9.47 kB +7 B (+0.07%)
build/livecodes/i18n-hi-language-info.json 6.34 kB +195 B (+3.17%)
build/livecodes/i18n-hi-translation.json 10 kB +13 B (+0.13%)
build/livecodes/i18n-hu-language-info.json 5.63 kB +96 B (+1.73%)
build/livecodes/i18n-hu-translation.json 9.4 kB 0 B
build/livecodes/i18n-id-language-info.json 5.2 kB +79 B (+1.54%)
build/livecodes/i18n-id-translation.json 8.73 kB +4 B (+0.05%)
build/livecodes/i18n-it-language-info.json 5.51 kB +85 B (+1.57%)
build/livecodes/i18n-it-translation.json 9.3 kB +18 B (+0.19%)
build/livecodes/i18n-ja-language-info.json 6.07 kB +104 B (+1.74%)
build/livecodes/i18n-ja-translation.json 9.67 kB -3 B (-0.03%)
build/livecodes/i18n-nl-language-info.json 5.41 kB +85 B (+1.6%)
build/livecodes/i18n-nl-translation.json 8.95 kB +16 B (+0.18%)
build/livecodes/i18n-pt-language-info.json 5.46 kB +85 B (+1.58%)
build/livecodes/i18n-pt-translation.json 9.41 kB +7 B (+0.07%)
build/livecodes/i18n-ru-language-info.json 6.07 kB +113 B (+1.9%)
build/livecodes/i18n-ru-translation.json 10.4 kB +1 B (+0.01%)
build/livecodes/i18n-tr-language-info.json 5.6 kB +89 B (+1.61%)
build/livecodes/i18n-tr-translation.json 9.31 kB +9 B (+0.1%)
build/livecodes/i18n-ur-language-info.json 6.34 kB +121 B (+1.95%)
build/livecodes/i18n-ur-translation.json 9.85 kB +10 B (+0.1%)
build/livecodes/i18n-zh-CN-language-info.json 5.3 kB +102 B (+1.96%)
build/livecodes/i18n-zh-CN-translation.json 8.71 kB +7 B (+0.08%)
build/livecodes/i18n.js 20.5 kB +43 B (+0.21%)
build/livecodes/import-src.js 18.5 kB 0 B
build/livecodes/import.js 16.9 kB -4 B (-0.02%)
build/livecodes/index.js 5.52 kB -12 B (-0.22%)
build/livecodes/lang-art-template-compiler.js 1.68 kB 0 B
build/livecodes/lang-assemblyscript-compiler.js 290 B 0 B
build/livecodes/lang-assemblyscript-script.js 386 B 0 B
build/livecodes/lang-astro-compiler.js 2.37 kB 0 B
build/livecodes/lang-clio-compiler.js 1.58 kB 0 B
build/livecodes/lang-commonlisp-script.js 123 B 0 B
build/livecodes/lang-cpp-script.js 2.05 kB 0 B
build/livecodes/lang-cpp-wasm-script.js 2.88 kB 0 B
build/livecodes/lang-csharp-wasm-script.js 2.22 kB 0 B
build/livecodes/lang-diagrams-compiler-esm.js 5.12 kB 0 B
build/livecodes/lang-dot-compiler.js 1.69 kB 0 B
build/livecodes/lang-ejs-compiler.js 1.66 kB 0 B
build/livecodes/lang-eta-compiler.js 1.68 kB 0 B
build/livecodes/lang-fennel-compiler.js 1.64 kB 0 B
build/livecodes/lang-fsharp-compiler.js 802 B 0 B
build/livecodes/lang-fsharp-wasm-script.js 3.07 kB 0 B
build/livecodes/lang-gleam-compiler.js 3.13 kB 0 B
build/livecodes/lang-go-wasm-script.js 3.29 kB 0 B
build/livecodes/lang-haml-compiler.js 1.69 kB 0 B
build/livecodes/lang-handlebars-compiler.js 2.01 kB 0 B
build/livecodes/lang-imba-compiler.js 147 B 0 B
build/livecodes/lang-java-script.js 4.09 kB 0 B
build/livecodes/lang-jinja-compiler.js 1.67 kB 0 B
build/livecodes/lang-julia-script.js 3.32 kB 0 B
build/livecodes/lang-liquid-compiler.js 1.71 kB 0 B
build/livecodes/lang-lua-wasm-script.js 205 B 0 B
build/livecodes/lang-malina-compiler.js 3.32 kB 0 B
build/livecodes/lang-markdown-compiler.js 1.7 kB 0 B
build/livecodes/lang-markdown-script.js 1.47 kB 0 B
build/livecodes/lang-minizinc-script.js 2.09 kB 0 B
build/livecodes/lang-mustache-compiler.js 1.68 kB 0 B
build/livecodes/lang-nunjucks-compiler.js 2.03 kB 0 B
build/livecodes/lang-perl-script.js 268 B 0 B
build/livecodes/lang-php-wasm-script.js 347 B 0 B
build/livecodes/lang-postgresql-compiler-esm.js 1.76 kB 0 B
build/livecodes/lang-prolog-script.js 204 B 0 B
build/livecodes/lang-pug-compiler.js 371 B 0 B
build/livecodes/lang-python-wasm-script.js 1.89 kB 0 B
build/livecodes/lang-r-script-esm.js 2.47 kB 0 B
build/livecodes/lang-rescript-compiler-esm.js 2.19 kB 0 B
build/livecodes/lang-rescript-formatter.js 1.55 kB 0 B
build/livecodes/lang-riot-compiler.js 3.2 kB 0 B
build/livecodes/lang-ruby-wasm-script.js 1.74 kB 0 B
build/livecodes/lang-rust-wasm-script.js 3.11 kB 0 B
build/livecodes/lang-scss-compiler.js 1.85 kB 0 B
build/livecodes/lang-solid-compiler.js 263 B 0 B
build/livecodes/lang-sql-compiler.js 1.67 kB 0 B
build/livecodes/lang-sql-script.js 2.08 kB 0 B
build/livecodes/lang-svelte-compiler.js 5.04 kB 0 B
build/livecodes/lang-tcl-script.js 1.86 kB 0 B
build/livecodes/lang-teal-compiler.js 1.75 kB 0 B
build/livecodes/lang-twig-compiler.js 1.68 kB 0 B
build/livecodes/lang-vento-compiler.js 1.73 kB 0 B
build/livecodes/lang-vue-compiler.js 6.44 kB 0 B
build/livecodes/lang-vue2-compiler.js 3.84 kB 0 B
build/livecodes/lang-wat-compiler.js 348 B 0 B
build/livecodes/lang-wat-script.js 1.98 kB 0 B
build/livecodes/lang-zig-wasm-script.js 5.15 kB 0 B
build/livecodes/language-info.js 8.29 kB -9 B (-0.11%)
build/livecodes/monaco.js 22.9 kB 0 B
build/livecodes/open.js 6.26 kB +18 B (+0.29%)
build/livecodes/processor-lightningcss-compiler.js 1.91 kB 0 B
build/livecodes/processor-postcss-compiler.js 2.06 kB 0 B
build/livecodes/processor-tailwindcss-compiler.js 5.32 kB 0 B
build/livecodes/processor-unocss-compiler.js 355 B 0 B
build/livecodes/processor-windicss-compiler.js 450 B 0 B
build/livecodes/quill.css 697 B 0 B
build/livecodes/quill.js 5.87 kB 0 B
build/livecodes/resources.js 3.43 kB -5 B (-0.15%)
build/livecodes/result-utils.js 1.97 kB 0 B
build/livecodes/share.js 3.89 kB -4 B (-0.1%)
build/livecodes/snippets.js 6.08 kB +4 B (+0.07%)
build/livecodes/sync-ui.js 3.29 kB +4 B (+0.12%)
build/livecodes/sync.js 3.58 kB 0 B
build/livecodes/sync.worker.js 29.7 kB 0 B
build/livecodes/templates.js 27.7 kB 0 B
build/sdk/livecodes.js 4.43 kB 0 B
build/sdk/livecodes.umd.js 5.23 kB 0 B
build/sdk/package.json 456 B 0 B
build/sdk/preact.js 4.81 kB 0 B
build/sdk/react.js 4.79 kB 0 B
build/sdk/solid.js 4.94 kB 0 B
build/sdk/svelte.js 4.4 kB 0 B
build/sdk/vue.js 4.81 kB 0 B
build/sdk/web-components.js 5.83 kB 0 B

compressed-size-action

@sonarqubecloud

Copy link
Copy Markdown

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

The rustWasm translations are correct, but this pull also rewrites existing link placeholders in unrelated languages. Across 12 locales go.link loses its trailing "LiveCodes Documentation" pair, and across 11 locales java.link does the same; both silently drop the "Load starter template" button and move that label onto the documentation link. hi, ur, ja and zh-CN additionally come back with malformed or non-ASCII tag markers. These are regressions in previously working translations and should be repaired before merge.

Reviewed changes

2 commits / 69 files. Adds Lokalise translations for the new Rust (Wasm) language and, incidentally, rewrites several pre-existing strings.

  • rustWasm additionsrustWasm.name/desc/link plus templates.starter.rust-wasm in all 17 non-English locales. Placeholder sequences match the en source (rustWasm.desc = <tag-1> for Miri; rustWasm.link = <tag-1>..<tag-10>). No issues found here.
  • go.link / java.link corruption — placeholder sets shortened, dropping the docs entry and the starter-template button (details below).
  • Malformed csharpWasm.link / jinja.linkhi, ur and zh-CN strings containing non-ASCII/partial markers and unbalanced tags.

⚠️ Corrupted link placeholders break the language-info tooltip in 12 locales

unabstractifyHTML maps each translation tag-N onto the N-th element of the language's default HTML, so when a translation references fewer tags than the default the omitted elements are never created. This pull shortens go.link from en's <tag-1>..<tag-12> to <tag-1>..<tag-10> and java.link from <tag-1>..<tag-10> to <tag-1>..<tag-8>, so the "LiveCodes Documentation" item disappears and the "Load starter template" label is rendered on the docs anchor instead of the (now-missing) starter button.

Technical details
# Corrupted link placeholders

## Affected sites
- `go.link` reduced 12→10 tags: `src/livecodes/i18n/locales/{ar,de,es,fa,fr,hi,it,ja,pt,ru,ur,zh-CN}/language-info.lokalise.json` (new line 241 in each) plus the generated `language-info.ts` (new lines 135–141).
- `java.link` reduced 10→8 tags: `src/livecodes/i18n/locales/{ar,de,es,fr,hi,it,ja,pt,ru,ur,zh-CN}/language-info.lokalise.json` (line 286) plus `language-info.ts` (lines 160–166).
- Tag count intact but nesting/text malformed: `hi/language-info.lokalise.json` `csharpWasm.link` (136) and `jinja.link` (304); `ur/language-info.lokalise.json` `java.link` (286) and `jinja.link` (304). The `zh-CN`, `ja`, `hi`, `ur` `java.link` values collapse all text into `tag-2` or swap closing tags.
- Unrelated non-i18n change: `storybook/solid/src/solid.ts:13` (eslint-disable comment replaced with a trailing space).

## Required outcome
- Every locale's `go.link` again references `<tag-1>`..`<tag-12>` and `java.link` references `<tag-1>`..`<tag-10>`, with the original localized text restored.
- `hi`/`ur` malformed strings repaired using ASCII `tag-N` markers with balanced open/close pairs.
- The `storybook/solid/src/solid.ts` comment restored.

## Suggested approach
- Revert the unrelated `go.link`, `java.link`, `jinja.link` and `csharpWasm.link` hunks to their base values, keeping only the `rustWasm` + `templates.starter.rust-wasm` additions.
- The same broken strings also live in Lokalise and will be re-pulled, so correct the Lokalise `en` source's placeholder layout as well.
- `.ts` files are generated from the sibling `.lokalise.json` by `scripts/i18n-import.mjs`; fix the `.lokalise.json` and regenerate instead of hand-editing both.

## Open questions for the human
- Was the `go.link`/`java.link` shortening intentional (i.e. should `en` + `language-info.html` drop the "LiveCodes Documentation" item), or is this Lokalise drift that should be rejected?

ℹ️ Nitpicks

  • storybook/solid/src/solid.ts:13 — the // eslint-disable-next-line import/order comment was replaced with a trailing space; restore it so the diff stays scoped to i18n.
  • PR title/branch say "add zig wasm" but the content adds Rust (Wasm) translations; consider renaming for future archaeology.

Pullfrog  | Fix all ➔Fix 👍s ➔View workflow run | Using openrouter/deepseek/deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

},
"go.link": {
"translation": "<tag-1><tag-2>موقع جو</tag-2></tag-1> <tag-3><tag-4>وثائق جو</tag-4></tag-3> <tag-5> <tag-6>مستودع GopherJS</tag-6> </tag-5> <tag-7> <tag-8>تعلم X في Y دقيقة، حيث X=Go</tag-8> </tag-7> <tag-9> <tag-10>وثائق LiveCodes</tag-10> </tag-9> <tag-11> <tag-12>تحميل قالب البداية</tag-12> </tag-11>"
"translation": "<tag-1><tag-2>موقع جو</tag-2></tag-1> <tag-3><tag-4>وثائق جو</tag-4></tag-3> <tag-5> <tag-6>مستودع GopherJS</tag-6> </tag-5> <tag-7> <tag-8>تعلم X في Y دقيقة، حيث X=Go</tag-8> </tag-7> <tag-9><tag-10>تحميل قالب البداية</tag-10></tag-9>"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Systematic go.link regression: the pull cuts the placeholder set from en's <tag-1>..<tag-12> to <tag-1>..<tag-10>. Since unabstractifyHTML maps tag N to the N-th default element, the "LiveCodes Documentation" item (tags 9–10) now carries the "Load starter template" label pointing at the docs URL, and the starter-template button (tags 11–12) is never created. The same shortening appears in 11 other locales (de, es, fa, fr, hi, it, ja, pt, ru, ur, zh-CN).

},
"csharpWasm.link": {
"translation": "<tag-1> <tag-2>सी# भाषा दस्तावेज़ीकरण</tag-2> </tag-1> <tag-3> <tag-4>एक्स को वाई मिनटों में सीखें, जहां एक्स=सी#</tag-4> </tag-3> <tag-5> <tag-6>लाइवकोड दस्तावेज़ीकरण</tag-6> </tag-5> <tag-7> <tag-8>स्टार्टर टेम्पलेट लोड करें</tag-8> </tag-7>"
"translation": "<tag-1> <tag-2> सी# भाषा दस्तावेज़ीकरण </tag-2> टैग-2 </tag-1> <tag-3> <tag-4> एक्स को वाई मिनटों में सीखें, जहां एक्स=सी# </tag-4> > </टैग </tag-3> > <tag-5> <tag-6> लाइवकोड दस्तावेज़ीकरण </tag-6> </ <tag-7> </tag-5> <टैग-7> <tag-8> स्टार्टर टेम्पलेट लोड करें </tag-8> </tag-7>"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi's csharpWasm.link came back with non-ASCII/partial markers (टैग-2, </ <tag-7>, <टैग-7>) and unbalanced tags. unabstractifyHTML only recognizes ASCII tag-\d+, so these elements are dropped or mis-applied and the tooltip renders broken.

},
"jinja.link": {
"translation": "<tag-1> <tag-2>آفیشل ویب سائٹ</tag-2> </tag-1> <tag-3> <tag-4>ٹیمپلیٹ دستاویزات</tag-4> </tag-3> <tag-5> <tag-6>JavaScript کا نفاذ</tag-6> </tag-5> <tag-7> <tag-8>LiveCodes دستاویزات</tag-8> </tag-7>"
"translation": "<tag-1> <tag-2> آفیشل ویب سائٹ </tag-2> </tag-1> <tag-3> <tag-4> ٹیمپلیٹ دستاویزات </tag-4> </tag-3> <tag-5> <tag-6> JavaScript کا نفاذ </tag-6> </tag-5> <tag-7> <tag-8> LiveCodes Dog- </tag-7> > </tag-8>"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Malformed pair: <tag-8> LiveCodes Dog- </tag-7> > </tag-8> closes tag-7 before tag-8 and truncates the label mid-word, so the LiveCodes Documentation link is dropped.

},
"java.link": {
"translation": "<tag-1> <tag-2>Java 官方网站</tag-2> </tag-1> <tag-3> <tag-4>DoppioJVM</tag-4> </tag-3> <tag-5> <tag-6>在 Y 分钟内学习 X,其中 X=java</tag-6> </tag-5> <tag-7> <tag-8>LiveCodes 文档</tag-8> </tag-7> <tag-9> <tag-10>加载启动模板</tag-10> </tag-9>"
"translation": "<tag-1> <tag-2>Java 官方网站 DoppioJVM 在 Y 分钟内学习 X,其中 X=java 加载启动模板</tag-2> </tag-1> <tag-3> <tag-4></tag-4> </tag-3> <tag-5> <tag-6></tag-6> </tag-5> <tag-7> <tag-8></tag-8> </tag-7>"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The whole java.link text collapsed into the tag-2 anchor and every later tag is empty, so the tooltip renders one overstuffed Java link followed by empty list items.

@hatemhosny hatemhosny closed this Sep 12, 2026
@hatemhosny
hatemhosny deleted the i18n/Seth0x41/feat/add-zig-wasm branch September 12, 2026 12:54
@hatemhosny
hatemhosny restored the i18n/Seth0x41/feat/add-zig-wasm branch September 12, 2026 12:57
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.

1 participant