672 posts
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+5 more
UBLThemes
says

Just thought I would chime in :D

I have used html within our translation a few times,

Our latest we accidently used:

__("<li>Please enter an e-mail address.</li>","textdomain");

We had this there for about a month until a buyer pointed it out, then we changed it, this was a mistake but it still worked.

The only difference I have is that I have used double quotes which may or may not be making it work.

* EDIT *

Envato please sort our the pre tags, it drives me made that you can not use them correctly within comments and forums :(

I have had to show code with the html name instead of the < etc etc. :(

A simple algorithm sorts this out

26 posts
  • Has been part of the Envato Community for over 1 year
  • Sells items exclusively on Envato Market
  • Has sold $10,000+ on Envato Market
  • Attended one of our Meetups around the world
+1 more
haintheme
says

I got the same problem with theme check plugin.

But I found that it’s not my theme, it’s node_module folder of grunt. When I removed it, theme check worked well. I guess that it’s related to translation string. Hope my solution can help other people.

374 posts WordPress Guy
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 50+ items on Envato Market
  • Located in Australia
+4 more
Japh
says

I got the same problem with theme check plugin. But I found that it’s not my theme, it’s node_module folder of grunt. When I removed it, theme check worked well. I guess that it’s related to translation string. Hope my solution can help other people.

In some ways, it makes the most sense to use Theme Check to test a theme that’s been prepared for release, rather than while it’s still in development. (e.g. the `build` rather than the `src`.)

So you wouldn’t have `node_modules` in `build` anyway.

26 posts
  • Has been part of the Envato Community for over 1 year
  • Sells items exclusively on Envato Market
  • Has sold $10,000+ on Envato Market
  • Attended one of our Meetups around the world
+1 more
haintheme
says


I got the same problem with theme check plugin. But I found that it’s not my theme, it’s node_module folder of grunt. When I removed it, theme check worked well. I guess that it’s related to translation string. Hope my solution can help other people.

In some ways, it makes the most sense to use Theme Check to test a theme that’s been prepared for release, rather than while it’s still in development. (e.g. the `build` rather than the `src`.)

So you wouldn’t have `node_modules` in `build` anyway.
Yes, you’re right. I will create 2 branch, 1 for development, another for production. :)

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by