Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The tree often has other people's uncommitted edits. Do not revert or reformat f

## Languages

The window speaks English, zh-TW, zh-CN and French (docs/I18N.md). UI text goes through `t` / `<Trans>` from `@/i18n` with its English in `src/i18n/messages/en/<namespace>.ts` and a translation in every other language; launcher messages that reach the window are marked `msg!` / `msg_str!` in Rust and translated in `src-tauri/locales/*/*.json`. `pnpm i18n:check` and `cargo test` fail on a missing translation or English left in UI code. Logs, problem reports and the agent tool stay English.
The window speaks English, zh-TW, zh-CN, French and Spanish (docs/I18N.md). UI text goes through `t` / `<Trans>` from `@/i18n` with its English in `src/i18n/messages/en/<namespace>.ts` and a translation in every other language; launcher messages that reach the window are marked `msg!` / `msg_str!` in Rust and translated in `src-tauri/locales/*/*.json`. `pnpm i18n:check` and `cargo test` fail on a missing translation or English left in UI code. Logs, problem reports and the agent tool stay English.

## Layout

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ If you change a Tauri command or a settings field, update `src/lib/types.ts` and
- **Respect the safety model.** The launcher runs other people's code, so new features must warn before they run code, change files outside the project's own folder, or act on the player's behalf. Saves must never be read, moved or deleted by update, rollback or cleanup code.
- **Keep warnings honest.** If a feature can cause harm, say what could happen in the UI and in the docs, and require the player to accept it.
- **Keep system differences in one place.** Code that differs between Windows, macOS and Linux goes in `src-tauri/src/platform/` (`mod.rs` dispatches to `windows.rs`, `macos.rs` and `linux.rs`), so other modules need no `#[cfg]`. A change must still build and test on all three.
- **Translate UI text.** The window speaks English, zh-TW, zh-CN and French. New UI text goes through `t` / `<Trans>` from `@/i18n`, and launcher messages that reach the window are marked `msg!` / `msg_str!` in Rust. Every language needs a translation, and `pnpm i18n:check` and `cargo test` fail if one is missing. See [docs/I18N.md](docs/I18N.md).
- **Translate UI text.** The window speaks English, zh-TW, zh-CN, French and Spanish. New UI text goes through `t` / `<Trans>` from `@/i18n`, and launcher messages that reach the window are marked `msg!` / `msg_str!` in Rust. Every language needs a translation, and `pnpm i18n:check` and `cargo test` fail if one is missing. See [docs/I18N.md](docs/I18N.md).
- **Dependencies** need a reason and a licence compatible with GPL-3.0-or-later. Say which in the pull request.
- **Generated files** (`tsconfig.tsbuildinfo`, `.ci/`, build output) do not belong in commits.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ chmod +x VILauncher_*_amd64.AppImage
- **Activity log.** Full Git and Cargo output, copyable and exportable. Each job's log is also kept on disk.
- **AI-agent access (off by default).** Lets an AI agent read logs and, after you confirm, apply a patch and run the project's build. See [Agent tools](#agent-tools).
- **Screenshot mode.** Hides names, paths, notes and logs for sharing pictures.
- **Languages.** English, 繁體中文 and 简体中文: the system's language by default, or your choice under *Settings → Appearance → Language*. Project names and notes, and build logs, stay as written. See [docs/I18N.md](docs/I18N.md) to add or improve a language.
- **Languages.** English, 繁體中文, 简体中文, Français and Español: the system's language by default, or your choice under *Settings → Appearance → Language*. Project names and notes, and build logs, stay as written. See [docs/I18N.md](docs/I18N.md) to add or improve a language.

## Screenshots

Expand Down
25 changes: 24 additions & 1 deletion docs/I18N.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Languages (i18n)

VILauncher speaks **English** (`en`, the source), **Traditional Chinese** (`zh-TW`),
**Simplified Chinese** (`zh-CN`) and **French** (`fr`).
**Simplified Chinese** (`zh-CN`), **French** (`fr`) and **Spanish** (`es`).

## Which language is shown

Expand Down Expand Up @@ -172,3 +172,26 @@ placeholders side by side, and don't build a message from pieces that are transl
| drive / disk space | 磁碟 / 磁碟空間 | 磁盘 / 磁盘空间 |
| repository / commit / patch | 儲存庫 / 提交 / 修補檔 | 仓库 / 提交 / 补丁 |
| source code / link / download | 原始碼 / 連結 / 下載 | 源代码 / 链接 / 下载 |

## Style for the Spanish translations

- Short, plain interface wording; address the player as *tú* (informal singular).
- Standard Spanish punctuation (`¿…?`, `¡…!`, guillemets `«…»` for quoted names, ellipsis `…`).
- Keep labels inside fixed-width controls (`shell.filter.tiers`, `settings.disk` table headers) concise so they do not wrap awkwardly or overflow.
- Same term everywhere:

| English | es |
| --- | --- |
| project / library | proyecto / biblioteca |
| build (verb) / build (noun) | compilar / compilación (`Compilado` in compact table headers) |
| previous build | compilación anterior |
| sources (disk table) | Fuentes |
| tracked / watchlist | Seguidos / Observados |
| launch arguments / launch switches | argumentos de inicio / interruptores de inicio |
| preset | preajuste |
| save (game) / checkpoint | partida guardada / punto de control |
| shader cache / warm up shaders | caché de shaders / precompilar shaders |
| Fix and verify | Reparar y verificar |
| AI agent access | Acceso de agentes IA |
| Screenshot mode | Modo captura |
| legal notice / warning | aviso legal / advertencia |
18 changes: 18 additions & 0 deletions src-tauri/locales/es/core.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"Unknown language: {tag}": "Idioma no compatible: {tag}",
"Installed {when}": "Instalado {when}",
"Updated {when}": "Actualizado {when}",
"just now": "ahora mismo",
"1 minute ago": "hace 1 minuto",
"{minutes} minutes ago": "hace {minutes} minutos",
"1 hour ago": "hace 1 hora",
"{hours} hours ago": "hace {hours} horas",
"1 day ago": "hace 1 día",
"{days} days ago": "hace {days} días",
"New install · Not run yet": "Nueva instalación · Sin ejecutar aún",
"Updated · Not run yet": "Actualizado · Sin ejecutar aún",
"C++ build tools": "herramientas de compilación C++",
"Xcode Command Line Tools": "herramientas de línea de comandos de Xcode",
"C compiler": "compilador de C",
"VIPortLive team": "el equipo de VIPortLive"
}
Loading