Commit e75ef3e5 authored by Philip Makedonski's avatar Philip Makedonski
Browse files

+ translation improvement

parent af47bc7b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -128,7 +128,7 @@ public class TranslationHandler extends AbstractHandler {
				m.put(extension, factory);
				m.put(extension, factory);
				
				
				Resource outputResource = factory.createResource(URI.createURI(r.getURI().toString()+".tdl"));
				Resource outputResource = factory.createResource(URI.createURI(r.getURI().toString()+".tdl"));
			    outputResource.getContents().add(p);
			    outputResource.getContents().addAll(EcoreUtil.copyAll(r.getContents()));
			    Map options = new HashMap<>();
			    Map options = new HashMap<>();
			    options.put(XMIResourceImpl.OPTION_ENCODING, "UTF-8");
			    options.put(XMIResourceImpl.OPTION_ENCODING, "UTF-8");
			    try {
			    try {