Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
i18n(desktop): remove the English instruction line from the DMG background
Elian Doran74f4ea1ab11d
diff --git a/apps/desktop/electron-forge/dmg-background/README.md b/apps/desktop/electron-forge/dmg-background/README.mdindex 60c1d2f69d..a6bed9d0e9 100644--- a/apps/desktop/electron-forge/dmg-background/README.md+++ b/apps/desktop/electron-forge/dmg-background/README.md@@ -35,7 +35,9 @@ composited at those coordinates. It is **reference only** — appdmg never uses- The two subtle "platforms" mark where Finder drops the real icons (app on the left, `/Applications`alias on the right). The icon **centers** must line up with the `contents` coordinates in`forge.config.ts`; those use a **bottom-left** origin, so `y_bottomleft = windowHeight - y_fromTop`.-- No icon text labels are baked in — Finder draws the app name and "Applications" under the real icons.+- **No baked text beyond the "Trilium Notes" wordmark** (a brand name, not translated). The DMG ships+ one image for every locale, so there is no localized instruction line — the arrow conveys the action,+ and Finder draws the app name and "Applications" labels under the real icons.## Output contractdiff --git a/apps/desktop/electron-forge/dmg-background/background-dev.png b/apps/desktop/electron-forge/dmg-background/background-dev.pngindex 4571ab3d40..8ea3605e92 100644Binary files a/apps/desktop/electron-forge/dmg-background/background-dev.png and b/apps/desktop/electron-forge/dmg-background/background-dev.png differdiff --git a/apps/desktop/electron-forge/dmg-background/[email protected] b/apps/desktop/electron-forge/dmg-background/[email protected]index 6c03c8db80..de30bb95d0 100644Binary files a/apps/desktop/electron-forge/dmg-background/[email protected] and b/apps/desktop/electron-forge/dmg-background/[email protected] differdiff --git a/apps/desktop/electron-forge/dmg-background/background.html b/apps/desktop/electron-forge/dmg-background/background.htmlindex ddc88143a4..249ead745c 100644--- a/apps/desktop/electron-forge/dmg-background/background.html+++ b/apps/desktop/electron-forge/dmg-background/background.html@@ -69,13 +69,8 @@.variant-nightly .s1 { stop-color: #8146b8; }.variant-nightly .s2 { stop-color: #6e2ea8; }- .hint {- position: absolute;- bottom: 26px; left: 0; right: 0;- text-align: center;- font-size: 12.5px; letter-spacing: 0.02em;- color: #8a909a;- }+ /* No instructional text: the DMG ships one baked image for every locale, and the+ arrow plus Finder's own icon labels already convey "drag to Applications". *//* Leaf fills — stable are the exact nine from icon-color.svg; nightly are purple ramps. */.variant-stable .g1 { fill: #95c980; } .variant-stable .g2 { fill: #72b755; } .variant-stable .g3 { fill: #4fa52b; }@@ -117,8 +112,6 @@<path d="M6 23 H74 M56 7 L80 23 L56 39" fill="none" stroke="url(#tri)"stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/></svg>-- <div class="hint">Drag Trilium Notes to your Applications folder</div></div><script>const params = new URLSearchParams(location.search);diff --git a/apps/desktop/electron-forge/dmg-background/background.png b/apps/desktop/electron-forge/dmg-background/background.pngindex 892b3eae0d..ca9a451015 100644Binary files a/apps/desktop/electron-forge/dmg-background/background.png and b/apps/desktop/electron-forge/dmg-background/background.png differdiff --git a/apps/desktop/electron-forge/dmg-background/[email protected] b/apps/desktop/electron-forge/dmg-background/[email protected]index 77824be24a..dc814a2862 100644Binary files a/apps/desktop/electron-forge/dmg-background/[email protected] and b/apps/desktop/electron-forge/dmg-background/[email protected] differdiff --git a/apps/desktop/electron-forge/dmg-background/preview.png b/apps/desktop/electron-forge/dmg-background/preview.pngindex 50a5003d5b..6223bbb49e 100644Binary files a/apps/desktop/electron-forge/dmg-background/preview.png and b/apps/desktop/electron-forge/dmg-background/preview.png differ