mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 22:21:15 -03:00
Do gettext translation of descriptions just-in-time internally in fish
darcs-hash:20060301165347-ac50b-3df9feec60dd9860e0988396d10b550a501f6802.gz
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user