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 mkdir -pv $(DESTDIR)/$(PREFIX)/bin
install -v -m755 dist/confer $(DESTDIR)/$(PREFIX)/bin/confer install -v -m755 dist/confer $(DESTDIR)/$(PREFIX)/bin/confer
@for po in $(PO_DIRS) ; do \ @for po in $(PO_DIRS) ; do \
echo "installing locale: $$po/mc.mo" ; \ echo "installing locale: $$po/confer.mo" ; \
mkdir -pv $(DESTDIR)/$(PREFIX)/share/$$po ; \ mkdir -pv $(DESTDIR)/$(PREFIX)/share/$$po ; \
cp $$po/mc.mo $(DESTDIR)/$(PREFIX)/share/$$po ; \ cp $$po/confer.mo $(DESTDIR)/$(PREFIX)/share/$$po ; \
done done
uninstall: uninstall:
rm -v $(DESTDIR)/$(PREFIX)/bin/confer rm -v $(DESTDIR)/$(PREFIX)/bin/confer
clean: clean:
rm dist/mc rm dist/confer
rm locale/mc.pot rm locale/confer.pot
@for po in $(PO_DIRS) ; do \ @for po in $(PO_DIRS) ; do \
rm $$po/confer.mo ; \ rm $$po/confer.mo ; \
done done

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \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" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -135,8 +135,8 @@ msgid "Command not found: "
msgstr "Command not found: " msgstr "Command not found: "
#: src/main.c:115 #: src/main.c:115
#, c-format #, fuzzy, c-format
msgid "MatterLinux configuration manager (version %s)" msgid "MatterLinux configuration manager %s"
msgstr "MatterLinux configuration manager (version %s)" msgstr "MatterLinux configuration manager (version %s)"
#: src/main.c:116 #: 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); error(_("Command not found: " FG_BOLD "%s"), args->list[0].value);
help: help:
info(_("MatterLinux configuration manager (version %s)"), VERSION); info(_("MatterLinux configuration manager %s"), VERSION);
info(_("Usage: " FG_BOLD "%s [command] <options> <arguments>"), argv[0]); info(_("Usage: " FG_BOLD "%s [command] <options> <arguments>"), argv[0]);
printf("\n"); printf("\n");
info(_("Here is a list of available commands:")); info(_("Here is a list of available commands:"));