Giter VIP home page Giter VIP logo

Comments (9)

rasmusbe avatar rasmusbe commented on June 17, 2024 1

Sorry, I have been away for the weekend. It's probably a bug introduced in #17
I will look into it when I have the time.

from wp-pot.

rasmusbe avatar rasmusbe commented on June 17, 2024

This is probably some problem with the npm5 cache since it builds fine in travis.

Please do this steps to try installing again:

  • Remove package-lock.json
  • Remove node_modules directory
  • Flush npm cache npm cache clean --force
  • Install again

from wp-pot.

geminorum avatar geminorum commented on June 17, 2024
  • did the steps and I have the latest version of wp-pot, but still some strings dropped from the final pot file.
  • strange that wp-pot also catches another strings from the same source files.
  • here's a screenshot when I'm trying to update the po file from generated pot by w-pot via gulp:

poedit_2017-06-06_03-05-30

new strings (21) are correct, but obsolete (35) are not.

from wp-pot.

martinsnajdr avatar martinsnajdr commented on June 17, 2024

I have the same problem with the latest version (I'm using gulp wrapper for wp-pot). Suddenly some of the strings are not parsed (but few days ago it was working perfectly)

Here is a snippet of my code (I'm using cmb2 to create metaboxes)

So this is working (string is parsed and added to .pot file):

$custom_metabox = new_cmb2_box( array(
    'title'        => __( 'Some string', 'textdomain' ),
) );

But when I add field to cmb2 like this, the string is not added into .pot file:

$custom_metabox->add_field( array(
    'title'        => __( 'Some string', 'textdomain' ),
) );

I was playing with it a little and it seems that the -> is doing something wrong...

from wp-pot.

martinsnajdr avatar martinsnajdr commented on June 17, 2024

No response?!

from wp-pot.

martinsnajdr avatar martinsnajdr commented on June 17, 2024

@rasmusbe Thank you 👍

from wp-pot.

geminorum avatar geminorum commented on June 17, 2024

effectively, this stopped my work flow! 😅

from wp-pot.

rasmusbe avatar rasmusbe commented on June 17, 2024

Version 1.3.3 contains a fix

from wp-pot.

geminorum avatar geminorum commented on June 17, 2024

thanks a million.

from wp-pot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.