Skip to content

Commit a174744

Browse files
committed
chore: tweak dialog text
1 parent f85baa6 commit a174744

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

i18n/en/cedilla.ftl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ delete-confirmation = Are you sure you want to delete this file/folder and it's
2424
save-changes-closing = Save changes before closing?
2525
save-warning = You have unsaved changes. If you continue without saving, these changes will be lost.
2626
discard-changes = Discard Changes
27-
file-changed-externally = The file has been changed from another application
27+
file-changed-externally = The file has been changed externally
2828
reload = Reload File
2929
keep-my-version = Keep Current Version
30+
modified-text = was modified by another program.
3031

3132
<#-- Appearance -->
3233
appearance = Appearance

src/app/dialogs.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,8 @@ impl DialogPage {
214214
)
215215
.control(
216216
widget::column::with_children(vec![
217-
widget::text::body(format!(
218-
"\"{file_name}\" was modified by another program."
219-
))
220-
.into(),
217+
widget::text::body(format!("\"{file_name}\" {}", fl!("modified-text")))
218+
.into(),
221219
])
222220
.spacing(spacing.space_xxs),
223221
)

0 commit comments

Comments
 (0)