Commit f634e01e authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Add raw untranslated attribute value in TranslatedString

parent 79f50391
......@@ -111,7 +111,11 @@ func translateAttribute(attr *string) TranslatedString {
if attr == nil {
return nil
return map[string]string{"en": *attr, "nl": *attr}
return map[string]string{
"": *attr, // raw value
"en": *attr,
"nl": *attr,
func (al *AttributeList) decode(i int) *string {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment