Quantcast
Channel: coder i|o: #strings
Viewing all articles
Browse latest Browse all 138

Vim: Annotate strings with gettext (the macro way)

$
0
0

From amix the lucky stiff:

If your application does not use gettext strings then you must do a lot of rewrites of following form "My String" needs to be rewritten to _("My String") And in templates you need to rewrite My String to ${ _("My String") } Doing this over huge codebase is a pain in the ass and automating it can be error prone.

Click here to read more

Tagged: #vim #macros #strings


Viewing all articles
Browse latest Browse all 138

Trending Articles