Comments (3)
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.
I ran the command:
wp po merge fr-ca fr 5.1 --diff-only
... and got the following result:
Here is the current status of that project:
Shouldn't the "Administration" sub project return these 68 strings as they are not approved ?
from po-merger.
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)
- Good parameters return errors HOT 1
- Support WordPress sub project translations HOT 1
- Support translation URL
- Run the package without a WordPress installation HOT 1
- Function has_only_header is flawed HOT 1
- Manage different translation URL format HOT 3
- Fix tests and add missing ones
- Wrong stat number for "Copied from copy locale" HOT 2
- Enhancement: add stat for empty strings left HOT 1
- Enhancements for managing dictionary catalog HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from po-merger.