i18n: replace: mark parseopt strings for translation
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>maint
							parent
							
								
									fbbae140d3
								
							
						
					
					
						commit
						2477bebb5d
					
				|  | @ -14,9 +14,9 @@ | ||||||
| #include "parse-options.h" | #include "parse-options.h" | ||||||
|  |  | ||||||
| static const char * const git_replace_usage[] = { | static const char * const git_replace_usage[] = { | ||||||
| 	"git replace [-f] <object> <replacement>", | 	N_("git replace [-f] <object> <replacement>"), | ||||||
| 	"git replace -d <object>...", | 	N_("git replace -d <object>..."), | ||||||
| 	"git replace -l [<pattern>]", | 	N_("git replace -l [<pattern>]"), | ||||||
| 	NULL | 	NULL | ||||||
| }; | }; | ||||||
|  |  | ||||||
|  | @ -115,9 +115,9 @@ int cmd_replace(int argc, const char **argv, const char *prefix) | ||||||
| { | { | ||||||
| 	int list = 0, delete = 0, force = 0; | 	int list = 0, delete = 0, force = 0; | ||||||
| 	struct option options[] = { | 	struct option options[] = { | ||||||
| 		OPT_BOOLEAN('l', NULL, &list, "list replace refs"), | 		OPT_BOOLEAN('l', NULL, &list, N_("list replace refs")), | ||||||
| 		OPT_BOOLEAN('d', NULL, &delete, "delete replace refs"), | 		OPT_BOOLEAN('d', NULL, &delete, N_("delete replace refs")), | ||||||
| 		OPT_BOOLEAN('f', NULL, &force, "replace the ref if it exists"), | 		OPT_BOOLEAN('f', NULL, &force, N_("replace the ref if it exists")), | ||||||
| 		OPT_END() | 		OPT_END() | ||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Nguyễn Thái Ngọc Duy
						Nguyễn Thái Ngọc Duy