Skip to content

Commit

Permalink
Merge pull request #99 from phpbb-extensions/release-2.0.1
Browse files Browse the repository at this point in the history
Release 2.0.1
  • Loading branch information
iMattPro committed Jun 25, 2023
2 parents bf7b72e + 4da79b0 commit 60d33d4
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 24 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

### 2.0.1 - 2023-04-15

- Refactored the ACP and added AJAX to its user interface.
- Added support for these media sites
- bilibili.com
- mastodon.social
- tenor.com
- music.yandex.ru

### 2.0.0 - 2022-03-03

- Backwards incompatible changes require a new minimum phpBB version of 3.3.2.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "phpbb-extension",
"description": "An official phpBB extension that allows users to embed content from allowed sites using a [media] BBCode, or from simply posting a supported URL in plain text.",
"homepage": "https://www.phpbb.com/customise/db/extension/mediaembed/",
"version": "2.0.0",
"version": "2.0.1",
"license": "GPL-2.0-only",
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion ext.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class ext extends \phpbb\extension\base
/**
* @var string Minimum requirements:
* phpBB 3.3.2 because using role_exists in migrations
* ph[BB 3.3.2 because TextFormatter 2.7.5 supports clyp.it and codepen.com
* phpBB 3.3.2 because TextFormatter 2.7.5 supports clyp.it and codepen.com
*/
public const PHPBB_MINIMUM = '3.3.2';

Expand Down
12 changes: 6 additions & 6 deletions language/fr/acp.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
*
* phpBB Media Embed PlugIn. An extension for the phpBB Forum Software package.
* French translation by Galixte (http://www.galixte.com)
* French translation by Galixte (http://www.galixte.com) and Fred Rimbert (https://forums.caforum.fr)
*
* @copyright (c) 2018 phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0-only)
Expand Down Expand Up @@ -53,11 +53,11 @@
'ACP_MEDIA_ENABLE_CACHE_EXPLAIN' => 'Permet d’améliorer les performances via la mise en cache des informations recueillies localement sur les sites. En effet, dans certains cas il est possible de remarquer des performances dégradées lors du chargement de médias à partir d’autres sites, en particulier lorsque le même contenu est chargé plusieurs fois (par exemple lors de la modification d’un message).',
'ACP_MEDIA_PARSE_URLS' => 'Convertir les URL simples',
'ACP_MEDIA_PARSE_URLS_EXPLAIN' => 'Permet de convertir les URL simples (non mises entre les balises des BBCodes <samp>[media]</samp> ou <samp>[url]</samp>) en contenu multimédia intégré. Merci de noter que cette fonctionnalité ne concerne que les nouveaux messages, car les messages déjà publiés ont déjà été analysés.',
'ACP_MEDIA_WIDTH_LEGEND' => 'Content sizing',
'ACP_MEDIA_FULL_WIDTH' => 'Enable full width content',
'ACP_MEDIA_FULL_WIDTH_EXPLAIN' => 'Enable this to expand most Media Embed content to fill the full width of the post content area while maintaining its native aspect ratio.',
'ACP_MEDIA_MAX_WIDTH' => 'Custom max-width content',
'ACP_MEDIA_MAX_WIDTH_EXPLAIN' => 'Use this field to define custom max-width values for individual sites. This will override the default size and the full width option above. Enter each site on a new line, using the format <samp class="error">siteId:width</samp> with either <samp class="error">px</samp> or <samp class="error">%</samp>. For example:<br><br><samp class="error">youtube:80%</samp><br><samp class="error">funnyordie:480px</samp><br><br><i><strong class="error">Tip:</strong> Hover your mouse over a site on the Manage sites page to reveal the site id name to use here.</i>',
'ACP_MEDIA_WIDTH_LEGEND' => 'Dimensionnement du contenu',
'ACP_MEDIA_FULL_WIDTH' => 'Activer le contenu en pleine largeur',
'ACP_MEDIA_FULL_WIDTH_EXPLAIN' => 'Activez cette option pour étendre la plupart des contenus Media Embed afin qu‘ils occupent toute la largeur de la zone de contenu du message tout en conservant leur format d‘origine.',
'ACP_MEDIA_MAX_WIDTH' => 'Contenu personnalisé à largeur maximale',
'ACP_MEDIA_MAX_WIDTH_EXPLAIN' => 'Utilisez ce champ pour définir des valeurs de largeur maximale personnalisées pour des sites individuels. Cela remplacera la taille par défaut et l‘option pleine largeur ci-dessus. Entrez chaque site sur une nouvelle ligne, en utilisant le format <samp class="error">siteId:width</samp> avec soit <samp class="error">px</samp> ou <samp class="error"> %</samp>. Par exemple :<br><br><samp class="error">youtube : 80 %</samp><br><samp class="error">funnyordie : 480px</samp><br><br><i><strong class="error">Astuce :</strong> Passez votre souris sur un site de la page Gérer les sites pour révéler le nom de l‘ID de site à utiliser ici.</i>',
'ACP_MEDIA_PURGE_CACHE' => 'Vider le cache des médias intégrés',
'ACP_MEDIA_PURGE_CACHE_EXPLAIN' => 'Permet de vider le cache immédiatement. Pour information, ce cache automatiquement vidé une fois par jour.',
'ACP_MEDIA_SITE_TITLE' => 'ID du service : %s',
Expand Down
32 changes: 16 additions & 16 deletions language/it/acp.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,30 @@
'ACP_MEDIA_BBCODE_LEGEND' => 'BBCode',
'ACP_MEDIA_DISPLAY_BBCODE' => 'Visualizza BBCode <samp>[MEDIA]</samp> nella pagina di scrittura',
'ACP_MEDIA_DISPLAY_BBCODE_EXPLAIN' => 'Se non consentito, il pulsante BBCode non verrà visualizzato, tuttavia gli utenti possono ancora utilizzare il tag <samp> [media] </samp> nei loro messaggi',
'ACP_MEDIA_OPTIONS_LEGEND' => 'Options',
'ACP_MEDIA_OPTIONS_LEGEND' => 'Opzioni',
'ACP_MEDIA_ALLOW_SIG' => 'Consenti nelle firme utente',
'ACP_MEDIA_ALLOW_SIG_EXPLAIN' => 'Consenti nelle firme utente di visualizzare il contenuto multimediale incorporato.',
'ACP_MEDIA_CACHE_LEGEND' => 'Content caching',
'ACP_MEDIA_ENABLE_CACHE' => 'Enable Media Embed cache',
'ACP_MEDIA_ENABLE_CACHE_EXPLAIN' => 'In some cases you may notice slower than normal performance when loading media from other sites, especially while loading the same content multiple times (e.g. when editing a post). Enabling this will cache the information Media Embed gathers from sites locally and should improve performance.',
'ACP_MEDIA_ALLOW_SIG_EXPLAIN' => 'Consenti di visualizzare il contenuto multimediale incorporato nelle firme utente.',
'ACP_MEDIA_CACHE_LEGEND' => 'Cache del contenuto',
'ACP_MEDIA_ENABLE_CACHE' => 'Abilita la cache del Media Embed',
'ACP_MEDIA_ENABLE_CACHE_EXPLAIN' => 'In alcuni casi puoi notare una performance più lenta del normale quando carichi media da altri siti, specialmente se carichi lo stesso contenuto piu\' volte (per esempio mentre modifichi un post). Abilitare questo mettera\' le informazioni raccolte da Media Embed in cache locale e dovrebbe migliorare la performance.',
'ACP_MEDIA_PARSE_URLS' => 'Converti URL semplici',
'ACP_MEDIA_PARSE_URLS_EXPLAIN' => 'Abilitare per convertire URL semplici (non racchiuso tra i tag <samp>[media]</samp> o <samp>[url]</samp> tags) ed incorporare i media. Tieni presente che la modifica di questa impostazione avrà effetto solo sui nuovi post, in quanto i post esistenti sono già stati analizzati.',
'ACP_MEDIA_WIDTH_LEGEND' => 'Content sizing',
'ACP_MEDIA_FULL_WIDTH' => 'Enable full width content',
'ACP_MEDIA_FULL_WIDTH_EXPLAIN' => 'Enable this to expand most Media Embed content to fill the full width of the post content area while maintaining its native aspect ratio.',
'ACP_MEDIA_MAX_WIDTH' => 'Custom max-width content',
'ACP_MEDIA_MAX_WIDTH_EXPLAIN' => 'Use this field to define custom max-width values for individual sites. This will override the default size and the full width option above. Enter each site on a new line, using the format <samp class="error">siteId:width</samp> with either <samp class="error">px</samp> or <samp class="error">%</samp>. For example:<br><br><samp class="error">youtube:80%</samp><br><samp class="error">funnyordie:480px</samp><br><br><i><strong class="error">Tip:</strong> Hover your mouse over a site on the Manage sites page to reveal the site id name to use here.</i>',
'ACP_MEDIA_PURGE_CACHE' => 'Purge Media Embed cache',
'ACP_MEDIA_PURGE_CACHE_EXPLAIN' => 'Media Embed cache is automatically purged once per day, however this button can be used to manually purge its cache now.',
'ACP_MEDIA_WIDTH_LEGEND' => 'Dimensionamento contenuti',
'ACP_MEDIA_FULL_WIDTH' => 'Abilita contenuti a piena larghezza',
'ACP_MEDIA_FULL_WIDTH_EXPLAIN' => 'Abilitalo per espandere la maggior parte dei contenuti di Media Embed per riempire la piena larghezza dell\'area del contenuto del post mantenendo il suo aspect ratio nativo.',
'ACP_MEDIA_MAX_WIDTH' => 'Massima larghezza personalizzata del contenuto',
'ACP_MEDIA_MAX_WIDTH_EXPLAIN' => 'Usa questo campo per definire valori personalizzati di larghezza massima per i siti individuali. Cio\' sovrascrivera\' le dimensioni predefinite e l\'opzione di piena larghezza soprastante. Inserisci ogni sito in una nuova riga, usando il formato <samp class="error">Id Sito:larghezza</samp> con o <samp class="error">px</samp> o <samp class="error">%</samp>. Per esempio:<br><br><samp class="error">youtube:80%</samp><br><samp class="error">funnyordie:480px</samp><br><br><i><strong class="error">Consiglio:</strong> tieni il cursore del mouse su di un sito nella pagina Gestisci Siti per rivelare l\'Id Sito da usare qui.</i>',
'ACP_MEDIA_PURGE_CACHE' => 'Vuota la cache del Media Embed',
'ACP_MEDIA_PURGE_CACHE_EXPLAIN' => 'La cache del Media Embed viene automaticamente svuotata una volta al giorno, ad ogni modo questo pulsante puo\' essere usato per vuotarla manualmente in questo momento.',
'ACP_MEDIA_SITE_TITLE' => 'ID sito: %s',
'ACP_MEDIA_SITE_DISABLED' => 'Questo sito è in conflitto con un BBCode esistente: [%s]',
'ACP_MEDIA_ERROR_MSG' => 'The following errors were encountered:<br><br>%s',
'ACP_MEDIA_INVALID_SITE' => '%1$s:%2$s :: “%1$s” is not a valid site id',
'ACP_MEDIA_INVALID_WIDTH' => '%1$s:%2$s :: “%2$s” is not a valid width in “px” or “%%”',
'ACP_MEDIA_ERROR_MSG' => 'Sono stati riscontrati i seguenti errori:<br><br>%s',
'ACP_MEDIA_INVALID_SITE' => '%1$s:%2$s :: “%1$s” non e\' un Id Sito valido',
'ACP_MEDIA_INVALID_WIDTH' => '%1$s:%2$s :: “%2$s” non e\' una larghezza valida in “px” o “%%”',

// Manage sites
'ACP_MEDIA_MANAGE' => 'Gestisci siti Per il PlugIn Media Embed',
'ACP_MEDIA_MANAGE_EXPLAIN' => 'Qui puoi gestire i siti che vuoi consentire al Plugin Media Embed di visualizzare il contenuto.',
'ACP_MEDIA_SITES_ERROR' => 'Non ci sono siti con media da visualizzare.',
'ACP_MEDIA_SITES_MISSING' => 'The following sites are no longer supported or working. Please re-submit this page to remove them.',
'ACP_MEDIA_SITES_MISSING' => 'I seguenti siti non sono piu\' supportati o funzionanti. Si prega di risottomettere questa pagina per rimuoverli.',
]);

0 comments on commit 60d33d4

Please sign in to comment.