localize_messages

localize_messages()

Obtain message texts from "Localizable.strings" in the resource folder in the current bundle.

This method make GUIScriptingChecker follow usual localization way of OS X. Keys of messages are as follows.

10.9 or later10.8 or before
OK buttonOpen System PreferencesEnable GUIScripting
Cancel buttonDenyCancel
The title of the message dialogGUI Scripting is requiredGUI Scripting is not enabled.
The infomative text of the message dialogGrant access to this applicationEnable GUI Scripting ?

Result

me