1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-10-12 15:34:31 +02:00

Merge pull request #6859 from Crizz0/ticket/17552

[ticket/17552] Remove plural rule structure in extensions.php
This commit is contained in:
Marc Alexander
2025-10-04 14:54:42 +02:00
committed by GitHub
2 changed files with 27 additions and 28 deletions

View File

@@ -99,9 +99,9 @@
<tr>
<td class="row3">
<ol>
{% for step in lang_raw('EXTENSION_INSTALLING_EXPLAIN') %}
<li>{{ step }}</li>
{% endfor %}
<li>{{ EXTENSION_INSTALLING_EXPLAIN_STEP1 }}</li>
<li>{{ EXTENSION_INSTALLING_EXPLAIN_STEP2 }}</li>
<li>{{ EXTENSION_INSTALLING_EXPLAIN_STEP3 }}</li>
</ol>
</td>
</tr>
@@ -111,9 +111,10 @@
<tr>
<td class="row3">
<ol>
{% for step in lang_raw('EXTENSION_UPDATING_EXPLAIN') %}
<li>{{ step }}</li>
{% endfor %}
<li>{{ EXTENSION_UPDATING_EXPLAIN_STEP1 }}</li>
<li>{{ EXTENSION_UPDATING_EXPLAIN_STEP2 }}</li>
<li>{{ EXTENSION_UPDATING_EXPLAIN_STEP3 }}</li>
<li>{{ EXTENSION_UPDATING_EXPLAIN_STEP4 }}</li>
</ol>
</td>
</tr>
@@ -123,9 +124,9 @@
<tr>
<td class="row3">
<ol>
{% for step in lang_raw('EXTENSION_REMOVING_EXPLAIN') %}
<li>{{ step }}</li>
{% endfor %}
<li>{{ EXTENSION_REMOVING_EXPLAIN_STEP1 }}</li>
<li>{{ EXTENSION_REMOVING_EXPLAIN_STEP2 }}</li>
<li>{{ EXTENSION_REMOVING_EXPLAIN_STEP3 }}</li>
</ol>
</td>
</tr>

View File

@@ -90,25 +90,23 @@ $lang = array_merge($lang, array(
'EXTENSION_NAME' => 'Extension Name',
'EXTENSION_ACTIONS' => 'Actions',
'EXTENSION_OPTIONS' => 'Options',
'EXTENSION_INSTALLING_HEADLINE' => 'Installing an extension',
'EXTENSION_INSTALLING_EXPLAIN' => [
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_INSTALLING_EXPLAIN_STEP1' => 'Download an extension from phpBBs extensions database',
'EXTENSION_INSTALLING_EXPLAIN_STEP2' => 'Unzip the extension and upload it to the <samp>ext/</samp> directory of your phpBB board',
'EXTENSION_INSTALLING_EXPLAIN_STEP3' => 'Enable the extension, here in the Extensions manager',
'EXTENSION_REMOVING_HEADLINE' => 'Deleting an extension from your board',
'EXTENSION_REMOVING_EXPLAIN' => [
0 => 'Disable the extension',
1 => 'Delete the extensions data',
2 => 'Delete the extensions files from the filesystem',
],
'EXTENSION_REMOVING_EXPLAIN_STEP1' => 'Disable the extension',
'EXTENSION_REMOVING_EXPLAIN_STEP2' => 'Delete the extensions data',
'EXTENSION_REMOVING_EXPLAIN_STEP3' => 'Delete the extensions files from the filesystem',
'EXTENSION_UPDATING_HEADLINE' => 'Updating an extension',
'EXTENSION_UPDATING_EXPLAIN' => [
0 => 'Disable the extension',
1 => 'Delete the extensions files from the filesystem',
2 => 'Upload the new files',
3 => 'Enable the extension',
],
'EXTENSION_UPDATING_EXPLAIN_STEP1' => 'Disable the extension',
'EXTENSION_UPDATING_EXPLAIN_STEP2' => 'Delete the extensions files from the filesystem',
'EXTENSION_UPDATING_EXPLAIN_STEP3' => 'Upload the new files',
'EXTENSION_UPDATING_EXPLAIN_STEP4' => '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_DISABLE_CONFIRM' => 'Are you sure that you wish to disable the “%s” extension?',