On 4/7/06, Alexander Schremmer <2005a at usenet.alexanderweb.de> wrote: > On Thu, 6 Apr 2006 20:35:51 -0400, Martin Blais wrote: > > > This is pretty standard > > getttext stuff, if you used _() a lot I'm surprised you don't have a > > need for N_(), I always needed it when I used i18n (or maybe I > > misunderstood your question?). > > Have you thought about simply writing _ = lambda x:x instead of N_ ...? > By doing that, you just need to care about one function (of course _ > doesn't translate in that case and you might need to del _ afterwards). There are cases where you need N_() after initialization, so you need both, really. See the link I sent to Alex earlier (to the GNU manual example).
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4