Wordpress/tests/qunit/fixtures/updates.js
Dominik Schilling 8756f2912f Import: Enhance accessibility on the Import screen.
* Remove title attributes.
* Show "Install Now" and "Details" links if the importer isn't installed yet.
* Show a "Run Importer" link if the importer is installed. It also handles activation if the plugin isn't activated.
* Add `aria-label` attributes to each link.
* Unify the importer descriptions to make them independent from the plugin state. The API was changed in [meta3690].
* Adjust JavaScript callbacks for ajaxified importer installs.

Props afercia, swissspidy, ocean90.
See #24766.
Fixes #35191.

git-svn-id: https://develop.svn.wordpress.org/trunk@38075 602fd350-edb4-49c9-b593-d223f7449a82
2016-07-17 15:31:29 +00:00

56 lines
2.3 KiB
JavaScript

window._wpUpdatesSettings = {
'ajax_nonce': '719b10f05d',
'l10n': {
'searchResults': 'Search results for “%s”',
'noPlugins': 'You do not appear to have any plugins available at this time.',
'noItemsSelected': 'Please select at least one item to perform this action on.',
'updating': 'Updating...',
'updated': 'Updated!',
'update': 'Update',
'updateNow': 'Update Now',
'updateFailedShort': 'Update Failed!',
'updateFailed': 'Update Failed: %s',
'updatingLabel': 'Updating %s...',
'updatedLabel': '%s updated!',
'updateFailedLabel': '%s update failed',
'updatingMsg': 'Updating... please wait.',
'updatedMsg': 'Update completed successfully.',
'updateCancel': 'Update canceled.',
'beforeunload': 'Updates may not complete if you navigate away from this page.',
'installNow': 'Install Now',
'installing': 'Installing...',
'installed': 'Installed!',
'installFailedShort': 'Install Failed!',
'installFailed': 'Installation failed: %s',
'pluginInstallingLabel': 'Installing %s...', // No ellipsis
'themeInstallingLabel': 'Installing %s...', // No ellipsis
'pluginInstalledLabel': '%s installed!',
'themeInstalledLabel': '%s installed!',
'pluginInstallFailedLabel': '%s installation failed',
'themeInstallFailedLabel': '%s installation failed',
'installingMsg': 'Installing... please wait.',
'installedMsg': 'Installation completed successfully.',
'importerInstalledMsg': 'Importer installed successfully. <a href="%s">Run importer</a>',
'aysDelete': 'Are you sure you want to delete %s?',
'aysDeleteUninstall': 'Are you sure you want to delete %s and its data?',
'aysBulkDelete': 'Are you sure you want to delete the selected plugins and their data?',
'aysBulkDeleteThemes': 'Caution: These themes may be active on other sites in the network. Are you sure you want to proceed?',
'deleting': 'Deleting...',
'deleteFailed': 'Deletion failed: %s',
'deleted': 'Deleted!',
'livePreview': 'Live Preview',
'activatePlugin': 'Activate',
'activateTheme': 'Activate',
'activatePluginLabel': 'Activate %s',
'activateThemeLabel': 'Activate %s',
'activateImporter': 'Run Importer',
'unknownError': 'An unknown error occurred',
'pluginsFound': 'Number of plugins found: %d',
'noPluginsFound': 'No plugins found. Try a different search.'
}
};
window._wpUpdatesItemCounts = {
plugins: {},
totals: {}
};