mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17335] Fix language var issues in the extension manager
PHPBB-17335 Signed-off-by: Matt Friedman <maf675@gmail.com>
This commit is contained in:
parent
44396162ca
commit
b6c2961568
2 changed files with 41 additions and 37 deletions
|
@ -99,25 +99,26 @@
|
|||
</table>
|
||||
|
||||
<table class="table1">
|
||||
<tr>
|
||||
<th>{L_EXTENSION_INSTALL_HEADLINE}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3">{L_EXTENSION_INSTALL_EXPLAIN}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{L_EXTENSION_UPDATE_HEADLINE}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3">{L_EXTENSION_UPDATE_EXPLAIN}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{L_EXTENSION_REMOVE_HEADLINE}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3">{L_EXTENSION_REMOVE_EXPLAIN}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>{L_EXTENSION_INSTALLING_HEADLINE}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3">{L_EXTENSION_INSTALLING_EXPLAIN}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{L_EXTENSION_UPDATING_HEADLINE}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3">{L_EXTENSION_UPDATING_EXPLAIN}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>{L_EXTENSION_REMOVING_HEADLINE}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3">{L_EXTENSION_REMOVING_EXPLAIN}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
||||
|
|
|
@ -36,14 +36,15 @@ if (empty($lang) || !is_array($lang))
|
|||
|
||||
$lang = array_merge($lang, array(
|
||||
|
||||
'EXTENSION_ALREADY_INSTALLED' => 'The “%s” extension has already been installed.',
|
||||
'EXTENSION_ALREADY_INSTALLED_MANUALLY' => 'The “%s” extension has already been installed manually.',
|
||||
'EXTENSION_ALREADY_MANAGED' => 'The “%s” extension is already managed.',
|
||||
'EXTENSION_CANNOT_MANAGE_FILESYSTEM_ERROR' => 'The “%s” extension cannot be managed because the existing files could not be removed from the filesystem.',
|
||||
'EXTENSION_CANNOT_MANAGE_INSTALL_ERROR' => 'The “%s” extension could not be installed. The prior installation of this extension has been restored.',
|
||||
'EXTENSION_MANAGED_WITH_CLEAN_ERROR' => 'The “%1$s” extension has been installed but an error occurred and the old files could not be removed. You might want to delete the “%2$s” files manually.',
|
||||
'EXTENSION_MANAGED_WITH_ENABLE_ERROR' => 'The “%s” extension has been installed but an error occurred while enabling it.',
|
||||
'EXTENSION_NOT_INSTALLED' => 'The “%s” extension is not installed.',
|
||||
'EXTENSIONS_ALREADY_INSTALLED' => 'The “%s” extension has already been installed.',
|
||||
'EXTENSIONS_ALREADY_INSTALLED_MANUALLY' => 'The “%s” extension has already been installed manually.',
|
||||
'EXTENSIONS_ALREADY_MANAGED' => 'The “%s” extension is already managed.',
|
||||
'EXTENSIONS_CANNOT_MANAGE_FILESYSTEM_ERROR' => 'The “%s” extension cannot be managed because the existing files could not be removed from the filesystem.',
|
||||
'EXTENSIONS_CANNOT_MANAGE_INSTALL_ERROR' => 'The “%s” extension could not be installed. The prior installation of this extension has been restored.',
|
||||
'EXTENSIONS_MANAGED_WITH_CLEAN_ERROR' => 'The “%1$s” extension has been installed but an error occurred and the old files could not be removed. You might want to delete the “%2$s” files manually.',
|
||||
'EXTENSIONS_MANAGED_WITH_ENABLE_ERROR' => 'The “%s” extension has been installed but an error occurred while enabling it.',
|
||||
'EXTENSIONS_NOT_INSTALLED' => 'The “%s” extension is not installed.',
|
||||
'EXTENSIONS_NOT_MANAGED' => 'The “%s” extension is not being managed.',
|
||||
|
||||
'ENABLING_EXTENSIONS' => 'Enabling extensions',
|
||||
'DISABLING_EXTENSIONS' => 'Disabling extensions',
|
||||
|
@ -74,6 +75,8 @@ $lang = array_merge($lang, array(
|
|||
'EXTENSION_DELETE_DATA_EXPLAIN' => 'Deleting an extension’s data removes all of its data and settings. The extension files are retained so it can be enabled again.',
|
||||
'EXTENSION_DISABLE_EXPLAIN' => 'Disabling an extension retains its files, data and settings but removes any functionality added by the extension.',
|
||||
'EXTENSION_ENABLE_EXPLAIN' => 'Enabling an extension allows you to use it on your board.',
|
||||
'EXTENSION_REMOVE_EXPLAIN' => 'Removing an extension removes all of its files, data and settings.',
|
||||
'EXTENSION_UPDATE_EXPLAIN' => 'Updating an extension will install the latest version compatible with your board, removing old files and replacing them with new ones, and updating the database if necessary.',
|
||||
|
||||
'EXTENSION_DELETE_DATA_IN_PROGRESS' => 'The extension’s data is currently being deleted. Please do not leave or refresh this page until it is completed.',
|
||||
'EXTENSION_DISABLE_IN_PROGRESS' => 'The extension is currently being disabled. Please do not leave or refresh this page until it is completed.',
|
||||
|
@ -86,25 +89,25 @@ $lang = array_merge($lang, array(
|
|||
'EXTENSION_NAME' => 'Extension Name',
|
||||
'EXTENSION_ACTIONS' => 'Actions',
|
||||
'EXTENSION_OPTIONS' => 'Options',
|
||||
'EXTENSION_INSTALL_HEADLINE'=> 'Installing an extension',
|
||||
'EXTENSION_INSTALL_EXPLAIN' => '<ol>
|
||||
'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_UPDATE_HEADLINE' => 'Updating an extension',
|
||||
'EXTENSION_UPDATE_EXPLAIN' => '<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_REMOVE_HEADLINE' => 'Completely removing an extension from your board',
|
||||
'EXTENSION_REMOVE_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_REMOVING_HEADLINE' => 'Deleting an extension from your board',
|
||||
|
||||
'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