Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
rhbz1215274 - add info to indicate the stats is message based
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Huang committed May 27, 2015
1 parent 2f0ab59 commit a0cd169
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Expand Up @@ -126,15 +126,15 @@ public static void logOptions(Logger logger, PullOptions opts) {
logger.info("Pulling target documents (translations) only");
logger.info("Target-language base directory (translations): {}",
opts.getTransDir());
logger.info("Minimum accepted translation percentage: {}%",
logger.info("Minimum accepted translation percentage (message based): {}%",
opts.getMinDocPercent());
} else {
logger.info("Pulling source and target (translation) documents");
logger.info("Source-language directory (originals): {}",
opts.getSrcDir());
logger.info("Target-language base directory (translations): {}",
opts.getTransDir());
logger.info("Minimum accepted translation percentage: {}%",
logger.info("Minimum accepted translation percentage (message based): {}%",
opts.getMinDocPercent());
}
}
Expand Down
Expand Up @@ -173,7 +173,7 @@ public int getMinDocPercent() {
}

@Option(name = "--min-doc-percent", metaVar = "PERCENT",
usage = "Accepts integer from 0 to 100. Only pull translation documents which are at least PERCENT % completed.\n" +
usage = "Accepts integer from 0 to 100. Only pull translation documents which are at least PERCENT % (message based) completed.\n" +
"Please note specifying this option may cause longer time to pull for a large project")
public void setMinDocPercent(int minDocPercent) {
Preconditions
Expand Down
Expand Up @@ -110,8 +110,8 @@ public abstract class AbstractPullMojo extends

/**
* Accepts integer from 0 to 100. Only pull translation documents which are
* at least PERCENT % completed. Please note specifying this option may
* cause longer time to pull for a large project.
* at least PERCENT % (message based) completed. Please note specifying this
* option may cause longer time to pull for a large project.
*
* @parameter expression="${zanata.minDocPercent}" default-value="0"
*/
Expand Down

0 comments on commit a0cd169

Please sign in to comment.