distroquery API: add resource box and translations

This commit is contained in:
Silvan Calarco 2024-06-29 14:04:42 +02:00
parent 1b656fa4bb
commit 6062c4ab7d
7 changed files with 358 additions and 83 deletions

View File

@ -32,13 +32,14 @@ $url_prefix = home_url() . "/rpms/";
$package=get_query_var('package'); $package=get_query_var('package');
$arch=get_query_var('arch'); $arch=get_query_var('arch');
if ($repo == "") { if ($repo == "") {
// //
// Repositories // Repositories
// //
echo " > Repositories"; echo " > " . _r("Repositories");
echo "<h1>Available repositories:</h1>"; echo "<h1>" . _r("Available repositories") . ":</h1>";
$request = wp_remote_get('https://push.openmamba.org/openmamba/distroquery/api/v1/repositories'); $request = wp_remote_get('https://push.openmamba.org/openmamba/distroquery/api/v1/repositories');
$j = json_decode($request["body"], true); $j = json_decode($request["body"], true);
foreach ($j as $repository) { foreach ($j as $repository) {
@ -60,7 +61,7 @@ $url_prefix = home_url() . "/rpms/";
} else { } else {
echo " > " . $repo; echo " > " . $repo;
echo "<h1>List of packages:</h1>"; echo "<h1>" . _r("List of packages") . ":</h1>";
foreach ($j as $package) { foreach ($j as $package) {
$package_url = $url_prefix . $repo . "/" . $package["name"]; $package_url = $url_prefix . $repo . "/" . $package["name"];
@ -73,42 +74,49 @@ $url_prefix = home_url() . "/rpms/";
// //
// Source package // Source package
// //
echo " > <a href=\"" . $url_prefix . "\">Repositories</a>"; echo " > <a href=\"" . $url_prefix . "\">" . _r("Repositories") . "</a>";
$request = wp_remote_get('https://push.openmamba.org/openmamba/distroquery/api/v1/package/'. $repo . "/" . $package); $request = wp_remote_get('https://push.openmamba.org/openmamba/distroquery/api/v1/package/'. $repo . "/" . $package);
$j = json_decode($request["body"], true); $j = json_decode($request["body"], true);
if ($j["error"] != "") { if ($j["error"] != "") {
echo "<h3>ERROR: " . $j["error"] . "</h3>"; echo "<h3>" . _r("ERROR") . ": " . $j["error"] . "</h3>";
} else { } else {
echo " > <a href=\"" . $url_prefix . "/" . $repo . "\">$repo</a> > " . $package; echo " > <a href=\"" . $url_prefix . "/" . $repo . "\">$repo</a> > " . $package;
?> ?>
<div class="box" style="float:right;min-width:150px;padding:10px;">
<b><?php echo _r("Resources") ?>:</b><br/>
<a href="<?php echo $j["source_url"] ?>" target=_blank><?php echo _r("Source files") ?></a> |
<a href="<?php echo $j["source_url"] ?>/commits/branch/main" target=_blank><?php echo _r("Changes") ?></a><br/>
<a href="<?php echo $j["source_url"] ?>/issues" target=_blank><?php echo _r("Issues") ?></a> |
<a href="<?php echo $j["source_url"] ?>/issues/new" target=_blank><?php echo _r("Add a new issue") ?></a><br/>
<a href="<?php echo $j["download_url"] ?>" target=_blank><?php echo _r("Download") ?></a>
</div>
<h1><img src="https://www.google.com/s2/favicons?domain=<?php echo $j["url"] ?>" width="24" height="24"> <h1><img src="https://www.google.com/s2/favicons?domain=<?php echo $j["url"] ?>" width="24" height="24">
<?php echo $j["name"] ?>: <?php echo $j["summary"] ?></h1> <?php echo $j["name"] ?>: <?php echo $j["summary"] ?></h1>
<table class="pkgpage" width="100%"> <table class="pkgpage" width="100%">
<tr><td width="15%">Name:</td><td><?php echo $j["name"] ?></td></tr> <tr><td width="15%"><?php echo _r("Name") ?>:</td><td><?php echo $j["name"] ?></td></tr>
<tr><td width="15%">Release:</td><td> <tr><td width="15%"><?php echo _r("Release") ?>:</td><td>
<?php if ($j["epoch"] != "0") echo $j["epoch"].":"; <?php if ($j["epoch"] != "0") echo $j["epoch"].":";
echo $j["version"]."-".$j["release"] ?></td></tr> echo $j["version"]."-".$j["release"] ?></td></tr>
<tr><td width="15%">Group:</td><td><?php echo $j["group"] ?></td></tr> <tr><td width="15%"><?php echo _r("Group") ?>:</td><td><?php echo $j["group"] ?></td></tr>
<tr><td width="15%">Maintainer:</td><td><?php echo $j["maintainer"] ?></td></tr> <tr><td width="15%"><?php echo _r("Maintainer") ?>:</td><td><?php echo $j["maintainer"] ?></td></tr>
<tr><td width="15%">Description:</td><td><?php echo $j["description"] ?></td></tr> <tr><td width="15%"><?php echo _r("Description") ?>:</td><td><?php echo $j["description"] ?></td></tr>
<tr><td width="15%">License:</td><td><?php echo $j["license"] ?></td></tr> <tr><td width="15%"><?php echo _r("License") ?>:</td><td><?php echo $j["license"] ?></td></tr>
<tr><td width="15%">Size:</td><td><?php echo $j["size"] ?></td></tr> <tr><td width="15%"><?php echo _r("Size") ?>:</td><td><?php echo $j["size"] ?></td></tr>
<tr><td width="15%">URL:</td><td><a href="<?php echo $j["url"] ?>" target=_blank><?php echo $j["url"] ?></a></td></tr> <tr><td width="15%"><?php echo _r("Upstream URL") ?>:</td><td><a href="<?php echo $j["url"] ?>" target=_blank><?php echo $j["url"] ?></a></td></tr>
<tr><td width="15%">Download:</td><td><a href="<?php echo $j["download_url"] ?>" target=_blank><?php echo basename($j["download_url"]) ?></a></td></tr> <tr><td width="15%"><?php echo _r("Build time") ?>:</td><td><?php echo iso8601_to_datetime($j["buildtime"]) ?></td></tr>
<tr><td width="15%">Sources repository:</td><td><a href="<?php echo $j["source_url"] ?>" target=_blank><?php echo $j["source_url"] ?></a></td></tr> <tr><td width="15%"><?php echo _r("Built RPMS") ?>:</td><td><?php
<tr><td width="15%">Build time:</td><td><?php echo iso8601_to_datetime($j["buildtime"]) ?></td></tr>
<tr><td width="15%">Built RPMS:</td><td><?php
foreach ($j["children"] as $child) { foreach ($j["children"] as $child) {
$child_url = $url_prefix . $repo . "/" . $child["name"] . "/" . $child["arch"]; $child_url = $url_prefix . $repo . "/" . $child["name"] . "/" . $child["arch"];
echo "<a href=\"" . $child_url . "\">" . $child["name"] . "(" . $child["arch"] . ")</a> "; echo "<a href=\"" . $child_url . "\">" . $child["name"] . "(" . $child["arch"] . ")</a> ";
} ?> } ?>
</td></tr> </td></tr>
<tr><td width="15%">Build requirements:</td><td><?php <tr><td width="15%"><?php echo _r("Build requirements") ?>:</td><td><?php
foreach ($j["buildrequires"] as $buildrequire) { foreach ($j["buildrequires"] as $buildrequire) {
echo $buildrequire["name"]; echo $buildrequire["name"];
if ($buildrequire["flags"] != "") echo "[" . $buildrequire["flags"] . $buildrequire["version"] . "]"; if ($buildrequire["flags"] != "") echo "[" . $buildrequire["flags"] . $buildrequire["version"] . "]";
@ -124,55 +132,63 @@ $url_prefix = home_url() . "/rpms/";
// //
// Package // Package
// //
echo " > <a href=\"" . $url_prefix . "\">Repositories</a>"; echo " > <a href=\"" . $url_prefix . "\">" . _r("Repositories") . "</a>";
$request = wp_remote_get('https://push.openmamba.org/openmamba/distroquery/api/v1/package/'. $repo . "/" . $package . "/" . $arch); $request = wp_remote_get('https://push.openmamba.org/openmamba/distroquery/api/v1/package/'. $repo . "/" . $package . "/" . $arch);
$j = json_decode($request["body"],true); $j = json_decode($request["body"],true);
if ($j["error"] != "") { if ($j["error"] != "") {
echo "<h3>ERROR: " . $j["error"] . "</h3>"; echo "<h3>" . _r("ERROR") . ": " . $j["error"] . "</h3>";
} else { } else {
echo " > <a href=\"" . $url_prefix . "/" . $repo . "\">$repo</a> > " . $package . " (" . $arch . ")"; echo " > <a href=\"" . $url_prefix . "/" . $repo . "\">$repo</a> > " . $package . " (" . $arch . ")";
?> ?>
<div class="box" style="float:right;min-width:150px;padding:10px;">
<b><?php echo _r("Resources") ?>:</b><br/>
<a href="<?php echo $j["source"]["source_url"] ?>" target=_blank><?php echo _r("Source files") ?></a> |
<a href="<?php echo $j["source"]["source_url"] ?>/commits/branch/main" target=_blank><?php echo _r("Changes") ?></a><br/>
<a href="<?php echo $j["source"]["source_url"] ?>/issues" target=_blank><?php echo _r("Issues") ?></a> |
<a href="<?php echo $j["source"]["source_url"] ?>/issues/new" target=_blank><?php echo _r("Add a new issue") ?></a><br/>
<a href="<?php echo $j["download_url"] ?>" target=_blank><?php echo _r("Download") ?></a>
</div>
<h1><img src="https://www.google.com/s2/favicons?domain=<?php echo $j["source"]["url"] ?>" width="24" height="24"> <h1><img src="https://www.google.com/s2/favicons?domain=<?php echo $j["source"]["url"] ?>" width="24" height="24">
<?php echo $j["name"] ?>: <?php echo $j["summary"] ?></h1> <?php echo $j["name"] ?>: <?php echo $j["summary"] ?></h1>
<table class="pkgpage" width="100%"> <table class="pkgpage" width="100%">
<tr><td width="15%">Name:</td><td><?php echo $j["name"] ?></td></tr> <tr><td width="15%"><?php echo _r("Name") ?>:</td><td><?php echo $j["name"] ?></td></tr>
<tr><td width="15%">Release:</td><td> <tr><td width="15%"><?php echo _r("Release") ?>:</td><td>
<?php if ($j["source"]["epoch"] != "0") echo $j["source"]["epoch"].":"; <?php if ($j["source"]["epoch"] != "0") echo $j["source"]["epoch"].":";
echo $j["source"]["version"]."-".$j["source"]["release"] ?></td></tr> echo $j["source"]["version"]."-".$j["source"]["release"] ?></td></tr>
<tr><td width="15%">Architecture:</td><td><?php echo $j["arch"] ?></td></tr> <tr><td width="15%"><?php echo _r("Architecture") ?>:</td><td><?php echo $j["arch"] ?></td></tr>
<tr><td width="15%">Group:</td><td><?php echo $j["group"] ?></td></tr> <tr><td width="15%"><?php echo _r("Group") ?>:</td><td><?php echo $j["group"] ?></td></tr>
<tr><td width="15%">Description:</td><td><?php echo $j["description"] ?></td></tr> <tr><td width="15%"><?php echo _r("Description") ?>:</td><td><?php echo $j["description"] ?></td></tr>
<tr><td width="15%">Size:</td><td><?php echo $j["size"] ?></td></tr> <tr><td width="15%"><?php echo _r("Size") ?>:</td><td><?php echo $j["size"] ?></td></tr>
<tr><td width="15%">URL:</td><td><a href="<?php echo $j["source"]["url"] ?>" target=_blank><?php echo $j["source"]["url"] ?></a></td></tr> <tr><td width="15%"><?php echo _r("Upstream URL") ?>:</td><td><a href="<?php echo $j["source"]["url"] ?>" target=_blank><?php echo $j["source"]["url"] ?></a></td></tr>
<tr><td width="15%">Download:</td><td><a href="<?php echo $j["download_url"] ?>" target=_blank><?php echo basename($j["download_url"]) ?></a></td></tr> <tr><td width="15%"><?php echo _r("Source RPM") ?>:</td><td><?php
<tr><td width="15%">Source RPM:</td><td><?php
$sourcerpm_url = $url_prefix . $repo . "/" . $j["source"]["name"]; $sourcerpm_url = $url_prefix . $repo . "/" . $j["source"]["name"];
echo "<a href=\"". $sourcerpm_url . "\">". $j["source"]["name"] . "</a> "; ?> echo "<a href=\"". $sourcerpm_url . "\">". $j["source"]["name"] . "</a> "; ?>
<tr><td width="15%">Brothers:</td><td><?php <tr><td width="15%"><?php echo _r("Brothers") ?>:</td><td><?php
foreach ($j["brothers"] as $brother) { foreach ($j["brothers"] as $brother) {
$brother_url = $url_prefix . $repo . "/" . $brother . "/" . $arch; $brother_url = $url_prefix . $repo . "/" . $brother . "/" . $arch;
echo "<a href=\"". $brother_url . "\">". $brother . "</a> "; echo "<a href=\"". $brother_url . "\">". $brother . "</a> ";
} ?> } ?>
</td></tr> </td></tr>
<tr><td width="15%">Provides:</td><td><?php <tr><td width="15%"><?php echo _r("Provides") ?>:</td><td><?php
foreach ($j["provides"] as $provide) { foreach ($j["provides"] as $provide) {
echo $provide["name"]; echo $provide["name"];
if ($provide["flags"] != "") echo "[" . $provide["flags"] . $provide["version"] . "]"; if ($provide["flags"] != "") echo "[" . $provide["flags"] . $provide["version"] . "]";
echo " "; echo " ";
} ?> } ?>
</td></tr> </td></tr>
<tr><td width="15%">Obsoletes:</td><td><?php <tr><td width="15%"><?php echo _r("Obsoletes") ?>:</td><td><?php
foreach ($j["obsoletes"] as $obsolete) { foreach ($j["obsoletes"] as $obsolete) {
echo $obsolete["name"]; echo $obsolete["name"];
if ($obsolete["flags"] != "") echo "[" . $obsolete["flags"] . $obsolete["version"] . "]"; if ($obsolete["flags"] != "") echo "[" . $obsolete["flags"] . $obsolete["version"] . "]";
echo " "; echo " ";
} ?> } ?>
</td></tr> </td></tr>
<tr><td width="15%">Requires:</td><td><?php <tr><td width="15%"><?php echo _r("Requires") ?>:</td><td><?php
foreach ($j["requires"] as $require) { foreach ($j["requires"] as $require) {
echo $require["name"]; echo $require["name"];
if ($require["flags"] != "") echo "[" . $require["flags"] . $require["version"] . "]"; if ($require["flags"] != "") echo "[" . $require["flags"] . $require["version"] . "]";

View File

@ -7,6 +7,11 @@ if ( !defined( 'ABSPATH' ) ) {
//add_action( 'login_init', 'send_frame_options_header', 10, 0 ); //add_action( 'login_init', 'send_frame_options_header', 10, 0 );
// Convenience function for translations in 'responsive' domain
function _r($text) {
return __($text, 'responsive');
}
function openmamba_breadcrumbs() { function openmamba_breadcrumbs() {
$text['category'] = ''; $text['category'] = '';
} }

View File

@ -1,7 +1,7 @@
Translation management: Translation management:
----------------------- -----------------------
1) 1)
xgettext --default-domain=responsive --language=PHP --keyword=__ --keyword=_e --keyword=esc_attr_e --sort-by-file --copyright-holder="Silvan Calarco" --package-name=openmamba --package-version=1.0 --msgid-bugs-address="bugs@openmamba.org" ../*.php xgettext --default-domain=responsive --language=PHP --keyword=__ --keyword=_e --keyword=_r --keyword=esc_attr_e --sort-by-file --copyright-holder="Silvan Calarco" --package-name=openmamba --package-version=1.0 --msgid-bugs-address="bugs@openmamba.org" ../*.php
2) 2)
msgmerge it_IT.po responsive.po -o it_IT.po msgmerge it_IT.po responsive.po -o it_IT.po

Binary file not shown.

View File

@ -7,13 +7,13 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Responsive Theme\n" "Project-Id-Version: Responsive Theme\n"
"Report-Msgid-Bugs-To: bugs@openmamba.org\n" "Report-Msgid-Bugs-To: bugs@openmamba.org\n"
"POT-Creation-Date: 2020-06-27 13:56+0200\n" "POT-Creation-Date: 2024-06-29 14:01+0200\n"
"PO-Revision-Date: 2014-12-08 16:25+0100\n" "PO-Revision-Date: 2014-12-08 16:25+0100\n"
"Last-Translator: Silvan Calarco <silvan.calarco@mambasoft.it>\n" "Last-Translator: Silvan Calarco <silvan.calarco@mambasoft.it>\n"
"Language-Team: Italian, Italy\n" "Language-Team: Italian, Italy\n"
"Language: \n" "Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: ../bbpress.php:41 ../search-page.php:42 ../webbuild-page.php:47 #: ../bbpress.php:41 ../search-page.php:42 ../webbuild-page.php:47
@ -26,23 +26,147 @@ msgstr "Leggi di più &#8250;"
msgid "Pages:" msgid "Pages:"
msgstr "Pagine:" msgstr "Pagine:"
#: ../distroquery.php:40 ../distroquery.php:77 ../distroquery.php:135
msgid "Repositories"
msgstr "Repository"
#: ../distroquery.php:42
msgid "Available repositories"
msgstr "Repository disponibili"
#: ../distroquery.php:64
msgid "List of packages"
msgstr "Elenco dei pacchetti"
#: ../distroquery.php:83 ../distroquery.php:140
msgid "ERROR"
msgstr "ERRORE"
#: ../distroquery.php:90 ../distroquery.php:147
msgid "Resources"
msgstr "Risorse"
#: ../distroquery.php:91 ../distroquery.php:148
msgid "Source files"
msgstr "File sorgenti"
#: ../distroquery.php:92 ../distroquery.php:149
msgid "Changes"
msgstr "Modifiche"
#: ../distroquery.php:93 ../distroquery.php:150
msgid "Issues"
msgstr "Problemi"
#: ../distroquery.php:94 ../distroquery.php:151
msgid "Add a new issue"
msgstr "Segnala un problema"
#: ../distroquery.php:95 ../distroquery.php:152
msgid "Download"
msgstr "Scarica"
#: ../distroquery.php:102 ../distroquery.php:159
msgid "Name"
msgstr "Nome"
#: ../distroquery.php:103 ../distroquery.php:160
msgid "Release"
msgstr "Versione"
#: ../distroquery.php:106 ../distroquery.php:164
msgid "Group"
msgstr "Gruppo"
#: ../distroquery.php:107
msgid "Maintainer"
msgstr "Manutentore"
#: ../distroquery.php:108 ../distroquery.php:165
msgid "Description"
msgstr "Descrizione"
#: ../distroquery.php:109
msgid "License"
msgstr "Licenza"
#: ../distroquery.php:110 ../distroquery.php:166
msgid "Size"
msgstr "Dimensione"
#: ../distroquery.php:111 ../distroquery.php:167
msgid "Upstream URL"
msgstr "URL di origine"
#: ../distroquery.php:112
msgid "Build time"
msgstr "Data di compilazione"
#: ../distroquery.php:113
msgid "Built RPMS"
msgstr "RPM creati"
#: ../distroquery.php:119
msgid "Build requirements"
msgstr "Dipendenze di compilazione"
#: ../distroquery.php:163
msgid "Architecture"
msgstr "Architettura"
#: ../distroquery.php:168
msgid "Source RPM"
msgstr "RPM sorgente"
#: ../distroquery.php:171
msgid "Brothers"
msgstr "Collegati"
#: ../distroquery.php:177
msgid "Provides"
msgstr "Fornisce"
#: ../distroquery.php:184
msgid "Obsoletes"
msgstr "Rende obsoleti"
#: ../distroquery.php:191
msgid "Requires"
msgstr "Richiede"
#: ../footer.php:63
msgid "&copy;"
msgstr "&copy;"
#: ../footer.php:68 #: ../footer.php:68
msgid "&uarr;" msgid "&uarr;"
msgstr "&uarr;" msgstr "&uarr;"
#: ../functions.php:107 ../functions.php:118 #: ../footer.php:68
msgid "scroll to top"
msgstr "scorri all'inizio"
#: ../footer.php:70
msgid "Website provided by"
msgstr "Sito web fornito da"
#: ../footer.php:71
msgid "WordPress"
msgstr "WordPress"
#: ../functions.php:126 ../functions.php:137
msgid "for" msgid "for"
msgstr "per" msgstr "per"
#: ../functions.php:109 #: ../functions.php:128
msgid "File size:" msgid "File size:"
msgstr "Dimensione file:" msgstr "Dimensione file:"
#: ../functions.php:110 #: ../functions.php:129
msgid "Date" msgid "Date"
msgstr "Data" msgstr "Data"
#: ../functions.php:120 #: ../functions.php:139
msgid "" msgid ""
"Sorry, download is temporary unavailable. If the problem persists please " "Sorry, download is temporary unavailable. If the problem persists please "
"report the problem." "report the problem."
@ -50,49 +174,47 @@ msgstr ""
"Il download non è temporaneamente disponibile. Se il problema persiste ti " "Il download non è temporaneamente disponibile. Se il problema persiste ti "
"ringraziamo se ci puoi segnalare il problema." "ringraziamo se ci puoi segnalare il problema."
#: ../functions.php:201 #: ../functions.php:220
msgid "More languages..." msgid "More languages..."
msgstr "Altre lingue..." msgstr "Altre lingue..."
#: ../functions.php:204 #: ../functions.php:223
msgid "Features" msgid "Features"
msgstr "Caratteristiche" msgstr "Caratteristiche"
#: ../functions.php:208 #: ../functions.php:227
msgid "Requirements" msgid "Requirements"
msgstr "Requisiti" msgstr "Requisiti"
#: ../functions.php:212 #: ../functions.php:231
msgid "Preparation" msgid "Preparation"
msgstr "Preparazione" msgstr "Preparazione"
#: ../functions.php:251 ../functions.php:290 #: ../functions.php:271 ../functions.php:316
msgid "Loading, please wait..." msgid "Loading, please wait..."
msgstr "Caricamento in corso, attendi..." msgstr "Caricamento in corso, attendi..."
#: ../functions.php:318 #: ../functions.php:295 ../functions.php:319 ../functions.php:337
msgid "Invalid request."
msgstr "Richiesta non valida."
#: ../functions.php:351
msgid "Starting download of" msgid "Starting download of"
msgstr "Avvio dello scaricamento di" msgstr "Avvio dello scaricamento di"
#: ../functions.php:318 #: ../functions.php:351
msgid "please wait..." msgid "please wait..."
msgstr "attendere prego..." msgstr "attendere prego..."
#: ../functions.php:342 #: ../functions.php:384
msgid "This website uses cookies to improve user experience."
msgstr ""
"Questo sito utilizza i cookie per migliorare l'esperienza di navigazione "
"dell'utente."
#: ../functions.php:343
msgid "I Understand" msgid "I Understand"
msgstr "Ho capito" msgstr "Ho capito"
#: ../functions.php:344 #: ../functions.php:385
msgid "Cookie policy" msgid "Cookie policy"
msgstr "Informativa sui cookie" msgstr "Informativa sui cookie"
#: ../header-webbuild-status.php:77 ../header-webbuild.php:108 #: ../header-webbuild-status.php:74 ../header-webbuild.php:104
msgid "&darr; Skip to Main Content" msgid "&darr; Skip to Main Content"
msgstr "&darr; Salta al contenuto principale" msgstr "&darr; Salta al contenuto principale"
@ -121,11 +243,10 @@ msgstr "Salve, %1$s"
msgid "Logout" msgid "Logout"
msgstr "Esci" msgstr "Esci"
msgid "scroll to top" #~ msgid "This website uses cookies to improve user experience."
msgstr "scorri all'inizio" #~ msgstr ""
#~ "Questo sito utilizza i cookie per migliorare l'esperienza di navigazione "
#~ "dell'utente."
msgid "Website provided by" #~ msgid "Archive for %s"
msgstr "Sito web fornito da" #~ msgstr "Archivio per %s"
msgid "Archive for %s"
msgstr "Archivio per %s"

View File

@ -8,13 +8,13 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: openmamba 1.0\n" "Project-Id-Version: openmamba 1.0\n"
"Report-Msgid-Bugs-To: bugs@openmamba.org\n" "Report-Msgid-Bugs-To: bugs@openmamba.org\n"
"POT-Creation-Date: 2020-06-27 13:56+0200\n" "POT-Creation-Date: 2024-06-29 14:01+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n" "Language: \n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: ../bbpress.php:41 ../search-page.php:42 ../webbuild-page.php:47 #: ../bbpress.php:41 ../search-page.php:42 ../webbuild-page.php:47
@ -27,69 +27,193 @@ msgstr ""
msgid "Pages:" msgid "Pages:"
msgstr "" msgstr ""
#: ../distroquery.php:40 ../distroquery.php:77 ../distroquery.php:135
msgid "Repositories"
msgstr ""
#: ../distroquery.php:42
msgid "Available repositories"
msgstr ""
#: ../distroquery.php:64
msgid "List of packages"
msgstr ""
#: ../distroquery.php:83 ../distroquery.php:140
msgid "ERROR"
msgstr ""
#: ../distroquery.php:90 ../distroquery.php:147
msgid "Resources"
msgstr ""
#: ../distroquery.php:91 ../distroquery.php:148
msgid "Source files"
msgstr ""
#: ../distroquery.php:92 ../distroquery.php:149
msgid "Changes"
msgstr ""
#: ../distroquery.php:93 ../distroquery.php:150
msgid "Issues"
msgstr ""
#: ../distroquery.php:94 ../distroquery.php:151
msgid "Add a new issue"
msgstr ""
#: ../distroquery.php:95 ../distroquery.php:152
msgid "Download"
msgstr ""
#: ../distroquery.php:102 ../distroquery.php:159
msgid "Name"
msgstr ""
#: ../distroquery.php:103 ../distroquery.php:160
msgid "Release"
msgstr ""
#: ../distroquery.php:106 ../distroquery.php:164
msgid "Group"
msgstr ""
#: ../distroquery.php:107
msgid "Maintainer"
msgstr ""
#: ../distroquery.php:108 ../distroquery.php:165
msgid "Description"
msgstr ""
#: ../distroquery.php:109
msgid "License"
msgstr ""
#: ../distroquery.php:110 ../distroquery.php:166
msgid "Size"
msgstr ""
#: ../distroquery.php:111 ../distroquery.php:167
msgid "Upstream URL"
msgstr ""
#: ../distroquery.php:112
msgid "Build time"
msgstr ""
#: ../distroquery.php:113
msgid "Built RPMS"
msgstr ""
#: ../distroquery.php:119
msgid "Build requirements"
msgstr ""
#: ../distroquery.php:163
msgid "Architecture"
msgstr ""
#: ../distroquery.php:168
msgid "Source RPM"
msgstr ""
#: ../distroquery.php:171
msgid "Brothers"
msgstr ""
#: ../distroquery.php:177
msgid "Provides"
msgstr ""
#: ../distroquery.php:184
msgid "Obsoletes"
msgstr ""
#: ../distroquery.php:191
msgid "Requires"
msgstr ""
#: ../footer.php:63
msgid "&copy;"
msgstr ""
#: ../footer.php:68 #: ../footer.php:68
msgid "&uarr;" msgid "&uarr;"
msgstr "" msgstr ""
#: ../functions.php:107 ../functions.php:118 #: ../footer.php:68
msgid "scroll to top"
msgstr ""
#: ../footer.php:70
msgid "Website provided by"
msgstr ""
#: ../footer.php:71
msgid "WordPress"
msgstr ""
#: ../functions.php:126 ../functions.php:137
msgid "for" msgid "for"
msgstr "" msgstr ""
#: ../functions.php:109 #: ../functions.php:128
msgid "File size:" msgid "File size:"
msgstr "" msgstr ""
#: ../functions.php:110 #: ../functions.php:129
msgid "Date" msgid "Date"
msgstr "" msgstr ""
#: ../functions.php:120 #: ../functions.php:139
msgid "" msgid ""
"Sorry, download is temporary unavailable. If the problem persists please " "Sorry, download is temporary unavailable. If the problem persists please "
"report the problem." "report the problem."
msgstr "" msgstr ""
#: ../functions.php:201 #: ../functions.php:220
msgid "More languages..." msgid "More languages..."
msgstr "" msgstr ""
#: ../functions.php:204 #: ../functions.php:223
msgid "Features" msgid "Features"
msgstr "" msgstr ""
#: ../functions.php:208 #: ../functions.php:227
msgid "Requirements" msgid "Requirements"
msgstr "" msgstr ""
#: ../functions.php:212 #: ../functions.php:231
msgid "Preparation" msgid "Preparation"
msgstr "" msgstr ""
#: ../functions.php:251 ../functions.php:290 #: ../functions.php:271 ../functions.php:316
msgid "Loading, please wait..." msgid "Loading, please wait..."
msgstr "" msgstr ""
#: ../functions.php:318 #: ../functions.php:295 ../functions.php:319 ../functions.php:337
msgid "Invalid request."
msgstr ""
#: ../functions.php:351
msgid "Starting download of" msgid "Starting download of"
msgstr "" msgstr ""
#: ../functions.php:318 #: ../functions.php:351
msgid "please wait..." msgid "please wait..."
msgstr "" msgstr ""
#: ../functions.php:342 #: ../functions.php:384
msgid "This website uses cookies to improve user experience."
msgstr ""
#: ../functions.php:343
msgid "I Understand" msgid "I Understand"
msgstr "" msgstr ""
#: ../functions.php:344 #: ../functions.php:385
msgid "Cookie policy" msgid "Cookie policy"
msgstr "" msgstr ""
#: ../header-webbuild-status.php:77 ../header-webbuild.php:108 #: ../header-webbuild-status.php:74 ../header-webbuild.php:104
msgid "&darr; Skip to Main Content" msgid "&darr; Skip to Main Content"
msgstr "" msgstr ""

View File

@ -279,6 +279,15 @@ span#distromatic table td hr {
} }
/* Distroquery */ /* Distroquery */
.box {
display:inline;
background-color:#f0f0f0;
border:1px;
border-radius:5px;
padding:5px;
margin:5px;
}
.querytag { .querytag {
display:inline; display:inline;
color:white; color:white;