update: disabled root directory check for non-root commands

This commit is contained in:
ngn
2024-08-16 03:46:02 +03:00
parent 787d975c49
commit 4434b742c5
3 changed files with 71 additions and 52 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:05+0300\n"
"POT-Creation-Date: 2024-08-16 03:44+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"
@ -82,67 +82,71 @@ msgid "Received a segfault"
msgstr "Received a segfault"
#: 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
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:106
#: src/main.c:134
#, fuzzy
msgid "Failed to access the data directory ("
msgstr "Failed to access the configuration file: %s"
#: src/main.c:110
#: src/main.c:138
#, fuzzy
msgid "Failed to access the temp directory ("
msgstr "Failed to open the editor: %s"
#: src/main.c:114
#: src/main.c:142
#, fuzzy, c-format
msgid "Failed to initialize libmp context: %s"
msgstr "Failed to install "
#: src/main.c:125
#: src/main.c:153
#, fuzzy
msgid "Failed to create the pools directory ("
msgstr "Failed to open the editor: %s"
#: src/main.c:135
#: src/main.c:163
msgid "Failed to add pool "
msgstr "Failed to add pool "
#: src/main.c:149
msgid "Failed to lock, matt is already running"
msgstr "Failed to lock, matt is already running"
#: src/main.c:153
msgid "Failed to lock, are you root?"
msgstr "Failed to lock, are you root?"
#: src/main.c:165
#: src/main.c:177
msgid "Command not found: "
msgstr "Command not found: "
#: src/main.c:167
#: src/main.c:178
msgid "Displaying help information"
msgstr ""
#: src/main.c:181
#, fuzzy, c-format
msgid "MatterLinux package manager %s (libmp %s)"
msgstr "MatterLinux package manager (version %s)"
#: src/main.c:168
#: src/main.c:182
msgid "Usage: "
msgstr "Usage: "
#: src/main.c:170
#: src/main.c:184
msgid "Here is a list of available commands:"
msgstr "Here is a list of available commands:"
#: src/main.c:176
#: src/main.c:190
msgid "To list different options, use commands with "
msgstr "To list different options, use commands with "
#: src/main.c:177
#: src/main.c:191
msgid "Here is a list of available global options:"
msgstr "Here is a list of available global options:"
#: src/main.c:180 src/main.c:181 src/cmd/info.c:54 src/cmd/info.c:55
#: src/main.c:194 src/main.c:195 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
@ -151,7 +155,7 @@ msgstr "Here is a list of available global options:"
msgid " "
msgstr " "
#: src/main.c:183
#: src/main.c:197
msgid ""
"Licensed under GPLv3, see https://www.gnu.org/licenses/ for more information"
msgstr ""