Git Product home page Git Product logo

Comments (3)

maximejobin avatar maximejobin commented on July 29, 2024

As of now (there is no translation to do), the following command creates the problem:

wp po merge fr-ca fr 4.3 --diff-only

It produces this file:

# Translation of WordPress - 4.3.x in French (Canada)
# This file is distributed under the same license as the WordPress - 4.3.x package.
msgid ""
msgstr ""
"PO-Revision-Date: 2019-02-02 18:13:20+0000\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: GlotPress/2.4.0-alpha\n"
"Language: fr_CA\n"
"Project-Id-Version: WordPress - 4.3.x\n"

It should produce no file and simply display a message.

from po-merger.

maximejobin avatar maximejobin commented on July 29, 2024

@PavelZaharciuc

I ran the command:

wp po merge fr-ca fr 5.1 --diff-only

... and got the following result:

image

Here is the current status of that project:

image

Shouldn't the "Administration" sub project return these 68 strings as they are not approved ?

from po-merger.

PavelZaharciuc avatar PavelZaharciuc commented on July 29, 2024

The parameter "--diff-only" applies the filter "untranslated" to the download URL. Since the project doesn't have any untranslated strings, the request returns the PO file containing only the definition header.
Thus, this behavior is normal.

from po-merger.

Related Issues (11)

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.