From fb7d7c1593a4888c6e3db73ce38a33743242f082 Mon Sep 17 00:00:00 2001 From: ngn Date: Thu, 22 Aug 2024 07:22:37 +0300 Subject: [PATCH] fix: Makefile translation file names --- Makefile | 8 ++++---- locale/tr/LC_MESSAGES/confer.po | 6 +++--- src/main.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index a5e5e50..84e0bcd 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/locale/tr/LC_MESSAGES/confer.po b/locale/tr/LC_MESSAGES/confer.po index d28a9e2..3f0c186 100644 --- a/locale/tr/LC_MESSAGES/confer.po +++ b/locale/tr/LC_MESSAGES/confer.po @@ -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 \n" "Language-Team: LANGUAGE \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 diff --git a/src/main.c b/src/main.c index 65d4bad..1c2a2aa 100644 --- a/src/main.c +++ b/src/main.c @@ -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] "), argv[0]); printf("\n"); info(_("Here is a list of available commands:"));