mirror of
https://github.com/wassname/talk.git
synced 2026-07-04 18:15:48 +08:00
renaming
This commit is contained in:
@@ -9,20 +9,20 @@ const pluginName = 'talk-plugin-auth-checkbox';
|
||||
const TermsLink = () => (
|
||||
<a
|
||||
className={styles.link}
|
||||
href={t('talk-plugin-health-report.terms-link')}
|
||||
href={t('talk-plugin-auth-checkbox.terms-link')}
|
||||
target="_blank"
|
||||
>
|
||||
{t('talk-plugin-health-report.terms')}
|
||||
{t('talk-plugin-auth-checkbox.terms')}
|
||||
</a>
|
||||
);
|
||||
|
||||
const PrivacyLink = () => (
|
||||
<a
|
||||
className={styles.link}
|
||||
href={t('talk-plugin-health-report.privacy-policy-link')}
|
||||
href={t('talk-plugin-auth-checkbox.privacy-policy-link')}
|
||||
target="_blank"
|
||||
>
|
||||
{t('talk-plugin-health-report.privacy-policy')}
|
||||
{t('talk-plugin-auth-checkbox.privacy-policy')}
|
||||
</a>
|
||||
);
|
||||
|
||||
@@ -49,12 +49,12 @@ class TermsAndConditionsField extends React.Component {
|
||||
<div
|
||||
className={cn(
|
||||
styles.fieldContainer,
|
||||
'talk-plugin-health-report-field-container'
|
||||
'talk-plugin-auth-checkbox-field-container'
|
||||
)}
|
||||
>
|
||||
<Checkbox
|
||||
checked={this.state.checked}
|
||||
className="talk-plugin-health-report-checkbox"
|
||||
className="talk-plugin-auth-checkbox-checkbox"
|
||||
onChange={this.onChange}
|
||||
id={this.id}
|
||||
/>
|
||||
@@ -62,14 +62,14 @@ class TermsAndConditionsField extends React.Component {
|
||||
id={this.id}
|
||||
className={cn(
|
||||
styles.textLabel,
|
||||
'talk-plugin-health-report-text-label'
|
||||
'talk-plugin-auth-checkbox-text-label'
|
||||
)}
|
||||
>
|
||||
{t('talk-plugin-health-report.copy')}
|
||||
{t('talk-plugin-auth-checkbox.copy')}
|
||||
<TermsLink />
|
||||
{t('talk-plugin-health-report.and')}
|
||||
{t('talk-plugin-auth-checkbox.and')}
|
||||
<PrivacyLink />
|
||||
{t('talk-plugin-health-report.from')}
|
||||
{t('talk-plugin-auth-checkbox.from')}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
en:
|
||||
talk-plugin-health-report:
|
||||
talk-plugin-auth-checkbox:
|
||||
copy: I agree to the Mozilla
|
||||
and: and
|
||||
terms: Terms of Service
|
||||
@@ -8,7 +8,7 @@ en:
|
||||
terms-link: https://www.mozilla.org/en-US/about/legal/terms/mozilla/
|
||||
privacy-policy-link: https://www.mozilla.org/en-US/privacy/websites/
|
||||
es:
|
||||
talk-plugin-health-report:
|
||||
talk-plugin-auth-checkbox:
|
||||
copy: Estoy de acuerdo con
|
||||
and: y
|
||||
terms: los Terminos y Condiciones
|
||||
@@ -17,7 +17,7 @@ es:
|
||||
terms-link: https://www.mozilla.org/es-ES/about/legal/terms/mozilla/
|
||||
privacy-policy-link: https://www.mozilla.org/es-ES/privacy/websites/
|
||||
fr:
|
||||
talk-plugin-health-report:
|
||||
talk-plugin-auth-checkbox:
|
||||
copy: J'accepte
|
||||
and: et
|
||||
terms: les conditions d'utilisation
|
||||
@@ -26,7 +26,7 @@ fr:
|
||||
terms-link: https://www.mozilla.org/fr/about/legal/terms/mozilla/
|
||||
privacy-policy-link: https://www.mozilla.org/fr/privacy/websites/
|
||||
de:
|
||||
talk-plugin-health-report:
|
||||
talk-plugin-auth-checkbox:
|
||||
copy: Ich stimme
|
||||
and: und
|
||||
terms: den Allgemeinen Geschäftsbedingungen
|
||||
|
||||
Reference in New Issue
Block a user