new: working on the gen command

This commit is contained in:
ngn
2024-05-02 22:53:52 +03:00
parent 0d00678c30
commit e29c3ce419
11 changed files with 380 additions and 113 deletions

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-05-02 00:49+0300\n"
"POT-Creation-Date: 2024-05-02 22:51+0300\n"
"PO-Revision-Date: 2024-05-01 13:34+0300\n"
"Last-Translator: <ngn@ngn.tf>\n"
"Language-Team: Turkish <gnome-turk@gnome.org>\n"
@ -17,45 +17,84 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: src/config.c:13
msgid "Configuration target is missing a name"
msgstr ""
#: src/config.c:18
#, c-format
msgid "Configuration target \"%s\" does not have \"dst\" field"
msgstr ""
#: src/config.c:23
#, c-format
msgid "Configuration target \"%s\" does not have \"src\" field"
msgstr ""
#: src/config.c:32
msgid "Configuration does not have a name field"
msgstr ""
#: src/config.c:37
#: src/config.c:28
msgid "Configuration does not have an author field"
msgstr ""
#: src/config.c:42
#: src/config.c:33
msgid "Configuration does not have any targets"
msgstr ""
#: src/config.c:120
#: src/config.c:91
msgid "Configuration contains multiple targets with the same name"
msgstr ""
#: src/config.c:113
#, c-format
msgid "Key %s is unknown"
msgstr ""
#: src/config.c:156
#: src/config.c:143
msgid "Configuration file not found"
msgstr ""
#: src/config.c:170
#: src/config.c:158
msgid "Failed to parse configuration file"
msgstr ""
#: src/config.c:174
msgid "Configuration details:\n"
msgstr ""
#: src/config.c:175
msgid "Name"
msgstr ""
#: src/config.c:176
msgid "Author"
msgstr ""
#: src/config.c:178
msgid "Keywords"
msgstr ""
#: src/gen.c:15
msgid "Please specify a directory for the repository"
msgstr ""
#: src/gen.c:20
msgid "Failed to access the directory"
msgstr ""
#: src/gen.c:25
msgid "Failed to change directory to the specified directory"
msgstr ""
#: src/gen.c:29 src/gen.c:36 src/pull.c:82
msgid "Loaded repository configuration"
msgstr ""
#: src/gen.c:31 src/pull.c:77
msgid "Failed to load the configuration file (mc.cfg):"
msgstr ""
#: src/gen.c:42
msgid "Copying all the targets"
msgstr ""
#: src/gen.c:47
msgid "Failed to copy the target:"
msgstr ""
#: src/gen.c:53
#, c-format
msgid "%s: copy success"
msgstr ""
#: src/log.c:145
msgid "y"
msgstr ""
@ -146,43 +185,58 @@ msgstr ""
msgid "Failed to chdir to %s"
msgstr ""
#: src/pull.c:77
msgid "Failed to load the configuration file (mc.cfg):"
msgstr ""
#: src/pull.c:82
msgid "Loaded repository configuration"
msgstr ""
#: src/pull.c:83
msgid "Configuration details:\n"
msgstr ""
#: src/pull.c:84
msgid "Name"
msgstr ""
#: src/pull.c:85
msgid "Author"
msgstr ""
#: src/pull.c:87
msgid "Keywords"
msgstr ""
#: src/pull.c:92
msgid "Do you want to continue?"
msgstr ""
#: src/pull.c:95
#: src/pull.c:88
msgid "Checking all the targets"
msgstr ""
#: src/pull.c:99
#: src/pull.c:92
#, c-format
msgid "Failed to access the source for the target \"%s\""
msgstr ""
#: src/pull.c:105
#: src/pull.c:98
msgid "All the targets are OK"
msgstr ""
#: src/target.c:13
msgid "Configuration target is missing a name"
msgstr ""
#: src/target.c:18
#, c-format
msgid "Configuration target \"%s\" does not have \"dst\" field"
msgstr ""
#: src/target.c:23
#, c-format
msgid "Configuration target \"%s\" does not have \"src\" field"
msgstr ""
#: src/target.c:38
#, c-format
msgid "Failed to open the directory: %s"
msgstr ""
#: src/target.c:76
#, c-format
msgid "Source directory \"%s\" does not exist"
msgstr ""
#: src/util.c:115 src/util.c:126
#, c-format
msgid "Failed to create directory: %s"
msgstr ""
#: src/util.c:205
#, c-format
msgid "Failed to open \"%s\" for reading"
msgstr ""
#: src/util.c:207
#, c-format
msgid "Failed to open \"%s\" for writing"
msgstr ""