mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17335] Move HTML from lang to template
PHPBB-17335 Signed-off-by: Matt Friedman <maf675@gmail.com>
This commit is contained in:
parent
b6c2961568
commit
173e1ceeba
2 changed files with 40 additions and 21 deletions
|
@ -104,19 +104,38 @@
|
|||
<th>{L_EXTENSION_INSTALLING_HEADLINE}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3">{L_EXTENSION_INSTALLING_EXPLAIN}</td>
|
||||
<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>
|
||||
</ol>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{L_EXTENSION_UPDATING_HEADLINE}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3">{L_EXTENSION_UPDATING_EXPLAIN}</td>
|
||||
<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>
|
||||
</ol>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{L_EXTENSION_REMOVING_HEADLINE}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3">{L_EXTENSION_REMOVING_EXPLAIN}</td>
|
||||
<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>
|
||||
</ol>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
|
@ -89,25 +89,25 @@ $lang = array_merge($lang, array(
|
|||
'EXTENSION_NAME' => 'Extension Name',
|
||||
'EXTENSION_ACTIONS' => 'Actions',
|
||||
'EXTENSION_OPTIONS' => 'Options',
|
||||
'EXTENSION_INSTALLING_HEADLINE'=> 'Installing an extension',
|
||||
'EXTENSION_INSTALLING_EXPLAIN' => '<ol>
|
||||
<li>Download an extension from phpBB’s extensions database</li>
|
||||
<li>Unzip the extension and upload it to the <samp>ext/</samp> directory of your phpBB board</li>
|
||||
<li>Enable the extension, here in the Extensions manager</li>
|
||||
</ol>',
|
||||
'EXTENSION_REMOVING_EXPLAIN' => '<ol>
|
||||
<li>Disable the extension</li>
|
||||
<li>Delete the extension’s data</li>
|
||||
<li>Delete the extension’s files from the filesystem</li>
|
||||
</ol>',
|
||||
'EXTENSION_UPDATING_HEADLINE' => 'Updating an extension',
|
||||
'EXTENSION_UPDATING_EXPLAIN' => '<ol>
|
||||
<li>Disable the extension</li>
|
||||
<li>Delete the extension’s files from the filesystem</li>
|
||||
<li>Upload the new files</li>
|
||||
<li>Enable the extension</li>
|
||||
</ol>',
|
||||
'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',
|
||||
],
|
||||
'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',
|
||||
],
|
||||
'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',
|
||||
],
|
||||
|
||||
'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?',
|
||||
|
|
Loading…
Add table
Reference in a new issue