Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscribers Page: Add strings for translation #77807

Closed
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions client/my-sites/subscribers/strings-for-translation.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
/* eslint-disable no-unused-vars */

// This is a temporary file that introduces strings that need to be translated.
// It will be removed once the page is complete and the strings are translated.

import { translate } from 'i18n-calypso';

// username is needed for some of the strings below
const username = 'username_placeholder';

const subscribers = translate( 'Subscribers' );
const downloadCSV = translate( 'Download CSV' );
const addSubscribers = translate( 'Add Subscribers' );

const search = translate( 'Search by name, username or email…' );

const name = translate( 'Name' );
const status = translate( 'Status' );
const active = translate( 'Active' );
const inactive = translate( 'Inactive' );
const openRate = translate( 'Open rate' );
const since = translate( 'Since' );
const view = translate( 'View' );
const passwordReset = translate( 'Send password reset' );
ivan-ottinger marked this conversation as resolved.
Show resolved Hide resolved
const remove = translate( 'Remove' );
ivan-ottinger marked this conversation as resolved.
Show resolved Hide resolved
const manage = translate( 'Manage' );

const previous = translate( 'Previous' );
const next = translate( 'Next' );

// "Grow your subscribers" section and page
const growYourSubscribers = translate( 'Grow your subscribers' );

const turnVisitorsTitle = translate( 'Turn your visitors into subscribers' );
const turnVisitorsBody = translate( 'Use a /subscriber block to easily grow your subscribers.' );

const importExistingTitle = translate( 'Import existing subscribers' );
const importExistingBody = translate(
'Import your contacts by importing them via Gmail or a CSV file.'
);

const growYourAudienceTitle = translate( 'Grow your audience' );
const growYourAudienceBody = translate(
'Do you want to get more traffic and views to your blog? If so, you’re in the right place.'
);

const learnMore = translate( 'Learn more' );

// "Grow your subscribers" page (some of the strings are already covered above)
const details = translate( 'Details' );
const publishingSharing = translate(
'Publishing & sharing content can help bring traffic to your site. Let’s help you get started.'
);

// Subscription details page
const emailsReceived = translate( 'Emails received' );
const clickRate = translate( 'Click rate' );
const subscriptionDetails = translate( 'Subscription details' );
const tier = translate( 'Tier' );
const subscriberInformation = translate( 'Subscriber information' );
const source = translate( 'Source' );
const unsubscribe = translate( 'Unsubscribe' );
const unubscribeUsername = translate( 'Unsubscribe %s', {
args: [ username ],
comment: "%s is the subscriber's username",
} );

// Confirmation dialogs
const removeFreeSubscriberConfirmation = translate(
'Are you sure you want to remove %s from your subscribers? They will no longer receive emails from you.',
{ args: [ username ], comment: "%s is the subscriber's username" }
);
const removePaidSubscriberConfirmation = translate(
'Are you sure you want to remove %s from your subscribers? They will no longer receive emails from you. You will not be able to add them back as a paid subscriber.',
{ args: [ username ], comment: "%s is the subscriber's username" }
);
Comment on lines +92 to +100
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What would you say about these @yansern? 🙂 (I am pinging you here, since we were chatting about these confirmation dialogs earlier a bit)