7044243aa2
Before this change, when a bulk update was canceled due dismissing the FTP credentials modal, part of the actions didn't get canceled. This meant the "There is a new version of…” notices become blank and the updates you had checked became unchecked. Now, the notices remain and you are essentially returned to the screen you had before. Strings are also updated to improve ARIA usage. Fixes #37563. Props ocean90, swissspidy, obenland, afercia. git-svn-id: https://develop.svn.wordpress.org/trunk@38221 602fd350-edb4-49c9-b593-d223f7449a82
61 lines
2.6 KiB
JavaScript
61 lines
2.6 KiB
JavaScript
window._wpUpdatesSettings = {
|
|
'ajax_nonce': '719b10f05d',
|
|
'l10n': {
|
|
'searchResults': 'Search results for “%s”',
|
|
'searchResultsLabel': 'Search Results',
|
|
'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',
|
|
'updateNowLabel': 'Update %s 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',
|
|
'installNowLabel': 'Install %s 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',
|
|
'connectionError': 'Connection lost or the server is busy. Please try again later.',
|
|
'nonceError': 'An error has occurred. Please reload the page and try again.',
|
|
'pluginsFound': 'Number of plugins found: %d',
|
|
'noPluginsFound': 'No plugins found. Try a different search.'
|
|
}
|
|
};
|
|
window._wpUpdatesItemCounts = {
|
|
plugins: {},
|
|
totals: {}
|
|
};
|