82 lines
3.5 KiB
HTML
82 lines
3.5 KiB
HTML
<% extends 'layout.html' %>
|
||
|
||
<% block content %>
|
||
<div id="segments_container"></div>
|
||
|
||
<script type="text/javascript">
|
||
var mailpoet_listing_per_page = <%= items_per_page %>;
|
||
var mailpoet_beacon_articles = [
|
||
'5d92153a2c7d3a7e9ae1caaa',
|
||
'57f47ca3c697914f21035256',
|
||
'5d4beee42c7d3a330e3c4207',
|
||
];
|
||
var mailpoet_subscribers_limit = <%= subscribers_limit ? subscribers_limit : 'false' %>;
|
||
var mailpoet_subscribers_limit_reached = <%= subscribers_limit_reached ? 'true' : 'false' %>;
|
||
var mailpoet_has_valid_api_key = <%= has_valid_api_key ? 'true' : 'false' %>;
|
||
var mailpoet_subscribers_count = <%= subscriber_count %>;
|
||
</script>
|
||
<% endblock %>
|
||
|
||
<% block translations %>
|
||
<%= localize({
|
||
'pageTitle': __('Lists'),
|
||
'searchLabel': __('Search'),
|
||
'loadingItems': __('Loading lists...'),
|
||
'noItemsFound': __('No lists found'),
|
||
'selectAllLabel': __('All lists on this page are selected.'),
|
||
'selectedAllLabel': __('All %d lists are selected.'),
|
||
'selectAllLink': __('Select all lists on all pages'),
|
||
'clearSelection': __('Clear selection'),
|
||
'permanentlyDeleted': __('%d lists were permanently deleted.'),
|
||
'selectBulkAction': __('Select bulk action'),
|
||
'bulkActions': __('Bulk Actions'),
|
||
'apply': __('Apply'),
|
||
'name': __('Name'),
|
||
'description': __('Description'),
|
||
'segmentUpdated': __('List successfully updated!'),
|
||
'segmentAdded': __('List successfully added!'),
|
||
'segment': __('List'),
|
||
'subscribed': __('Subscribed'),
|
||
'unconfirmed': __('Unconfirmed'),
|
||
'unsubscribed': __('Unsubscribed'),
|
||
'inactive': __('Inactive'),
|
||
'bounced': __('Bounced'),
|
||
'createdOn': __('Created on'),
|
||
'oneSegmentTrashed': __('1 list was moved to the trash. Note that deleting a list does not delete its subscribers.'),
|
||
'multipleSegmentsTrashed': __('%$1d lists were moved to the trash. Note that deleting a list does not delete its subscribers.'),
|
||
'oneSegmentDeleted': __('1 list was permanently deleted. Note that deleting a list does not delete its subscribers.'),
|
||
'multipleSegmentsDeleted': __('%$1d lists were permanently deleted. Note that deleting a list does not delete its subscribers.'),
|
||
'oneSegmentRestored': __('1 list has been restored from the Trash.'),
|
||
'multipleSegmentsRestored': __('%$1d lists have been restored from the Trash.'),
|
||
'duplicate': __('Duplicate'),
|
||
'listDuplicated': __('List "%$1s" has been duplicated.'),
|
||
'update': __('Update'),
|
||
'forceSync': __('Force Sync'),
|
||
'readMore': __('Read More'),
|
||
'listSynchronized': __('List "%$1s" has been synchronized.'),
|
||
'viewSubscribers': __('View Subscribers'),
|
||
'new': __('Add New'),
|
||
'edit': __('Edit'),
|
||
'trash': __('Trash'),
|
||
'moveToTrash': __('Move to trash'),
|
||
'emptyTrash': __('Empty Trash'),
|
||
'selectAll': __('Select All'),
|
||
'restore': __('Restore'),
|
||
'deletePermanently': __('Delete permanently'),
|
||
'save': __('Save'),
|
||
'trashDisallowed': _x('List cannot be deleted because it’s used for %$1s email', 'Alert shown when trying to delete segment, which is assigned to any automatic emails.'),
|
||
|
||
'previousPage': __('Previous page'),
|
||
'firstPage': __('First page'),
|
||
'nextPage': __('Next page'),
|
||
'lastPage': __('Last page'),
|
||
'currentPage': __('Current page'),
|
||
'pageOutOf': __('of'),
|
||
'numberOfItemsSingular': __('1 item'),
|
||
'numberOfItemsMultiple': __('%$1d items'),
|
||
|
||
'segmentDescriptionTip': __('This text box is for your own use and is never shown to your subscribers.'),
|
||
'backToList': __('Back')
|
||
}) %>
|
||
<% endblock %>
|