@@ -57,8 +57,8 @@ static void hash_stdin_paths(const char *type, int write_objects)
57
57
}
58
58
59
59
static const char * const hash_object_usage [] = {
60
- "git hash-object [-t <type>] [-w] [--path=<file>|--no-filters] [--stdin] [--] <file>..." ,
61
- "git hash-object --stdin-paths < <list-of-paths>" ,
60
+ N_ ( "git hash-object [-t <type>] [-w] [--path=<file>|--no-filters] [--stdin] [--] <file>..." ) ,
61
+ N_ ( "git hash-object --stdin-paths < <list-of-paths>" ) ,
62
62
NULL
63
63
};
64
64
@@ -69,12 +69,12 @@ static int stdin_paths;
69
69
static const char * vpath ;
70
70
71
71
static const struct option hash_object_options [] = {
72
- OPT_STRING ('t' , NULL , & type , "type" , "object type" ),
73
- OPT_BOOLEAN ('w' , NULL , & write_object , "write the object into the object database" ),
74
- OPT_BOOLEAN ( 0 , "stdin" , & hashstdin , "read the object from stdin" ),
75
- OPT_BOOLEAN ( 0 , "stdin-paths" , & stdin_paths , "read file names from stdin" ),
76
- OPT_BOOLEAN ( 0 , "no-filters" , & no_filters , "store file as is without filters" ),
77
- OPT_STRING ( 0 , "path" , & vpath , "file" , "process file as it were from this path" ),
72
+ OPT_STRING ('t' , NULL , & type , N_ ( "type" ), N_ ( "object type" ) ),
73
+ OPT_BOOLEAN ('w' , NULL , & write_object , N_ ( "write the object into the object database" ) ),
74
+ OPT_BOOLEAN ( 0 , "stdin" , & hashstdin , N_ ( "read the object from stdin" ) ),
75
+ OPT_BOOLEAN ( 0 , "stdin-paths" , & stdin_paths , N_ ( "read file names from stdin" ) ),
76
+ OPT_BOOLEAN ( 0 , "no-filters" , & no_filters , N_ ( "store file as is without filters" ) ),
77
+ OPT_STRING ( 0 , "path" , & vpath , N_ ( "file" ), N_ ( "process file as it were from this path" ) ),
78
78
OPT_END ()
79
79
};
80
80
0 commit comments