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

Un-localize things like 'IPv4', 'PDF', etc.

This commit is contained in:
dmiller
2023-01-31 23:06:30 +00:00
parent 99b121d0a2
commit 7162b00788
7 changed files with 15 additions and 15 deletions

View File

@@ -250,13 +250,13 @@ class UmitCredits(HIGWindow):
self.notebook.append_page(
self.design_scroll, Gtk.Label.new(_("Design")))
self.notebook.append_page(
self.soc2007_scroll, Gtk.Label.new(_("SoC 2007")))
self.soc2007_scroll, Gtk.Label.new("SoC 2007"))
self.notebook.append_page(
self.contributors_scroll, Gtk.Label.new(_("Contributors")))
self.notebook.append_page(
self.translation_scroll, Gtk.Label.new(_("Translation")))
self.notebook.append_page(
self.nokia_scroll, Gtk.Label.new(_("Maemo")))
self.nokia_scroll, Gtk.Label.new("Maemo"))
self.written_by_scroll.add(self.written_by_text)
self.written_by_text.set_wrap_mode(Gtk.WrapMode.NONE)

View File

@@ -113,7 +113,7 @@ class NmapOutputProperties(HIGDialog):
"80/tcp filtered http"],
"date": [_("date"), "2006-05-26 11:14 BRT"],
"hostname": [_("hostname"), "scanme.nmap.org"],
"ip": [_("ip"), "127.0.0.1"]}
"ip": ["ip", "127.0.0.1"]}
for p in self.property_names:
settings = self.nmap_highlight.__getattribute__(p)

View File

@@ -162,13 +162,13 @@ class HostDetails(HIGVBox):
self.info_lastboot_label = HIGEntryLabel(na)
# Addresses expander
self.ipv4_label = HIGEntryLabel(_('IPv4:'))
self.ipv4_label = HIGEntryLabel('IPv4:')
self.info_ipv4_label = HIGEntryLabel(na)
self.ipv6_label = HIGEntryLabel(_('IPv6:'))
self.ipv6_label = HIGEntryLabel('IPv6:')
self.info_ipv6_label = HIGEntryLabel(na)
self.mac_label = HIGEntryLabel(_('MAC:'))
self.mac_label = HIGEntryLabel('MAC:')
self.info_mac_label = HIGEntryLabel(na)
self.vendor_label = HIGEntryLabel(_('Vendor:'))

View File

@@ -398,7 +398,7 @@ class HostOpenPorts(HIGVBox):
p["host"].get_hostname(),
int(p.get('portid', "0")),
p.get('protocol', ""),
p.get('port_state', _("Unknown")),
p.get('port_state', _("unknown")),
get_version_string(p)
]
)