diff options
author | axel <axel@liljencrantz.se> | 2006-01-04 22:51:02 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-01-04 22:51:02 +1000 |
commit | ec43c635cc65145dc4c36b4b284b86119534533e (patch) | |
tree | f563bf720ab28d1269a0be9805a3fef4dbd6e05d /builtin_ulimit.c | |
parent | 26de6ba26b71f06c15ee7e8a54a7b52e0437047d (diff) |
Add i18n through gettext, as well as a Swedish translation
darcs-hash:20060104125102-ac50b-5bf026578a69bd94f7a7a3c8dee0ebccd95e5c24.gz
Diffstat (limited to 'builtin_ulimit.c')
-rw-r--r-- | builtin_ulimit.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/builtin_ulimit.c b/builtin_ulimit.c index b9635c9b..f20e7ec8 100644 --- a/builtin_ulimit.c +++ b/builtin_ulimit.c @@ -17,6 +17,7 @@ Functions used for implementing the ulimit builtin. #include "builtin.h" #include "common.h" #include "wgetopt.h" +#include "translate.h" /** Struct describing a resource limit @@ -344,13 +345,10 @@ int builtin_ulimit( wchar_t ** argv ) case 0: if(long_options[opt_index].flag != 0) break; - sb_append2( sb_err, - argv[0], - BUILTIN_ERR_UNKNOWN, - L" ", - long_options[opt_index].name, - L"\n", - (void *)0 ); + sb_printf( sb_err, + BUILTIN_ERR_UNKNOWN, + argv[0], + long_options[opt_index].name ); builtin_print_help( argv[0], sb_err ); return 1; |