From e5d473407e1daeb312eb8b3c70e955645fd31252 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Tue, 8 Sep 2026 12:33:10 +0800 Subject: [PATCH] fix https://github.com/rustdesk/rustdesk/issues/16086 --- AGENTS.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 1226c40c8..bd6e42075 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -141,6 +141,7 @@ Each file is a `HashMap`. Layout: * `template.rs` is the master list of every key. **Never edit it** as part of translation work. * `en.rs` holds only the keys whose English display text differs from the key itself. * Every other file (`de.rs`, `fr.rs`, …) carries the full key set; an untranslated entry has an empty value: `("key", "")`. +* `it.rs` is maintained by hand by its translator. Never fill or change its entries; when adding new keys, append them to it with `""` and leave the translation to the maintainer. ### Finding the English source for a key @@ -162,4 +163,4 @@ Then translate that source into the file's target language (infer the language f * New English-text keys use sentence case, not Title Case: `Use ID whitelisting`, **not** `Use ID Whitelisting`. Acronyms (ID, IP, 2FA…) stay uppercase. Legacy Title-Case keys (e.g. `Use IP Whitelisting`) stay as-is — do not rename them. * Since the key itself is the English display text, a sentence-case key usually needs **no** `en.rs` entry; add one only when the display text must differ from the key (e.g. `*_tip` keys). -* Append each new key to `template.rs` (with `""`) and to every `src/lang/*.rs` file (translated, or `""` if unsure), at the end of the list. +* Append each new key to `template.rs` (with `""`) and to every `src/lang/*.rs` file (translated, or `""` if unsure; always `""` for `it.rs`), at the end of the list.