i18n: remove from i18n strings that do not hold translatable parts

Signed-off-by: Jean-Noël Avila <jn.avila@free.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jean-Noël Avila committed Jan 31, 2022 at 22:07 UTC 959d670d1a42af282a55551a3f03642592f64eb6
17 files changed +26 -26
archive.c
+1 -1
@@ -12,7 +12,7 @@
12
13 static char const * const archive_usage[] = {
14 N_("git archive [<options>] <tree-ish> [<path>...]"),
15 - N_("git archive --list"),
15 + "git archive --list",
16 N_("git archive --remote <repo> [--exec <cmd>] [<options>] <tree-ish> [<path>...]"),
17 N_("git archive --remote <repo> [--exec <cmd>] --list"),
18 NULL
builtin/bisect--helper.c
+3 -3
@@ -22,15 +22,15 @@ static GIT_PATH_FUNC(git_path_bisect_run, "BISECT_RUN")
22
23 static const char * const git_bisect_helper_usage[] = {
24 N_("git bisect--helper --bisect-reset [<commit>]"),
25 - N_("git bisect--helper --bisect-terms [--term-good | --term-old | --term-bad | --term-new]"),
25 + "git bisect--helper --bisect-terms [--term-good | --term-old | --term-bad | --term-new]",
26 N_("git bisect--helper --bisect-start [--term-{new,bad}=<term> --term-{old,good}=<term>]"
27 " [--no-checkout] [--first-parent] [<bad> [<good>...]] [--] [<paths>...]"),
28 - N_("git bisect--helper --bisect-next"),
28 + "git bisect--helper --bisect-next",
29 N_("git bisect--helper --bisect-state (bad|new) [<rev>]"),
30 N_("git bisect--helper --bisect-state (good|old) [<rev>...]"),
31 N_("git bisect--helper --bisect-replay <filename>"),
32 N_("git bisect--helper --bisect-skip [(<rev>|<range>)...]"),
33 - N_("git bisect--helper --bisect-visualize"),
33 + "git bisect--helper --bisect-visualize",
34 N_("git bisect--helper --bisect-run <cmd>..."),
35 NULL
36 };
builtin/count-objects.c
+1 -1
@@ -87,7 +87,7 @@ static int print_alternate(struct object_directory *odb, void *data)
87 }
88
89 static char const * const count_objects_usage[] = {
90 - N_("git count-objects [-v] [-H | --human-readable]"),
90 + "git count-objects [-v] [-H | --human-readable]",
91 NULL
92 };
93
builtin/hash-object.c
+1 -1
@@ -81,7 +81,7 @@ int cmd_hash_object(int argc, const char **argv, const char *prefix)
81 {
82 static const char * const hash_object_usage[] = {
83 N_("git hash-object [-t <type>] [-w] [--path=<file> | --no-filters] [--stdin] [--] <file>..."),
84 - N_("git hash-object --stdin-paths"),
84 + "git hash-object --stdin-paths",
85 NULL
86 };
87 const char *type = blob_type;
builtin/help.c
+2 -2
@@ -77,8 +77,8 @@ static struct option builtin_help_options[] = {
77 static const char * const builtin_help_usage[] = {
78 N_("git help [-a|--all] [--[no-]verbose]]\n"
79 " [[-i|--info] [-m|--man] [-w|--web]] [<command>]"),
80 - N_("git help [-g|--guides]"),
81 - N_("git help [-c|--config]"),
80 + "git help [-g|--guides]",
81 + "git help [-c|--config]",
82 NULL
83 };
84
builtin/mktag.c
+1 -1
@@ -7,7 +7,7 @@
7 #include "config.h"
8
9 static char const * const builtin_mktag_usage[] = {
10 - N_("git mktag"),
10 + "git mktag",
11 NULL
12 };
13 static int option_strict = 1;
builtin/mktree.c
+1 -1
@@ -63,7 +63,7 @@ static void write_tree(struct object_id *oid)
63 }
64
65 static const char *mktree_usage[] = {
66 - N_("git mktree [-z] [--missing] [--batch]"),
66 + "git mktree [-z] [--missing] [--batch]",
67 NULL
68 };
69
builtin/notes.c
+3 -3
@@ -32,8 +32,8 @@ static const char * const git_notes_usage[] = {
32 N_("git notes [--ref <notes-ref>] edit [--allow-empty] [<object>]"),
33 N_("git notes [--ref <notes-ref>] show [<object>]"),
34 N_("git notes [--ref <notes-ref>] merge [-v | -q] [-s <strategy>] <notes-ref>"),
35 - N_("git notes merge --commit [-v | -q]"),
36 - N_("git notes merge --abort [-v | -q]"),
35 + "git notes merge --commit [-v | -q]",
36 + "git notes merge --abort [-v | -q]",
37 N_("git notes [--ref <notes-ref>] remove [<object>...]"),
38 N_("git notes [--ref <notes-ref>] prune [-n] [-v]"),
39 N_("git notes [--ref <notes-ref>] get-ref"),
@@ -89,7 +89,7 @@ static const char * const git_notes_prune_usage[] = {
89 };
90
91 static const char * const git_notes_get_ref_usage[] = {
92 - N_("git notes get-ref"),
92 + "git notes get-ref",
93 NULL
94 };
95
builtin/prune-packed.c
+1 -1
@@ -3,7 +3,7 @@
3 #include "prune-packed.h"
4
5 static const char * const prune_packed_usage[] = {
6 - N_("git prune-packed [-n | --dry-run] [-q | --quiet]"),
6 + "git prune-packed [-n | --dry-run] [-q | --quiet]",
7 NULL
8 };
9
builtin/rebase.c
+1 -1
@@ -36,7 +36,7 @@ static char const * const builtin_rebase_usage[] = {
36 "[--onto <newbase> | --keep-base] [<upstream> [<branch>]]"),
37 N_("git rebase [-i] [options] [--exec <cmd>] [--onto <newbase>] "
38 "--root [<branch>]"),
39 - N_("git rebase --continue | --abort | --skip | --edit-todo"),
39 + "git rebase --continue | --abort | --skip | --edit-todo",
40 NULL
41 };
42
builtin/reflog.c
+1 -1
@@ -800,7 +800,7 @@ static int cmd_reflog_exists(int argc, const char **argv, const char *prefix)
800 */
801
802 static const char reflog_usage[] =
803 -N_("git reflog [ show | expire | delete | exists ]");
803 +"git reflog [ show | expire | delete | exists ]";
804
805 int cmd_reflog(int argc, const char **argv, const char *prefix)
806 {
builtin/remote.c
+1 -1
@@ -14,7 +14,7 @@
14 #include "commit-reach.h"
15
16 static const char * const builtin_remote_usage[] = {
17 - N_("git remote [-v | --verbose]"),
17 + "git remote [-v | --verbose]",
18 N_("git remote add [-t <branch>] [-m <master>] [-f] [--tags | --no-tags] [--mirror=<fetch|push>] <name> <url>"),
19 N_("git remote rename <old> <new>"),
20 N_("git remote remove <name>"),
builtin/replace.c
+1 -1
@@ -22,7 +22,7 @@ static const char * const git_replace_usage[] = {
22 N_("git replace [-f] <object> <replacement>"),
23 N_("git replace [-f] --edit <object>"),
24 N_("git replace [-f] --graft <commit> [<parent>...]"),
25 - N_("git replace [-f] --convert-graft-file"),
25 + "git replace [-f] --convert-graft-file",
26 N_("git replace -d <object>..."),
27 N_("git replace [--format=<format>] [-l [<pattern>]]"),
28 NULL
builtin/sparse-checkout.c
+4 -4
@@ -43,7 +43,7 @@ static void write_patterns_to_file(FILE *fp, struct pattern_list *pl)
43 }
44
45 static char const * const builtin_sparse_checkout_list_usage[] = {
46 - N_("git sparse-checkout list"),
46 + "git sparse-checkout list",
47 NULL
48 };
49
@@ -419,7 +419,7 @@ static int update_modes(int *cone_mode, int *sparse_index)
419 }
420
421 static char const * const builtin_sparse_checkout_init_usage[] = {
422 - N_("git sparse-checkout init [--cone] [--[no-]sparse-index]"),
422 + "git sparse-checkout init [--cone] [--[no-]sparse-index]",
423 NULL
424 };
425
@@ -762,7 +762,7 @@ static int sparse_checkout_set(int argc, const char **argv, const char *prefix)
762 }
763
764 static char const * const builtin_sparse_checkout_reapply_usage[] = {
765 - N_("git sparse-checkout reapply [--[no-]cone] [--[no-]sparse-index]"),
765 + "git sparse-checkout reapply [--[no-]cone] [--[no-]sparse-index]",
766 NULL
767 };
768
@@ -800,7 +800,7 @@ static int sparse_checkout_reapply(int argc, const char **argv)
800 }
801
802 static char const * const builtin_sparse_checkout_disable_usage[] = {
803 - N_("git sparse-checkout disable"),
803 + "git sparse-checkout disable",
804 NULL
805 };
806
builtin/stripspace.c
+2 -2
@@ -15,8 +15,8 @@ static void comment_lines(struct strbuf *buf)
15 }
16
17 static const char * const stripspace_usage[] = {
18 - N_("git stripspace [-s | --strip-comments]"),
19 - N_("git stripspace [-c | --comment-lines]"),
18 + "git stripspace [-s | --strip-comments]",
19 + "git stripspace [-c | --comment-lines]",
20 NULL
21 };
22
builtin/submodule--helper.c
+1 -1
@@ -2883,7 +2883,7 @@ static int module_config(int argc, const char **argv, const char *prefix)
2883 const char *const git_submodule_helper_usage[] = {
2884 N_("git submodule--helper config <name> [<value>]"),
2885 N_("git submodule--helper config --unset <name>"),
2886 - N_("git submodule--helper config --check-writeable"),
2886 + "git submodule--helper config --check-writeable",
2887 NULL
2888 };
2889
builtin/update-server-info.c
+1 -1
@@ -4,7 +4,7 @@
4 #include "parse-options.h"
5
6 static const char * const update_server_info_usage[] = {
7 - N_("git update-server-info [--force]"),
7 + "git update-server-info [--force]",
8 NULL
9 };
10