Skip to content

Commit 959d670

Browse files
jnavilagitster
authored andcommitted
i18n: remove from i18n strings that do not hold translatable parts
Signed-off-by: Jean-Noël Avila <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 1a8aea8 commit 959d670

17 files changed

+26
-26
lines changed

archive.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
static char const * const archive_usage[] = {
1414
N_("git archive [<options>] <tree-ish> [<path>...]"),
15-
N_("git archive --list"),
15+
"git archive --list",
1616
N_("git archive --remote <repo> [--exec <cmd>] [<options>] <tree-ish> [<path>...]"),
1717
N_("git archive --remote <repo> [--exec <cmd>] --list"),
1818
NULL

builtin/bisect--helper.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ static GIT_PATH_FUNC(git_path_bisect_run, "BISECT_RUN")
2222

2323
static const char * const git_bisect_helper_usage[] = {
2424
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]",
2626
N_("git bisect--helper --bisect-start [--term-{new,bad}=<term> --term-{old,good}=<term>]"
2727
" [--no-checkout] [--first-parent] [<bad> [<good>...]] [--] [<paths>...]"),
28-
N_("git bisect--helper --bisect-next"),
28+
"git bisect--helper --bisect-next",
2929
N_("git bisect--helper --bisect-state (bad|new) [<rev>]"),
3030
N_("git bisect--helper --bisect-state (good|old) [<rev>...]"),
3131
N_("git bisect--helper --bisect-replay <filename>"),
3232
N_("git bisect--helper --bisect-skip [(<rev>|<range>)...]"),
33-
N_("git bisect--helper --bisect-visualize"),
33+
"git bisect--helper --bisect-visualize",
3434
N_("git bisect--helper --bisect-run <cmd>..."),
3535
NULL
3636
};

builtin/count-objects.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static int print_alternate(struct object_directory *odb, void *data)
8787
}
8888

8989
static char const * const count_objects_usage[] = {
90-
N_("git count-objects [-v] [-H | --human-readable]"),
90+
"git count-objects [-v] [-H | --human-readable]",
9191
NULL
9292
};
9393

builtin/hash-object.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ int cmd_hash_object(int argc, const char **argv, const char *prefix)
8181
{
8282
static const char * const hash_object_usage[] = {
8383
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",
8585
NULL
8686
};
8787
const char *type = blob_type;

builtin/help.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ static struct option builtin_help_options[] = {
7777
static const char * const builtin_help_usage[] = {
7878
N_("git help [-a|--all] [--[no-]verbose]]\n"
7979
" [[-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]",
8282
NULL
8383
};
8484

builtin/mktag.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include "config.h"
88

99
static char const * const builtin_mktag_usage[] = {
10-
N_("git mktag"),
10+
"git mktag",
1111
NULL
1212
};
1313
static int option_strict = 1;

builtin/mktree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ static void write_tree(struct object_id *oid)
6363
}
6464

6565
static const char *mktree_usage[] = {
66-
N_("git mktree [-z] [--missing] [--batch]"),
66+
"git mktree [-z] [--missing] [--batch]",
6767
NULL
6868
};
6969

builtin/notes.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ static const char * const git_notes_usage[] = {
3232
N_("git notes [--ref <notes-ref>] edit [--allow-empty] [<object>]"),
3333
N_("git notes [--ref <notes-ref>] show [<object>]"),
3434
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]",
3737
N_("git notes [--ref <notes-ref>] remove [<object>...]"),
3838
N_("git notes [--ref <notes-ref>] prune [-n] [-v]"),
3939
N_("git notes [--ref <notes-ref>] get-ref"),
@@ -89,7 +89,7 @@ static const char * const git_notes_prune_usage[] = {
8989
};
9090

9191
static const char * const git_notes_get_ref_usage[] = {
92-
N_("git notes get-ref"),
92+
"git notes get-ref",
9393
NULL
9494
};
9595

builtin/prune-packed.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "prune-packed.h"
44

55
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]",
77
NULL
88
};
99

builtin/rebase.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ static char const * const builtin_rebase_usage[] = {
3636
"[--onto <newbase> | --keep-base] [<upstream> [<branch>]]"),
3737
N_("git rebase [-i] [options] [--exec <cmd>] [--onto <newbase>] "
3838
"--root [<branch>]"),
39-
N_("git rebase --continue | --abort | --skip | --edit-todo"),
39+
"git rebase --continue | --abort | --skip | --edit-todo",
4040
NULL
4141
};
4242

0 commit comments

Comments
 (0)