In the Getting things gnome code base I stumbled upon this import statement
from GTG import _
and have no idea what it means, never seen this in the documentation and a quick so / google search didn’t turn anything up.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
from GTG import _imports the_function from theGTGmodule into the “current” namespace.Usually, the
_function is an alias forgettext.gettext(), a function that shows the localized version of a given message. The documentation gives a picture of what is usually going on somewhere else in a module far, far away: