Y
Hacker News
new
|
ask
|
show
|
jobs
by
demosito666
2950 days ago
I believe _() would be even better, granted you might want to translate messages in future. At first might just def _(s): return s.
1 comments
ComputerGuru
2950 days ago
A single underscore is pretty much de facto reserved for localization.
link
jedberg
2950 days ago
Which is exactly what this is. Putting everything a human reads into a function is step one of localization.
link