finer control over release/commit lists

This commit is contained in:
2021-11-27 20:04:17 +01:00
parent db6308e791
commit 1c00192836
4 changed files with 233 additions and 175 deletions

View File

@ -50,6 +50,10 @@ msgstr "Jahren"
msgid "since %d %s ago"
msgstr "seit %d %s"
#: linuxfoo-gitlab.php:57
msgid "Invalid value for parameter \"commits\"."
msgstr "Unzulässiger Wert für Parameter \"commits\"."
#: linuxfoo-gitlab.php:59
msgid "Required parameter missing."
msgstr "Notwendiger Parameter fehlt"

View File

@ -9,7 +9,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2021-11-27T16:45:29+01:00\n"
"POT-Creation-Date: 2021-11-27T19:40:19+01:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.5.0\n"
"X-Domain: linuxfoo-gitlab\n"
@ -23,7 +23,7 @@ msgid "http://tk-sls.de/ref/gitlab-list-commits"
msgstr ""
#. Description of the plugin
msgid "Summary: Embed list of most recent commits to a Gitlab project from a Gitlab instance's public REST API. Example: Add [gitlab-list-commits url=https://tk-sls.de/gitlab project_id=42 since=\"3 month\" max=5] for a list of at most 5 commits to that project that were made since at most 3 months ago."
msgid "Summary: Embed list of most recent commits to a Gitlab project from a Gitlab instance's public REST API. Example: Add [gitlab-list-commits url=https://tk-sls.de/gitlab project_id=42 commits=\"all\" since=\"3 month\" max=5 releases=\"latest\"] for a list of at most 5 commits to that project that were made since at most 3 months ago, followed by alink to the latest release of the project (if any). To disable the list of commits, set commits=\"none\". To generate a list of all releases, set releases=\"all\". To disable the list of releases, omit the \"releases\" attribute or set releases=\"none\"."
msgstr ""
#. Author of the plugin
@ -34,90 +34,94 @@ msgstr ""
msgid "https://tk-sls.de"
msgstr ""
#: linuxfoo-gitlab.php:39
#: linuxfoo-gitlab.php:37
msgid "days"
msgstr ""
#: linuxfoo-gitlab.php:42
#: linuxfoo-gitlab.php:40
msgid "months"
msgstr ""
#: linuxfoo-gitlab.php:45
#: linuxfoo-gitlab.php:43
msgid "years"
msgstr ""
#. translators: %d: count, %s unit of time interval
#: linuxfoo-gitlab.php:49
#: linuxfoo-gitlab.php:47
msgid "since %d %s ago"
msgstr ""
#: linuxfoo-gitlab.php:63
msgid "Required parameter missing."
#: linuxfoo-gitlab.php:57
msgid "Invalid value for parameter \"commits\"."
msgstr ""
#: linuxfoo-gitlab.php:66
#: linuxfoo-gitlab.php:72
msgid "Invalid value for parameter \"project_id\"."
msgstr ""
#: linuxfoo-gitlab.php:69
msgid "Invalid value for parameter \"url\"."
msgstr ""
#: linuxfoo-gitlab.php:79
msgid "Project URL not reachable."
msgstr ""
#: linuxfoo-gitlab.php:90
msgid "Gitlab project"
msgstr ""
#: linuxfoo-gitlab.php:97
#: linuxfoo-gitlab.php:61
msgid "Invalid value for parameter \"since\"."
msgstr ""
#: linuxfoo-gitlab.php:119
#: linuxfoo-gitlab.php:91
msgid "Commits URL not reachable."
msgstr ""
#: linuxfoo-gitlab.php:125
#: linuxfoo-gitlab.php:97
msgid "Commits information not readable."
msgstr ""
#: linuxfoo-gitlab.php:136
#: linuxfoo-gitlab.php:108
msgid "No commits"
msgstr ""
#: linuxfoo-gitlab.php:137
#: linuxfoo-gitlab.php:151
#: linuxfoo-gitlab.php:109
#: linuxfoo-gitlab.php:118
msgid "in branch"
msgstr ""
#. translators: %d: maximum number of commits displayed
#: linuxfoo-gitlab.php:150
#: linuxfoo-gitlab.php:117
msgid "Last %d commits"
msgstr ""
#: linuxfoo-gitlab.php:172
#: linuxfoo-gitlab.php:150
msgid "Invalid value for parameter \"releases\"."
msgstr ""
#: linuxfoo-gitlab.php:179
#: linuxfoo-gitlab.php:157
msgid "Releases URL not reachable."
msgstr ""
#: linuxfoo-gitlab.php:185
#: linuxfoo-gitlab.php:163
msgid "Releases information not readable."
msgstr ""
#: linuxfoo-gitlab.php:189
#: linuxfoo-gitlab.php:169
msgid "This project has currently no releases."
msgstr ""
#: linuxfoo-gitlab.php:194
#: linuxfoo-gitlab.php:175
msgid "Latest release"
msgstr ""
#: linuxfoo-gitlab.php:201
#: linuxfoo-gitlab.php:182
msgid "Releases"
msgstr ""
#: linuxfoo-gitlab.php:215
msgid "Required parameter missing."
msgstr ""
#: linuxfoo-gitlab.php:218
#: linuxfoo-gitlab.php:224
msgid "Invalid value for parameter \"project_id\"."
msgstr ""
#: linuxfoo-gitlab.php:221
msgid "Invalid value for parameter \"url\"."
msgstr ""
#: linuxfoo-gitlab.php:231
msgid "Project URL not reachable."
msgstr ""
#: linuxfoo-gitlab.php:242
msgid "Gitlab project"
msgstr ""