Skip to content

Commit

Permalink
[ticket/17335] Use lang_raw
Browse files Browse the repository at this point in the history
PHPBB-17335

Signed-off-by: Matt Friedman <[email protected]>
  • Loading branch information
iMattPro committed Jun 14, 2024
1 parent 48cc96b commit 4441375
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 20 deletions.
19 changes: 9 additions & 10 deletions phpBB/adm/style/acp_ext_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ <h1>{L_EXTENSIONS_ADMIN}</h1>
<tr>
<td class="row3">
<ol>
<li>{{ lang(['EXTENSION_INSTALLING_EXPLAIN', 'step_1']) }}</li>
<li>{{ lang(['EXTENSION_INSTALLING_EXPLAIN', 'step_2']) }}</li>
<li>{{ lang(['EXTENSION_INSTALLING_EXPLAIN', 'step_3']) }}</li>
{% for step in lang_raw('EXTENSION_INSTALLING_EXPLAIN') %}
<li>{{ step }}</li>
{% endfor %}
</ol>
</td>
</tr>
Expand All @@ -118,10 +118,9 @@ <h1>{L_EXTENSIONS_ADMIN}</h1>
<tr>
<td class="row3">
<ol>
<li>{{ lang(['EXTENSION_UPDATING_EXPLAIN', 'step_1']) }}</li>
<li>{{ lang(['EXTENSION_UPDATING_EXPLAIN', 'step_2']) }}</li>
<li>{{ lang(['EXTENSION_UPDATING_EXPLAIN', 'step_3']) }}</li>
<li>{{ lang(['EXTENSION_UPDATING_EXPLAIN', 'step_4']) }}</li>
{% for step in lang_raw('EXTENSION_UPDATING_EXPLAIN') %}
<li>{{ step }}</li>
{% endfor %}
</ol>
</td>
</tr>
Expand All @@ -131,9 +130,9 @@ <h1>{L_EXTENSIONS_ADMIN}</h1>
<tr>
<td class="row3">
<ol>
<li>{{ lang(['EXTENSION_REMOVING_EXPLAIN', 'step_1']) }}</li>
<li>{{ lang(['EXTENSION_REMOVING_EXPLAIN', 'step_2']) }}</li>
<li>{{ lang(['EXTENSION_REMOVING_EXPLAIN', 'step_3']) }}</li>
{% for step in lang_raw('EXTENSION_REMOVING_EXPLAIN') %}
<li>{{ step }}</li>
{% endfor %}
</ol>
</td>
</tr>
Expand Down
20 changes: 10 additions & 10 deletions phpBB/language/en/acp/extensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,22 +91,22 @@
'EXTENSION_OPTIONS' => 'Options',
'EXTENSION_INSTALLING_HEADLINE' => 'Installing an extension',
'EXTENSION_INSTALLING_EXPLAIN' => [
'step_1' => 'Download an extension from phpBB’s extensions database',
'step_2' => 'Unzip the extension and upload it to the <samp>ext/</samp> directory of your phpBB board',
'step_3' => 'Enable the extension, here in the Extensions manager',
0 => 'Download an extension from phpBB’s extensions database',
1 => 'Unzip the extension and upload it to the <samp>ext/</samp> directory of your phpBB board',
2 => 'Enable the extension, here in the Extensions manager',
],
'EXTENSION_REMOVING_HEADLINE' => 'Deleting an extension from your board',
'EXTENSION_REMOVING_EXPLAIN' => [
'step_1' => 'Disable the extension',
'step_2' => 'Delete the extension’s data',
'step_3' => 'Delete the extension‘s files from the filesystem',
0 => 'Disable the extension',
1 => 'Delete the extension’s data',
2 => 'Delete the extension‘s files from the filesystem',
],
'EXTENSION_UPDATING_HEADLINE' => 'Updating an extension',
'EXTENSION_UPDATING_EXPLAIN' => [
'step_1' => 'Disable the extension',
'step_2' => 'Delete the extension’s files from the filesystem',
'step_3' => 'Upload the new files',
'step_4' => 'Enable the extension',
0 => 'Disable the extension',
1 => 'Delete the extension’s files from the filesystem',
2 => 'Upload the new files',
3 => 'Enable the extension',
],

'EXTENSION_DELETE_DATA_CONFIRM' => 'Are you sure that you wish to delete the data associated with “%s”?<br /><br />This removes all of its data and settings and cannot be undone!',
Expand Down

0 comments on commit 4441375

Please sign in to comment.