fix language extension
This commit is contained in:
parent
7ef2409bac
commit
2dc71f33ff
|
@ -577,7 +577,7 @@ public class ToolingExtensions {
|
|||
return;
|
||||
|
||||
Extension extension = new Extension().setUrl(EXT_TRANSLATION);
|
||||
extension.addExtension().setUrl("lang").setValue(new StringType(lang));
|
||||
extension.addExtension().setUrl("lang").setValue(new CodeType(lang));
|
||||
extension.addExtension().setUrl("content").setValue(new StringType(value));
|
||||
element.getExtension().add(extension);
|
||||
}
|
||||
|
|
|
@ -577,7 +577,7 @@ public class ToolingExtensions {
|
|||
return;
|
||||
|
||||
Extension extension = new Extension().setUrl(EXT_TRANSLATION);
|
||||
extension.addExtension().setUrl("lang").setValue(new StringType(lang));
|
||||
extension.addExtension().setUrl("lang").setValue(new CodeType(lang));
|
||||
extension.addExtension().setUrl("content").setValue(new StringType(value));
|
||||
element.getExtension().add(extension);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue