Revision ab85455e
Added by Andreas Kohlbecker over 7 years ago
app-import/src/main/java/eu/etaxonomy/cdm/io/iapt/IAPTExcelImport.java | ||
---|---|---|
879 | 879 |
for(String text : nameAnnotations.keySet()){ |
880 | 880 |
taxonName.addAnnotation(Annotation.NewInstance(text, nameAnnotations.get(text), Language.DEFAULT())); |
881 | 881 |
} |
882 |
getNameService().save(taxonName); |
|
883 | 882 |
} |
883 |
|
|
884 |
taxonName.addSource(OriginalSourceType.Import, regNumber, null, state.getConfig().getSourceReference(), null); |
|
885 |
|
|
886 |
getNameService().save(taxonName); |
|
887 |
|
|
884 | 888 |
return taxonName; |
885 | 889 |
} |
886 | 890 |
|
... | ... | |
1023 | 1027 |
value = StringUtils.replace(value, "c$k", "č"); |
1024 | 1028 |
value = StringUtils.replace(value, " U$K", " Š"); |
1025 | 1029 |
|
1026 |
value = StringUtils.replace(value, "B.O>U>!", "Ø"); |
|
1030 |
value = StringUtils.replace(value, "O>U>!", "Ø"); |
|
1031 |
value = StringUtils.replace(value, "o>!", "ø"); |
|
1027 | 1032 |
value = StringUtils.replace(value, "S$K", "Ŝ"); |
1028 |
value = StringUtils.replace(value, "§B>i", "ğ"); |
|
1033 |
value = StringUtils.replace(value, ">l", "ğ"); |
|
1034 |
|
|
1035 |
value = StringUtils.replace(value, "§B>i", "ł"); |
|
1036 |
|
|
1029 | 1037 |
|
1030 | 1038 |
|
1031 | 1039 |
return value; |
Also available in: Unified diff
ref #6035 adding more character fixed and adding source referenence for all names