[ticket/17335] Use lang_raw

PHPBB-17335

Signed-off-by: Matt Friedman <maf675@gmail.com>
This commit is contained in:
Matt Friedman 2024-06-14 14:43:40 -07:00
parent 48cc96b489
commit 444137531f
No known key found for this signature in database
2 changed files with 19 additions and 20 deletions

View file

@ -106,9 +106,9 @@
<tr> <tr>
<td class="row3"> <td class="row3">
<ol> <ol>
<li>{{ lang(['EXTENSION_INSTALLING_EXPLAIN', 'step_1']) }}</li> {% for step in lang_raw('EXTENSION_INSTALLING_EXPLAIN') %}
<li>{{ lang(['EXTENSION_INSTALLING_EXPLAIN', 'step_2']) }}</li> <li>{{ step }}</li>
<li>{{ lang(['EXTENSION_INSTALLING_EXPLAIN', 'step_3']) }}</li> {% endfor %}
</ol> </ol>
</td> </td>
</tr> </tr>
@ -118,10 +118,9 @@
<tr> <tr>
<td class="row3"> <td class="row3">
<ol> <ol>
<li>{{ lang(['EXTENSION_UPDATING_EXPLAIN', 'step_1']) }}</li> {% for step in lang_raw('EXTENSION_UPDATING_EXPLAIN') %}
<li>{{ lang(['EXTENSION_UPDATING_EXPLAIN', 'step_2']) }}</li> <li>{{ step }}</li>
<li>{{ lang(['EXTENSION_UPDATING_EXPLAIN', 'step_3']) }}</li> {% endfor %}
<li>{{ lang(['EXTENSION_UPDATING_EXPLAIN', 'step_4']) }}</li>
</ol> </ol>
</td> </td>
</tr> </tr>
@ -131,9 +130,9 @@
<tr> <tr>
<td class="row3"> <td class="row3">
<ol> <ol>
<li>{{ lang(['EXTENSION_REMOVING_EXPLAIN', 'step_1']) }}</li> {% for step in lang_raw('EXTENSION_REMOVING_EXPLAIN') %}
<li>{{ lang(['EXTENSION_REMOVING_EXPLAIN', 'step_2']) }}</li> <li>{{ step }}</li>
<li>{{ lang(['EXTENSION_REMOVING_EXPLAIN', 'step_3']) }}</li> {% endfor %}
</ol> </ol>
</td> </td>
</tr> </tr>

View file

@ -91,22 +91,22 @@ $lang = array_merge($lang, array(
'EXTENSION_OPTIONS' => 'Options', 'EXTENSION_OPTIONS' => 'Options',
'EXTENSION_INSTALLING_HEADLINE' => 'Installing an extension', 'EXTENSION_INSTALLING_HEADLINE' => 'Installing an extension',
'EXTENSION_INSTALLING_EXPLAIN' => [ 'EXTENSION_INSTALLING_EXPLAIN' => [
'step_1' => 'Download an extension from phpBBs extensions database', 0 => 'Download an extension from phpBBs extensions database',
'step_2' => 'Unzip the extension and upload it to the <samp>ext/</samp> directory of your phpBB board', 1 => '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', 2 => 'Enable the extension, here in the Extensions manager',
], ],
'EXTENSION_REMOVING_HEADLINE' => 'Deleting an extension from your board', 'EXTENSION_REMOVING_HEADLINE' => 'Deleting an extension from your board',
'EXTENSION_REMOVING_EXPLAIN' => [ 'EXTENSION_REMOVING_EXPLAIN' => [
'step_1' => 'Disable the extension', 0 => 'Disable the extension',
'step_2' => 'Delete the extensions data', 1 => 'Delete the extensions data',
'step_3' => 'Delete the extensions files from the filesystem', 2 => 'Delete the extensions files from the filesystem',
], ],
'EXTENSION_UPDATING_HEADLINE' => 'Updating an extension', 'EXTENSION_UPDATING_HEADLINE' => 'Updating an extension',
'EXTENSION_UPDATING_EXPLAIN' => [ 'EXTENSION_UPDATING_EXPLAIN' => [
'step_1' => 'Disable the extension', 0 => 'Disable the extension',
'step_2' => 'Delete the extensions files from the filesystem', 1 => 'Delete the extensions files from the filesystem',
'step_3' => 'Upload the new files', 2 => 'Upload the new files',
'step_4' => 'Enable the extension', 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!', '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!',