Revision b2808f0f
Added by Katja Luther almost 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/name/container/MisapplicationContainer.java | ||
---|---|---|
76 | 76 |
return; |
77 | 77 |
} |
78 | 78 |
String title = ""; |
79 |
String author = ""; |
|
79 | 80 |
if (getMisappliedName().getName().getAuthorshipCache() != null && getMisappliedName().getAppendedPhrase() == null){ |
80 |
title += "non " + getMisappliedName().getName().getAuthorshipCache();
|
|
81 |
author = ", non " + getMisappliedName().getName().getAuthorshipCache();
|
|
81 | 82 |
} |
82 | 83 |
if (misapplication.getCitation() == null) { |
83 | 84 |
if (getMisappliedName().getAppendedPhrase() != null ){ |
84 |
setNonEditableInfo(getMisappliedName().getAppendedPhrase(), false);
|
|
85 |
title = getMisappliedName().getAppendedPhrase();
|
|
85 | 86 |
}else{ |
86 |
setNonEditableInfo("auct.", false); //$NON-NLS-1$
|
|
87 |
title = "auct."; //$NON-NLS-1$
|
|
87 | 88 |
} |
88 | 89 |
} else { |
89 | 90 |
String sec = " sensu "; //$NON-NLS-1$ |
... | ... | |
91 | 92 |
sec = getMisappliedName().getAppendedPhrase() + " "+sec; //$NON-NLS-1$ |
92 | 93 |
} |
93 | 94 |
title += sec + misapplication.getCitation().getTitleCache(); |
95 |
title += author; |
|
94 | 96 |
title = title.replace("&", "&&"); //$NON-NLS-1$ //$NON-NLS-2$ |
95 | 97 |
|
96 | 98 |
|
Also available in: Unified diff
ref #6390: minor changes