Show more Osmose strings in the UI

Also only add sections where appropriate
This commit is contained in:
SilentSpike
2020-02-03 11:39:40 +00:00
parent 7a00c0a974
commit 010ca30999
4 changed files with 51 additions and 17 deletions
+2
View File
@@ -258,6 +258,8 @@ export default {
// If string exists, value is an object with key 'auto' for string
let { title, detail, trap, fix, example } = item.class[k];
if (title) issueStrings.title = title.auto;
// TODO: Replace \[(.+?)\]\((.+?)\) pattern with <a href="\2">\1</a>
// TODO: Replace `(.+?)` with some sort of code styling
if (detail) issueStrings.detail = detail.auto;
if (trap) issueStrings.trap = trap.auto;
if (fix) issueStrings.fix = fix.auto;