@@ -14,6 +14,8 @@
| ```<<"preload">>``` | ```none``` | ```"none"``` |
| ```<<"preload">>``` | ```metadata``` | ```"metadata"``` |
| ```<<"hidden">>``` | ```true``` | ```"hidden"``` |
+| ```<<"translate">>``` | ```true``` | ```"yes"``` |
+| ```<<"translate">>``` | ```false``` | ```"no"``` |
##### 6.6.2-erl19
@@ -72,8 +72,8 @@ render_element(Record) ->
{<<"title">>, Record#calendar.title},
{<<"translate">>,
case Record#calendar.contenteditable of
- "yes" -> "yes";
- "no" -> "no";
+ true -> "yes";
+ false -> "no";
_ -> []
end},
@@ -59,8 +59,8 @@ render_element(Record) ->
{<<"title">>, Record#del.title},
case Record#del.contenteditable of
{<<"title">>, Record#ins.title},
case Record#ins.contenteditable of
{<<"title">>, Record#area.title},
case Record#area.contenteditable of
{<<"title">>, Record#audio.title},
case Record#audio.contenteditable of
{<<"title">>, Record#canvas.title},
case Record#canvas.contenteditable of
{<<"title">>, Record#embed.title},
case Record#embed.contenteditable of
{<<"title">>, Record#iframe.title},
case Record#iframe.contenteditable of
{<<"title">>, Record#map.title},
case Record#map.contenteditable of
{<<"title">>, Record#object.title},
case Record#object.contenteditable of
{<<"title">>, Record#param.title},
case Record#param.contenteditable of
{<<"title">>, Record#source.title},
case Record#source.contenteditable of
{<<"title">>, Record#track.title},
case Record#track.contenteditable of
{<<"title">>, Record#video.title},
case Record#video.contenteditable of
{<<"title">>, Record#fieldset.title},
case Record#fieldset.contenteditable of
@@ -73,8 +73,8 @@ render_element(Record) ->
{<<"title">>, Record#form.title},
case Record#form.contenteditable of
{<<"title">>, Record#keygen.title},
case Record#keygen.contenteditable of
@@ -57,8 +57,8 @@ render_element(Record) ->
{<<"title">>, Record#meter.title},
case Record#meter.contenteditable of
{<<"title">>, Record#output.title},
case Record#output.contenteditable of
{<<"title">>, Record#progress.title},
case Record#progress.contenteditable of
{<<"title">>, Record#textarea.title},
case Record#textarea.contenteditable of
{<<"title">>, Record#html.title},
case Record#html.contenteditable of
{<<"title">>, Record#script.title},
case Record#script.contenteditable of
@@ -71,8 +71,8 @@ render_element(Record) ->
{<<"title">>, Record#checkbox.title},
case Record#checkbox.contenteditable of
{<<"title">>, Record#color.title},
case Record#color.contenteditable of
{<<"title">>, Record#date.title},
case Record#date.contenteditable of
{<<"title">>, Record#datetime.title},
case Record#datetime.contenteditable of
{<<"title">>, Record#datetime_local.title},
case Record#datetime_local.contenteditable of
{<<"title">>, Record#email.title},
case Record#email.contenteditable of
{<<"title">>, Record#file.title},
case Record#file.contenteditable of
{<<"title">>, Record#hidden.title},
case Record#hidden.contenteditable of
{<<"title">>, Record#input.title},
case Record#input.contenteditable of
{<<"title">>, Record#input_button.title},
case Record#input_button.contenteditable of
{<<"title">>, Record#input_image.title},
case Record#input_image.contenteditable of
{<<"title">>, Record#input_time.title},
case Record#input_time.contenteditable of
{<<"title">>, Record#link.title},
case Record#link.contenteditable of
{<<"title">>, Record#month.title},
case Record#month.contenteditable of
{<<"title">>, Record#number.title},
case Record#number.contenteditable of
{<<"title">>, Record#password.title},
case Record#password.contenteditable of
{<<"title">>, Record#range.title},
case Record#range.contenteditable of
{<<"title">>, Record#reset.title},
case Record#reset.contenteditable of
{<<"title">>, Record#search.title},
case Record#search.contenteditable of
{<<"title">>, Record#tel.title},
case Record#tel.contenteditable of
{<<"title">>, Record#time.title},
case Record#time.contenteditable of
{<<"title">>, Record#url.title},
case Record#url.contenteditable of
{<<"title">>, Record#week.title},
case Record#week.contenteditable of
{<<"title">>, Record#command.title},
case Record#command.contenteditable of
{<<"title">>, Record#details.title},
case Record#details.contenteditable of
{<<"title">>, Record#menu.title},
case Record#menu.contenteditable of
{<<"title">>, Record#summary.title},
case Record#summary.contenteditable of
end} | Record#summary.data_fields
],
{<<"title">>, Record#meta.title},
case Record#meta.contenteditable of
{<<"title">>, Record#base.title},
case Record#base.contenteditable of
{<<"title">>, Record#meta_link.title},
case Record#meta_link.contenteditable of
{<<"title">>, Record#style.title},
case Record#style.contenteditable of
{<<"title">>, Record#col.title},
case Record#col.contenteditable of
{<<"title">>, Record#colgroup.title},
case Record#colgroup.contenteditable of
{<<"title">>, Record#q.title},
case Record#q.contenteditable of