forked from 1b-agent/opencadstudio-upstream
refactor(i18n): group Fluent attributes
This commit is contained in:
1 parent
f3c2e061e0
commit
2f60dd0f59
26 files changed
+45139
-44415
No files matched your search
@@ -1384,7 +1384,7 @@ pub(super) fn on_open_file(&mut self) -> Task<Message> {
|
||||
&& destination_is_current
|
||||
{
|
||||
self.command_line.push_error_once(
|
||||
crate::tr!("recovery-save-new-file-required").as_ref(),
|
||||
crate::tr!("recovery", "save-new-file-required").as_ref(),
|
||||
);
|
||||
self.restore_failed_save_continuation(continuation, i);
|
||||
self.active_tab = i;
|
||||
|
||||
@@ -3995,23 +3995,23 @@ impl OpenCADStudio {
|
||||
}
|
||||
Text::EmptyOrUnsupported => {
|
||||
self.command_line.push_error(
|
||||
crate::tr!("clipboard-no-supported-content").as_ref(),
|
||||
crate::tr!("clipboard", "no-supported-content").as_ref(),
|
||||
);
|
||||
Task::none()
|
||||
}
|
||||
Text::Unavailable => {
|
||||
self.command_line
|
||||
.push_error(crate::tr!("clipboard-unavailable").as_ref());
|
||||
.push_error(crate::tr!("clipboard", "unavailable").as_ref());
|
||||
Task::none()
|
||||
}
|
||||
Text::Occupied => {
|
||||
self.command_line
|
||||
.push_error(crate::tr!("clipboard-occupied").as_ref());
|
||||
.push_error(crate::tr!("clipboard", "occupied").as_ref());
|
||||
Task::none()
|
||||
}
|
||||
Text::ConversionFailed => {
|
||||
self.command_line
|
||||
.push_error(crate::tr!("clipboard-conversion-failed").as_ref());
|
||||
.push_error(crate::tr!("clipboard", "conversion-failed").as_ref());
|
||||
Task::none()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user