Add missing mask properties context menu entry
This commit is contained in:
parent
5359f31438
commit
07b79ae2d7
|
|
@ -455,5 +455,6 @@
|
|||
"language.confirm": "Does this new language choice suit you?",
|
||||
"language.keep": "Yes",
|
||||
"language.rollback": "Your previous language returns in %{seconds} seconds unless you confirm.",
|
||||
"language.cancel": "No, I clicked on this language by accident"
|
||||
"language.cancel": "No, I clicked on this language by accident",
|
||||
"ui.mask-properties": "Mask properties…"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -455,5 +455,6 @@
|
|||
"language.confirm": "Ĉu ĉi tiu nova lingvo taŭgas por vi?",
|
||||
"language.keep": "Jes",
|
||||
"language.rollback": "Sen konfirmo, la antaŭa lingvo revenos post %{seconds} sekundoj.",
|
||||
"language.cancel": "Ne, mi elektis ĉi tiun lingvon erare"
|
||||
"language.cancel": "Ne, mi elektis ĉi tiun lingvon erare",
|
||||
"ui.mask-properties": "Ecoj de la masko…"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -455,5 +455,6 @@
|
|||
"language.confirm": "¿Te parece bien este nuevo idioma?",
|
||||
"language.keep": "Sí",
|
||||
"language.rollback": "Si no confirmas, se volverá al idioma anterior en %{seconds} segundos.",
|
||||
"language.cancel": "No, elegí este idioma por accidente"
|
||||
"language.cancel": "No, elegí este idioma por accidente",
|
||||
"ui.mask-properties": "Propiedades de la máscara…"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -455,5 +455,6 @@
|
|||
"language.confirm": "Ce nouveau choix de langue vous convient-il ?",
|
||||
"language.keep": "Oui",
|
||||
"language.rollback": "Sans confirmation, la langue précédente sera rétablie dans %{seconds} secondes.",
|
||||
"language.cancel": "Non, j’ai choisi cette langue par erreur"
|
||||
"language.cancel": "Non, j’ai choisi cette langue par erreur",
|
||||
"ui.mask-properties": "Propriétés du masque…"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -455,5 +455,6 @@
|
|||
"language.confirm": "Ἆρά σοι ἀρέσκει ἡ νέα γλῶττα;",
|
||||
"language.keep": "Ναί",
|
||||
"language.rollback": "Ἡ προτέρα γλῶττα ἐπανήξει μετὰ %{seconds} δευτερόλεπτα, ἐὰν μὴ βεβαιώσῃς.",
|
||||
"language.cancel": "Οὔ, κατὰ τύχην ταύτην τὴν γλῶτταν εἱλόμην"
|
||||
"language.cancel": "Οὔ, κατὰ τύχην ταύτην τὴν γλῶτταν εἱλόμην",
|
||||
"ui.mask-properties": "Ἰδιότητες τοῦ καλύμματος…"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -455,5 +455,6 @@
|
|||
"language.confirm": "この言語設定でよろしいですか?",
|
||||
"language.keep": "はい",
|
||||
"language.rollback": "確認しない場合、%{seconds} 秒後に元の言語に戻ります。",
|
||||
"language.cancel": "いいえ、間違えてこの言語を選びました"
|
||||
"language.cancel": "いいえ、間違えてこの言語を選びました",
|
||||
"ui.mask-properties": "マスクのプロパティ…"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -455,5 +455,6 @@
|
|||
"language.confirm": "您要保留这个语言选择吗?",
|
||||
"language.keep": "是",
|
||||
"language.rollback": "如果不确认,将在 %{seconds} 秒后恢复原来的语言。",
|
||||
"language.cancel": "不,我不小心选错了语言"
|
||||
"language.cancel": "不,我不小心选错了语言",
|
||||
"ui.mask-properties": "遮罩属性…"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2256,10 +2256,12 @@ impl Editor {
|
|||
ui.separator();
|
||||
if let Some(i) = self.layout.selected() {
|
||||
ui.menu_button(tr(ui.ctx(), "ui.properties"), |ui| {
|
||||
let mask_title = tr(ui.ctx(), "ui.mask-properties");
|
||||
for (title, tab) in [
|
||||
("Source properties…", PropertyTab::Source),
|
||||
("Layer properties…", PropertyTab::Layer),
|
||||
("Crop properties…", PropertyTab::Crop),
|
||||
(mask_title.as_str(), PropertyTab::Mask),
|
||||
("Mapping properties…", PropertyTab::Mapping),
|
||||
] {
|
||||
if ui.button(title).clicked() {
|
||||
|
|
@ -8243,6 +8245,7 @@ mod tests {
|
|||
(false, "Source properties…", PropertyTab::Source),
|
||||
(false, "Layer properties…", PropertyTab::Layer),
|
||||
(false, "Crop properties…", PropertyTab::Crop),
|
||||
(false, "Mask properties…", PropertyTab::Mask),
|
||||
(false, "Mapping properties…", PropertyTab::Mapping),
|
||||
(false, "Configure capture…", PropertyTab::Preview),
|
||||
(true, "Lock selected layers", PropertyTab::Layer),
|
||||
|
|
|
|||
|
|
@ -4,6 +4,10 @@
|
|||
|
||||
## Unreleased
|
||||
|
||||
- Added the missing Mask properties entry to the layer right-click Properties
|
||||
submenu, opening the existing mask controls. The context-menu regression test
|
||||
now covers this entry.
|
||||
|
||||
- Language changes now preview for 20 seconds and require confirmation. The
|
||||
cancellation button stays in the previous language; cancellation, Escape or
|
||||
timeout restores it. Unconfirmed choices are never saved. Regression tests cover
|
||||
|
|
|
|||
Loading…
Reference in New Issue