fix: Makefile translation file names

This commit is contained in:
ngn 2024-08-22 07:22:37 +03:00
parent 7fdd396aef
commit fb7d7c1593
3 changed files with 8 additions and 8 deletions

View File

@ -45,17 +45,17 @@ install:
mkdir -pv $(DESTDIR)/$(PREFIX)/bin
install -v -m755 dist/confer $(DESTDIR)/$(PREFIX)/bin/confer
@for po in $(PO_DIRS) ; do \
echo "installing locale: $$po/mc.mo" ; \
echo "installing locale: $$po/confer.mo" ; \
mkdir -pv $(DESTDIR)/$(PREFIX)/share/$$po ; \
cp $$po/mc.mo $(DESTDIR)/$(PREFIX)/share/$$po ; \
cp $$po/confer.mo $(DESTDIR)/$(PREFIX)/share/$$po ; \
done
uninstall:
rm -v $(DESTDIR)/$(PREFIX)/bin/confer
clean:
rm dist/mc
rm locale/mc.pot
rm dist/confer
rm locale/confer.pot
@for po in $(PO_DIRS) ; do \
rm $$po/confer.mo ; \
done

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-08-15 04:25+0300\n"
"POT-Creation-Date: 2024-08-22 07:20+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -135,8 +135,8 @@ msgid "Command not found: "
msgstr "Command not found: "
#: src/main.c:115
#, c-format
msgid "MatterLinux configuration manager (version %s)"
#, fuzzy, c-format
msgid "MatterLinux configuration manager %s"
msgstr "MatterLinux configuration manager (version %s)"
#: src/main.c:116

View File

@ -112,7 +112,7 @@ int main(int argc, char *argv[]) {
error(_("Command not found: " FG_BOLD "%s"), args->list[0].value);
help:
info(_("MatterLinux configuration manager (version %s)"), VERSION);
info(_("MatterLinux configuration manager %s"), VERSION);
info(_("Usage: " FG_BOLD "%s [command] <options> <arguments>"), argv[0]);
printf("\n");
info(_("Here is a list of available commands:"));