Skip to content

Commit

Permalink
Remove hashes from il8n for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Rhian committed Sep 28, 2022
1 parent f61b45b commit 337b76c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"Enums": "Enums",
"Events": "Events",
"Extends": "↗ Extends: %s",
"Functions": "## Functions",
"Functions": "Functions",
"InvalidCommand": "Invalid command -> %s",
"InvalidDirectory": "Invalid directory -> %s",
"Modifiers": "Modifiers",
Expand Down
2 changes: 1 addition & 1 deletion serializers/function-serializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = {
return `- [${x.name}(${parameterList.join(", ")})](#${(!x.name)?contract.contractName.toLowerCase().concat('sol'):x.name.toLowerCase()})`;
}).toArray();

template = template.replace("{{FunctionTitle}}", i18n.translate("Functions"));
template = template.replace("{{FunctionTitle}}", `## ${i18n.translate("Functions")}`);

for(let i in functionNodes) {
const node = functionNodes[i];
Expand Down

0 comments on commit 337b76c

Please sign in to comment.