fix: temp directory changes for non-root commands

This commit is contained in:
ngn
2024-08-16 06:54:00 +03:00
parent 3edf678b30
commit 6b1f46166f
2 changed files with 60 additions and 55 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-08-16 03:54+0300\n"
"POT-Creation-Date: 2024-08-16 06:48+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"
@ -76,98 +76,98 @@ msgstr "%s [y/N] "
msgid "Please answer with y/n"
msgstr "Please answer with y/n"
#: src/main.c:48
#: src/main.c:49
msgid "Received a segfault"
msgstr "Received a segfault"
#: src/main.c:63
#: src/main.c:64
#, fuzzy
msgid "show information about a single package"
msgstr "show information about a single package"
#: src/main.c:64
#: src/main.c:65
msgid "list all the installed packages"
msgstr "list all the installed packages"
#: src/main.c:65
#: src/main.c:66
msgid "update the pool info and package lists"
msgstr "update the pool info and package lists"
#: src/main.c:66
#: src/main.c:67
msgid "install package(s) from remote pools"
msgstr "install package(s) from remote pools"
#: src/main.c:67
#: src/main.c:68
msgid "remove installed package(s)"
msgstr "remove installed package(s)"
#: src/main.c:68
#: src/main.c:69
msgid "update installed package(s)"
msgstr "update installed package(s)"
#: src/main.c:102
msgid "Failed to lock, matt is already running"
msgstr "Failed to lock, matt is already running"
#: src/main.c:106
msgid "Failed to lock, are you root?"
msgstr "Failed to lock, are you root?"
#: src/main.c:130
#: src/main.c:118
msgid "Failed to access the root directory, are you running as root?"
msgstr "Failed to access the root directory, are you running as root?"
#: src/main.c:134
#: src/main.c:122
msgid "Failed to access the data directory ("
msgstr "Failed to access the data directory ("
#: src/main.c:138
#: src/main.c:126
msgid "Failed to access the temp directory ("
msgstr "Failed to access the temp directory ("
#: src/main.c:142
#: src/main.c:130
#, c-format
msgid "Failed to initialize libmp context: %s"
msgstr "Failed to initialize libmp context: %s"
#: src/main.c:153
#: src/main.c:141
msgid "Failed to create the pools directory ("
msgstr "Failed to create the pools directory ("
#: src/main.c:163
#: src/main.c:151
msgid "Failed to add pool "
msgstr "Failed to add pool "
#: src/main.c:177
#: src/main.c:165
msgid "Failed to lock, matt is already running"
msgstr "Failed to lock, matt is already running"
#: src/main.c:169
msgid "Failed to lock, are you root?"
msgstr "Failed to lock, are you root?"
#: src/main.c:182
msgid "Command not found: "
msgstr "Command not found: "
#: src/main.c:178
#: src/main.c:183
msgid "Displaying help information"
msgstr "Displaying help information"
#: src/main.c:181
#: src/main.c:186
#, c-format
msgid "MatterLinux package manager %s (libmp %s)"
msgstr "MatterLinux package manager %s (libmp %s)"
#: src/main.c:182
#: src/main.c:187
msgid "Usage: "
msgstr "Usage: "
#: src/main.c:184
#: src/main.c:189
msgid "Here is a list of available commands:"
msgstr "Here is a list of available commands:"
#: src/main.c:190
#: src/main.c:195
msgid "To list different options, use commands with "
msgstr "To list different options, use commands with "
#: src/main.c:191
#: src/main.c:196
msgid "Here is a list of available global options:"
msgstr "Here is a list of available global options:"
#: src/main.c:194 src/main.c:195 src/cmd/info.c:54 src/cmd/info.c:55
#: src/main.c:199 src/main.c:200 src/cmd/info.c:54 src/cmd/info.c:55
#: src/cmd/info.c:56 src/cmd/install.c:34 src/cmd/install.c:35
#: src/cmd/install.c:36 src/cmd/install.c:37 src/cmd/install.c:38
#: src/cmd/list.c:24 src/cmd/list.c:25 src/cmd/remove.c:28 src/cmd/remove.c:29
@ -176,7 +176,7 @@ msgstr "Here is a list of available global options:"
msgid " "
msgstr " "
#: src/main.c:197
#: src/main.c:202
msgid ""
"Licensed under GPLv3, see https://www.gnu.org/licenses/ for more information"
msgstr ""