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, 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.
The window speaks English, zh-TW, zh-CN, French, Spanish and Russian (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, 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).
- **Translate UI text.** The window speaks English, zh-TW, zh-CN, French, Spanish and Russian. 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, 繁體中文, 简体中文, 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.
- **Languages.** English, 繁體中文, 简体中文, Français, Español 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.

## Screenshots

Expand Down
2 changes: 1 addition & 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`), **French** (`fr`) and **Spanish** (`es`).
**Simplified Chinese** (`zh-CN`), **French** (`fr`), **Spanish** (`es`) and **Russian** (`ru`).

## Which language is shown

Expand Down
18 changes: 18 additions & 0 deletions src-tauri/locales/ru/core.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"Unknown language: {tag}": "Неизвестный язык: {tag}",
"Installed {when}": "Установлено {when}",
"Updated {when}": "Обновлено {when}",
"just now": "только что",
"1 minute ago": "1 минуту назад",
"{minutes} minutes ago": "{minutes} мин. назад",
"1 hour ago": "1 час назад",
"{hours} hours ago": "{hours} ч. назад",
"1 day ago": "1 день назад",
"{days} days ago": "{days} дн. назад",
"New install · Not run yet": "Новая установка · Ещё не запускалась",
"Updated · Not run yet": "Обновлено · Ещё не запускалось",
"C++ build tools": "инструменты сборки C++",
"Xcode Command Line Tools": "инструменты командной строки Xcode",
"C compiler": "компилятор C",
"VIPortLive team": "команды VIPortLive"
}
Loading