Linie: | Der Knoten wird nur unterstrichen, |
Blase: | Der Knoten wird von einem geschwungenen Rechteck umfa\u00dft, |
Wie Vater: | Der Stil wird vom Vater (oder vom Wurzelknotenstil f\u00fcr den Wurzelknoten) \u00fcbernommen, |
Kombiniert: | Gefaltete Knoten erhalten den Blasenstil, ungefaltete den Linienstil. |
fork: | without surrounding box, |
bubble: | node with a surrounding rectangle, |
As parent: | take the style from the parent node or the default root node style for the root node, |
Combined: | Bubble when node is folded, fork otherwise. |
fork\: | \u0431\u0435\u0437 \u043e\u043a\u0440\u0443\u0436\u0430\u044e\u0449\u0435\u0439 \u0440\u0430\u043c\u043a\u0438, |
bubble\: | \u0443\u0437\u0435\u043b \u0441 \u043e\u0431\u0440\u0430\u043c\u043b\u044f\u044e\u044e\u0449\u0435\u0439 \u0440\u0430\u043c\u043a\u043e\u0439, |
As parent\: | \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0442\u0438\u043b\u044c \u0443\u0437\u043b\u0430-\u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044f \u0438\u043b\u0438 \u043f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0441\u0442\u0438\u043b\u044c \u043a\u043e\u0440\u043d\u0435\u0432\u043e\u0433\u043e \u0443\u0437\u043b\u0430, |
Combined\: | \u041f\u0443\u0437\u044b\u0440\u044c \u043a\u043e\u0433\u0434\u0430 \u0443\u0437\u0435\u043b \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442, \u0438\u043d\u0430\u0447\u0435 - \u0431\u0435\u0437 \u0440\u0430\u043c\u043a\u0438. |
Message | Action | Description |
---|---|---|
<file>: no key/val: <line> | drop line | broken line with an empty key or without an '=' sign |
<file>: drop duplicate: <line> | drop line | two completely identical lines |
<file>: drop: <line> | drop line | *this translation is dropped since a better one was found * (quality: [translate me] -> [auto] -> manually translated) * | *
<file>: drop one of two of equal quality (revisit!):keep: <line> | keep line | *for one key two manual translations were found. This one (arbitrarily chosen) will be kept. * Printout of the complete line allows to correct an action of FormatTranslation via Copy and Past * if it chose the wrong tranlation. * | *
<file>: drop one of two of equal quality (revisit!):drop: <line> | drop line | *accompanies the :keep: line: This is the line that is dropped. * | *
writeIfUnchanged
* to "true" to enforce file creation. */
public void setWriteIfUnchanged(boolean writeIfUnchanged) {
this.writeIfUnchanged = writeIfUnchanged;
}
public void setDir(String inputDir) {
setDir(new File(inputDir));
}
public void setDir(File inputDir) {
this.inputDir = inputDir;
}
public void setIncludes(String pattern) {
includePatterns.add(Pattern.compile(TaskUtils.wildcardToRegex(pattern)));
}
public void setExcludes(String pattern) {
excludePatterns.add(Pattern.compile(TaskUtils.wildcardToRegex(pattern)));
}
/** parameter is set in the build file via the attribute "outputDir" */
public void setOutputDir(String outputDir) {
setOutputDir(new File(outputDir));
}
/** parameter is set in the build file via the attribute "outputDir" */
public void setOutputDir(File outputDir) {
this.outputDir = outputDir;
}
/** parameter is set in the build file via the attribute "eolStyle" */
public void setEolStyle(String eolStyle) {
if (eolStyle.toLowerCase().startsWith("unix"))
lineSeparator = "\n";
else if (eolStyle.toLowerCase().startsWith("win"))
lineSeparator = "\r\n";
else if (eolStyle.toLowerCase().startsWith("mac"))
lineSeparator = "\r";
else
throw new BuildException("unknown eolStyle, known: unix|win|mac");
}
}
freeplane-1.2.23+dfsg.orig/freeplane_ant/src/org/freeplane/ant/TaskUtils.java 0000644 0000000 0000000 00000015135 12123405512 025606 0 ustar root root /**
* TaskUtils.java
*
* Copyright (C) 2010, Volker Boerchers
*
* Translator.java is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Translator.java is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
package org.freeplane.ant;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileFilter;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.util.ArrayList;
import java.util.Vector;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.apache.tools.ant.DefaultLogger;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.input.InputHandler;
import org.apache.tools.ant.input.InputRequest;
import org.apache.tools.ant.input.MultipleChoiceInputRequest;
import org.apache.tools.ant.util.StringUtils;
public class TaskUtils {
static class IncludeFileFilter implements FileFilter {
private ArrayListlineSep
. */
/*package*/static boolean checkEolStyleAndReadLines(String input, ArrayList