Files
Anya Tokugawa d5d21b7841
Build and publish container images / images (push) Successful in 9m34s
Release container images / release (push) Successful in 36s
Refactor architecture into eight components and consolidate reliability work
Extract Grammaratur, Dregarnuhr, Geduldh, Mestionora, Ordoschnellic, Schutzaria, Kunstzeal and Seheweit behind compatible application contracts.

Include accumulated editor resilience, navigation and theme UX, remote CLI, storage/schema and DR groundwork, tests and design/operations documentation.

Verified: uncached full Go suite; go vet ./...; race tests for all eight components; 11 targeted Chromium tests; Node suites; 19 Python CLI tests; reproducible editor build. No push, release tag or deployment in this checkpoint.
2026-11-01 15:23:31 +09:00

37 lines
3.8 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package server
func init() {
for lang, entries := range map[string]map[string]string{
"en": {
"command.label": "Command · Tab: complete Path · Esc: close", "command.close": "Close command mode", "command.unavailable": "Path completion unavailable. Sign in or retry.", "command.empty": "No matching readable Paths.", "command.more": "More matches exist. Type a longer Path prefix.",
"auth.session_minutes": "Session lifetime (minutes)", "auth.session_policy_help": "5–43200 minutes (30 days); default 1440 (24 hours). Applies to new browser/API logins, including OIDC/LDAP. Existing sessions and CalDAV app passwords are unchanged. This is an absolute expiry, not an inactivity timeout.",
"browser.format": "Document format", "browser.wiki": "Wiki (default editor format)", "browser.plain": "PlainText (text/plain)",
"theme.quick": "Theme", "theme.default": "Domain default", "theme.local": "This browser only", "theme.failed": "Could not load the theme.",
"browser.address": "Path", "browser.go": "Go", "browser.up": "Parent folder",
"browser.command_help": "Enter /path or a relative path · cd .. · vi filename · view filename",
"browser.new": "New document", "browser.folder": "Open virtual folder", "browser.name": "Name or Path",
"browser.create_help": "Open the editor to create a document. If the Path already exists, edit that document.",
"browser.folder_help": "You can enter an empty Path without creating a folder, then create or upload documents there.",
"browser.invalid": "Enter a Wiki Path, not an external URL or a path containing control characters or backslashes.",
"browser.empty": "No visible items. Create a document, upload a file, or enter a different Path.",
},
"ja": {
"command.label": "コマンド · Tab: Path補完 · Esc: 閉じる", "command.close": "コマンドモードを閉じる", "command.unavailable": "Path補完を取得できません。ログイン状態を確認して再試行してください。", "command.empty": "閲覧可能な一致するPathがありません。", "command.more": "候補がほかにもあります。Pathをさらに入力してください。",
"auth.session_minutes": "セッションの有効期間(分)", "auth.session_policy_help": "5〜43200分(30日)。既定は1440分(24時間)。OIDC・LDAPを含む新規ブラウザ/APIログインに適用します。既存セッションとCalDAVのアプリパスワードは変更しません。無操作時間ではなくログインからの絶対期限です。",
"browser.format": "文書形式", "browser.wiki": "Wiki(既定の編集形式)", "browser.plain": "PlainText(text/plain)",
"theme.quick": "テーマ", "theme.default": "ドメインの既定", "theme.local": "このブラウザだけに適用", "theme.failed": "テーマを読み込めませんでした。",
"browser.address": "Path", "browser.go": "移動", "browser.up": "親フォルダ",
"browser.command_help": "/path または相対パス · cd .. · vi ファイル名 · view ファイル名",
"browser.new": "新規文書", "browser.folder": "仮想フォルダを開く", "browser.name": "名前またはPath",
"browser.create_help": "エディタを開いて文書を作成します。既存のPathでは、その文書を編集します。",
"browser.folder_help": "空のPathにもフォルダを作らず移動できます。移動先で文書の作成やアップロードができます。",
"browser.invalid": "WikiのPathを入力してください。外部URL・制御文字・バックスラッシュは使用できません。",
"browser.empty": "表示できる項目はありません。文書の作成、ファイルのアップロード、別のPathへの移動ができます。",
},
} {
for key, value := range entries {
translations[lang][key] = value
}
}
}