Use a unique text-domain, wporg-5ftf (#110)

* Use a unique text-domain, wporg-5ftf

* Fix plugin i18n strings

* Remove unwanted text-domains from WPCS checks and fix missed old text-domains

* Remove type=array from phpcs

* Re-add type=array

* Small WPCS fix

* WPCS: replace  var with
This commit is contained in:
Jb Audras 2019-11-23 19:24:37 +01:00 committed by Kelly Dwan
parent aec40e6c7e
commit 0754ae0b28
17 changed files with 108 additions and 108 deletions

View file

@ -10,7 +10,7 @@ use function WordPressDotOrg\FiveForTheFuture\get_views_path;
<script type="text/template" id="tmpl-5ftf-contributor-lists">
<# if ( data.publish.length ) { #>
<h3 class="contributor-list-heading"><?php esc_html_e( 'Confirmed', 'wporg' ); ?></h3>
<h3 class="contributor-list-heading"><?php esc_html_e( 'Confirmed', 'wporg-5ftf' ); ?></h3>
<table class="contributor-list publish striped widefat">
<thead>
<th scope="col"><?php esc_html_e( 'Contributor', 'wporg-5ftf' ); ?></th>
@ -21,7 +21,7 @@ use function WordPressDotOrg\FiveForTheFuture\get_views_path;
</table>
<# } #>
<# if ( data.pending.length ) { #>
<h3 class="contributor-list-heading"><?php esc_html_e( 'Unconfirmed', 'wporg' ); ?></h3>
<h3 class="contributor-list-heading"><?php esc_html_e( 'Unconfirmed', 'wporg-5ftf' ); ?></h3>
<table class="contributor-list pending striped widefat">
<thead>
<tr>
@ -84,7 +84,7 @@ use function WordPressDotOrg\FiveForTheFuture\get_views_path;
);
?>
<?php else : ?>
<p><?php esc_html_e( 'There are no contributors added to this pledge yet.', 'wporg' ); ?></p>
<p><?php esc_html_e( 'There are no contributors added to this pledge yet.', 'wporg-5ftf' ); ?></p>
<?php endif; ?>
</div>
@ -99,6 +99,6 @@ use function WordPressDotOrg\FiveForTheFuture\get_views_path;
class="button-primary"
data-action="add-contributor"
>
<?php esc_html_e( 'Add new contributors', 'wporg' ); ?>
<?php esc_html_e( 'Add new contributors', 'wporg-5ftf' ); ?>
</button>
</div>