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 /wildcard.c | |
parent | 26de6ba26b71f06c15ee7e8a54a7b52e0437047d (diff) |
Add i18n through gettext, as well as a Swedish translation
darcs-hash:20060104125102-ac50b-5bf026578a69bd94f7a7a3c8dee0ebccd95e5c24.gz
Diffstat (limited to 'wildcard.c')
-rw-r--r-- | wildcard.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1,8 +1,8 @@ /** \file wildcard.c - Fish needs it's own globbing implementation to support - tab-expansion of globbed parameters. Also provides recursive - wildcards using **. +Fish needs it's own globbing implementation to support +tab-expansion of globbed parameters. Also provides recursive +wildcards using **. */ @@ -26,6 +26,7 @@ #include "complete.h" #include "reader.h" #include "expand.h" +#include "translate.h" /** This flag is set in the flags parameter of wildcard_expand if the @@ -272,11 +273,11 @@ void get_desc( wchar_t *fn, string_buffer_t *sb, int is_cmd ) sb_append2( sb, desc, L", ", (void *)0 ); if( sz < 0 ) { - sb_append( sb, L"unknown" ); + sb_append( sb, _(L"unknown") ); } else if( sz < 1 ) { - sb_append( sb, L"empty" ); + sb_append( sb, _( L"empty" ) ); } else if( sz < 1024 ) { |