Bulk_Theme_Upgrader_Skin::add_strings() WordPress Method
The Bulk_Theme_Upgrader_Skin::add_strings() method allows you to add your own strings to the WordPress Bulk Theme Upgrader. This is useful if you want to provide your own translations for the Bulk Theme Upgrader interface, or if you want to change the text that is displayed in the interface.
Bulk_Theme_Upgrader_Skin::add_strings() #
Source
File: wp-admin/includes/class-bulk-theme-upgrader-skin.php
public function add_strings() { parent::add_strings(); /* translators: 1: Theme name, 2: Number of the theme, 3: Total number of themes being updated. */ $this->upgrader->strings['skin_before_update_header'] = __( 'Updating Theme %1$s (%2$d/%3$d)' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub