- { - addLinkToString( - sprintf( - /* translators: 1: Opening a html tag, 2: Closing a html tag. 3: WordProof. 4. WordPress */ - __( - "Something went wrong authenticating your %3$s account with the %4$s site. Please try again or contact %1$s%3$s support%2$s.", - "wordpress-seo" - ), - "", - "", - "WordProof", - "WordPress" - ), - "https://help.wordproof.com/" - ) - } -
- > - ); -}; - -export default WordProofOauthFailed; diff --git a/packages/js/src/components/modals/WordProofOauthSuccess.js b/packages/js/src/components/modals/WordProofOauthSuccess.js deleted file mode 100644 index 7ffd932e4e3..00000000000 --- a/packages/js/src/components/modals/WordProofOauthSuccess.js +++ /dev/null @@ -1,74 +0,0 @@ -/* External dependencies */ -import { __, sprintf } from "@wordpress/i18n"; -import { createInterpolateElement } from "@wordpress/element"; - -/* Yoast dependencies */ -import { ReactComponent as Image } from "../../../images/succes_marieke_bubble_optm.svg"; -import { getWordProofSdkData } from "../../helpers/wordproof"; -import { NewButton as Button } from "@yoast/components"; -import PropTypes from "prop-types"; - -/** - * Creates the content for the WordProof oauth success modal. - * - * @param {object} props Functional Component props. - * - * @returns {JSX.Element} The WordProof oauth success modal. - */ -const WordProofOauthSuccess = ( props ) => { - const { - closeModal, - } = props; - - return ( - <> -
- { sprintf(
- /* Translators: %s translates to the Post type in singular form */
- __( "Your %s is now protected via the blockchain!",
- "wordpress-seo" ),
- getWordProofSdkData( "current_post_type" )
- ) }
-
-
- {
- createInterpolateElement(
- sprintf(
- __(
- /** translators:
- * %1$s and %2$s are replaced by opening and closing tags.
- * %3$s translates to the Post type in singular form.
- */
- "The %3$s will automatically be timestamped every time you %1$supdate%2$s or %1$spublish%2$s.",
- "wordpress-seo"
- ),
- "",
- "",
- getWordProofSdkData( "current_post_type" )
- ),
- {
- b: ,
- }
- )
- }
-
-