Skip to content

Commit aeb4fba

Browse files
authored
Merge pull request #30 from iMattPro/fixes
Fix lang string
2 parents 4d700f7 + 5451a0e commit aeb4fba

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

adm/style/consentmanager_acp.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ <h3>{{ lang('WARNING') }}</h3>
4242
<dl>
4343
<dt><span>{{ lang('ACP_CONSENTMANAGER_REGISTRATIONS_EXPLAIN') }}</span></dt>
4444
<dd>
45-
{% set services = S_CONSENTMANAGER_MEDIA ? CONSENTMANAGER_SERVICES|merge([{'category': 'media', 'label': 'iframe bbcodes', 'id': 'phpbb.consentmanager'}]) : CONSENTMANAGER_SERVICES %}
45+
{% set services = S_CONSENTMANAGER_MEDIA ? CONSENTMANAGER_SERVICES|merge([{'category': 'media', 'label': lang('CONSENTMANAGER_IFRAMES'), 'id': 'phpbb.consentmanager'}]) : CONSENTMANAGER_SERVICES %}
4646
{% if services %}
4747
{% for category in [
4848
{ id: 'necessary', label: lang('CONSENTMANAGER_CATEGORY_NECESSARY') },

language/en/acp_consentmanager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
'CONSENTMANAGER_CATEGORY_ANALYTICS' => 'Analytics',
5959
'CONSENTMANAGER_CATEGORY_MARKETING' => 'Marketing',
6060
'CONSENTMANAGER_CATEGORY_MEDIA' => 'Media',
61+
'CONSENTMANAGER_IFRAMES' => 'BBCode iframe embeds',
6162

6263
// Consent logs
6364
'ACP_CONSENTMANAGER_EXPORT_EXPLAIN' => 'Download a CSV file of stored consent log records or permanently delete matching records from the database. All fields are optional; leave them blank to work with the full log.',

0 commit comments

Comments
 (0)