diff --git a/distroquery.php b/distroquery.php index 81a14d9..1cddfa8 100644 --- a/distroquery.php +++ b/distroquery.php @@ -311,7 +311,8 @@ $url_prefix = home_url() . "/rpms/"; // RPM provides, requires, obsoletes table echo ""; + _r("Obsoletes") . ""; echo "
" . _r("Brothers") . "" . _r("Provides") . "" . - _r("Obsoletes") . "" . _r("Requires") . "
" . _r("Requires") . "" . + _r("Recommends") . "
"; if (isset($j["brothers"])) { foreach ($j["brothers"] as $brother) { @@ -353,6 +354,24 @@ $url_prefix = home_url() . "/rpms/"; echo "
"; } } + echo "
"; + if (isset($j["recommends"])) { + foreach ($j["recommends"] as $require) { + echo $require["name"]; + if ($require["flags"] != "") echo " " . $require["flags"] . " " . $require["version"]; + + $cnt = 0; + if (isset($require["providers"])) { + foreach ($require["providers"] as $provider) { + $cnt++; + $provider_url = $url_prefix . $provider["repository"] . "/" . $provider["name"] . "/" . $arch; + echo " [" . $cnt . "]"; + } + } + if ($cnt == 0) echo " (" . _r("unresolved") . ")"; + echo "
"; + } + } echo "
"; // Package files list diff --git a/languages/it_IT.mo b/languages/it_IT.mo index 03be96c..1c3d112 100644 Binary files a/languages/it_IT.mo and b/languages/it_IT.mo differ diff --git a/languages/it_IT.po b/languages/it_IT.po index 023eefa..4d454f4 100644 --- a/languages/it_IT.po +++ b/languages/it_IT.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Responsive Theme\n" "Report-Msgid-Bugs-To: bugs@openmamba.org\n" -"POT-Creation-Date: 2024-08-11 17:54+0200\n" +"POT-Creation-Date: 2024-11-03 12:23+0100\n" "PO-Revision-Date: 2014-12-08 16:25+0100\n" "Last-Translator: Silvan Calarco \n" "Language-Team: Italian, Italy\n" @@ -150,7 +150,7 @@ msgstr "RPM creati" msgid "Build requirements" msgstr "Dipendenze di compilazione" -#: ../distroquery.php:237 ../distroquery.php:352 +#: ../distroquery.php:237 ../distroquery.php:353 ../distroquery.php:371 msgid "unresolved" msgstr "non risolto" @@ -194,7 +194,11 @@ msgstr "Rende obsoleti" msgid "Requires" msgstr "Richiede" -#: ../distroquery.php:360 +#: ../distroquery.php:315 +msgid "Recommends" +msgstr "Raccomanda" + +#: ../distroquery.php:379 msgid "Provided files" msgstr "File forniti" @@ -287,22 +291,22 @@ msgstr "Salve, %1$s" msgid "Logout" msgstr "Esci" -#~ msgid "©" -#~ msgstr "©" +msgid "©" +msgstr "©" -#~ msgid "scroll to top" -#~ msgstr "scorri all'inizio" +msgid "scroll to top" +msgstr "scorri all'inizio" -#~ msgid "Website provided by" -#~ msgstr "Sito web fornito da" +msgid "Website provided by" +msgstr "Sito web fornito da" -#~ msgid "WordPress" -#~ msgstr "WordPress" +msgid "WordPress" +msgstr "WordPress" -#~ msgid "This website uses cookies to improve user experience." -#~ msgstr "" -#~ "Questo sito utilizza i cookie per migliorare l'esperienza di navigazione " -#~ "dell'utente." +msgid "This website uses cookies to improve user experience." +msgstr "" +"Questo sito utilizza i cookie per migliorare l'esperienza di navigazione " +"dell'utente." -#~ msgid "Archive for %s" -#~ msgstr "Archivio per %s" +msgid "Archive for %s" +msgstr "Archivio per %s" diff --git a/languages/responsive.po b/languages/responsive.po index a4de57c..ebefdfa 100644 --- a/languages/responsive.po +++ b/languages/responsive.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: openmamba 1.0\n" "Report-Msgid-Bugs-To: bugs@openmamba.org\n" -"POT-Creation-Date: 2024-08-11 17:54+0200\n" +"POT-Creation-Date: 2024-11-03 12:23+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -151,7 +151,7 @@ msgstr "" msgid "Build requirements" msgstr "" -#: ../distroquery.php:237 ../distroquery.php:352 +#: ../distroquery.php:237 ../distroquery.php:353 ../distroquery.php:371 msgid "unresolved" msgstr "" @@ -195,7 +195,11 @@ msgstr "" msgid "Requires" msgstr "" -#: ../distroquery.php:360 +#: ../distroquery.php:315 +msgid "Recommends" +msgstr "" + +#: ../distroquery.php:379 msgid "Provided files" msgstr ""