]> git.ipfire.org Git - thirdparty/git.git/commitdiff
i18n: remove from i18n strings that do not hold translatable parts
authorJean-Noël Avila <jn.avila@free.fr>
Mon, 31 Jan 2022 22:07:48 +0000 (22:07 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 4 Feb 2022 21:58:28 +0000 (13:58 -0800)
Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
17 files changed:
archive.c
builtin/bisect--helper.c
builtin/count-objects.c
builtin/hash-object.c
builtin/help.c
builtin/mktag.c
builtin/mktree.c
builtin/notes.c
builtin/prune-packed.c
builtin/rebase.c
builtin/reflog.c
builtin/remote.c
builtin/replace.c
builtin/sparse-checkout.c
builtin/stripspace.c
builtin/submodule--helper.c
builtin/update-server-info.c

index d571249cf393396ca9815cf805f39b3d3d82c2d6..e29d0e00f6cc4ecb7883b3661807dfc4b705d0b9 100644 (file)
--- a/archive.c
+++ b/archive.c
@@ -12,7 +12,7 @@
 
 static char const * const archive_usage[] = {
        N_("git archive [<options>] <tree-ish> [<path>...]"),
-       N_("git archive --list"),
+       "git archive --list",
        N_("git archive --remote <repo> [--exec <cmd>] [<options>] <tree-ish> [<path>...]"),
        N_("git archive --remote <repo> [--exec <cmd>] --list"),
        NULL
index 28a2e6a5750b737d18412cde48394b73e9a74c30..f962dbd43032038ca6da044a63ca3da85a912219 100644 (file)
@@ -22,15 +22,15 @@ static GIT_PATH_FUNC(git_path_bisect_run, "BISECT_RUN")
 
 static const char * const git_bisect_helper_usage[] = {
        N_("git bisect--helper --bisect-reset [<commit>]"),
-       N_("git bisect--helper --bisect-terms [--term-good | --term-old | --term-bad | --term-new]"),
+       "git bisect--helper --bisect-terms [--term-good | --term-old | --term-bad | --term-new]",
        N_("git bisect--helper --bisect-start [--term-{new,bad}=<term> --term-{old,good}=<term>]"
                                            " [--no-checkout] [--first-parent] [<bad> [<good>...]] [--] [<paths>...]"),
-       N_("git bisect--helper --bisect-next"),
+       "git bisect--helper --bisect-next",
        N_("git bisect--helper --bisect-state (bad|new) [<rev>]"),
        N_("git bisect--helper --bisect-state (good|old) [<rev>...]"),
        N_("git bisect--helper --bisect-replay <filename>"),
        N_("git bisect--helper --bisect-skip [(<rev>|<range>)...]"),
-       N_("git bisect--helper --bisect-visualize"),
+       "git bisect--helper --bisect-visualize",
        N_("git bisect--helper --bisect-run <cmd>..."),
        NULL
 };
index 3fae474f6f1f4fb78911ab4a26a160f04527d292..07b941959628b9d02dbf0282e779040cea5b27be 100644 (file)
@@ -87,7 +87,7 @@ static int print_alternate(struct object_directory *odb, void *data)
 }
 
 static char const * const count_objects_usage[] = {
-       N_("git count-objects [-v] [-H | --human-readable]"),
+       "git count-objects [-v] [-H | --human-readable]",
        NULL
 };
 
index c7b3ad74c60cb914aa480b24ab7fc768903159bc..04e2442ec7c734d6f5d5d2e7cab860cf3a94f62c 100644 (file)
@@ -81,7 +81,7 @@ int cmd_hash_object(int argc, const char **argv, const char *prefix)
 {
        static const char * const hash_object_usage[] = {
                N_("git hash-object [-t <type>] [-w] [--path=<file> | --no-filters] [--stdin] [--] <file>..."),
-               N_("git hash-object  --stdin-paths"),
+               "git hash-object  --stdin-paths",
                NULL
        };
        const char *type = blob_type;
index d387131dd836c4eed62aa243ddbc1789934db8e0..b4f2ad3f94eea9175cf5855aaee16934ac040bf6 100644 (file)
@@ -77,8 +77,8 @@ static struct option builtin_help_options[] = {
 static const char * const builtin_help_usage[] = {
        N_("git help [-a|--all] [--[no-]verbose]]\n"
           "         [[-i|--info] [-m|--man] [-w|--web]] [<command>]"),
-       N_("git help [-g|--guides]"),
-       N_("git help [-c|--config]"),
+       "git help [-g|--guides]",
+       "git help [-c|--config]",
        NULL
 };
 
index 3b2dbbb37e6fe1afc11af79aae774ca526496413..c7b905c614be6a4b6b8760d461fcfb2d35ce2927 100644 (file)
@@ -7,7 +7,7 @@
 #include "config.h"
 
 static char const * const builtin_mktag_usage[] = {
-       N_("git mktag"),
+       "git mktag",
        NULL
 };
 static int option_strict = 1;
index ae78ca1c02981a6d846027d7ce01484e5e3a1851..8bdaada922a2158c469c18a3128b267eafd671c5 100644 (file)
@@ -63,7 +63,7 @@ static void write_tree(struct object_id *oid)
 }
 
 static const char *mktree_usage[] = {
-       N_("git mktree [-z] [--missing] [--batch]"),
+       "git mktree [-z] [--missing] [--batch]",
        NULL
 };
 
index 05d60483e8261d86a1295512c46a7e8cebe42469..f99593a1853df1ee4bdcf60e3e904cbe55c474f2 100644 (file)
@@ -32,8 +32,8 @@ static const char * const git_notes_usage[] = {
        N_("git notes [--ref <notes-ref>] edit [--allow-empty] [<object>]"),
        N_("git notes [--ref <notes-ref>] show [<object>]"),
        N_("git notes [--ref <notes-ref>] merge [-v | -q] [-s <strategy>] <notes-ref>"),
-       N_("git notes merge --commit [-v | -q]"),
-       N_("git notes merge --abort [-v | -q]"),
+       "git notes merge --commit [-v | -q]",
+       "git notes merge --abort [-v | -q]",
        N_("git notes [--ref <notes-ref>] remove [<object>...]"),
        N_("git notes [--ref <notes-ref>] prune [-n] [-v]"),
        N_("git notes [--ref <notes-ref>] get-ref"),
@@ -89,7 +89,7 @@ static const char * const git_notes_prune_usage[] = {
 };
 
 static const char * const git_notes_get_ref_usage[] = {
-       N_("git notes get-ref"),
+       "git notes get-ref",
        NULL
 };
 
index b7b9281a8cea2c009ef9a4487094613f032f6aba..da3273a268b47d89be86ac05780905fa9ad766d8 100644 (file)
@@ -3,7 +3,7 @@
 #include "prune-packed.h"
 
 static const char * const prune_packed_usage[] = {
-       N_("git prune-packed [-n | --dry-run] [-q | --quiet]"),
+       "git prune-packed [-n | --dry-run] [-q | --quiet]",
        NULL
 };
 
index 36490d06c8ac6ad4c10596b7e2a4556ec7aaa8c8..64796c6a7851e665d92e40bb964a31a6cb088bbc 100644 (file)
@@ -36,7 +36,7 @@ static char const * const builtin_rebase_usage[] = {
                "[--onto <newbase> | --keep-base] [<upstream> [<branch>]]"),
        N_("git rebase [-i] [options] [--exec <cmd>] [--onto <newbase>] "
                "--root [<branch>]"),
-       N_("git rebase --continue | --abort | --skip | --edit-todo"),
+       "git rebase --continue | --abort | --skip | --edit-todo",
        NULL
 };
 
index a4b1dd27e13c93c670489f11c7c20b980952ba2a..ee5ee8d8cf6a3f0112c1832812485a29dcd5266e 100644 (file)
@@ -800,7 +800,7 @@ static int cmd_reflog_exists(int argc, const char **argv, const char *prefix)
  */
 
 static const char reflog_usage[] =
-N_("git reflog [ show | expire | delete | exists ]");
+"git reflog [ show | expire | delete | exists ]";
 
 int cmd_reflog(int argc, const char **argv, const char *prefix)
 {
index 299c466116debac6b8c69658c5f499454496fdbd..6f27ddc47bd25158bcc63ec64870af0540309e6d 100644 (file)
@@ -14,7 +14,7 @@
 #include "commit-reach.h"
 
 static const char * const builtin_remote_usage[] = {
-       N_("git remote [-v | --verbose]"),
+       "git remote [-v | --verbose]",
        N_("git remote add [-t <branch>] [-m <master>] [-f] [--tags | --no-tags] [--mirror=<fetch|push>] <name> <url>"),
        N_("git remote rename <old> <new>"),
        N_("git remote remove <name>"),
index 6ff1734d5879d36c994d0ab4b82b95e60a348750..ac92337c0ec55e1b97352020f56346b28ad3f8d7 100644 (file)
@@ -22,7 +22,7 @@ static const char * const git_replace_usage[] = {
        N_("git replace [-f] <object> <replacement>"),
        N_("git replace [-f] --edit <object>"),
        N_("git replace [-f] --graft <commit> [<parent>...]"),
-       N_("git replace [-f] --convert-graft-file"),
+       "git replace [-f] --convert-graft-file",
        N_("git replace -d <object>..."),
        N_("git replace [--format=<format>] [-l [<pattern>]]"),
        NULL
index 679c10703684044aa02555227b5cdcdf92591d9b..771c9869a1cfee9b2bf0889af7ac1718ed905a72 100644 (file)
@@ -43,7 +43,7 @@ static void write_patterns_to_file(FILE *fp, struct pattern_list *pl)
 }
 
 static char const * const builtin_sparse_checkout_list_usage[] = {
-       N_("git sparse-checkout list"),
+       "git sparse-checkout list",
        NULL
 };
 
@@ -419,7 +419,7 @@ static int update_modes(int *cone_mode, int *sparse_index)
 }
 
 static char const * const builtin_sparse_checkout_init_usage[] = {
-       N_("git sparse-checkout init [--cone] [--[no-]sparse-index]"),
+       "git sparse-checkout init [--cone] [--[no-]sparse-index]",
        NULL
 };
 
@@ -762,7 +762,7 @@ static int sparse_checkout_set(int argc, const char **argv, const char *prefix)
 }
 
 static char const * const builtin_sparse_checkout_reapply_usage[] = {
-       N_("git sparse-checkout reapply [--[no-]cone] [--[no-]sparse-index]"),
+       "git sparse-checkout reapply [--[no-]cone] [--[no-]sparse-index]",
        NULL
 };
 
@@ -800,7 +800,7 @@ static int sparse_checkout_reapply(int argc, const char **argv)
 }
 
 static char const * const builtin_sparse_checkout_disable_usage[] = {
-       N_("git sparse-checkout disable"),
+       "git sparse-checkout disable",
        NULL
 };
 
index be33eb83c1b72664dffc17ddffd09f79b57a2887..1e34cf2bebdf5160f0236c1d41a080de5d1744e0 100644 (file)
@@ -15,8 +15,8 @@ static void comment_lines(struct strbuf *buf)
 }
 
 static const char * const stripspace_usage[] = {
-       N_("git stripspace [-s | --strip-comments]"),
-       N_("git stripspace [-c | --comment-lines]"),
+       "git stripspace [-s | --strip-comments]",
+       "git stripspace [-c | --comment-lines]",
        NULL
 };
 
index c5d3fc3817f5990fec156496839ec29686e4b9e6..b80aa9898acd29f683aff3e6d6802f64976f3f9b 100644 (file)
@@ -2883,7 +2883,7 @@ static int module_config(int argc, const char **argv, const char *prefix)
        const char *const git_submodule_helper_usage[] = {
                N_("git submodule--helper config <name> [<value>]"),
                N_("git submodule--helper config --unset <name>"),
-               N_("git submodule--helper config --check-writeable"),
+               "git submodule--helper config --check-writeable",
                NULL
        };
 
index 4321a344567ed83e6828be41eb150d90c4d7756a..880fffec58750ea52b15618341f6189bd5a878db 100644 (file)
@@ -4,7 +4,7 @@
 #include "parse-options.h"
 
 static const char * const update_server_info_usage[] = {
-       N_("git update-server-info [--force]"),
+       "git update-server-info [--force]",
        NULL
 };