Merge PR #1293
This commit is contained in:
commit
6bbceb2fa8
|
|
@ -364,7 +364,7 @@ fn remove(app: &mut LightcraftApp, ui: &mut egui::Ui, id: PhotoId) {
|
|||
app.toast(
|
||||
ui.ctx(),
|
||||
if n == 0 {
|
||||
"No dust spots found".to_string()
|
||||
crate::i18n::tr("No dust spots found").to_string()
|
||||
} else {
|
||||
crate::i18n::tr_format!("Healed {n} dust spot{}", if n == 1 { "" } else { "s" }, n = n)
|
||||
},
|
||||
|
|
@ -387,7 +387,7 @@ fn remove(app: &mut LightcraftApp, ui: &mut egui::Ui, id: PhotoId) {
|
|||
lightcraft_develop::SpotMode::Remove => "Remove",
|
||||
lightcraft_develop::SpotMode::Fill => "Content-Aware",
|
||||
};
|
||||
super::edit::sub_title(ui, &crate::i18n::tr_format!("{mode} spot {} of {}", i + 1, d.spots.len(), mode = mode));
|
||||
super::edit::sub_title(ui, &crate::i18n::tr_format!("{mode} spot {} of {}", i + 1, d.spots.len(), mode = crate::i18n::tr(mode)));
|
||||
}
|
||||
let plain = |id: &'static str, label: &'static str, min: f64, max: f64, default: f64| lightcraft_develop::ControlSpec {
|
||||
id,
|
||||
|
|
|
|||
Loading…
Reference in New Issue