mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-26 23:28:43 +00:00
feat(app): bundle OpenMono as the default mono font (#64797)
This commit is contained in:
parent
82d8fc5bec
commit
b15f4e9301
93 changed files with 1985 additions and 110 deletions
1
bun.lock
1
bun.lock
|
|
@ -57,7 +57,6 @@
|
|||
"@dnd-kit/abstract": "0.5.0",
|
||||
"@dnd-kit/dom": "0.5.0",
|
||||
"@dnd-kit/solid": "0.5.0",
|
||||
"@ibm/plex": "6.4.1",
|
||||
"@kobalte/core": "catalog:",
|
||||
"@opencode/client": "workspace:*",
|
||||
"@opencode/gui-plugins": "workspace:*",
|
||||
|
|
|
|||
|
|
@ -79,10 +79,11 @@ Users choose three fonts in Settings > Appearance. Every surface uses one of the
|
|||
| Code font | Shell commands, code, paths shown as code, diffs, logs, tool input | `var(--font-family-mono)`, `var(--v2-font-family-code)`, `font-mono`, or a `<code>` / `<pre>` element |
|
||||
| Terminal font | Terminal output only | `appearance.font("mono")` from the GUI plugin SDK |
|
||||
|
||||
- Never write a literal family (`Inter`, `"IBM Plex Mono"`, `monospace`, `Menlo`, `system-ui`) in production CSS, classes, inline styles, canvas `font` strings or widget options. A literal ignores the user's setting.
|
||||
- Never add an `@font-face`, font file, or font package outside `packages/app/src/index.css`. That file is the only place the app ships faces: Inter (variable), IBM Plex Mono Text (weights below 600), Bold (600 and up) and Text Italic, and JetBrainsMono Nerd Font Mono Regular and Bold. If a design needs a face that is not shipped, add it there and say why in the PR.
|
||||
- Never write a literal family (`Inter`, `"OpenMono"`, `monospace`, `Menlo`, `system-ui`) in production CSS, classes, inline styles, canvas `font` strings or widget options. A literal ignores the user's setting.
|
||||
- Never add an `@font-face`, font file, or font package outside `packages/app/src/index.css`. That file is the only place the app ships faces: Inter (variable), and OpenMono Regular (weights below 600), Bold (600 and up) and Italic for both code and the terminal. If a design needs a face that is not shipped, add it there and say why in the PR.
|
||||
- The OpenMono files in `src/assets/fonts` are made from the app build of OpenMono Nerd: no ligatures and every character one cell wide. Each style has a `-latin` file, which loads with the app, and a `-cyrillic` and a `-rest` file, which `unicode-range` loads when a character of theirs is drawn. The nine text files and their `unicode-range` values are the same as the websites' (`services/site/script/openmono.py`); change both scripts together. All styles share `OpenMono-icons.woff2` (the Nerd Fonts icons), whose rules come last in `src/index.css`. They are in `src`, not `public`, so that each URL has a content hash: the web server caches font files for a year. Do not replace them with the files from the OpenMono release, which have ligatures. Rebuild them with `uvx --from 'fonttools[woff]==4.60.1' python script/openmono.py <app-nerd build folder>` from `packages/app`. It writes nothing unless the build is complete, its icons are the same in every style, every character is in the `unicode-range` of its own rule in `src/index.css`, and its copyright lines are in the third-party notices.
|
||||
- Show shell commands with the timeline shell metrics: code font, `13px`, weight `440`, `-0.04px` letter spacing. Do not invent another size for the same content.
|
||||
- Prefer weight tokens (`font-medium`, `var(--font-weight-medium)`) over literal weights. Mono at `600` or more renders IBM Plex Mono Bold, so reserve it for real emphasis.
|
||||
- Prefer weight tokens (`font-medium`, `var(--font-weight-medium)`) over literal weights. Mono at `600` or more renders OpenMono Bold, so reserve it for real emphasis.
|
||||
- Do not read font settings directly. `src/settings/model.tsx` writes them to the CSS variables above, and the plugin host passes the terminal font through `appearance.font`.
|
||||
|
||||
## Loading Indicators
|
||||
|
|
|
|||
|
|
@ -752,7 +752,7 @@ story(
|
|||
|
||||
const read = () => ({
|
||||
state: reads.state?.(),
|
||||
font: reads.font?.().startsWith('"JetBrainsMono Nerd Font Mono"') ? "default mono" : reads.font?.(),
|
||||
font: reads.font?.().startsWith('"OpenMono"') ? "default mono" : reads.font?.(),
|
||||
prefs: reads.prefs?.value?.count,
|
||||
ready: reads.prefs?.ready(),
|
||||
writes: [...host.writes],
|
||||
|
|
|
|||
|
|
@ -42,6 +42,56 @@ test("restores a terminal from the server's snapshot after a reload", async ({ p
|
|||
])
|
||||
})
|
||||
|
||||
test("draws terminal characters whose font files arrive after the first paint", async ({ page }) => {
|
||||
// The Nerd Fonts icons and the characters outside Latin and Cyrillic are font files of their own, which load when
|
||||
// a terminal first draws one of their characters.
|
||||
const icons = await holdRoute(page, /OpenMono-icons[^/]*\.woff2/)
|
||||
const rest = await holdRoute(page, /OpenMono-Regular-rest[^/]*\.woff2/)
|
||||
|
||||
// A folder icon and a Greek letter (λ, in the "rest" file) on the first row, with the cursor, whose row the terminal
|
||||
// redraws by itself, on the last one.
|
||||
const { persistentPty } = await openSession(page, {
|
||||
name: "Terminals",
|
||||
persistentPty: {
|
||||
initial: [{ id: "pty_icons", sessionID: SESSION, title: "Build", output: "ls \uf07b \u03bb\x1b[999;1H" }],
|
||||
},
|
||||
})
|
||||
|
||||
await openSide(page)
|
||||
await showTerminal(page, "Build", "pty_icons")
|
||||
await Promise.all([icons.arrived, rest.arrived])
|
||||
|
||||
// What the first cells of a row show: undefined while they are blank, else a checksum of their pixels.
|
||||
const row = (index: number) =>
|
||||
terminalScreen(page, "pty_icons")
|
||||
.locator("canvas")
|
||||
.evaluate(
|
||||
(canvas: HTMLCanvasElement, input) => {
|
||||
const height = Math.round(canvas.height / input.rows)
|
||||
const pixels = canvas.getContext("2d")!.getImageData(0, input.index * height, 80, height).data
|
||||
|
||||
if (pixels.every((value, index) => value === pixels[index % 4])) return
|
||||
|
||||
return pixels.reduce((sum, value) => (sum * 31 + value) >>> 0, 0)
|
||||
},
|
||||
{ index, rows: persistentPty.terminals[0]!.size.rows },
|
||||
)
|
||||
|
||||
await expect.poll(() => row(0)).toBeDefined()
|
||||
const fallback = await row(0)
|
||||
icons.release()
|
||||
rest.release()
|
||||
await page.evaluate(() => document.fonts.ready.then(() => undefined))
|
||||
|
||||
// The same text on the third row, first drawn with the files loaded, is what the first row must now show.
|
||||
persistentPty.output("pty_icons", "\x1b[3;1Hls \uf07b \u03bb\x1b[999;1H")
|
||||
await expect.poll(() => row(2)).toBeDefined()
|
||||
const loaded = await row(2)
|
||||
expect(loaded).not.toBe(fallback)
|
||||
|
||||
await expect.poll(() => row(0)).toBe(loaded)
|
||||
})
|
||||
|
||||
test("after a reload, the close shortcut closes the restored terminal", async ({ page }) => {
|
||||
// Elsewhere Ctrl+W reaches the shell, so the terminal hands only macOS's Cmd+W to the app.
|
||||
await page.addInitScript(() => Object.defineProperty(navigator, "platform", { get: () => "MacIntel" }))
|
||||
|
|
|
|||
|
|
@ -448,7 +448,7 @@ test("keeps the old workspace's shell on its own Location while destination hist
|
|||
})
|
||||
|
||||
test("loads the transcript code font before opening rich history", async ({ page }) => {
|
||||
const font = page.waitForResponse((response) => /IBMPlexMono-Text[^/]*\.woff2/.test(response.url()))
|
||||
const font = page.waitForResponse((response) => /OpenMono-Regular-latin[^/]*\.woff2/.test(response.url()))
|
||||
await openTabs(page, {
|
||||
pageMessages: () => ({
|
||||
items: [{ id: "msg_font_source", type: "user", text: "A transcript with no code", time: { created: 1 } }],
|
||||
|
|
@ -468,7 +468,7 @@ test("loads the transcript code font before opening rich history", async ({ page
|
|||
code.style.font = "440 13px var(--font-family-mono)"
|
||||
code.textContent = "code"
|
||||
code.getBoundingClientRect()
|
||||
const loaded = document.fonts.check('440 13px "IBM Plex Mono"')
|
||||
const loaded = document.fonts.check('440 13px "OpenMono"')
|
||||
code.remove()
|
||||
|
||||
return loaded
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@
|
|||
"@dnd-kit/abstract": "0.5.0",
|
||||
"@dnd-kit/dom": "0.5.0",
|
||||
"@dnd-kit/solid": "0.5.0",
|
||||
"@ibm/plex": "6.4.1",
|
||||
"@kobalte/core": "catalog:",
|
||||
"@opencode/client": "workspace:*",
|
||||
"@opencode/schema": "workspace:*",
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
99
packages/app/public/assets/OpenMono-OFL.txt
Normal file
99
packages/app/public/assets/OpenMono-OFL.txt
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
The OpenMono-*.woff2 files of this app are subsets of OpenMono 1.000, made by
|
||||
packages/app/script/openmono.py from the app build (no ligatures, every
|
||||
character one cell wide). OpenMono is Anomaly's typeface, built on Iosevka by
|
||||
Renzhi Li (Belleve Invis).
|
||||
|
||||
Copyright (c) 2015-2026, Renzhi Li (aka. Belleve Invis, belleve@typeof.net)
|
||||
Copyright (c) 2025, Ahmed Hatem (https://github.com/ahatem).
|
||||
Copyright (c) 2026, Anomaly.
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
https://openfontlicense.org
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this License and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
248
packages/app/script/openmono.py
Normal file
248
packages/app/script/openmono.py
Normal file
|
|
@ -0,0 +1,248 @@
|
|||
# Builds the app's OpenMono files from the app build of OpenMono Nerd (the "app-nerd" output of the OpenMono build,
|
||||
# which has no ligatures and every character one cell wide). Run from packages/app after each font build:
|
||||
#
|
||||
# uvx --from 'fonttools[woff]==4.60.1' python script/openmono.py <app-nerd build folder>
|
||||
#
|
||||
# The build has a `-text` WOFF2 file per style (every text character, box drawing, blocks and the terminal
|
||||
# interface's symbols) and an `-icons` file (the Nerd Fonts icons). The script writes, to src/assets/fonts:
|
||||
#
|
||||
# - three files per style, split by unicode-range so that the app loads a small file with the shell and the others
|
||||
# only when a character of theirs is drawn: "latin" (Latin, punctuation, arrows, shapes, box drawing and a few
|
||||
# keys and common symbols), "cyrillic" and "rest" (every other character the font has);
|
||||
# - the Regular build's icons file, once, for all styles: the icons are the same in every style.
|
||||
#
|
||||
# The split is the websites' (services/site/script/openmono.py): the same Latin and Cyrillic blocks, the same keys
|
||||
# and symbols in the Latin file, the stress marks in the Cyrillic file too, and the same subsetting options, which
|
||||
# keep only the layout features for accents. Both scripts make the same files, byte for byte, and the text rules in
|
||||
# src/index.css have the unicode-range values of the websites' openmono.json. Keep the lists below the same as theirs.
|
||||
#
|
||||
# Every input is read and checked and every file is built in a temporary folder first, so a build that is incomplete
|
||||
# or does not match the @font-face rules in src/index.css leaves the checkout as it was. The same input files give
|
||||
# the same bytes.
|
||||
#
|
||||
# OpenMono is licensed under the SIL Open Font License 1.1 (public/assets/OpenMono-OFL.txt).
|
||||
import re
|
||||
import shutil
|
||||
import sys
|
||||
import tempfile
|
||||
from pathlib import Path
|
||||
|
||||
from fontTools import subset
|
||||
from fontTools.ttLib import TTFont
|
||||
|
||||
app = Path(__file__).resolve().parent.parent
|
||||
out = app / "src/assets/fonts"
|
||||
styles = ["Regular", "Bold", "Italic"]
|
||||
latin = [(0x0000, 0x017F), (0x2000, 0x206F), (0x20AC, 0x20AC), (0x2122, 0x2122), (0x2190, 0x21FF), (0x2212, 0x2212), (0x2500, 0x25FF)]
|
||||
# The keys that shortcuts name (⌃ ⌘ ⌥ ⌫ ⎋ ⏎), which are in the Latin file too, as on the websites: a hint such as
|
||||
# ⌘K set in the code font would otherwise load the "rest" file for one character.
|
||||
keys = {0x2303, 0x2318, 0x2325, 0x232B, 0x238B, 0x23CE}
|
||||
# Common symbols, in the Latin file too for the same reason. Each is one a terminal prints as a status mark, or one
|
||||
# that a page of the websites sets in mono:
|
||||
symbols = {
|
||||
# ✓ ✗ ✕ ✖ ⚠: status marks
|
||||
*(0x2713, 0x2717, 0x2715, 0x2716, 0x26A0),
|
||||
# ∙ ⋅: the dots that terminal programs draw
|
||||
*(0x2219, 0x22C5),
|
||||
# ≈ ≠ ≤ ≥ ∞ √ ∑: plain math
|
||||
*(0x2248, 0x2260, 0x2264, 0x2265, 0x221E, 0x221A, 0x2211),
|
||||
# ⋯ and the replacement character
|
||||
*(0x22EF, 0xFFFD),
|
||||
# ⁰ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹, ₀ ₁, σ and Σ (¹ ² ³ are in Latin-1)
|
||||
*(0x2070, 0x2074, 0x2075, 0x2076, 0x2077, 0x2078, 0x2079, 0x2080, 0x2081, 0x03C3, 0x03A3),
|
||||
}
|
||||
cyrillic = [(0x0400, 0x052F), (0x1C80, 0x1C8F), (0x2DE0, 0x2DFF), (0xA640, 0xA69F)]
|
||||
# The stress marks, which the Cyrillic file has too: a stressed letter such as у́ has no code point of its own, and a
|
||||
# browser sets a letter and its mark from one file or falls back for both. (A Latin letter with one of them has a
|
||||
# code point of its own, which the Latin file has.) The "rest" file has them too, so the Cyrillic rule must come
|
||||
# after the "rest" rule in src/index.css: a browser asks the last rule that has a character first, and a stressed
|
||||
# Russian word then loads the small file only.
|
||||
stress = {0x0300, 0x0301}
|
||||
# Blocks where the font has most characters or a few scattered ones, and the ones it lacks are unassigned or rare:
|
||||
# Greek, Armenian, phonetic letters, superscripts, currency signs, letterlike and technical symbols, Latin Extended-D
|
||||
# to G, double-struck letters and legacy computing symbols. There a range runs on across the code points the font
|
||||
# lacks, up to one that another text file has, which keeps the stylesheet short. The "rest" range so runs across four
|
||||
# code points of the icons file (U+23FB-23FE): the icons rules come after the text rules in src/index.css, so a
|
||||
# browser asks the icons file for those.
|
||||
sparse = [
|
||||
(0x0370, 0x03FF),
|
||||
(0x0530, 0x058F),
|
||||
(0x1D00, 0x1DBF),
|
||||
(0x1F00, 0x1FFF),
|
||||
(0x2070, 0x209F),
|
||||
(0x20A0, 0x20CF),
|
||||
(0x2100, 0x214F),
|
||||
(0x2300, 0x23FF),
|
||||
(0xA720, 0xA7FF),
|
||||
(0xAB30, 0xAB6F),
|
||||
(0xF880, 0xF89F),
|
||||
(0x10780, 0x107BF),
|
||||
(0x1CC00, 0x1CEBF),
|
||||
(0x1D400, 0x1D7FF),
|
||||
(0x1DF00, 0x1DFFF),
|
||||
(0x1FB00, 0x1FBFF),
|
||||
]
|
||||
notice = """The OpenMono-*.woff2 files of this app are subsets of OpenMono 1.000, made by
|
||||
packages/app/script/openmono.py from the app build (no ligatures, every
|
||||
character one cell wide). OpenMono is Anomaly's typeface, built on Iosevka by
|
||||
Renzhi Li (Belleve Invis).
|
||||
|
||||
"""
|
||||
|
||||
|
||||
def stop(reason, details=()):
|
||||
raise SystemExit("\n".join(["Nothing was written. " + reason, *details]))
|
||||
|
||||
|
||||
def within(code, spans):
|
||||
return any(a <= code <= b for a, b in spans)
|
||||
|
||||
|
||||
def spans(codes, others=None):
|
||||
"""The ranges of some characters: runs of code points. Given the characters of the other files, a range for a
|
||||
stylesheet: the runs are joined across a gap inside one sparse block unless one of those characters is in it."""
|
||||
found = []
|
||||
for code in sorted(codes):
|
||||
block = next((span for span in sparse if within(code, [span])), None)
|
||||
gap = range(found[-1][1] + 1, code) if found else range(0)
|
||||
if found and (not gap or (others is not None and block and within(gap[0], [block]) and others.isdisjoint(gap))):
|
||||
found[-1][1] = code
|
||||
continue
|
||||
found.append([code, code])
|
||||
return found
|
||||
|
||||
|
||||
def ranges(codes, others=None):
|
||||
return ", ".join(f"U+{a:04X}" if a == b else f"U+{a:04X}-{b:04X}" for a, b in spans(codes, others))
|
||||
|
||||
|
||||
def drawn(path):
|
||||
"""What an icons file draws: its code points, and the outline and horizontal metrics of every glyph but
|
||||
.notdef, the first one, which each style draws its own way and no character uses."""
|
||||
font = TTFont(path)
|
||||
return {
|
||||
"code points": font.getBestCmap(),
|
||||
"outlines": font.getTableData("glyf")[font["loca"][1] :],
|
||||
"horizontal metrics": font.getTableData("hmtx")[4:],
|
||||
}
|
||||
|
||||
|
||||
if len(sys.argv) != 2:
|
||||
raise SystemExit("Usage: uvx --from 'fonttools[woff]==4.60.1' python script/openmono.py <app-nerd build folder>")
|
||||
build = Path(sys.argv[1]).expanduser()
|
||||
texts = {style: build / "woff2" / f"OpenMonoNerd-{style}-text.woff2" for style in styles}
|
||||
# The bundled styles' icons files, and those of any other style the build has.
|
||||
icons = sorted({build / "woff2" / f"OpenMonoNerd-{style}-icons.woff2" for style in styles} | set((build / "woff2").glob("OpenMonoNerd-*-icons.woff2")))
|
||||
licence = build / "LICENSE"
|
||||
missing = [str(path) for path in [*texts.values(), *icons, licence] if not path.is_file()]
|
||||
if missing:
|
||||
stop("The build is not complete. Missing:", missing)
|
||||
|
||||
# One icons file serves every style only while each style's file draws the same icons.
|
||||
regular = build / "woff2" / "OpenMonoNerd-Regular-icons.woff2"
|
||||
reference = drawn(regular)
|
||||
different = [f"{path.name}: the {part} differ from {regular.name}" for path in icons for part, value in drawn(path).items() if value != reference[part]]
|
||||
if different:
|
||||
stop(
|
||||
"The icons files of this build are not the same in every style, so one file cannot serve all of them:",
|
||||
[*different, "Bundle an icons file per style (script/openmono.py and src/index.css) to use this build."],
|
||||
)
|
||||
|
||||
with tempfile.TemporaryDirectory() as folder:
|
||||
staged = Path(folder)
|
||||
members = {}
|
||||
for style, path in texts.items():
|
||||
font = TTFont(path)
|
||||
wide = sorted(code for code, glyph in font.getBestCmap().items() if font["hmtx"][glyph][0] not in (0, 600))
|
||||
if wide:
|
||||
stop(f"{path} is not the one-cell build: {ranges(wide)} are not 600 units wide")
|
||||
codes = set(font.getBestCmap())
|
||||
if (keys | symbols) - codes:
|
||||
stop(f"{path} lacks {ranges((keys | symbols) - codes)}, which the Latin file is to have")
|
||||
groups = {
|
||||
"latin": {code for code in codes if within(code, latin) or code in keys | symbols},
|
||||
"rest": {code for code in codes if not within(code, latin + cyrillic) and code not in keys | symbols},
|
||||
"cyrillic": {code for code in codes if within(code, cyrillic) or code in stress},
|
||||
}
|
||||
for group, chars in groups.items():
|
||||
if members.setdefault(group, chars) != chars:
|
||||
stop(f"{path} has other {group} characters than the styles before it: {ranges(members[group] ^ chars)}")
|
||||
options = subset.Options()
|
||||
options.flavor = "woff2"
|
||||
options.layout_features = ["ccmp", "locl", "mark", "mkmk"]
|
||||
options.name_IDs = [0, 1, 2, 3, 4, 5, 6]
|
||||
options.notdef_outline = True
|
||||
options.hinting = False
|
||||
options.desubroutinize = True
|
||||
subsetter = subset.Subsetter(options)
|
||||
subsetter.populate(unicodes=chars)
|
||||
# The source's own timestamp, so a rebuild from the same files writes the same bytes.
|
||||
copy = TTFont(path, recalcTimestamp=False)
|
||||
subsetter.subset(copy)
|
||||
copy.flavor = "woff2"
|
||||
copy.save(staged / f"OpenMono-{style}-{group}.woff2")
|
||||
# The range to write in a file's rule. A text file's range is the websites': it may run across code points the
|
||||
# font lacks, never across another text file's characters.
|
||||
letters = frozenset().union(*members.values())
|
||||
wanted = {group: ranges(chars, letters - chars) for group, chars in members.items()}
|
||||
shutil.copyfile(regular, staged / "OpenMono-icons.woff2")
|
||||
members["icons"] = set(reference["code points"])
|
||||
wanted["icons"] = ranges(members["icons"], letters)
|
||||
|
||||
# Each @font-face rule of the family in src/index.css, in the stylesheet's order: the file it names, its style
|
||||
# and the code points of its unicode-range.
|
||||
rules = []
|
||||
for body in re.findall(r"@font-face\s*{([^}]*)}", (app / "src/index.css").read_text()):
|
||||
value = {name: " ".join(text.split()) for name, text in re.findall(r"([\w-]+)\s*:([^;]*);", body)}
|
||||
file = re.search(r"OpenMono-[\w-]+\.woff2", value.get("src", ""))
|
||||
if not file:
|
||||
continue
|
||||
covered = set()
|
||||
for part in value.get("unicode-range", "U+0-10FFFF").split(","):
|
||||
first, _, last = part.strip()[2:].partition("-")
|
||||
covered.update(range(int(first, 16), int(last or first, 16) + 1))
|
||||
rules.append({"file": file.group(0), "style": f'{value.get("font-weight")} {value.get("font-style")}', "range": covered})
|
||||
|
||||
# A character must be in the range of the rule that names its file, or the browser never asks that file for it.
|
||||
# It may be in another rule of the same style only when that rule's file has it too (the stress marks), or when
|
||||
# its own rule comes later, because the browser asks the last rule that has a character first.
|
||||
wrong = []
|
||||
for style in styles:
|
||||
named = {group: next((rule for rule in rules if rule["file"] == f"OpenMono-{style}-{group}.woff2"), None) for group in ["latin", "rest", "cyrillic"]}
|
||||
text = next((rule for rule in named.values() if rule), None)
|
||||
named["icons"] = text and next((rule for rule in rules if rule["file"] == "OpenMono-icons.woff2" and rule["style"] == text["style"]), None)
|
||||
for group, rule in named.items():
|
||||
file = "OpenMono-icons.woff2" if group == "icons" else f"OpenMono-{style}-{group}.woff2"
|
||||
if not rule or rule["style"] != text["style"]:
|
||||
wrong.append(f"{file}: no @font-face rule with the style of the {style} text rules. Its range is\n unicode-range: {wanted[group]};")
|
||||
continue
|
||||
outside = members[group] - rule["range"]
|
||||
taken = {
|
||||
other: rule["range"] & members[other] - members[group]
|
||||
for other in named
|
||||
if other != group and not (named[other] and rules.index(named[other]) > rules.index(rule))
|
||||
}
|
||||
if outside:
|
||||
wrong.append(f"{file} ({style}): {ranges(outside)} are not in the unicode-range of its rule. Its range is\n unicode-range: {wanted[group]};")
|
||||
wrong.extend(
|
||||
f"{file} ({style}): its rule's unicode-range takes {ranges(codes)} from the {other} file, whose rule does not come after it. Its range is\n unicode-range: {wanted[group]};"
|
||||
for other, codes in taken.items()
|
||||
if codes
|
||||
)
|
||||
if wrong:
|
||||
stop("The @font-face rules in src/index.css do not match the characters of this build:", wrong)
|
||||
|
||||
text = licence.read_text()
|
||||
notices = (app / "src/settings/about/notices/notices.ts").read_text()
|
||||
uncredited = [line for line in text.splitlines() if line.startswith("Copyright (c)") and line not in notices]
|
||||
if uncredited:
|
||||
stop("src/settings/about/notices/notices.ts does not have these copyright lines of the build's license:", uncredited)
|
||||
(staged / "OpenMono-OFL.txt").write_text(notice + text)
|
||||
|
||||
# Everything is built and checked: replace the checkout's files.
|
||||
out.mkdir(parents=True, exist_ok=True)
|
||||
for path in sorted(staged.iterdir()):
|
||||
target = app / "public/assets" / path.name if path.suffix == ".txt" else out / path.name
|
||||
shutil.copyfile(path, target)
|
||||
print(target.relative_to(app), path.stat().st_size)
|
||||
print(f"{len(icons)} icons files hold the same {len(members['icons'])} icons; every character is in its own rule's range")
|
||||
BIN
packages/app/src/assets/fonts/OpenMono-Bold-cyrillic.woff2
Normal file
BIN
packages/app/src/assets/fonts/OpenMono-Bold-cyrillic.woff2
Normal file
Binary file not shown.
BIN
packages/app/src/assets/fonts/OpenMono-Bold-latin.woff2
Normal file
BIN
packages/app/src/assets/fonts/OpenMono-Bold-latin.woff2
Normal file
Binary file not shown.
BIN
packages/app/src/assets/fonts/OpenMono-Bold-rest.woff2
Normal file
BIN
packages/app/src/assets/fonts/OpenMono-Bold-rest.woff2
Normal file
Binary file not shown.
BIN
packages/app/src/assets/fonts/OpenMono-Italic-cyrillic.woff2
Normal file
BIN
packages/app/src/assets/fonts/OpenMono-Italic-cyrillic.woff2
Normal file
Binary file not shown.
BIN
packages/app/src/assets/fonts/OpenMono-Italic-latin.woff2
Normal file
BIN
packages/app/src/assets/fonts/OpenMono-Italic-latin.woff2
Normal file
Binary file not shown.
BIN
packages/app/src/assets/fonts/OpenMono-Italic-rest.woff2
Normal file
BIN
packages/app/src/assets/fonts/OpenMono-Italic-rest.woff2
Normal file
Binary file not shown.
BIN
packages/app/src/assets/fonts/OpenMono-Regular-cyrillic.woff2
Normal file
BIN
packages/app/src/assets/fonts/OpenMono-Regular-cyrillic.woff2
Normal file
Binary file not shown.
BIN
packages/app/src/assets/fonts/OpenMono-Regular-latin.woff2
Normal file
BIN
packages/app/src/assets/fonts/OpenMono-Regular-latin.woff2
Normal file
Binary file not shown.
BIN
packages/app/src/assets/fonts/OpenMono-Regular-rest.woff2
Normal file
BIN
packages/app/src/assets/fonts/OpenMono-Regular-rest.woff2
Normal file
Binary file not shown.
BIN
packages/app/src/assets/fonts/OpenMono-icons.woff2
Normal file
BIN
packages/app/src/assets/fonts/OpenMono-icons.woff2
Normal file
Binary file not shown.
|
|
@ -17,21 +17,6 @@
|
|||
initial-value: 0px;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "JetBrainsMono Nerd Font Mono";
|
||||
src: url("/assets/JetBrainsMonoNerdFontMono-Regular.woff2") format("woff2");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
/* The terminal draws bold cells with a bold canvas font. */
|
||||
@font-face {
|
||||
font-family: "JetBrainsMono Nerd Font Mono";
|
||||
src: url("/assets/JetBrainsMonoNerdFontMono-Bold.woff2") format("woff2");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
src: url("/assets/Inter.ttf") format("truetype");
|
||||
|
|
@ -39,29 +24,206 @@
|
|||
font-style: normal;
|
||||
}
|
||||
|
||||
/* Text covers every weight below bold, so only bold syntax tokens and markup load the Bold face. */
|
||||
/* OpenMono, the code and terminal font: the app build of OpenMono Nerd 1.000, which has no ligatures and every
|
||||
character one cell wide (script/openmono.py builds these files from it; SIL OFL 1.1, /assets/OpenMono-OFL.txt).
|
||||
These faces take the name ahead of an installed OpenMono, which has ligatures. Regular covers every weight below
|
||||
bold, so only bold syntax tokens, markup and terminal cells load the Bold files. The files are in src so that the
|
||||
bundler puts a content hash in each URL: the web server lets a browser keep every file but the page for a year.
|
||||
Each style is three files, the same files and ranges as the websites' fonts: "latin" loads with the app, and
|
||||
"cyrillic" and "rest" load when a character of theirs is first drawn. A browser asks the last rule that has a
|
||||
character first, so the order of the rules matters: the Cyrillic rule comes after the "rest" rule because both
|
||||
files have the stress marks U+0300 and U+0301, and the icons rules come last because the "rest" range runs across
|
||||
four of their code points (U+23FB-23FE).
|
||||
The overrides are the font's typographic line metrics (ascender 965, descender 285, no gap; 1.25 em). macOS reads the
|
||||
files' hhea table instead (descender 220, gap 65), which makes inline code backgrounds and terminal rows 17px tall,
|
||||
not 18px. Remove them if the font's hhea table ever matches its typographic metrics. */
|
||||
@font-face {
|
||||
font-family: "IBM Plex Mono";
|
||||
src: url("@ibm/plex/IBM-Plex-Mono/fonts/complete/woff2/IBMPlexMono-Text.woff2") format("woff2");
|
||||
font-family: "OpenMono";
|
||||
src: url("./assets/fonts/OpenMono-Regular-latin.woff2") format("woff2");
|
||||
font-weight: 100 599;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
ascent-override: 96.5%;
|
||||
descent-override: 28.5%;
|
||||
line-gap-override: 0%;
|
||||
unicode-range:
|
||||
U+0020-007E, U+00A0-017F, U+03A3, U+03C3, U+2000-200D, U+2010-2029, U+202F-2064, U+2070, U+2074-2079, U+2080-2081,
|
||||
U+20AC, U+2122, U+2190-21FF, U+2211-2212, U+2219-221A, U+221E, U+2248, U+2260, U+2264-2265, U+22C5, U+22EF, U+2303,
|
||||
U+2318, U+2325, U+232B, U+238B, U+23CE, U+2500-25FF, U+26A0, U+2713, U+2715-2717, U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "IBM Plex Mono";
|
||||
src: url("@ibm/plex/IBM-Plex-Mono/fonts/complete/woff2/IBMPlexMono-Bold.woff2") format("woff2");
|
||||
font-family: "OpenMono";
|
||||
src: url("./assets/fonts/OpenMono-Regular-rest.woff2") format("woff2");
|
||||
font-weight: 100 599;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
ascent-override: 96.5%;
|
||||
descent-override: 28.5%;
|
||||
line-gap-override: 0%;
|
||||
unicode-range:
|
||||
U+0180-03A1, U+03A4-03C2, U+03C4-03FF, U+0531-058F, U+0E3F, U+1D00-1DBF, U+1E00-1FFE, U+2071, U+207A-207F,
|
||||
U+2082-209C, U+20A1-20AB, U+20AD-20C0, U+20D2, U+20D8, U+20EB, U+2100-2121, U+2124-218B, U+2200-2210, U+2213-2218,
|
||||
U+221B-221D, U+221F-2247, U+2249-225F, U+2261-2263, U+2266-22C4, U+22C6-22EE, U+22F0-2302, U+2304-2317, U+2319-2324,
|
||||
U+2326-232A, U+232D-238A, U+238D-23CC, U+23CF-2429, U+266D, U+266F, U+2687, U+2699, U+2731, U+2736, U+274C, U+2794,
|
||||
U+279C-279E, U+27DC, U+27E6-27EB, U+27F3, U+2916, U+2948, U+294A, U+2987-2988, U+29BF, U+2A00, U+2A05-2A06, U+2ADC,
|
||||
U+2AEE, U+2B0E-2B13, U+2B16, U+2B1D, U+2B25, U+2B29-2B2A, U+2B30, U+2C60-2C7F, U+A720-A7FF, U+AB30-AB6B, U+E0B8,
|
||||
U+E0BA, U+E0BC, U+E0BE, U+F882-F892, U+FB01-FB02, U+10788-107B9, U+1CD06-1CEAB, U+1D538-1D56B, U+1DF05-1DF1D,
|
||||
U+1FB82-1FBE7;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "OpenMono";
|
||||
src: url("./assets/fonts/OpenMono-Regular-cyrillic.woff2") format("woff2");
|
||||
font-weight: 100 599;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
ascent-override: 96.5%;
|
||||
descent-override: 28.5%;
|
||||
line-gap-override: 0%;
|
||||
unicode-range: U+0300-0301, U+0400-052F, U+A64C-A64D;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "OpenMono";
|
||||
src: url("./assets/fonts/OpenMono-Bold-latin.woff2") format("woff2");
|
||||
font-weight: 600 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
ascent-override: 96.5%;
|
||||
descent-override: 28.5%;
|
||||
line-gap-override: 0%;
|
||||
unicode-range:
|
||||
U+0020-007E, U+00A0-017F, U+03A3, U+03C3, U+2000-200D, U+2010-2029, U+202F-2064, U+2070, U+2074-2079, U+2080-2081,
|
||||
U+20AC, U+2122, U+2190-21FF, U+2211-2212, U+2219-221A, U+221E, U+2248, U+2260, U+2264-2265, U+22C5, U+22EF, U+2303,
|
||||
U+2318, U+2325, U+232B, U+238B, U+23CE, U+2500-25FF, U+26A0, U+2713, U+2715-2717, U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "IBM Plex Mono";
|
||||
src: url("@ibm/plex/IBM-Plex-Mono/fonts/complete/woff2/IBMPlexMono-TextItalic.woff2") format("woff2");
|
||||
font-family: "OpenMono";
|
||||
src: url("./assets/fonts/OpenMono-Bold-rest.woff2") format("woff2");
|
||||
font-weight: 600 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
ascent-override: 96.5%;
|
||||
descent-override: 28.5%;
|
||||
line-gap-override: 0%;
|
||||
unicode-range:
|
||||
U+0180-03A1, U+03A4-03C2, U+03C4-03FF, U+0531-058F, U+0E3F, U+1D00-1DBF, U+1E00-1FFE, U+2071, U+207A-207F,
|
||||
U+2082-209C, U+20A1-20AB, U+20AD-20C0, U+20D2, U+20D8, U+20EB, U+2100-2121, U+2124-218B, U+2200-2210, U+2213-2218,
|
||||
U+221B-221D, U+221F-2247, U+2249-225F, U+2261-2263, U+2266-22C4, U+22C6-22EE, U+22F0-2302, U+2304-2317, U+2319-2324,
|
||||
U+2326-232A, U+232D-238A, U+238D-23CC, U+23CF-2429, U+266D, U+266F, U+2687, U+2699, U+2731, U+2736, U+274C, U+2794,
|
||||
U+279C-279E, U+27DC, U+27E6-27EB, U+27F3, U+2916, U+2948, U+294A, U+2987-2988, U+29BF, U+2A00, U+2A05-2A06, U+2ADC,
|
||||
U+2AEE, U+2B0E-2B13, U+2B16, U+2B1D, U+2B25, U+2B29-2B2A, U+2B30, U+2C60-2C7F, U+A720-A7FF, U+AB30-AB6B, U+E0B8,
|
||||
U+E0BA, U+E0BC, U+E0BE, U+F882-F892, U+FB01-FB02, U+10788-107B9, U+1CD06-1CEAB, U+1D538-1D56B, U+1DF05-1DF1D,
|
||||
U+1FB82-1FBE7;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "OpenMono";
|
||||
src: url("./assets/fonts/OpenMono-Bold-cyrillic.woff2") format("woff2");
|
||||
font-weight: 600 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
ascent-override: 96.5%;
|
||||
descent-override: 28.5%;
|
||||
line-gap-override: 0%;
|
||||
unicode-range: U+0300-0301, U+0400-052F, U+A64C-A64D;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "OpenMono";
|
||||
src: url("./assets/fonts/OpenMono-Italic-latin.woff2") format("woff2");
|
||||
font-weight: 100 599;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
ascent-override: 96.5%;
|
||||
descent-override: 28.5%;
|
||||
line-gap-override: 0%;
|
||||
unicode-range:
|
||||
U+0020-007E, U+00A0-017F, U+03A3, U+03C3, U+2000-200D, U+2010-2029, U+202F-2064, U+2070, U+2074-2079, U+2080-2081,
|
||||
U+20AC, U+2122, U+2190-21FF, U+2211-2212, U+2219-221A, U+221E, U+2248, U+2260, U+2264-2265, U+22C5, U+22EF, U+2303,
|
||||
U+2318, U+2325, U+232B, U+238B, U+23CE, U+2500-25FF, U+26A0, U+2713, U+2715-2717, U+FFFD;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "OpenMono";
|
||||
src: url("./assets/fonts/OpenMono-Italic-rest.woff2") format("woff2");
|
||||
font-weight: 100 599;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
ascent-override: 96.5%;
|
||||
descent-override: 28.5%;
|
||||
line-gap-override: 0%;
|
||||
unicode-range:
|
||||
U+0180-03A1, U+03A4-03C2, U+03C4-03FF, U+0531-058F, U+0E3F, U+1D00-1DBF, U+1E00-1FFE, U+2071, U+207A-207F,
|
||||
U+2082-209C, U+20A1-20AB, U+20AD-20C0, U+20D2, U+20D8, U+20EB, U+2100-2121, U+2124-218B, U+2200-2210, U+2213-2218,
|
||||
U+221B-221D, U+221F-2247, U+2249-225F, U+2261-2263, U+2266-22C4, U+22C6-22EE, U+22F0-2302, U+2304-2317, U+2319-2324,
|
||||
U+2326-232A, U+232D-238A, U+238D-23CC, U+23CF-2429, U+266D, U+266F, U+2687, U+2699, U+2731, U+2736, U+274C, U+2794,
|
||||
U+279C-279E, U+27DC, U+27E6-27EB, U+27F3, U+2916, U+2948, U+294A, U+2987-2988, U+29BF, U+2A00, U+2A05-2A06, U+2ADC,
|
||||
U+2AEE, U+2B0E-2B13, U+2B16, U+2B1D, U+2B25, U+2B29-2B2A, U+2B30, U+2C60-2C7F, U+A720-A7FF, U+AB30-AB6B, U+E0B8,
|
||||
U+E0BA, U+E0BC, U+E0BE, U+F882-F892, U+FB01-FB02, U+10788-107B9, U+1CD06-1CEAB, U+1D538-1D56B, U+1DF05-1DF1D,
|
||||
U+1FB82-1FBE7;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "OpenMono";
|
||||
src: url("./assets/fonts/OpenMono-Italic-cyrillic.woff2") format("woff2");
|
||||
font-weight: 100 599;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
ascent-override: 96.5%;
|
||||
descent-override: 28.5%;
|
||||
line-gap-override: 0%;
|
||||
unicode-range: U+0300-0301, U+0400-052F, U+A64C-A64D;
|
||||
}
|
||||
|
||||
/* The Nerd Fonts icons (1 MB) share no character with the text files and load when a character in their range is
|
||||
first drawn. Every style draws the same icons, so each style's rule names the one file. A style without a rule here
|
||||
would take its icons from another font. */
|
||||
@font-face {
|
||||
font-family: "OpenMono";
|
||||
src: url("./assets/fonts/OpenMono-icons.woff2") format("woff2");
|
||||
font-weight: 100 599;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
ascent-override: 96.5%;
|
||||
descent-override: 28.5%;
|
||||
line-gap-override: 0%;
|
||||
unicode-range:
|
||||
U+23FB-23FE, U+2630, U+2665, U+26A1, U+276C-2771, U+2800-28FF, U+2B58, U+E000-E00A, U+E0A0-E0A3, U+E0B0-E0B7,
|
||||
U+E0B9, U+E0BB, U+E0BD, U+E0BF-E0D7, U+E200-E2A9, U+E300-E3E3, U+E5FA-E6BB, U+E700-E958, U+EA60-EC84, U+ED00-EFCF,
|
||||
U+F000-F385, U+F400-F533, U+F0001-F1AF0;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "OpenMono";
|
||||
src: url("./assets/fonts/OpenMono-icons.woff2") format("woff2");
|
||||
font-weight: 600 900;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
ascent-override: 96.5%;
|
||||
descent-override: 28.5%;
|
||||
line-gap-override: 0%;
|
||||
unicode-range:
|
||||
U+23FB-23FE, U+2630, U+2665, U+26A1, U+276C-2771, U+2800-28FF, U+2B58, U+E000-E00A, U+E0A0-E0A3, U+E0B0-E0B7,
|
||||
U+E0B9, U+E0BB, U+E0BD, U+E0BF-E0D7, U+E200-E2A9, U+E300-E3E3, U+E5FA-E6BB, U+E700-E958, U+EA60-EC84, U+ED00-EFCF,
|
||||
U+F000-F385, U+F400-F533, U+F0001-F1AF0;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "OpenMono";
|
||||
src: url("./assets/fonts/OpenMono-icons.woff2") format("woff2");
|
||||
font-weight: 100 599;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
ascent-override: 96.5%;
|
||||
descent-override: 28.5%;
|
||||
line-gap-override: 0%;
|
||||
unicode-range:
|
||||
U+23FB-23FE, U+2630, U+2665, U+26A1, U+276C-2771, U+2800-28FF, U+2B58, U+E000-E00A, U+E0A0-E0A3, U+E0B0-E0B7,
|
||||
U+E0B9, U+E0BB, U+E0BD, U+E0BF-E0D7, U+E200-E2A9, U+E300-E3E3, U+E5FA-E6BB, U+E700-E958, U+EA60-EC84, U+ED00-EFCF,
|
||||
U+F000-F385, U+F400-F533, U+F0001-F1AF0;
|
||||
}
|
||||
|
||||
/* Panel motion sets this on the one element whose own layout reads it. An inherited property would restyle every
|
||||
|
|
|
|||
|
|
@ -660,7 +660,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode፣ ክፍት ምንጭ የኮድ ወኪል",
|
||||
"settings.about.trademark": "OpenCode የAnomaly Innovations, Inc. የተመዘገበ የንግድ ምልክት ነው።",
|
||||
"settings.about.typeset": "በInter እና IBM Plex Mono ተሰድሯል",
|
||||
"settings.about.typeset": "በInter እና OpenMono ተሰድሯል",
|
||||
"settings.about.tagline": "ያለ እርስዎ AI ምርጥ ሶፍትዌር መገንባት አይችልም",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "ፕሮጀክት አርትዕ",
|
||||
|
|
|
|||
|
|
@ -724,7 +724,7 @@ export const dict = {
|
|||
"settings.about.website": "\u2068www.opencode.ai\u2069",
|
||||
"settings.about.description": "\u2068OpenCode\u2069، وكيل البرمجة مفتوح المصدر",
|
||||
"settings.about.trademark": "\u2068OpenCode\u2069 علامة تجارية مسجلة لشركة \u2068Anomaly Innovations, Inc.\u2069",
|
||||
"settings.about.typeset": "منضّد بخطي \u2068Inter\u2069 و\u2068IBM Plex Mono\u2069",
|
||||
"settings.about.typeset": "منضّد بخطي \u2068Inter\u2069 و\u2068OpenMono\u2069",
|
||||
"settings.about.tagline": "لا يستطيع الذكاء الاصطناعي بناء برمجيات رائعة من دونك",
|
||||
"settings.about.copyright": "© \u2068Anomaly Innovations, Inc.\u2069",
|
||||
"project.settings.title": "تحرير المشروع",
|
||||
|
|
|
|||
|
|
@ -679,7 +679,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, açıq mənbəli kodlaşdırma agenti",
|
||||
"settings.about.trademark": "OpenCode, Anomaly Innovations, Inc. şirkətinin qeydiyyatdan keçmiş ticarət nişanıdır.",
|
||||
"settings.about.typeset": "Inter və IBM Plex Mono şriftləri ilə tərtib olunub",
|
||||
"settings.about.typeset": "Inter və OpenMono şriftləri ilə tərtib olunub",
|
||||
"settings.about.tagline": "Siz olmadan AI möhtəşəm proqram təminatı yarada bilməz",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Layihəni redaktə et",
|
||||
|
|
|
|||
|
|
@ -678,7 +678,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, агентът за кодиране с отворен код",
|
||||
"settings.about.trademark": "OpenCode е регистрирана търговска марка на Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Набор в Inter и IBM Plex Mono",
|
||||
"settings.about.typeset": "Набор в Inter и OpenMono",
|
||||
"settings.about.tagline": "AI не може да създаде страхотен софтуер без вас",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Редактиране на проект",
|
||||
|
|
|
|||
|
|
@ -677,7 +677,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, ওপেন সোর্স কোডিং এজেন্ট",
|
||||
"settings.about.trademark": "OpenCode, Anomaly Innovations, Inc.-এর নিবন্ধিত ট্রেডমার্ক।",
|
||||
"settings.about.typeset": "Inter এবং IBM Plex Mono-তে টাইপসেট",
|
||||
"settings.about.typeset": "Inter এবং OpenMono-তে টাইপসেট",
|
||||
"settings.about.tagline": "আপনাকে ছাড়া AI দারুণ সফটওয়্যার তৈরি করতে পারে না",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "প্রকল্প সম্পাদনা করুন",
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, o agente de programação de código aberto",
|
||||
"settings.about.trademark": "OpenCode é uma marca registrada da Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Composto em Inter e IBM Plex Mono",
|
||||
"settings.about.typeset": "Composto em Inter e OpenMono",
|
||||
"settings.about.tagline": "A IA não consegue criar um ótimo software sem você",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Editar projeto",
|
||||
|
|
|
|||
|
|
@ -739,7 +739,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, agent za kodiranje otvorenog koda",
|
||||
"settings.about.trademark": "OpenCode je registrovani zaštitni znak Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Postavljen u Inter i IBM Plex Mono",
|
||||
"settings.about.typeset": "Postavljen u Inter i OpenMono",
|
||||
"settings.about.tagline": "AI ne može napraviti odličan softver bez vas",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Uredi projekat",
|
||||
|
|
|
|||
|
|
@ -681,7 +681,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, l'agent de codificació de codi obert",
|
||||
"settings.about.trademark": "OpenCode és una marca registrada de Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Tipografia en Inter i IBM Plex Mono",
|
||||
"settings.about.typeset": "Tipografia en Inter i OpenMono",
|
||||
"settings.about.tagline": "La IA no pot crear un gran programari sense tu",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Modifica el projecte",
|
||||
|
|
|
|||
|
|
@ -683,7 +683,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, open source kódovací agent",
|
||||
"settings.about.trademark": "OpenCode je registrovaná ochranná známka společnosti Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Typová sada v Inter a IBM Plex Mono",
|
||||
"settings.about.typeset": "Typová sada v Inter a OpenMono",
|
||||
"settings.about.tagline": "AI nemůže vytvořit skvělý software bez vás",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Upravit projekt",
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, open source-kodningsagenten",
|
||||
"settings.about.trademark": "OpenCode er et registreret varemærke tilhørende Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Sat med Inter og IBM Plex Mono",
|
||||
"settings.about.typeset": "Sat med Inter og OpenMono",
|
||||
"settings.about.tagline": "AI kan ikke bygge fantastisk software uden dig",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Rediger projekt",
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, der Open-Source-Coding-Agent",
|
||||
"settings.about.trademark": "OpenCode ist eine eingetragene Marke von Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Gesetzt in Inter und IBM Plex Mono",
|
||||
"settings.about.typeset": "Gesetzt in Inter und OpenMono",
|
||||
"settings.about.tagline": "KI kann ohne Sie keine großartige Software entwickeln",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Projekt bearbeiten",
|
||||
|
|
|
|||
|
|
@ -689,7 +689,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode، އޯޕަން ސޯސް ކޯޑިންގ އޭޖެންޓް",
|
||||
"settings.about.trademark": "OpenCode އަކީ Anomaly Innovations, Inc. ގެ ރަޖިސްޓަރޑް ޓްރޭޑްމާކެވެ.",
|
||||
"settings.about.typeset": "Inter އަދި IBM Plex Mono އިން ޓައިޕްސެޓްކޮށްފައި",
|
||||
"settings.about.typeset": "Inter އަދި OpenMono އިން ޓައިޕްސެޓްކޮށްފައި",
|
||||
"settings.about.tagline": "ތިބާ ނެތި AI އަށް ރަނގަޅު ސޮފްޓްވެއަރ ނުހެދޭނެ",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "ޕްރޮޖެކްޓް އެޑިޓްކުރައްވާ",
|
||||
|
|
|
|||
|
|
@ -684,7 +684,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, ཁ་ཕྱེ་ཡོད་པའི་ཐོན་ཁུངས་གསང་ཡིག་ལས་ཚབ་པ།",
|
||||
"settings.about.trademark": "OpenCode འདི་ Anomaly Innovations, Inc གི་ཐོ་བཀོད་ཚོང་རྟགས་ཅིག་ཨིན།",
|
||||
"settings.about.typeset": "ཨིན་ཊར་དང་ཨའི་བི་ཨེམ་པེལེགསི་མོ་ནོ་ནང་ཡིག་དཔར་གཞི་སྒྲིག།",
|
||||
"settings.about.typeset": "ཨིན་ཊར་དང་ OpenMono ནང་ཡིག་དཔར་གཞི་སྒྲིག།",
|
||||
"settings.about.tagline": "ཁྱོད་མེད་པར་ AI གིས་མཉེན་ཆས་ལེགས་ཤོམ་བཟོ་མི་ཐུབ།",
|
||||
"settings.about.copyright": "© Anomaly གསར་གཏོད།",
|
||||
"project.settings.title": "ཞུན་དག་ལས་གཞི།",
|
||||
|
|
|
|||
|
|
@ -682,7 +682,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, ο παράγοντας κωδικοποίησης ανοιχτού κώδικα",
|
||||
"settings.about.trademark": "Το OpenCode είναι σήμα κατατεθέν της Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Δακτυλογράφηση σε Inter και IBM Plex Mono",
|
||||
"settings.about.typeset": "Δακτυλογράφηση σε Inter και OpenMono",
|
||||
"settings.about.tagline": "Το AI δεν μπορεί να δημιουργήσει εξαιρετικό λογισμικό, χωρίς εσάς",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Επεξεργασία έργου",
|
||||
|
|
|
|||
|
|
@ -1095,7 +1095,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, the open source coding agent",
|
||||
"settings.about.trademark": "OpenCode is a registered trademark of Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Typeset in Inter and IBM Plex Mono",
|
||||
"settings.about.typeset": "Typeset in Inter and OpenMono",
|
||||
"settings.about.notices.title": "Third-party notices",
|
||||
"settings.about.notices.description": "OpenCode includes the following open source software.",
|
||||
"settings.about.notices.license": "License text",
|
||||
|
|
@ -1103,6 +1103,8 @@ export const dict = {
|
|||
"settings.about.notices.fonts.description":
|
||||
"Each family is distributed under the SIL Open Font License 1.1, with the copyright lines below.",
|
||||
"settings.about.notices.eigenpal": "Portions of BetterOffice derive from it.",
|
||||
"settings.about.notices.openMono": "The code and terminal font. It is built on Iosevka.",
|
||||
"settings.about.notices.nerdFonts": "The terminal icons in OpenMono.",
|
||||
"settings.about.notices.loadFailed": "Could not load the third-party notices",
|
||||
"settings.about.notices.crates.title": "Rust crates in the Office engines",
|
||||
"settings.about.notices.crates.description":
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, el agente de programación de código abierto",
|
||||
"settings.about.trademark": "OpenCode es una marca registrada de Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Compuesto con Inter e IBM Plex Mono",
|
||||
"settings.about.typeset": "Compuesto con Inter e OpenMono",
|
||||
"settings.about.tagline": "La IA no puede crear software excelente sin ti",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Editar proyecto",
|
||||
|
|
|
|||
|
|
@ -668,7 +668,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, avatud lähtekoodiga kodeerimisagent",
|
||||
"settings.about.trademark": "OpenCode on ettevõtte Anomaly Innovations, Inc. registreeritud kaubamärk.",
|
||||
"settings.about.typeset": "Sisestatud Inter ja IBM Plex Mono",
|
||||
"settings.about.typeset": "Sisestatud Inter ja OpenMono",
|
||||
"settings.about.tagline": "AI ei saa ilma sinuta suurepärast tarkvara luua",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Redigeeri projekti",
|
||||
|
|
|
|||
|
|
@ -686,7 +686,7 @@ export const dict = {
|
|||
"settings.about.website": "\u2068www.opencode.ai\u2069",
|
||||
"settings.about.description": "\u2068OpenCode\u2069، عامل کدنویسی متنباز",
|
||||
"settings.about.trademark": "\u2068OpenCode\u2069 علامت تجاری ثبتشدهٔ \u2068Anomaly Innovations, Inc.\u2069 است",
|
||||
"settings.about.typeset": "حروفچینی با \u2068Inter\u2069 و \u2068IBM Plex Mono\u2069",
|
||||
"settings.about.typeset": "حروفچینی با \u2068Inter\u2069 و \u2068OpenMono\u2069",
|
||||
"settings.about.tagline": "هوش مصنوعی بدون شما نمیتواند نرمافزار عالی بسازد",
|
||||
"settings.about.copyright": "© \u2068Anomaly Innovations, Inc.\u2069",
|
||||
"project.settings.title": "ویرایش پروژه",
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, avoimen lähdekoodin koodausagentti",
|
||||
"settings.about.trademark": "OpenCode on Anomaly Innovations, Inc:n rekisteröity tavaramerkki.",
|
||||
"settings.about.typeset": "Kirjasinlajit Inter ja IBM Plex Mono",
|
||||
"settings.about.typeset": "Kirjasinlajit Inter ja OpenMono",
|
||||
"settings.about.tagline": "Tekoäly ei voi rakentaa erinomaista ohjelmistoa ilman sinua",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Muokkaa projektia",
|
||||
|
|
|
|||
|
|
@ -672,7 +672,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opna koda.ai",
|
||||
"settings.about.description": "OpenCode, opna keldukoduumboðnum",
|
||||
"settings.about.trademark": "OpenCode er eitt skrásett vørumerki hjá Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Skriftsett í Inter og IBM Plex Mono",
|
||||
"settings.about.typeset": "Skriftsett í Inter og OpenMono",
|
||||
"settings.about.tagline": "AI kann ikki byggja góða ritbúnað, uttan teg",
|
||||
"settings.about.copyright": "© Anomaly nýskapanir, Inc.",
|
||||
"project.settings.title": "Rætta verkætlan",
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, l’agent de programmation open source",
|
||||
"settings.about.trademark": "OpenCode est une marque déposée d’Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Composé en Inter et IBM Plex Mono",
|
||||
"settings.about.typeset": "Composé en Inter et OpenMono",
|
||||
"settings.about.tagline": "L’IA ne peut pas créer d’excellents logiciels sans vous",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Modifier le projet",
|
||||
|
|
|
|||
|
|
@ -686,7 +686,7 @@ export const dict = {
|
|||
"settings.about.website": "\u2068www.opencode.ai\u2069",
|
||||
"settings.about.description": "\u2068OpenCode\u2069, סוכן הקוד בקוד פתוח",
|
||||
"settings.about.trademark": "\u2068OpenCode\u2069 הוא סימן מסחרי רשום של \u2068Anomaly Innovations, Inc.\u2069",
|
||||
"settings.about.typeset": "סודר בגופנים \u2068Inter\u2069 ו-\u2068IBM Plex Mono\u2069",
|
||||
"settings.about.typeset": "סודר בגופנים \u2068Inter\u2069 ו-\u2068OpenMono\u2069",
|
||||
"settings.about.tagline": "בינה מלאכותית לא יכולה לבנות תוכנה מעולה בלעדיך",
|
||||
"settings.about.copyright": "© \u2068Anomaly Innovations, Inc.\u2069",
|
||||
"project.settings.title": "ערוך פרויקט",
|
||||
|
|
|
|||
|
|
@ -677,7 +677,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, ओपन-सोर्स कोडिंग एजेंट",
|
||||
"settings.about.trademark": "OpenCode, Anomaly Innovations, Inc. का पंजीकृत ट्रेडमार्क है।",
|
||||
"settings.about.typeset": "Inter और IBM Plex Mono में अक्षर-संयोजन",
|
||||
"settings.about.typeset": "Inter और OpenMono में अक्षर-संयोजन",
|
||||
"settings.about.tagline": "आपके बिना AI बेहतरीन सॉफ़्टवेयर नहीं बना सकता",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "प्रोजेक्ट संपादित करें",
|
||||
|
|
|
|||
|
|
@ -685,7 +685,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, agent za kodiranje otvorenog koda",
|
||||
"settings.about.trademark": "OpenCode je registrirani zaštitni znak Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Označeno u Inter i IBM Plex Mono",
|
||||
"settings.about.typeset": "Označeno u Inter i OpenMono",
|
||||
"settings.about.tagline": "AI ne može izgraditi odličan softver, bez vas",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Uredi projekt",
|
||||
|
|
|
|||
|
|
@ -682,7 +682,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, a nyílt forráskódú kódoló ügynök",
|
||||
"settings.about.trademark": "A OpenCode a Anomaly Innovations, Inc. bejegyzett védjegye.",
|
||||
"settings.about.typeset": "Betűkészlet Inter és IBM Plex Mono nyelven",
|
||||
"settings.about.typeset": "Betűkészlet Inter és OpenMono nyelven",
|
||||
"settings.about.tagline": "Az AI nem tud nagyszerű szoftvert készíteni nélküled",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Projekt szerkesztése",
|
||||
|
|
|
|||
|
|
@ -673,7 +673,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode՝ բաց կոդով կոդավորման գործակալ",
|
||||
"settings.about.trademark": "OpenCode-ը Anomaly Innovations, Inc.-ի գրանցված ապրանքային նշանն է։",
|
||||
"settings.about.typeset": "Շարված է Inter և IBM Plex Mono տառատեսակներով",
|
||||
"settings.about.typeset": "Շարված է Inter և OpenMono տառատեսակներով",
|
||||
"settings.about.tagline": "AI-ը չի կարող հիանալի ծրագրակազմ ստեղծել առանց ձեզ",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Խմբագրել նախագիծը",
|
||||
|
|
|
|||
|
|
@ -741,7 +741,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, agen pengkodean sumber terbuka",
|
||||
"settings.about.trademark": "OpenCode adalah merek dagang terdaftar dari Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Pengesetan di Inter dan IBM Plex Mono",
|
||||
"settings.about.typeset": "Pengesetan di Inter dan OpenMono",
|
||||
"settings.about.tagline": "AI tidak dapat membuat perangkat lunak yang hebat tanpa Anda",
|
||||
"settings.about.copyright": "© Anomali Innovations, Inc.",
|
||||
"project.settings.title": "Sunting proyek",
|
||||
|
|
|
|||
|
|
@ -675,7 +675,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, opinn kóðunaraðili",
|
||||
"settings.about.trademark": "OpenCode er skráð vörumerki Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Tegund í Inter og IBM Plex Mono",
|
||||
"settings.about.typeset": "Tegund í Inter og OpenMono",
|
||||
"settings.about.tagline": "AI getur ekki smíðað frábæran hugbúnað án þín",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Breyta verkefni",
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, l’agente di programmazione open source",
|
||||
"settings.about.trademark": "OpenCode è un marchio registrato di Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Composto in Inter e IBM Plex Mono",
|
||||
"settings.about.typeset": "Composto in Inter e OpenMono",
|
||||
"settings.about.tagline": "L’IA non può creare software eccellente senza di te",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Modifica progetto",
|
||||
|
|
|
|||
|
|
@ -687,7 +687,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "オープンソースのコーディングエージェントであるOpenCode",
|
||||
"settings.about.trademark": "OpenCodeはAnomaly Innovations, Inc.の登録商標です。",
|
||||
"settings.about.typeset": "InterおよびIBM Plex Monoのタイプセット",
|
||||
"settings.about.typeset": "InterおよびOpenMonoのタイプセット",
|
||||
"settings.about.tagline": "AIはあなたなしで素晴らしいソフトウェアを構築することはできません",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "プロジェクトを編集",
|
||||
|
|
|
|||
|
|
@ -672,7 +672,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, ღია კოდის მქონე კოდირების აგენტი",
|
||||
"settings.about.trademark": "OpenCode არის Anomaly Innovations, Inc.-ის რეგისტრირებული სავაჭრო ნიშანი.",
|
||||
"settings.about.typeset": "აწყობილია Inter და IBM Plex Mono შრიფტებით",
|
||||
"settings.about.typeset": "აწყობილია Inter და OpenMono შრიფტებით",
|
||||
"settings.about.tagline": "AI ვერ შექმნის შესანიშნავ პროგრამულ უზრუნველყოფას თქვენ გარეშე",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "პროექტის რედაქტირება",
|
||||
|
|
|
|||
|
|
@ -672,7 +672,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode ដែលជាភ្នាក់ងារសរសេរកូដប្រភពបើកចំហ",
|
||||
"settings.about.trademark": "OpenCode គឺជាពាណិជ្ជសញ្ញាដែលបានចុះបញ្ជីរបស់ Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Typeset នៅក្នុង Inter និង IBM Plex Mono",
|
||||
"settings.about.typeset": "Typeset នៅក្នុង Inter និង OpenMono",
|
||||
"settings.about.tagline": "AI មិនអាចបង្កើតកម្មវិធីដ៏អស្ចារ្យបានទេ បើគ្មានអ្នក",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "កែសម្រួលគម្រោង",
|
||||
|
|
|
|||
|
|
@ -686,7 +686,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "오픈소스 코딩 에이전트 OpenCode",
|
||||
"settings.about.trademark": "OpenCode는 Anomaly Innovations, Inc.의 등록 상표입니다.",
|
||||
"settings.about.typeset": "Inter 및 IBM Plex Mono의 조판",
|
||||
"settings.about.typeset": "Inter 및 OpenMono의 조판",
|
||||
"settings.about.tagline": "AI는 당신 없이는 훌륭한 소프트웨어를 만들 수 없습니다",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "프로젝트 편집",
|
||||
|
|
|
|||
|
|
@ -672,7 +672,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, ຕົວແທນລະຫັດແຫຼ່ງເປີດ",
|
||||
"settings.about.trademark": "OpenCode ເປັນເຄື່ອງໝາຍການຄ້າທີ່ຈົດທະບຽນຂອງ Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Typeset ໃນ Inter ແລະ IBM Plex Mono",
|
||||
"settings.about.typeset": "Typeset ໃນ Inter ແລະ OpenMono",
|
||||
"settings.about.tagline": "AI ບໍ່ສາມາດສ້າງຊອບແວທີ່ດີໄດ້, ຖ້າບໍ່ມີທ່ານ",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "ແກ້ໄຂໂຄງການ",
|
||||
|
|
|
|||
|
|
@ -689,7 +689,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, atvirojo kodo kodavimo agentas",
|
||||
"settings.about.trademark": "OpenCode yra registruotasis Anomaly Innovations, Inc. prekės ženklas.",
|
||||
"settings.about.typeset": "Rinkinys „Inter“ ir „IBM Plex Mono“.",
|
||||
"settings.about.typeset": "Rinkinys „Inter“ ir „OpenMono“.",
|
||||
"settings.about.tagline": "AI negali sukurti puikios programinės įrangos be jūsų",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Redaguoti projektą",
|
||||
|
|
|
|||
|
|
@ -679,7 +679,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, atvērtā koda kodēšanas aģents",
|
||||
"settings.about.trademark": "OpenCode ir Anomaly Innovations, Inc. reģistrēta preču zīme.",
|
||||
"settings.about.typeset": "Salikums Inter un IBM Plex Mono",
|
||||
"settings.about.typeset": "Salikums Inter un OpenMono",
|
||||
"settings.about.tagline": "AI nevar izveidot lielisku programmatūru bez jums",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Rediģēt projektu",
|
||||
|
|
|
|||
|
|
@ -675,7 +675,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, агент за кодирање со отворен код",
|
||||
"settings.about.trademark": "OpenCode е регистрирана трговска марка на Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Типови во Inter и IBM Plex Mono",
|
||||
"settings.about.typeset": "Типови во Inter и OpenMono",
|
||||
"settings.about.tagline": "AI не може да изгради одличен софтвер, без вас",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Уреди проект",
|
||||
|
|
|
|||
|
|
@ -677,7 +677,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, нээлттэй эхийн кодчиллын агент",
|
||||
"settings.about.trademark": "OpenCode нь Anomaly Innovations, Inc.-ийн бүртгэлтэй барааны тэмдэг юм.",
|
||||
"settings.about.typeset": "Inter болон IBM Plex Mono үсгийн хэвээр өрсөн",
|
||||
"settings.about.typeset": "Inter болон OpenMono үсгийн хэвээр өрсөн",
|
||||
"settings.about.tagline": "Тангүйгээр AI гайхалтай програм хангамж бүтээж чадахгүй",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Төслийг засах",
|
||||
|
|
|
|||
|
|
@ -676,7 +676,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, ejen pengekodan sumber terbuka",
|
||||
"settings.about.trademark": "OpenCode ialah tanda dagangan berdaftar Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Set taip dalam Inter dan IBM Plex Mono",
|
||||
"settings.about.typeset": "Set taip dalam Inter dan OpenMono",
|
||||
"settings.about.tagline": "AI tidak boleh membina perisian yang hebat, tanpa anda",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Edit projek",
|
||||
|
|
|
|||
|
|
@ -683,7 +683,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode၊ ပွင့်လင်းရင်းမြစ် ကုဒ်နံပါတ် အေးဂျင့်",
|
||||
"settings.about.trademark": "OpenCode သည် Anomaly Innovations, Inc ၏ မှတ်ပုံတင်ထားသော ကုန်အမှတ်တံဆိပ်တစ်ခုဖြစ်သည်။",
|
||||
"settings.about.typeset": "Inter နှင့် IBM Plex Mono တွင် အမျိုးအစားအစုံ",
|
||||
"settings.about.typeset": "Inter နှင့် OpenMono တွင် အမျိုးအစားအစုံ",
|
||||
"settings.about.tagline": "AI သည် သင်မပါဘဲ ကောင်းမွန်သော ဆော့ဖ်ဝဲလ်ကို မတည်ဆောက်နိုင်ပါ။",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "ပရောဂျက်ကို တည်းဖြတ်ပါ။",
|
||||
|
|
|
|||
|
|
@ -676,7 +676,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, खुला स्रोत कोडिङ एजेन्ट",
|
||||
"settings.about.trademark": "OpenCode, Anomaly Innovations, Inc. को दर्ता गरिएको ट्रेडमार्क हो।",
|
||||
"settings.about.typeset": "Inter र IBM Plex Mono मा अक्षर संयोजन",
|
||||
"settings.about.typeset": "Inter र OpenMono मा अक्षर संयोजन",
|
||||
"settings.about.tagline": "तपाईंबिना AI ले उत्कृष्ट सफ्टवेयर बनाउन सक्दैन",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "परियोजना सम्पादन गर्नुहोस्",
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, de open-source programmeeragent",
|
||||
"settings.about.trademark": "OpenCode is een geregistreerd handelsmerk van Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Opgemaakt in Inter en IBM Plex Mono",
|
||||
"settings.about.typeset": "Opgemaakt in Inter en OpenMono",
|
||||
"settings.about.tagline": "AI kan geen geweldige software bouwen zonder jou",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Project bewerken",
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, kodeagenten med åpen kildekode",
|
||||
"settings.about.trademark": "OpenCode er et registrert varemerke for Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Satt med Inter og IBM Plex Mono",
|
||||
"settings.about.typeset": "Satt med Inter og OpenMono",
|
||||
"settings.about.tagline": "KI kan ikke bygge fantastisk programvare uten deg",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Rediger prosjekt",
|
||||
|
|
|
|||
|
|
@ -684,7 +684,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode، اوپن سورس کوڈنگ ایجنٹ",
|
||||
"settings.about.trademark": "OpenCode، Anomaly Innovations, Inc. دا رجسٹرڈ ٹریڈ مارک اے۔",
|
||||
"settings.about.typeset": "Inter تے IBM Plex Mono وچ ٹائپ سیٹ",
|
||||
"settings.about.typeset": "Inter تے OpenMono وچ ٹائپ سیٹ",
|
||||
"settings.about.tagline": "تہاڈے بغیر AI ودھیا سافٹ ویئر نئیں بݨا سکدا",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "پروجیکٹ وچ تبدیلی کرو",
|
||||
|
|
|
|||
|
|
@ -696,7 +696,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, agent kodujący typu open source",
|
||||
"settings.about.trademark": "OpenCode jest zastrzeżonym znakiem towarowym firmy Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Zestaw w Inter i IBM Plex Mono",
|
||||
"settings.about.typeset": "Zestaw w Inter i OpenMono",
|
||||
"settings.about.tagline": "AI nie może zbudować świetnego oprogramowania bez Ciebie",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Edytuj projekt",
|
||||
|
|
|
|||
|
|
@ -679,7 +679,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, agentul de codare open source",
|
||||
"settings.about.trademark": "OpenCode este o marcă înregistrată a Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Compoziție în Inter și IBM Plex Mono",
|
||||
"settings.about.typeset": "Compoziție în Inter și OpenMono",
|
||||
"settings.about.tagline": "AI nu poate construi un software grozav fără tine",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Editați proiectul",
|
||||
|
|
|
|||
|
|
@ -748,7 +748,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, агент кодирования с открытым исходным кодом.",
|
||||
"settings.about.trademark": "OpenCode является зарегистрированной торговой маркой Anomaly Innovations, Inc..",
|
||||
"settings.about.typeset": "Набор в Inter и IBM Plex Mono",
|
||||
"settings.about.typeset": "Набор в Inter и OpenMono",
|
||||
"settings.about.tagline": "AI не сможет создать отличное программное обеспечение без вас",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Редактировать проект",
|
||||
|
|
|
|||
|
|
@ -672,7 +672,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, විවෘත මූලාශ්ර කේතකරණ නියෝජිතයා",
|
||||
"settings.about.trademark": "OpenCode යනු Anomaly Innovations, Inc. හි ලියාපදිංචි වෙළඳ ලකුණකි.",
|
||||
"settings.about.typeset": "Inter සහ IBM Plex Mono අකුරුවලින් සකසා ඇත",
|
||||
"settings.about.typeset": "Inter සහ OpenMono අකුරුවලින් සකසා ඇත",
|
||||
"settings.about.tagline": "ඔබ නොමැතිව AI හට විශිෂ්ට මෘදුකාංග තැනිය නොහැක",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "ව්යාපෘතිය සංස්කරණය කරන්න",
|
||||
|
|
|
|||
|
|
@ -699,7 +699,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, kódovací agent s otvoreným zdrojovým kódom",
|
||||
"settings.about.trademark": "OpenCode je registrovaná ochranná známka spoločnosti Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "typová súprava v Inter a IBM Plex Mono",
|
||||
"settings.about.typeset": "typová súprava v Inter a OpenMono",
|
||||
"settings.about.tagline": "AI nedokáže vytvoriť skvelý softvér bez vás",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Upraviť projekt",
|
||||
|
|
|
|||
|
|
@ -698,7 +698,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, odprtokodni agent za kodiranje",
|
||||
"settings.about.trademark": "OpenCode je registrirana blagovna znamka Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Vrsta v Inter in IBM Plex Mono",
|
||||
"settings.about.typeset": "Vrsta v Inter in OpenMono",
|
||||
"settings.about.tagline": "AI ne more zgraditi odlične programske opreme brez vas",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Uredi projekt",
|
||||
|
|
|
|||
|
|
@ -673,7 +673,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, agjenti kodues me burim të hapur",
|
||||
"settings.about.trademark": "OpenCode është një markë e regjistruar e Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Llojet në Inter dhe IBM Plex Mono",
|
||||
"settings.about.typeset": "Llojet në Inter dhe OpenMono",
|
||||
"settings.about.tagline": "AI nuk mund të ndërtojë softuer të shkëlqyeshëm, pa ju",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Redakto projektin",
|
||||
|
|
|
|||
|
|
@ -686,7 +686,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, агент за кодирање отвореног кода",
|
||||
"settings.about.trademark": "OpenCode је регистровани заштитни знак Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Откуцано у Inter и IBM Plex Mono",
|
||||
"settings.about.typeset": "Откуцано у Inter и OpenMono",
|
||||
"settings.about.tagline": "AI не може да направи одличан софтвер без вас",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Уреди пројекат",
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, kodningsagenten med öppen källkod",
|
||||
"settings.about.trademark": "OpenCode är ett registrerat varumärke som tillhör Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Satt med Inter och IBM Plex Mono",
|
||||
"settings.about.typeset": "Satt med Inter och OpenMono",
|
||||
"settings.about.tagline": "AI kan inte bygga fantastisk programvara utan dig",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Redigera projekt",
|
||||
|
|
|
|||
|
|
@ -676,7 +676,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, агенти рамзнависии манбаи кушода",
|
||||
"settings.about.trademark": "OpenCode тамғаи тиҷории бақайдгирифтаи Anomaly Innovations, Inc. мебошад.",
|
||||
"settings.about.typeset": "Бо Inter ва IBM Plex Mono ҳуруфчинӣ шудааст",
|
||||
"settings.about.typeset": "Бо Inter ва OpenMono ҳуруфчинӣ шудааст",
|
||||
"settings.about.tagline": "AI бе шумо нармафзори олӣ сохта наметавонад",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Таҳрири лоиҳа",
|
||||
|
|
|
|||
|
|
@ -733,7 +733,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode เอเจนต์การเข้ารหัสโอเพ่นซอร์ส",
|
||||
"settings.about.trademark": "OpenCode เป็นเครื่องหมายการค้าจดทะเบียนของ Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "เรียงพิมพ์ใน Inter และ IBM Plex Mono",
|
||||
"settings.about.typeset": "เรียงพิมพ์ใน Inter และ OpenMono",
|
||||
"settings.about.tagline": "AI ไม่สามารถสร้างซอฟต์แวร์ที่ยอดเยี่ยมได้หากไม่มีคุณ",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "แก้ไขโครงการ",
|
||||
|
|
|
|||
|
|
@ -671,7 +671,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, açyk çeşmeli kodlaşdyrma agenti",
|
||||
"settings.about.trademark": "OpenCode Anomaly Innovations, Inc. kompaniýasynyň bellige alnan söwda nyşanydyr.",
|
||||
"settings.about.typeset": "Inter we IBM Plex Mono bilen düzüldi",
|
||||
"settings.about.typeset": "Inter we OpenMono bilen düzüldi",
|
||||
"settings.about.tagline": "AI sizsiz ajaýyp programma üpjünçiligini döredip bilmez",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Taslamany redaktirle",
|
||||
|
|
|
|||
|
|
@ -748,7 +748,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, açık kaynak kodlama aracısı",
|
||||
"settings.about.trademark": "OpenCode, Anomaly Innovations, Inc.'in tescilli ticari markasıdır.",
|
||||
"settings.about.typeset": "Inter ve IBM Plex Mono'da dizgi",
|
||||
"settings.about.typeset": "Inter ve OpenMono'da dizgi",
|
||||
"settings.about.tagline": "Yapay zeka siz olmadan mükemmel yazılım geliştiremez",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Projeyi düzenle",
|
||||
|
|
|
|||
|
|
@ -764,7 +764,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, агент кодування з відкритим кодом",
|
||||
"settings.about.trademark": "OpenCode є зареєстрованою торговою маркою Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Набір на Inter та IBM Plex Mono",
|
||||
"settings.about.typeset": "Набір на Inter та OpenMono",
|
||||
"settings.about.tagline": "AI не може створити чудове програмне забезпечення без вас",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Редагувати проект",
|
||||
|
|
|
|||
|
|
@ -684,7 +684,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode، اوپن سورس کوڈنگ ایجنٹ",
|
||||
"settings.about.trademark": "OpenCode، Anomaly Innovations, Inc. کا رجسٹرڈ ٹریڈ مارک ہے۔",
|
||||
"settings.about.typeset": "Inter اور IBM Plex Mono میں ٹائپ سیٹ",
|
||||
"settings.about.typeset": "Inter اور OpenMono میں ٹائپ سیٹ",
|
||||
"settings.about.tagline": "آپ کے بغیر AI بہترین سافٹ ویئر نہیں بنا سکتا",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "پروجیکٹ میں ترمیم کریں",
|
||||
|
|
|
|||
|
|
@ -677,7 +677,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, ochiq manbali kodlash agenti",
|
||||
"settings.about.trademark": "OpenCode — Anomaly Innovations, Inc. kompaniyasining ro‘yxatdan o‘tgan savdo belgisi.",
|
||||
"settings.about.typeset": "Inter va IBM Plex Mono shriftlarida terilgan",
|
||||
"settings.about.typeset": "Inter va OpenMono shriftlarida terilgan",
|
||||
"settings.about.tagline": "Sizsiz AI ajoyib dasturiy ta’minot yarata olmaydi",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "Loyihani tahrirlash",
|
||||
|
|
|
|||
|
|
@ -682,7 +682,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode, tác nhân mã hóa nguồn mở",
|
||||
"settings.about.trademark": "OpenCode là nhãn hiệu đã đăng ký của Anomaly Innovations, Inc.",
|
||||
"settings.about.typeset": "Bộ sắp chữ trong Inter và IBM Plex Mono",
|
||||
"settings.about.typeset": "Bộ sắp chữ trong Inter và OpenMono",
|
||||
"settings.about.tagline": "AI không thể xây dựng phần mềm tuyệt vời nếu không có bạn",
|
||||
"settings.about.copyright": "© Anomaly Đổi mới, Inc.",
|
||||
"project.settings.title": "Chỉnh sửa dự án",
|
||||
|
|
|
|||
|
|
@ -730,7 +730,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode ,开源编码代理",
|
||||
"settings.about.trademark": "OpenCode是Anomaly Innovations, Inc.的注册商标。",
|
||||
"settings.about.typeset": "Inter和IBM Plex Mono中的排版",
|
||||
"settings.about.typeset": "Inter和OpenMono中的排版",
|
||||
"settings.about.tagline": "没有您,人工智能无法构建出色的软件",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "编辑项目",
|
||||
|
|
|
|||
|
|
@ -723,7 +723,7 @@ export const dict = {
|
|||
"settings.about.website": "www.opencode.ai",
|
||||
"settings.about.description": "OpenCode ,開源編碼代理",
|
||||
"settings.about.trademark": "OpenCode是Anomaly Innovations, Inc.的註冊商標。",
|
||||
"settings.about.typeset": "Inter和IBM Plex Mono中的排版",
|
||||
"settings.about.typeset": "Inter和OpenMono中的排版",
|
||||
"settings.about.tagline": "如果沒有您, AI就無法構建出色的軟件",
|
||||
"settings.about.copyright": "© Anomaly Innovations, Inc.",
|
||||
"project.settings.title": "編輯專案",
|
||||
|
|
|
|||
|
|
@ -31,7 +31,9 @@ export default function DialogThirdPartyNotices() {
|
|||
{(entry) => (
|
||||
<section class="settings-notice">
|
||||
<div class="settings-notice-heading">
|
||||
<ExternalLink href={entry.url}>{entry.name}</ExternalLink>
|
||||
<Show when={entry.url} fallback={entry.name}>
|
||||
{(url) => <ExternalLink href={url()}>{entry.name}</ExternalLink>}
|
||||
</Show>
|
||||
<span>{entry.license}</span>
|
||||
</div>
|
||||
<p>{entry.detailKey ? language.t(entry.detailKey) : entry.detail}</p>
|
||||
|
|
|
|||
1237
packages/app/src/settings/about/notices/nerd-fonts-licenses.txt
Normal file
1237
packages/app/src/settings/about/notices/nerd-fonts-licenses.txt
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,23 @@
|
|||
Icons added by the Nerd Fonts Font Patcher v3.5.1 (https://github.com/ryanoasis/nerd-fonts), each one cell wide.
|
||||
The icon sets, each with its source, license and copyright line:
|
||||
|
||||
Codicons 0.0.45, https://github.com/microsoft/vscode-codicons: CC BY 4.0, Microsoft Corporation
|
||||
Devicons 2.17.0, https://github.com/devicons/devicon: MIT, Copyright (c) 2015 konpa
|
||||
Heavy angle brackets from Hack 3.003, https://github.com/source-foundry/Hack: MIT, Copyright (c) 2018 Source Foundry Authors; Bitstream Vera License, Copyright (c) 2003 by Bitstream, Inc.
|
||||
Progress indicators after Fira Code, https://github.com/tonsky/FiraCode: SIL OFL 1.1, Copyright (c) 2014, The Fira Code Project Authors
|
||||
Font Awesome 6.5.1, https://github.com/FortAwesome/Font-Awesome: CC BY 4.0, Copyright (c) 2023 Fonticons, Inc.
|
||||
Font Awesome Extension 0.0.3, https://github.com/AndreLZGava/font-awesome-extension: MIT, Copyright (c) 2017 André Luiz Gava
|
||||
Font Logos 1.3.0, https://github.com/lukas-w/font-logos: The Unlicense (public domain)
|
||||
Material Design Icons, https://github.com/Templarian/MaterialDesign-Font: Apache 2.0, Pictogrammers
|
||||
Octicons 18.3.0, https://github.com/primer/octicons: MIT, Copyright (c) 2023 GitHub Inc.
|
||||
Seti-UI 0.8.1, https://github.com/jesseweed/seti-ui: MIT, Copyright (c) 2014 Jesse Weed
|
||||
Nerd Fonts' own icons in the Seti-UI set, and the Braille patterns: MIT, Copyright (c) 2014 Ryan L McIntyre
|
||||
Pomicons 1.001, https://github.com/gabrielelana/pomicons: SIL OFL 1.1, Copyright (c) 2021, Gabriele Lana, with Reserved Font Name Pomicons
|
||||
Powerline Extra Symbols 1.200, https://github.com/ryanoasis/powerline-extra-symbols: MIT, Copyright (c) 2016 Ryan L McIntyre
|
||||
Powerline Symbols 1.000, https://github.com/powerline/powerline: MIT, Copyright 2013 Kim Silkebækken and other contributors
|
||||
Power Symbols IEC, https://github.com/jloughry/Unicode: MIT, Copyright (c) 2013 Joe Loughry
|
||||
Weather Icons 2.0.10, https://github.com/erikflowers/weather-icons: SIL OFL 1.1, by Lukas Bischoff and Erik Flowers
|
||||
|
||||
The Codicons and Font Awesome icons are licensed under Creative Commons Attribution 4.0 International.
|
||||
The logos in Font Logos are trademarks of their owners.
|
||||
The license files of Codicons, Font Logos, Material Design Icons and Weather Icons have no copyright line.
|
||||
|
|
@ -1,12 +1,41 @@
|
|||
import apache from "./apache-2.0.txt?raw"
|
||||
import betterOfficeNotice from "./betteroffice-notice.txt?raw"
|
||||
import { crates, crateTexts } from "./crates"
|
||||
import { fonts } from "./fonts"
|
||||
import nerdFontsLicenses from "./nerd-fonts-licenses.txt?raw"
|
||||
import nerdFontsNotice from "./nerd-fonts-notice.txt?raw"
|
||||
|
||||
/**
|
||||
* Third-party software that ships inside the app, with the attribution its license asks redistributions to carry.
|
||||
* Notices and license texts are reproduced verbatim from each project, so they are not translated.
|
||||
*/
|
||||
export const notices = [
|
||||
{
|
||||
name: "OpenMono",
|
||||
detail: undefined,
|
||||
detailKey: "settings.about.notices.openMono" as const,
|
||||
// The font has no public page to link to yet.
|
||||
url: undefined,
|
||||
license: "SIL Open Font License 1.1",
|
||||
// The copyright lines of public/assets/OpenMono-OFL.txt; script/openmono.py fails when they differ.
|
||||
notice: [
|
||||
"Copyright (c) 2015-2026, Renzhi Li (aka. Belleve Invis, belleve@typeof.net)",
|
||||
"Copyright (c) 2025, Ahmed Hatem (https://github.com/ahatem).",
|
||||
"Copyright (c) 2026, Anomaly.",
|
||||
].join("\n"),
|
||||
text: fonts.license,
|
||||
},
|
||||
{
|
||||
name: "Nerd Fonts",
|
||||
detail: undefined,
|
||||
detailKey: "settings.about.notices.nerdFonts" as const,
|
||||
url: "https://github.com/ryanoasis/nerd-fonts",
|
||||
license: "MIT, CC BY 4.0, Apache License 2.0, SIL Open Font License 1.1, The Unlicense",
|
||||
notice: nerdFontsNotice.trim(),
|
||||
// Each set's license file from its own repository, with the commit it came from. Material Design Icons names the
|
||||
// Apache License 2.0 without its text.
|
||||
text: `${nerdFontsLicenses.trim()}\n\n${apache}`,
|
||||
},
|
||||
{
|
||||
name: "BetterOffice",
|
||||
detail: "@betteroffice/docx, @betteroffice/xlsx, @betteroffice/pptx, @betteroffice/fonts",
|
||||
|
|
|
|||
|
|
@ -232,9 +232,9 @@ test.each(["local", "dev", "beta", "prod", undefined] as const)("Recent availabi
|
|||
expect(recentSessionsAvailable("web", channel)).toBe(false)
|
||||
})
|
||||
|
||||
test("font defaults are Inter and IBM Plex Mono", () => {
|
||||
test("font defaults are Inter and OpenMono", () => {
|
||||
expect(sansDefault).toBe("Inter")
|
||||
expect(monoDefault).toBe("IBM Plex Mono")
|
||||
expect(monoDefault).toBe("OpenMono")
|
||||
})
|
||||
|
||||
test.each([
|
||||
|
|
@ -242,11 +242,11 @@ test.each([
|
|||
{ name: "sans", family: sansFontFamily, font: "", prefix: '"Inter", ' },
|
||||
{ name: "sans", family: sansFontFamily, font: " ", prefix: '"Inter", ' },
|
||||
{ name: "sans", family: sansFontFamily, font: "Custom Sans", prefix: '"Custom Sans", "Inter", ' },
|
||||
{ name: "mono", family: monoFontFamily, font: undefined, prefix: '"IBM Plex Mono", ' },
|
||||
{ name: "mono", family: monoFontFamily, font: "", prefix: '"IBM Plex Mono", ' },
|
||||
{ name: "mono", family: monoFontFamily, font: " ", prefix: '"IBM Plex Mono", ' },
|
||||
{ name: "mono", family: monoFontFamily, font: "Custom Mono", prefix: '"Custom Mono", "IBM Plex Mono", ' },
|
||||
{ name: "terminal", family: terminalFontFamily, font: undefined, prefix: '"JetBrainsMono Nerd Font Mono", ' },
|
||||
{ name: "mono", family: monoFontFamily, font: undefined, prefix: '"OpenMono", ' },
|
||||
{ name: "mono", family: monoFontFamily, font: "", prefix: '"OpenMono", ' },
|
||||
{ name: "mono", family: monoFontFamily, font: " ", prefix: '"OpenMono", ' },
|
||||
{ name: "mono", family: monoFontFamily, font: "Custom Mono", prefix: '"Custom Mono", "OpenMono", ' },
|
||||
{ name: "terminal", family: terminalFontFamily, font: undefined, prefix: '"OpenMono", ' },
|
||||
])("$name font family for $font starts with $prefix", ({ family, font, prefix }) => {
|
||||
expect(family(font)).toStartWith(prefix)
|
||||
})
|
||||
|
|
|
|||
|
|
@ -38,25 +38,22 @@ export function projectSettingsKey(scope: ServerScope, projectID: string | undef
|
|||
return projectID ? ScopedKey.from(scope, projectID) : undefined
|
||||
}
|
||||
|
||||
export const monoDefault = "IBM Plex Mono"
|
||||
export const monoDefault = "OpenMono"
|
||||
|
||||
export const sansDefault = "Inter"
|
||||
|
||||
export const terminalDefault = "JetBrainsMono Nerd Font Mono"
|
||||
export const terminalDefault = "OpenMono"
|
||||
|
||||
const monoFallback =
|
||||
'"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'
|
||||
'"OpenMono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'
|
||||
|
||||
const sansFallback = '"Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif'
|
||||
|
||||
const terminalFallback =
|
||||
'"JetBrainsMono Nerd Font Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'
|
||||
|
||||
const monoBase = monoFallback
|
||||
|
||||
const sansBase = sansFallback
|
||||
|
||||
const terminalBase = terminalFallback
|
||||
const terminalBase = monoFallback
|
||||
|
||||
function input(font: string | undefined) {
|
||||
return font ?? ""
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { resolve } from "node:path"
|
|||
import { VitePWA } from "vite-plugin-pwa"
|
||||
|
||||
// The Office previews' engines and fonts (about 52 MB) load only when an Office file opens, so they stay out of the
|
||||
// precache. The app's own fonts have no hyphenated name, such as `assets/Inter.ttf`.
|
||||
// precache. The app's own fonts stay in it: `assets/Inter.ttf` has no hyphenated name, and OpenMono is WOFF2.
|
||||
const officeAsset =
|
||||
/(?:^|\/)(?:(?:docx_\w+|ooxml_opc|pptx_wasm|xlsx_wasm)_bg-[\w-]+\.wasm|residentEngineWorker-[\w-]+\.js|(?:Carlito|Caladea|LiberationSans|LiberationSerif|LiberationMono|NotoSansArabic|NotoNaskhArabic|NotoSansHebrew|Gelasio|ComicRelief|Inter|Roboto|SourceSans3|DMSans|DMSerifDisplay|OpenSans|Montserrat|Poppins|Oswald|Heebo)-[\w-]+\.ttf)$/
|
||||
|
||||
|
|
|
|||
|
|
@ -552,6 +552,23 @@ export const Terminal = (props: TerminalProps) => {
|
|||
handles.cleanups.push(() => window.removeEventListener("resize", measure))
|
||||
void document.fonts.ready.then(measure)
|
||||
|
||||
// The canvas keeps what it drew, so a character drawn before its font file arrived stays a fallback glyph until
|
||||
// its row changes: the icons and the bold and italic styles are files of their own, which load on first use.
|
||||
// When a file of one of the terminal's families arrives, draw every row again.
|
||||
const redraw = (event: FontFaceSetLoadEvent) => {
|
||||
const families = fontFamilies(appearance.font("mono"))
|
||||
|
||||
if (!event.fontfaces.some((face) => fontFamilies(face.family).some((family) => families.includes(family)))) return
|
||||
|
||||
if (!t.renderer || !t.wasmTerm) return
|
||||
|
||||
// The scrollbar fades on the emulator's own frames, so this pass draws none.
|
||||
t.renderer.render(t.wasmTerm, true, t.viewportY, t, 0)
|
||||
}
|
||||
|
||||
document.fonts.addEventListener("loadingdone", redraw)
|
||||
handles.cleanups.push(() => document.fonts.removeEventListener("loadingdone", redraw))
|
||||
|
||||
// The container is laid out once the emulator opened in it, so the first size goes out before the socket opens.
|
||||
dispatch({ type: "terminal.opened", term: t, initialSize: fit.proposeDimensions() })
|
||||
}
|
||||
|
|
@ -650,3 +667,13 @@ export const Terminal = (props: TerminalProps) => {
|
|||
</>
|
||||
)
|
||||
}
|
||||
|
||||
/** The family names of a CSS `font-family` value, without quotes and in lower case, as CSS compares them. */
|
||||
function fontFamilies(value: string) {
|
||||
return value.split(",").map((family) =>
|
||||
family
|
||||
.trim()
|
||||
.replace(/^(["'])(.*)\1$/, "$2")
|
||||
.toLowerCase(),
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
--font-family-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
--font-family-sans--font-feature-settings: normal;
|
||||
--font-family-mono:
|
||||
"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
"OpenMono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
||||
--font-family-mono--font-feature-settings: normal;
|
||||
|
||||
--font-size-small: 13px;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue