1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

4 Commits

Author SHA1 Message Date
dmiller
17304bf825 Remove debug to file from OS X launcher. Closes #1777 2019-12-30 04:48:49 +00:00
vincent
e4fcf2347a Use the AppleLocale prefs directly
This is really easier and much more portable (Mac OS 10.5 and later) 
than the other solution proposed. The problem with the actual code happens 
when I set English as my main language with a French localisation and 
keyboard. Sometimes, the AppleLanguages configuration file contains names 
like "English" instead of "en", "EN" or "en_EN". Moreover, there can be 
more than one language defined here. Instead, I suggest with this PR to 
use AppleLocale directly, which is in the "en_EN" format (or whatever 
language) and is set to the current language used by the machine. This 
would allow users to just launch Zenmap and have the software launched in 
the desired language without having to use the terminal (they can still 
change their machine language in the System Preferences or via the 
Terminal, but it would be easier to use).
2016-08-22 15:37:43 +00:00
vincent
4c1ef96578 Add checks for $lang variable
We now use AppleLanguages to provide a good language to Zenmap.
This should prevent Zenmap from choosing wrong locale/languages settings.
2016-06-17 08:55:34 +00:00
dmiller
94d48e7913 Switch to gtk-mac-bundler and jhbuild for building OS X app bundle 2015-12-09 04:16:50 +00:00