diff options
author | axel <axel@liljencrantz.se> | 2006-03-02 02:53:47 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-03-02 02:53:47 +1000 |
commit | c2f6c6c1d2be2c67d55855cd2151c1f82382c172 (patch) | |
tree | 36d3a284c8a6d63cca5e10f8e931a7a829bbfdda /function.c | |
parent | 7726cffdabead968f0b9e1394333851f760671b1 (diff) |
Do gettext translation of descriptions just-in-time internally in fish
darcs-hash:20060301165347-ac50b-3df9feec60dd9860e0988396d10b550a501f6802.gz
Diffstat (limited to 'function.c')
-rw-r--r-- | function.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -16,6 +16,7 @@ #include "function.h" #include "proc.h" +#include "translate.h" #include "parser.h" #include "common.h" #include "intern.h" @@ -230,7 +231,7 @@ const wchar_t *function_get_desc( const wchar_t *argv ) if( data == 0 ) return 0; - return data->desc; + return _(data->desc); } void function_set_desc( const wchar_t *name, const wchar_t *desc ) |