Updated wpsresource.ts and translated wpscore.ts