Fix typo when rejecting Promise in getPage
Merge pull request #4771 from Snuffleupagus/api-promise-reject-fix

Fix typo when rejecting Promise in getPage
Synchronize l10n