We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f91c5f2 commit c00e8aaCopy full SHA for c00e8aa
gettext.c
@@ -169,13 +169,11 @@ void git_setup_gettext(void)
169
if (!is_absolute_path(podir))
170
podir = p = system_path(podir);
171
172
- if (is_directory(podir)) {
173
- bindtextdomain("git", podir);
174
- setlocale(LC_MESSAGES, "");
175
- setlocale(LC_TIME, "");
176
- init_gettext_charset("git");
177
- textdomain("git");
178
- }
+ bindtextdomain("git", podir);
+ setlocale(LC_MESSAGES, "");
+ setlocale(LC_TIME, "");
+ init_gettext_charset("git");
+ textdomain("git");
179
180
free(p);
181
}
0 commit comments