diff --git a/.github/workflows/make-dist.sh b/.github/workflows/make-dist.sh index b5bc56b..e0255dd 100755 --- a/.github/workflows/make-dist.sh +++ b/.github/workflows/make-dist.sh @@ -42,8 +42,7 @@ if [ "$os" != "linux64" ]; then find dist -type f -name "*.a" -delete fi man -t documentation/dvdisaster.en.1 | ps2pdf - dist/dvdisaster.pdf -cp CHANGELOG TODO dvdisaster documentation/dvdisaster.*.1 documentation/user-manual/manual.pdf dist/ -cp CREDITS.en dist/CREDITS +cp CHANGELOG TODO COPYING CREDITS.* dvdisaster documentation/dvdisaster.*.1 documentation/user-manual/manual.pdf dist/ if command -v zip >/dev/null; then mv dist ${archive/.zip/} zip -9r $archive ${archive/.zip/} diff --git a/src/help-dialogs.c b/src/help-dialogs.c index 17eaf8c..4c880c3 100644 --- a/src/help-dialogs.c +++ b/src/help-dialogs.c @@ -480,6 +480,18 @@ char *find_file(char *file, size_t *size, char *lang) g_free(path); } + { if(lang) + path = g_strdup_printf("%s.%s", file, lang_suffix); + else path = g_strdup_printf("%s", file); + + if(LargeStat(path, &stat_size)) + { *size = stat_size; + return path; + } + + g_free(path); + } + return NULL; }