[tok] disable generated pronoun disclaimer

This commit is contained in:
Theodore Dubois 2023-02-23 14:18:36 -08:00
parent 4c90159bc0
commit 2362489876
3 changed files with 3 additions and 2 deletions

View File

@ -17,6 +17,7 @@ pronouns:
prefix: '/li'
autoOpenGenerator: true
disableDescriptions: true
disableDisclaimer: true
pronunciation:
enabled: false

View File

@ -55,7 +55,7 @@
</section>
<section v-if="selectedPronoun.history">
<template v-for="part in selectedPronoun.history.replace(/\\@/g, '###').split('@')">
<template v-for="part in selectedPronoun.history.replace(/\\@/g, '###').split('@')" v-if="part !== '__generator__' || !config.pronouns.disableDisclaimer">
<div v-if="part === '__generator__'" class="alert alert-warning">
<Icon v="exclamation-triangle"/>
<T>pronouns.generated</T>

View File

@ -115,7 +115,7 @@
<T>home.generator.pronunciation</T>
</p>
-->
<div v-if="!usedBaseEquals" class="alert alert-warning">
<div v-if="!usedBaseEquals && !config.pronouns.disableDisclaimer" class="alert alert-warning">
<Icon v="exclamation-triangle"/>
<T>pronouns.generated</T>
</div>