Skip to content

Commit

Permalink
Tradução XML
Browse files Browse the repository at this point in the history
  • Loading branch information
Lívia Gouvêa committed Feb 7, 2023
1 parent 35d7c76 commit 9321ea3
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions js/lens.js
Original file line number Diff line number Diff line change
Expand Up @@ -5170,16 +5170,17 @@
s,
function(e) {
var s = e.querySelector("label"),
language = document.getElementsByTagName('html')[0].getAttribute('xml:lang'),
a = {
type: "heading",
id: t.nextId("heading"),
level: 3,
content: s
? this.capitalized(
s.textContent.toLowerCase(),
"all"
)
: "Contributors",
content:
language == "pt-BR"
? "Colaboradores"
: language == "es-ES"
? "Colaboradores"
: "Summary",
};
i.create(a), n.push(a.id);
var c = this.bodyNodes(t, o.dom.getChildren(e), {
Expand All @@ -5199,13 +5200,19 @@
r = t.doc,
c = e.querySelector("corresp"),
o = c ? c.textContent : "",
f = o.replace("Correspondence", "");
f = o.replace("Correspondence", ""),
language = document.getElementsByTagName('html')[0].getAttribute('xml:lang');
if (o) {
var u = {
type: "heading",
id: t.nextId("heading"),
level: 3,
content: "Correspondence",
content:
language == "pt-BR"
? "Correspondência"
: language == "es-ES"
? "Correspondencia"
: "Correspondence",
};
r.create(u), n.push(u.id);
var l = {
Expand Down

0 comments on commit 9321ea3

Please sign in to comment.