PhotoCraft: An open-source, photo editor written by scratch in pure Rust
i18n test: scan past small test modules; translate what it was missing (#2660)
herzere46f119e0303
diff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsvindex 33f32c2d3..f8142bc55 100644--- a/crates/ui-egui/src/i18n/cs.tsv+++ b/crates/ui-egui/src/i18n/cs.tsv@@ -2435,6 +2435,15 @@ fontWeight Italic KurzívaQuick Selection found nothing there Rychlý výběr zde nic nenašelObject Selection found nothing there — try a tighter rectangle Výběr objektu zde nic nenašel — zkuste těsnější obdélníkNo subject found — try a rectangle around the object Nebyl nalezen žádný objekt — zkuste obdélník kolem objektu+ Auto Erase Automatické mazání+ Click the first point or press {key} to close · {del} removes a point · Esc cancels Klikněte na první bod nebo stiskněte {key} pro uzavření · {del} odebere bod · Esc zruší+ Click, then move along an edge · click to fasten a point · {alt}-click for a straight segment · double-click to close Klikněte a veďte podél okraje · kliknutím připevníte bod · {alt}-kliknutí pro rovný úsek · dvojklik uzavře+ Follows only edges this close to the pointer ([ and ] change it) Sleduje jen okraje takto blízko ukazatele ([ a ] hodnotu mění)+ Higher values follow only edges that contrast sharply with their surroundings Vyšší hodnoty sledují jen okraje s výrazným kontrastem k okolí+ How often fastening points are placed by themselves Jak často se kotevní body umisťují samy+ Scrubby Zoom Plynulá lupa+ {mode} Color · {bits} bit Barva {mode} · {bits} bitů+ Drag a crop box · drag inside to move · edges resize ({ratio} ratio, {centre} centre) · Space moves while drawing · arrows nudge · X swaps orientation · {commit} commits · Esc cancels Tažením nakreslete ořez · tažením uvnitř posunete · okraje mění velikost ({ratio} poměr, {centre} střed) · Mezerník posouvá při kreslení · šipky posunují · X prohodí orientaci · {commit} potvrdí · Esc zrušíAppearance Settings… Nastavení vzhledu…Add to favorites Přidat do oblíbenýchRemove from favorites Odebrat z oblíbenýchdiff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsvindex 27e71fe3f..1311a2e60 100644--- a/crates/ui-egui/src/i18n/de.tsv+++ b/crates/ui-egui/src/i18n/de.tsv@@ -2473,6 +2473,11 @@ fontWeight Italic KursivQuick Selection found nothing there Die Schnellauswahl hat dort nichts gefundenObject Selection found nothing there — try a tighter rectangle Die Objektauswahl hat dort nichts gefunden — versuchen Sie ein engeres RechteckNo subject found — try a rectangle around the object Kein Motiv gefunden — versuchen Sie ein Rechteck um das Objekt+ Click the first point or press {key} to close · {del} removes a point · Esc cancels Klicke auf den ersten Punkt oder drücke {key} zum Schließen · {del} entfernt einen Punkt · Esc bricht ab+ Click, then move along an edge · click to fasten a point · {alt}-click for a straight segment · double-click to close Klicke und bewege dich entlang einer Kante · Klicken setzt einen Ankerpunkt · {alt}-Klick für ein gerades Segment · Doppelklick schließt+ Follows only edges this close to the pointer ([ and ] change it) Folgt nur Kanten so nah am Zeiger ([ und ] ändern den Wert)+ Higher values follow only edges that contrast sharply with their surroundings Höhere Werte folgen nur Kanten mit starkem Kontrast zur Umgebung+ How often fastening points are placed by themselves Wie oft Ankerpunkte automatisch gesetzt werdenAppearance Settings… Erscheinungsbild-Einstellungen…Add to favorites Zu Favoriten hinzufügenRemove from favorites Aus Favoriten entfernendiff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsvindex bbaac744c..2685492b9 100644--- a/crates/ui-egui/src/i18n/es.tsv+++ b/crates/ui-egui/src/i18n/es.tsv@@ -2502,6 +2502,11 @@ fontWeight Italic CursivaQuick Selection found nothing there Selección rápida no encontró nada ahíObject Selection found nothing there — try a tighter rectangle Selección de objeto no encontró nada ahí — pruebe un rectángulo más ajustadoNo subject found — try a rectangle around the object No se encontró ningún sujeto — pruebe un rectángulo alrededor del objeto+ Click the first point or press {key} to close · {del} removes a point · Esc cancels Haz clic en el primer punto o pulsa {key} para cerrar · {del} elimina un punto · Esc cancela+ Click, then move along an edge · click to fasten a point · {alt}-click for a straight segment · double-click to close Haz clic y sigue un borde · haz clic para fijar un punto · {alt}-clic para un segmento recto · doble clic para cerrar+ Follows only edges this close to the pointer ([ and ] change it) Solo sigue bordes así de cerca del puntero ([ y ] lo cambian)+ Higher values follow only edges that contrast sharply with their surroundings Los valores altos solo siguen bordes con mucho contraste con su entorno+ How often fastening points are placed by themselves Con qué frecuencia se colocan puntos de fijación automáticamenteAppearance Settings… Ajustes de apariencia…Add to favorites Añadir a favoritosRemove from favorites Quitar de favoritosdiff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsvindex 68a9dff4b..dea522204 100644--- a/crates/ui-egui/src/i18n/fr.tsv+++ b/crates/ui-egui/src/i18n/fr.tsv@@ -2852,6 +2852,11 @@ fontWeight Italic ItaliqueQuick Selection found nothing there La Sélection rapide n'a rien trouvé à cet endroitObject Selection found nothing there — try a tighter rectangle La Sélection d'objet n'a rien trouvé à cet endroit — essayez un rectangle plus serréNo subject found — try a rectangle around the object Aucun sujet trouvé — essayez un rectangle autour de l'objet+ Click the first point or press {key} to close · {del} removes a point · Esc cancels Cliquez sur le premier point ou appuyez sur {key} pour fermer · {del} supprime un point · Échap annule+ Click, then move along an edge · click to fasten a point · {alt}-click for a straight segment · double-click to close Cliquez, puis suivez un contour · cliquez pour fixer un point · {alt}-clic pour un segment droit · double-cliquez pour fermer+ Follows only edges this close to the pointer ([ and ] change it) Ne suit que les contours aussi proches du pointeur ([ et ] le modifient)+ Higher values follow only edges that contrast sharply with their surroundings Plus la valeur est élevée, plus seuls les contours très contrastés sont suivis+ How often fastening points are placed by themselves Fréquence de pose automatique des points d’ancrageAppearance Settings… Réglages d’apparence…Add to favorites Ajouter aux favorisRemove from favorites Retirer des favorisdiff --git a/crates/ui-egui/src/i18n/id.tsv b/crates/ui-egui/src/i18n/id.tsvindex 9355f2368..e86fd8a76 100644--- a/crates/ui-egui/src/i18n/id.tsv+++ b/crates/ui-egui/src/i18n/id.tsv@@ -2839,6 +2839,11 @@ fontWeight Italic MiringQuick Selection found nothing there Seleksi Cepat tidak menemukan apa pun di sanaObject Selection found nothing there — try a tighter rectangle Seleksi Objek tidak menemukan apa pun di sana — coba persegi panjang yang lebih rapatNo subject found — try a rectangle around the object Subjek tidak ditemukan — coba persegi panjang di sekitar objek+ Click the first point or press {key} to close · {del} removes a point · Esc cancels Klik titik pertama atau tekan {key} untuk menutup · {del} menghapus titik · Esc membatalkan+ Click, then move along an edge · click to fasten a point · {alt}-click for a straight segment · double-click to close Klik, lalu gerakkan di sepanjang tepi · klik untuk menancapkan titik · {alt}-klik untuk segmen lurus · klik dua kali untuk menutup+ Follows only edges this close to the pointer ([ and ] change it) Hanya mengikuti tepi sedekat ini dengan penunjuk ([ dan ] mengubahnya)+ Higher values follow only edges that contrast sharply with their surroundings Nilai lebih tinggi hanya mengikuti tepi yang kontras tajam dengan sekitarnya+ How often fastening points are placed by themselves Seberapa sering titik penambat ditempatkan sendiriAppearance Settings… Pengaturan Tampilan…Add to favorites Tambahkan ke favoritRemove from favorites Hapus dari favoritdiff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsvindex 43e52295a..3b9089bbb 100644--- a/crates/ui-egui/src/i18n/it.tsv+++ b/crates/ui-egui/src/i18n/it.tsv@@ -2504,6 +2504,11 @@ fontWeight Italic CorsivoQuick Selection found nothing there Selezione rapida non ha trovato nulla lìObject Selection found nothing there — try a tighter rectangle Selezione oggetto non ha trovato nulla lì — prova un rettangolo più strettoNo subject found — try a rectangle around the object Nessun soggetto trovato — prova un rettangolo attorno all'oggetto+ Click the first point or press {key} to close · {del} removes a point · Esc cancels Fai clic sul primo punto o premi {key} per chiudere · {del} rimuove un punto · Esc annulla+ Click, then move along an edge · click to fasten a point · {alt}-click for a straight segment · double-click to close Fai clic e segui un bordo · fai clic per fissare un punto · {alt}-clic per un segmento dritto · doppio clic per chiudere+ Follows only edges this close to the pointer ([ and ] change it) Segue solo i bordi così vicini al puntatore ([ e ] lo cambiano)+ Higher values follow only edges that contrast sharply with their surroundings Valori più alti seguono solo bordi molto contrastati rispetto all’intorno+ How often fastening points are placed by themselves Frequenza con cui i punti di ancoraggio vengono posti da soliAppearance Settings… Impostazioni aspetto…Add to favorites Aggiungi ai preferitiRemove from favorites Rimuovi dai preferitidiff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsvindex 1c66b52c8..0c1da09f5 100644--- a/crates/ui-egui/src/i18n/ja.tsv+++ b/crates/ui-egui/src/i18n/ja.tsv@@ -3453,6 +3453,11 @@ fontWeight Italic 斜体Quick Selection found nothing there クイック選択ではそこに何も見つかりませんでしたObject Selection found nothing there — try a tighter rectangle オブジェクト選択ではそこに何も見つかりませんでした — より狭い長方形で試してくださいNo subject found — try a rectangle around the object 被写体が見つかりません — オブジェクトを囲む長方形を試してください+ Click the first point or press {key} to close · {del} removes a point · Esc cancels 最初の点をクリックするか {key} を押して閉じる · {del} で点を削除 · Esc でキャンセル+ Click, then move along an edge · click to fasten a point · {alt}-click for a straight segment · double-click to close クリックしてエッジに沿って動かす · クリックで固定ポイント · {alt}-クリックで直線セグメント · ダブルクリックで閉じる+ Follows only edges this close to the pointer ([ and ] change it) ポインターからこの距離内のエッジだけをたどる([ と ] で変更)+ Higher values follow only edges that contrast sharply with their surroundings 値を大きくすると、周囲とのコントラストが強いエッジだけをたどる+ How often fastening points are placed by themselves 固定ポイントが自動で置かれる頻度Appearance Settings… 外観設定…Add to favorites お気に入りに追加Remove from favorites お気に入りから削除diff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsvindex 8484888ee..97cc92d9e 100644--- a/crates/ui-egui/src/i18n/ko.tsv+++ b/crates/ui-egui/src/i18n/ko.tsv@@ -3013,6 +3013,15 @@ fontWeight Italic 기울임Quick Selection found nothing there 빠른 선택으로 해당 위치에서 아무것도 찾지 못했습니다Object Selection found nothing there — try a tighter rectangle 개체 선택으로 해당 위치에서 아무것도 찾지 못했습니다 — 더 좁은 사각형을 사용해 보세요No subject found — try a rectangle around the object 피사체를 찾을 수 없습니다 — 개체 주위에 사각형을 그려 보세요+ Auto Erase 자동 지우기+ Click the first point or press {key} to close · {del} removes a point · Esc cancels 첫 점을 클릭하거나 {key}를 눌러 닫기 · {del}로 점 제거 · Esc로 취소+ Click, then move along an edge · click to fasten a point · {alt}-click for a straight segment · double-click to close 클릭한 다음 가장자리를 따라 이동 · 클릭하여 고정점 추가 · {alt}-클릭으로 직선 구간 · 두 번 클릭하여 닫기+ Follows only edges this close to the pointer ([ and ] change it) 포인터에서 이 거리 안의 가장자리만 따라감([ 및 ]로 변경)+ Higher values follow only edges that contrast sharply with their surroundings 값이 높을수록 주변과 대비가 강한 가장자리만 따라감+ How often fastening points are placed by themselves 고정점이 자동으로 놓이는 빈도+ Scrubby Zoom 스크러비 확대/축소+ {mode} Color · {bits} bit {mode} 색상 · {bits}비트+ Drag a crop box · drag inside to move · edges resize ({ratio} ratio, {centre} centre) · Space moves while drawing · arrows nudge · X swaps orientation · {commit} commits · Esc cancels 드래그하여 자르기 상자 만들기 · 안쪽을 드래그하여 이동 · 가장자리로 크기 조절({ratio} 비율, {centre} 중심) · 그리는 중 Space로 이동 · 화살표로 미세 이동 · X로 방향 전환 · {commit} 적용 · Esc 취소Appearance Settings… 화면 설정…Add to favorites 즐겨찾기에 추가Remove from favorites 즐겨찾기에서 제거diff --git a/crates/ui-egui/src/i18n/mod.rs b/crates/ui-egui/src/i18n/mod.rsindex 6766688de..148da6cd2 100644--- a/crates/ui-egui/src/i18n/mod.rs+++ b/crates/ui-egui/src/i18n/mod.rs@@ -732,6 +732,45 @@ mod tests {}}+ /// `text` with each `#[cfg(test)] mod … { … }` block removed, by brace counting (the test+ /// modules in this crate are well formed).+ fn without_test_modules(text: &str) -> String {+ let mut out = String::with_capacity(text.len());+ let mut rest = text;+ while let Some(at) = rest.find("#[cfg(test)]\nmod ") {+ out.push_str(&rest[..at]);+ let after = &rest[at..];+ let Some(open) = after.find('{') else { return out };+ let mut depth = 0usize;+ let mut end = after.len();+ for (i, c) in after[open..].char_indices() {+ match c {+ '{' => depth += 1,+ '}' => {+ depth -= 1;+ if depth == 0 {+ end = open + i + 1;+ break;+ }+ }+ _ => {}+ }+ }+ rest = &after[end..];+ }+ out.push_str(rest);+ out+ }++ #[test]+ fn test_modules_are_cut_out_one_by_one() {+ let text = "a\n#[cfg(test)]\nmod t { fn x() { tl!(\"hidden\"); } }\nb tl!(\"seen\")\n#[cfg(test)]\nmod u {}\nc";+ let code = without_test_modules(text);+ assert!(code.contains("tl!(\"seen\")"), "code after the first test module is scanned: {code}");+ assert!(!code.contains("hidden"), "{code}");+ assert!(code.starts_with("a\n") && code.ends_with("\nc"), "{code}");+ }+/// Every `tl!("literal")` in the shell has an entry in each language that claims complete menus/// (so a new label can't ship untranslated by accident). Literals that are deliberately shown as/// they are (names, units) are listed in `KEEP_AS_IS`.@@ -748,10 +787,12 @@ mod tests {stack.push(path);} else if path.extension().is_some_and(|e| e == "rs") && !path.ends_with("lib.rs") {let text = std::fs::read_to_string(&path).unwrap_or_default().replace("\r\n", "\n");- // Test modules aside, scan every `tl!("…")`. Cut at the test *module*: a- // `#[cfg(test)]` on a single item earlier in the file must not hide the rest.- let code = text.split("#[cfg(test)]\nmod ").next().unwrap_or("");- let mut rest = code;+ // Test modules aside, scan every `tl!("…")`. Each test *module* is cut out+ // on its own: cutting the file at the first one hid everything after a small+ // test module early in a file (panels.rs has one at ~line 540). A+ // `#[cfg(test)]` on a single item doesn't count.+ let code = without_test_modules(&text);+ let mut rest = code.as_str();while let Some(at) = rest.find("tl!(\"") {rest = &rest[at + 5..];let mut end = 0;diff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsvindex 71b80b30b..cd69b7599 100644--- a/crates/ui-egui/src/i18n/pl.tsv+++ b/crates/ui-egui/src/i18n/pl.tsv@@ -3453,6 +3453,12 @@ cameraRaw Roughness ChropowatośćQuick Selection found nothing there Szybkie zaznaczanie nic tam nie znalazłoObject Selection found nothing there — try a tighter rectangle Zaznaczanie obiektu nic tam nie znalazło — spróbuj ciaśniejszego prostokątaNo subject found — try a rectangle around the object Nie znaleziono obiektu — spróbuj prostokąta wokół obiektu+ Click the first point or press {key} to close · {del} removes a point · Esc cancels Kliknij pierwszy punkt lub naciśnij {key}, aby zamknąć · {del} usuwa punkt · Esc anuluje+ Click, then move along an edge · click to fasten a point · {alt}-click for a straight segment · double-click to close Kliknij i prowadź wzdłuż krawędzi · kliknij, aby przypiąć punkt · {alt}-klik dla prostego odcinka · kliknij dwukrotnie, aby zamknąć+ Fill Screen Wypełnij ekran+ Follows only edges this close to the pointer ([ and ] change it) Podąża tylko za krawędziami tak blisko wskaźnika ([ i ] zmieniają wartość)+ Higher values follow only edges that contrast sharply with their surroundings Wyższe wartości podążają tylko za krawędziami mocno kontrastującymi z otoczeniem+ How often fastening points are placed by themselves Jak często punkty mocujące są stawiane automatycznieAppearance Settings… Ustawienia wyglądu…Add to favorites Dodaj do ulubionychRemove from favorites Usuń z ulubionychdiff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsvindex ae367d540..333bdfa39 100644--- a/crates/ui-egui/src/i18n/pt-br.tsv+++ b/crates/ui-egui/src/i18n/pt-br.tsv@@ -2860,6 +2860,11 @@ fontWeight Italic ItálicoQuick Selection found nothing there A Seleção rápida não encontrou nada aliObject Selection found nothing there — try a tighter rectangle A Seleção de objeto não encontrou nada ali — tente um retângulo mais justoNo subject found — try a rectangle around the object Nenhum assunto encontrado — tente um retângulo ao redor do objeto+ Click the first point or press {key} to close · {del} removes a point · Esc cancels Clique no primeiro ponto ou pressione {key} para fechar · {del} remove um ponto · Esc cancela+ Click, then move along an edge · click to fasten a point · {alt}-click for a straight segment · double-click to close Clique e siga uma borda · clique para fixar um ponto · {alt}-clique para um segmento reto · clique duas vezes para fechar+ Follows only edges this close to the pointer ([ and ] change it) Segue só bordas a esta distância do ponteiro ([ e ] mudam o valor)+ Higher values follow only edges that contrast sharply with their surroundings Valores altos seguem só bordas com forte contraste com o entorno+ How often fastening points are placed by themselves Com que frequência os pontos de fixação são colocados sozinhosAppearance Settings… Configurações de aparência…Add to favorites Adicionar aos favoritosRemove from favorites Remover dos favoritosdiff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsvindex 27c8e4392..7b8c168d8 100644--- a/crates/ui-egui/src/i18n/ru.tsv+++ b/crates/ui-egui/src/i18n/ru.tsv@@ -2717,6 +2717,75 @@ fontWeight Italic КурсивMissing delete command Отсутствует команда удаленияInvalid delete command Недопустимая команда удаленияLayer deleted, but confirmation preference could not be saved: {error} Слой удалён, но не удалось сохранить настройку подтверждения: {error}+ Add a layer style Добавить стиль слоя+ Add a mask (from the selection; {key} inverts) Добавить маску (из выделения; {key} инвертирует)+ Add an adjustment Добавить коррекцию+ Add to selection ({key}) Добавить к выделению ({key})+ Adjustment visible Коррекция видима+ Align and distribute Выровнять и распределить+ Align horizontal centers Выровнять центры по горизонтали+ Align left edges Выровнять по левому краю+ Align right edges Выровнять по правому краю+ Always use pressure for opacity Всегда использовать нажим для непрозрачности+ Always use pressure for size Всегда использовать нажим для размера+ Angle Gradient Угловой градиент+ Auto-Select: Автовыбор:+ Brush Preset picker Выбор набора кистей+ Cancel current crop operation (Esc) Отменить текущее кадрирование (Esc)+ Click the first point or press {key} to close · Esc cancels Щёлкните первую точку или нажмите {key}, чтобы замкнуть · Esc отменяет+ Click the first point or press {key} to close · {del} removes a point · Esc cancels Щёлкните первую точку или нажмите {key}, чтобы замкнуть · {del} удаляет точку · Esc отменяет+ Click, then move along an edge · click to fasten a point · {alt}-click for a straight segment · double-click to close Щёлкните и ведите вдоль края · щелчок закрепляет точку · {alt}-щелчок — прямой отрезок · двойной щелчок замыкает+ Clip to layer below Обтравить по нижнему слою+ Color & Swatches Цвет и образцы+ Commit current crop operation ({key}) Принять текущее кадрирование ({key})+ Create a new group Создать новую группу+ Create a new layer Создать новый слой+ Create new document from current state Создать новый документ из текущего состояния+ Create new fill or adjustment layer Создать новый слой-заливку или корректирующий слой+ Create new snapshot Создать новый снимок+ Delete Cropped Pixels Удалить отсечённые пикселы+ Delete current state Удалить текущее состояние+ Delete layer Удалить слой+ Diamond Gradient Ромбовидный градиент+ Doc: {w} × {h} px Док: {w} × {h} px+ Enable airbrush-style build-up effects Включить эффекты наслоения в стиле аэрографа+ Filter for adjustment layers Фильтр корректирующих слоёв+ Filter for pixel layers Фильтр пиксельных слоёв+ Filter for shape layers Фильтр слоёв-фигур+ Filter for smart objects Фильтр смарт-объектов+ Filter for type layers Фильтр текстовых слоёв+ Fixed Ratio Заданные пропорции+ Fixed Size Заданный размер+ Follows only edges this close to the pointer ([ and ] change it) Следует только за краями на таком расстоянии от указателя ([ и ] меняют его)+ Hide Properties Скрыть свойства+ Higher values follow only edges that contrast sharply with their surroundings Чем выше значение, тем только более контрастные края учитываются+ How often fastening points are placed by themselves Как часто точки привязки ставятся автоматически+ Hue/Saturation Цветовой тон/Насыщенность+ Intersect with selection ({key}) Пересечь с выделением ({key})+ Kind Вид+ Linear Gradient Линейный градиент+ Link layers Связать слои+ Lock Закрепить+ Lock all Закрепить все+ Lock image pixels Сохранить цвета пикселов+ Lock layer Закрепить слой+ Lock position Закрепить положение+ Lock transparent pixels Сохранить прозрачность пикселов+ New selection Новое выделение+ No properties Нет свойств+ Pressure for Opacity Нажим для непрозрачности+ Pressure for Size Нажим для размера+ Prevent auto-nesting in and out of Artboards and Frames Запретить автоматическое вложение в монтажные области и кадры и извлечение из них+ Radial Gradient Радиальный градиент+ Reflected Gradient Зеркальный градиент+ Reset to defaults Сбросить к значениям по умолчанию+ Set additional smoothing options Дополнительные параметры сглаживания+ Show Transform Controls Показать управляющие элементы трансформации+ Subtract from selection ({key}) Вычесть из выделения ({key})+ Swaps height and width Меняет местами высоту и ширину+ Tolerance Допуск+ Add vector mask Добавить векторную маску+ Click to zoom in · {key}-click to zoom out · drag right/left to zoom in/out Щелчок увеличивает · {key}-щелчок уменьшает · перетаскивание вправо/влево увеличивает/уменьшаетAppearance Settings… Настройки оформления…Add to favorites Добавить в избранноеRemove from favorites Удалить из избранного@@ -2748,7 +2817,6 @@ cameraData Lens ОбъективPrevious Document Предыдущий документW x H x Resolution Ш x В x РазрешениеFront Image Изображение переднего плана- Swaps height and width Меняет местами высоту и ширинуRasterize Layer Style Растрировать стиль слояSearch settings… Поиск настроек…No matching settings Нет подходящих настроекdiff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsvindex 315a2b5fd..da29b0059 100644--- a/crates/ui-egui/src/i18n/uk.tsv+++ b/crates/ui-egui/src/i18n/uk.tsv@@ -3539,6 +3539,11 @@ cameraRaw Masking МаскуванняQuick Selection found nothing there Швидке виділення нічого тут не знайшлоObject Selection found nothing there — try a tighter rectangle Виділення об'єктів нічого тут не знайшло — спробуйте вужчий прямокутникNo subject found — try a rectangle around the object Об'єкт не знайдено — спробуйте прямокутник навколо об'єкта+ Click the first point or press {key} to close · {del} removes a point · Esc cancels Клацніть першу точку або натисніть {key}, щоб замкнути · {del} видаляє точку · Esc скасовує+ Click, then move along an edge · click to fasten a point · {alt}-click for a straight segment · double-click to close Клацніть і ведіть уздовж краю · клацання закріплює точку · {alt}-клацання — прямий відрізок · подвійне клацання замикає+ Follows only edges this close to the pointer ([ and ] change it) Відстежує лише краї на такій відстані від вказівника ([ і ] змінюють її)+ Higher values follow only edges that contrast sharply with their surroundings Що більше значення, то лише краї з різким контрастом до оточення+ How often fastening points are placed by themselves Як часто точки прив’язки ставляться автоматичноAppearance Settings… Налаштування вигляду…Add to favorites Додати до вибраногоRemove from favorites Видалити з вибраногоdiff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsvindex 977736fc4..3e72040e0 100644--- a/crates/ui-egui/src/i18n/zh-hans.tsv+++ b/crates/ui-egui/src/i18n/zh-hans.tsv@@ -2442,6 +2442,15 @@ fontWeight Italic 斜体Quick Selection found nothing there 快速选择在该处未找到任何内容Object Selection found nothing there — try a tighter rectangle 对象选择在该处未找到任何内容 — 请尝试更紧凑的矩形No subject found — try a rectangle around the object 未找到主体 — 请尝试在对象周围绘制矩形+ Auto Erase 自动抹除+ Click the first point or press {key} to close · {del} removes a point · Esc cancels 点按第一个点或按 {key} 闭合 · {del} 删除一个点 · Esc 取消+ Click, then move along an edge · click to fasten a point · {alt}-click for a straight segment · double-click to close 点按,然后沿边缘移动 · 点按固定一个点 · {alt}-点按画直线段 · 双击闭合+ Follows only edges this close to the pointer ([ and ] change it) 只跟随离指针这么近的边缘(用 [ 和 ] 调整)+ Higher values follow only edges that contrast sharply with their surroundings 数值越高,只跟随与周围对比强烈的边缘+ How often fastening points are placed by themselves 自动放置紧固点的频率+ Scrubby Zoom 细微缩放+ {mode} Color · {bits} bit {mode} 颜色 · {bits} 位+ Drag a crop box · drag inside to move · edges resize ({ratio} ratio, {centre} centre) · Space moves while drawing · arrows nudge · X swaps orientation · {commit} commits · Esc cancels 拖移绘制裁剪框 · 在框内拖移以移动 · 拖移边缘调整大小({ratio} 比例,{centre} 中心)· 绘制时按 Space 移动 · 方向键微移 · X 切换方向 · {commit} 确认 · Esc 取消Appearance Settings… 外观设置…Add to favorites 添加到收藏Remove from favorites 从收藏中移除diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsvindex 049194ed6..89710fc57 100644--- a/crates/ui-egui/src/i18n/zh-hant.tsv+++ b/crates/ui-egui/src/i18n/zh-hant.tsv@@ -2412,6 +2412,15 @@ fontWeight Italic 斜體Quick Selection found nothing there 快速選取在該處找不到任何內容Object Selection found nothing there — try a tighter rectangle 物件選取在該處找不到任何內容 — 請嘗試更緊密的矩形No subject found — try a rectangle around the object 找不到主體 — 請嘗試在物件周圍繪製矩形+ Auto Erase 自動擦除+ Click the first point or press {key} to close · {del} removes a point · Esc cancels 按一下第一個點或按 {key} 封閉 · {del} 刪除一個點 · Esc 取消+ Click, then move along an edge · click to fasten a point · {alt}-click for a straight segment · double-click to close 按一下,然後沿著邊緣移動 · 按一下固定一個點 · {alt}-按一下畫直線區段 · 按兩下封閉+ Follows only edges this close to the pointer ([ and ] change it) 只追蹤離指標這麼近的邊緣(用 [ 和 ] 調整)+ Higher values follow only edges that contrast sharply with their surroundings 數值越高,只追蹤與周圍對比強烈的邊緣+ How often fastening points are placed by themselves 自動放置固定點的頻率+ Scrubby Zoom 細微縮放+ {mode} Color · {bits} bit {mode} 色彩 · {bits} 位元+ Drag a crop box · drag inside to move · edges resize ({ratio} ratio, {centre} centre) · Space moves while drawing · arrows nudge · X swaps orientation · {commit} commits · Esc cancels 拖移繪製裁切框 · 在框內拖移以移動 · 拖移邊緣調整大小({ratio} 比例,{centre} 中心)· 繪製時按 Space 移動 · 方向鍵微移 · X 切換方向 · {commit} 確認 · Esc 取消Appearance Settings… 外觀設定…Add to favorites 加入最愛Remove from favorites 從最愛移除