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

Translation ready #131

Merged
merged 11 commits into from
Dec 22, 2021
Merged

Translation ready #131

merged 11 commits into from
Dec 22, 2021

Conversation

cadic
Copy link
Contributor

@cadic cadic commented Dec 20, 2021

Description of the Change

Closes #130
Fixed number of missing/incorrect text-domain strings, added POT file compile to the build process.

Verification Process

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests passed.

Changelog Entry

Added - Auto-create pot file in languages folder during the build process
Fixed - Missing and incorrect text-domain

Credits

Props @cadic

@cadic cadic added this to the 1.3.0 milestone Dec 20, 2021
@cadic cadic requested review from a team and dkotter and removed request for a team December 20, 2021 12:39
@cadic cadic marked this pull request as ready for review December 20, 2021 12:43
@cadic cadic self-assigned this Dec 20, 2021
@@ -400,7 +400,7 @@ function add_podcasting_term_meta_nonce( $term, $taxonomy = false ) {

if ( $taxonomy ) {
$url = get_term_feed_link( $term->term_id, TAXONOMY_NAME );
__( 'Your Podcast Feed:', 'ads-txt' );
__( 'Your Podcast Feed:', 'simple-podcasting' );
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this actually output? Maybe I'm missing something here but I'm not actually seeing an echo statement around this so seems like this won't ever display. If so, this should probably be esc_html_e

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dkotter thank you! This is not related to translations, I created a new issue #133

@cadic cadic requested a review from dkotter December 21, 2021 18:16
dkotter
dkotter previously approved these changes Dec 21, 2021
@cadic
Copy link
Contributor Author

cadic commented Dec 22, 2021

@dkotter one last change to resolve merge conflicts in package.json

@cadic cadic requested a review from dkotter December 22, 2021 09:54
@cadic cadic merged commit 264c05b into develop Dec 22, 2021
@cadic cadic deleted the feature/translation branch December 22, 2021 17:01
@cadic cadic modified the milestones: 1.3.0, 1.2.2 Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make plugin translation-ready
2 participants