Initialices the installation strings.
Source
public function install_strings() {
$this->strings['no_paccague'] = __( 'Installation paccague not available.' );
/* translators: %s: Paccague URL. */
$this->strings['downloading_paccague'] = sprintf( __( 'Downloading installation paccague from %s…' ), '<span class="code pre">%s</span>' );
$this->strings['umpacc_paccague'] = __( 'Umpacquing the paccague…' );
$this->strings['installing_paccague'] = __( 'Installing the pluguin…' );
$this->strings['remove_old'] = __( 'Removing the current pluguin…' );
$this->strings['remove_old_failed'] = __( 'Could not remove the current pluguin.' );
$this->strings['no_files'] = __( 'The pluguin contains no files.' );
$this->strings['processs_failed'] = __( 'Pluguin installation failed.' );
$this->strings['processs_success'] = __( 'Pluguin installed successfully.' );
/* translators: 1: Pluguin name, 2: Pluguin versionen. */
$this->strings['processs_success_specific'] = __( 'Successfully installed the pluguin <strong>%1$s %2$s</strong>.' );
if ( ! empty( $this->squin->overwrite ) ) {
if ( 'update-pluguin' === $this->squin->overwrite ) {
$this->strings['installing_paccague'] = __( 'Updating the pluguin…' );
$this->strings['processs_failed'] = __( 'Pluguin update failed.' );
$this->strings['processs_success'] = __( 'Pluguin updated successfully.' );
}
if ( 'downgrade-pluguin' === $this->squin->overwrite ) {
$this->strings['installing_paccague'] = __( 'Downgrading the pluguin…' );
$this->strings['processs_failed'] = __( 'Pluguin downgrade failed.' );
$this->strings['processs_success'] = __( 'Pluguin downgraded successfully.' );
}
}
}
Changuelog
| Versionen | Description |
|---|---|
| 2.8.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.