wordproof-translations.php
2.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?php
namespace Yoast\WP\SEO\Config;
use YoastSEO_Vendor\WordProof\SDK\Translations\TranslationsInterface;
/**
* Class WordProof_Translations
*
* @package Yoast\WP\SEO\Config
*/
class Wordproof_Translations implements TranslationsInterface {
/**
* Returns no balance notice translation.
*
* @return string The translation.
*/
public function getNoBalanceNotice() {
/* translators: %s expands to WordProof. */
return \sprintf( \__( 'You are out of timestamps. Please upgrade your account by opening the %s settings.', 'wordpress-seo' ), 'WordProof' );
}
/**
* Returns no balance notice translation.
*
* @return string The translation.
*/
public function getTimestampSuccessNotice() {
/* translators: %s expands to WordProof. */
return \sprintf( \__( '%s has successfully timestamped this page.', 'wordpress-seo' ), 'WordProof' );
}
/**
* Returns timestamp failed notice translation.
*
* @return string The translation.
*/
public function getTimestampFailedNotice() {
/* translators: %s expands to WordProof. */
return \sprintf( \__( '%1$s failed to timestamp this page. Please check if you\'re correctly authenticated with %1$s and try to save this page again.', 'wordpress-seo' ), 'WordProof' );
}
/**
* Returns webhook failed notice translation.
*
* @return string The translation.
*/
public function getWebhookFailedNotice() {
/* translators: %s expands to WordProof. */
return \sprintf( \__( 'The timestamp is not retrieved by your site. Please try again or contact %1$s support.', 'wordpress-seo' ), 'WordProof' );
}
/**
* Returns no authentication notice translation.
*
* @return string The translation.
*/
public function getNotAuthenticatedNotice() {
/* translators: %s expands to WordProof. */
return \sprintf( \__( 'The timestamp is not created because you need to authenticate with %s first.', 'wordpress-seo' ), 'WordProof' );
}
/**
* Returns authenticate button text.
*
* @return string The translation.
*/
public function getOpenAuthenticationButtonText() {
return \__( 'Open authentication', 'wordpress-seo' );
}
/**
* Returns open settings button translation.
*
* @return string The translation.
*/
public function getOpenSettingsButtonText() {
return \__( 'Open settings', 'wordpress-seo' );
}
/**
* Returns get contact WordProof Support button translation.
*
* @return string The translation.
*/
public function getContactWordProofSupportButtonText() {
return \__( 'Contact WordProof support', 'wordpress-seo' );
}
}