Thread (29 messages) 29 messages, 3 authors, 2018-07-02

Re: [PATCH 09/23] config.c: mark more strings for translation

From: Elijah Newren <hidden>
Date: 2018-07-01 05:38:16

On Sat, Jun 30, 2018 at 2:08 AM, Nguyễn Thái Ngọc Duy [off-list ref] wrote:
quoted hunk ↗ jump to hunk
@@ -1409,11 +1409,11 @@ static int git_default_push_config(const char *var, const char *value)
                        push_default = PUSH_DEFAULT_UPSTREAM;
                else if (!strcmp(value, "current"))
                        push_default = PUSH_DEFAULT_CURRENT;
-               else {
-                       error("malformed value for %s: %s", var, value);
-                       return error("Must be one of nothing, matching, simple, "
-                                    "upstream or current.");
-               }
+               else
+                       return error(_("malformed value for %s: %s\n"
+                                      "Must be one of nothing, matching, simple, "
+                                      "upstream or current."),
+                                    var, value);
Patch 1?


No other issues noticed.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help