1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-18 23:51:49 +02:00

[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
2 changed files with 19 additions and 20 deletions

View File

@@ -106,9 +106,9 @@
<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>
@@ -118,10 +118,9 @@
<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>
@@ -131,9 +130,9 @@
<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>

View File

@@ -91,22 +91,22 @@ $lang = array_merge($lang, array(
'EXTENSION_OPTIONS' => 'Options',
'EXTENSION_INSTALLING_HEADLINE' => 'Installing an extension',
'EXTENSION_INSTALLING_EXPLAIN' => [
'step_1' => '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',
'step_3' => 'Enable the extension, here in the Extensions manager',
0 => 'Download an extension from phpBBs 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 extensions data',
'step_3' => 'Delete the extensions files from the filesystem',
0 => 'Disable the extension',
1 => 'Delete the extensions data',
2 => 'Delete the extensions files from the filesystem',
],
'EXTENSION_UPDATING_HEADLINE' => 'Updating an extension',
'EXTENSION_UPDATING_EXPLAIN' => [
'step_1' => 'Disable the extension',
'step_2' => 'Delete the extensions files from the filesystem',
'step_3' => 'Upload the new files',
'step_4' => 'Enable the extension',
0 => 'Disable the extension',
1 => 'Delete the extensions 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!',