Add docker updates support

Detect if running in a official container and replace updates buttons by links to the documentation
This commit is contained in:
RushLana
2026-02-23 15:02:36 +01:00
parent 1441831e9d
commit bfbc8f68d9
5 changed files with 165 additions and 57 deletions
+2
View File
@@ -852,6 +852,8 @@ $lang['Update in progress... Please wait.'] = 'Update in progress... Please wait
$lang['Update photos information'] = 'Update photos\' information';
$lang['update the database from files'] = "update the database with files";
$lang['Update to Piwigo %s'] = 'Update to Piwigo %s';
$lang['Follow the update guide'] = 'Follow the update guide';
$lang['Two container updates are available'] = 'Two container updates are available';
$lang['Updates'] = 'Updates';
$lang['Upload Photos'] = 'Upload Photos';
$lang['Upload'] = "Upload";
+2
View File
@@ -720,6 +720,8 @@ $lang['Following themes may not be compatible with the new version of Piwigo:']
$lang['I decide to update anyway'] = 'Je décide de migrer quand même';
$lang['Update to Piwigo %s'] = 'Mettre à jour vers Piwigo %s';
$lang['Two updates are available'] = 'Deux mises à jour sont disponibles';
$lang['Follow the update guide'] = 'Suivre le guide de mise à jour';
$lang['Two container updates are available'] = 'Deux mises à jour de conteneur sont disponibles';
$lang['This is a minor update, with only bug corrections.'] = 'Ceci est une mise à jour mineure, avec uniquement des corrections de bugs.';
$lang['This is a major update, with <a href="%s">new exciting features</a>.'] = 'Ceci est une mise à jour majeure, qui contient <a href="%s">un tas de nouveautés</a>.';
$lang['Some themes and plugins may be not available yet.'] = 'Certains thèmes ou plugins ne sont peut-être pas encore disponibles.';