new: cleaning up functions, base implementation of install function

This commit is contained in:
ngn
2024-07-04 03:12:33 +03:00
parent 43cf7d26c8
commit 38b99eda79
25 changed files with 568 additions and 253 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-07-03 03:40+0300\n"
"POT-Creation-Date: 2024-07-04 03:04+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"
@ -17,370 +17,389 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: src/error.c:13
#: src/error.c:19
msgid "no error"
msgstr "hata yok"
#: src/error.c:14
#: src/error.c:20
#, fuzzy
msgid "URL contains an invalid character"
msgstr "URL contains an invalid char"
#: src/error.c:15
#: src/error.c:21
msgid "URL does not have a valid protocol field"
msgstr "URL does not have a valid protocol field"
#: src/error.c:16
#: src/error.c:22
msgid "URL is too large"
msgstr "URL is too large"
#: src/error.c:17
#: src/error.c:23
msgid "URL hostname is too large"
msgstr "URL hostname is too large"
#: src/error.c:18
#: src/error.c:24
msgid "URL path is too large"
msgstr "URL path is too large"
#: src/error.c:19
#: src/error.c:25
msgid "URL does not have a valid hostname"
msgstr "URL does not have a valid hostname"
#: src/error.c:20
#: src/error.c:26
#, fuzzy
msgid "URL does not have a valid port number"
msgstr "URL does not have a valid hostname"
#: src/error.c:21
#: src/error.c:27
msgid "URL does not have a valid path"
msgstr "URL does not have a valid path"
#: src/error.c:22
#: src/error.c:28
#, fuzzy
msgid "hostname does not contain a valid port number"
msgstr "URL does not contain a hostname with a valid port number"
#: src/error.c:23
#: src/error.c:29
#, fuzzy
msgid "hostname is not valid"
msgstr "URL hostname is too large"
#: src/error.c:24
#: src/error.c:30
msgid "URL protocol port number is unknown"
msgstr "URL protocol port number is unknown"
#: src/error.c:25
#: src/error.c:31
msgid "URL is incomplete"
msgstr "URL tamamlanmamış"
#: src/error.c:26
#: src/error.c:32
msgid "pool does not support the specified protocol"
msgstr "pool does not support the specified protocol"
#: src/error.c:27
#: src/error.c:33
msgid "unsupported MPTP version"
msgstr ""
#: src/error.c:28
#: src/error.c:34
msgid "invalid MPTP request/response code"
msgstr ""
#: src/error.c:29
#: src/error.c:35
msgid "invalid MPTP URL"
msgstr ""
#: src/error.c:30
#: src/error.c:36
msgid "failed to resolve hostname for MPTP connection"
msgstr ""
#: src/error.c:31
#: src/error.c:37
msgid "failed to create a MPTP socket"
msgstr ""
#: src/error.c:32
#: src/error.c:38
msgid "failed to connect to the MPTP host"
msgstr ""
#: src/error.c:33
#: src/error.c:39
msgid "failed receive MPTP data from host"
msgstr ""
#: src/error.c:34
#: src/error.c:40
msgid "failed send MPTP data to host"
msgstr ""
#: src/error.c:35
#: src/error.c:41
#, fuzzy
msgid "MPTP data size is invalid"
msgstr "URL path is too large"
#: src/error.c:36
#: src/error.c:42
#, fuzzy
msgid "MPTP host size is invalid"
msgstr "URL path is too large"
#: src/error.c:37
#: src/error.c:43
msgid "failed to set MPTP socket options"
msgstr ""
#: src/error.c:38
#: src/error.c:44
msgid "MPTP connection timed out"
msgstr ""
#: src/error.c:39
#: src/error.c:45
msgid "failed to bind MPTP socket"
msgstr ""
#: src/error.c:40
#: src/error.c:46
msgid "required argument is a NULL pointer or 0"
msgstr ""
#: src/error.c:41
#: src/error.c:47
msgid "not a MPTP request"
msgstr ""
#: src/error.c:42
#: src/error.c:48
msgid "not a MPTP response"
msgstr ""
#: src/error.c:43
#: src/error.c:49
msgid "MPTP request last flag is not set"
msgstr ""
#: src/error.c:44
#: src/error.c:50
msgid "host port not specified"
msgstr ""
#: src/error.c:45
#: src/error.c:51
msgid "pool info is badly formatted or is not complete"
msgstr ""
#: src/error.c:46
#: src/error.c:52
msgid "failed to write block from archive"
msgstr ""
#: src/error.c:47
#: src/error.c:53
msgid "failed to read block from archive"
msgstr ""
#: src/error.c:48
#: src/error.c:54
msgid "failed to open archive"
msgstr ""
#: src/error.c:49
#: src/error.c:55
msgid "failed to write archive header"
msgstr ""
#: src/error.c:50
#: src/error.c:56
msgid "failed to finish writing the archive entry"
msgstr ""
#: src/error.c:51
#: src/error.c:57
msgid "failed to create new archive reader/writer"
msgstr ""
#: src/error.c:52
#: src/error.c:58
msgid "failed to resolve full path for archive file"
msgstr ""
#: src/error.c:53
#: src/error.c:59
msgid "failed to read the next header of the archive"
msgstr ""
#: src/error.c:54
#: src/error.c:60
msgid "failed to obtain current working directory"
msgstr ""
#: src/error.c:55
#: src/error.c:61
msgid "failed to open extracted pool list directory"
msgstr ""
#: src/error.c:56
#: src/error.c:62
msgid "failed to read access the pool list file"
msgstr ""
#: src/error.c:57
#: src/error.c:63
msgid "failed to read access the pool info file"
msgstr ""
#: src/error.c:58
#: src/error.c:64
msgid "failed to parse package data"
msgstr ""
#: src/error.c:59
#: src/error.c:65
#, fuzzy
msgid "package name is invalid"
msgstr "URL hostname is too large"
#: src/error.c:60
#: src/error.c:66
msgid "data path is not set with in the ctx"
msgstr ""
#: src/error.c:61
#: src/error.c:67
msgid "specified temp path does not exist"
msgstr ""
#: src/error.c:62
#: src/error.c:68
msgid "specified temp path is not a directory"
msgstr ""
#: src/error.c:63
#: src/error.c:69
msgid "specified temp directory does not have write access"
msgstr ""
#: src/error.c:64
#: src/error.c:70
msgid "specified root path does not exist"
msgstr ""
#: src/error.c:65
#: src/error.c:71
msgid "specified root path is not a directory"
msgstr ""
#: src/error.c:66
#: src/error.c:72
msgid "specified root directory does not have write access"
msgstr ""
#: src/error.c:67
#: src/error.c:73
msgid "specified data path does not exist"
msgstr ""
#: src/error.c:68
#: src/error.c:74
msgid "specified data path is not a directory"
msgstr ""
#: src/error.c:69
#: src/error.c:75
msgid "failed to create specified data directory"
msgstr ""
#: src/error.c:70
#: src/error.c:76
msgid "pool did not respond ping with pong"
msgstr ""
#: src/error.c:71
#: src/error.c:77
msgid "package file and directory paths are empty"
msgstr ""
#: src/error.c:72
#: src/error.c:78
msgid "failed to to open target file for sending"
msgstr ""
#: src/error.c:73
#: src/error.c:79
msgid "failed to to delete target file for receiving"
msgstr ""
#: src/error.c:74
#: src/error.c:80
msgid "failed to to open target file for receiving"
msgstr ""
#: src/error.c:75
#: src/error.c:81
msgid "got a bad response code for receiving the target file"
msgstr ""
#: src/error.c:76
#: src/error.c:82
msgid "failed to write to the target file for receiving"
msgstr ""
#: src/error.c:77
#: src/error.c:83
#, fuzzy
msgid "package not found"
msgstr "URL hostname is too large"
#: src/error.c:78
#: src/error.c:84
msgid "failed to access to the database file/directory"
msgstr ""
#: src/error.c:79
#: src/error.c:85
msgid "failed to open SQLite database"
msgstr ""
#: src/error.c:80
#: src/error.c:86
msgid "failed to create table in SQLite database"
msgstr ""
#: src/error.c:81
#: src/error.c:87
msgid "failed to prepare statement for SQLite database"
msgstr ""
#: src/error.c:82
#: src/error.c:88
msgid "failed to insert to the table in SQLite database"
msgstr ""
#: src/error.c:83
#: src/error.c:89
msgid "failed to find entry in SQLite database"
msgstr ""
#: src/error.c:84
#: src/error.c:90
msgid "failed to init GPG for package verification"
msgstr ""
#: src/error.c:85
#: src/error.c:91
msgid "failed to import signature to GPG for package verification"
msgstr ""
#: src/error.c:86
#: src/error.c:92
msgid "failed to import archive to GPG for package verification"
msgstr ""
#: src/error.c:87
#: src/error.c:93
msgid "package signature verification failed with zero matches"
msgstr ""
#: src/error.c:88
#: src/error.c:94
msgid "package signature verification failed with zero results"
msgstr ""
#: src/error.c:89
#: src/error.c:95
msgid "pool file and directory paths are empty"
msgstr ""
#: src/error.c:90
#: src/error.c:96
msgid "pool is not avaliable for connection"
msgstr ""
#: src/error.c:91
#: src/error.c:97
msgid "pool URL is empty or invalid"
msgstr ""
#: src/error.c:92
#: src/error.c:98
msgid "pool directory path is not accessible"
msgstr ""
#: src/error.c:93
#: src/error.c:99
msgid "pool directory sub-paths are not accessible"
msgstr ""
#: src/error.c:94
#: src/error.c:100
msgid "package file list not found in the database"
msgstr ""
#: src/error.c:95
#: src/error.c:101
msgid "failed to open package file list in the database"
msgstr ""
#: src/error.c:96
#: src/error.c:102
msgid "failed to access package file list database directory"
msgstr ""
#: src/error.c:97
#: src/error.c:103
msgid "failed to remove package file list from the database"
msgstr ""
#: src/error.c:98
#: src/error.c:104
msgid "failed to write to the file list in the database"
msgstr ""
#: src/error.c:99
#: src/error.c:105
msgid "package keep list not found in the database"
msgstr ""
#: src/error.c:100
#: src/error.c:106
msgid "failed to open package keep list in the database"
msgstr ""
#: src/error.c:101
#: src/error.c:107
msgid "failed to access package keep list database directory"
msgstr ""
#: src/error.c:102
#: src/error.c:108
msgid "failed to remove package keep list from the database"
msgstr ""
#: src/error.c:109
#, c-format
msgid "failed to find %s (dependency of %s)"
msgstr ""
#: src/error.c:110
#, c-format
msgid "failed to download %s for installation: %s"
msgstr ""
#: src/error.c:111
#, fuzzy
msgid "package is not downloaded"
msgstr "URL hostname is too large"
#: src/error.c:112
msgid "failed to remove downloaded package"
msgstr ""