1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 22:21:29 +00:00

Update translatable strings: use named placeholders

This commit is contained in:
dmiller
2025-05-20 15:25:12 +00:00
parent 3591d0d970
commit f84f4b9879
11 changed files with 143 additions and 136 deletions

View File

@@ -205,9 +205,9 @@ class ScanChooser(HIGVBox):
alert = HIGAlertDialog(
message_format='<b>%s</b>' % _(
'Cannot open selected file'),
secondary_text=_("""\
This error occurred while trying to open the file:
%s""") % str(e))
secondary_text=_(
"This error occurred while trying to open the file:\n%s"
) % str(e))
alert.run()
alert.destroy()
return False