mirror of
https://github.com/balzack/databag.git
synced 2025-05-04 07:25:15 +00:00
showing encrypted state
This commit is contained in:
parent
a88024e9fe
commit
9ec55e39ca
@ -1,5 +1,6 @@
|
|||||||
export const en = {
|
export const en = {
|
||||||
unknownContact: 'Unknown Contact',
|
unknownContact: 'Unknown Contact',
|
||||||
|
encrypted: 'Encrypted',
|
||||||
unknown: 'Unknown',
|
unknown: 'Unknown',
|
||||||
sealed: 'Sealed',
|
sealed: 'Sealed',
|
||||||
notes: 'Notes',
|
notes: 'Notes',
|
||||||
@ -254,6 +255,7 @@ export const en = {
|
|||||||
|
|
||||||
export const fr = {
|
export const fr = {
|
||||||
unknownContact: 'Contact inconnu',
|
unknownContact: 'Contact inconnu',
|
||||||
|
encrypted: 'Crypté',
|
||||||
unknown: 'Inconnu',
|
unknown: 'Inconnu',
|
||||||
sealed: 'Scellé',
|
sealed: 'Scellé',
|
||||||
notes: 'Notes',
|
notes: 'Notes',
|
||||||
@ -509,6 +511,7 @@ export const fr = {
|
|||||||
|
|
||||||
export const sp = {
|
export const sp = {
|
||||||
unkownContact: 'Contacto Desconocido',
|
unkownContact: 'Contacto Desconocido',
|
||||||
|
encrypted: 'Cifrado',
|
||||||
unknown: 'Desconocido',
|
unknown: 'Desconocido',
|
||||||
sealed: 'Sellado',
|
sealed: 'Sellado',
|
||||||
notes: 'Notas',
|
notes: 'Notas',
|
||||||
@ -763,6 +766,7 @@ export const sp = {
|
|||||||
|
|
||||||
export const pt = {
|
export const pt = {
|
||||||
unknownContact: 'Contato Desconhecido',
|
unknownContact: 'Contato Desconhecido',
|
||||||
|
encrypted: 'Criptografado',
|
||||||
unknown: 'Desconhecido',
|
unknown: 'Desconhecido',
|
||||||
sealed: 'Selado',
|
sealed: 'Selado',
|
||||||
notes: 'Notas',
|
notes: 'Notas',
|
||||||
@ -1017,6 +1021,7 @@ export const pt = {
|
|||||||
|
|
||||||
export const de = {
|
export const de = {
|
||||||
unknwonContact: 'Unbekannter Kontakt',
|
unknwonContact: 'Unbekannter Kontakt',
|
||||||
|
encrypted: 'Verschlüsselt',
|
||||||
unknown: 'Unbekannt',
|
unknown: 'Unbekannt',
|
||||||
sealed: 'Versiegelt',
|
sealed: 'Versiegelt',
|
||||||
notes: 'Notizen',
|
notes: 'Notizen',
|
||||||
@ -1271,6 +1276,7 @@ export const de = {
|
|||||||
|
|
||||||
export const ru = {
|
export const ru = {
|
||||||
unknownContact: 'Неизвестный контакт',
|
unknownContact: 'Неизвестный контакт',
|
||||||
|
encrypted: 'Зашифрованный',
|
||||||
unknown: 'Неизвестно',
|
unknown: 'Неизвестно',
|
||||||
sealed: 'Запечатано',
|
sealed: 'Запечатано',
|
||||||
notes: 'Заметки',
|
notes: 'Заметки',
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 128px;
|
height: 128px;
|
||||||
padding-left: 72px;
|
padding-left: 72px;
|
||||||
|
padding-right: 32px;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
@ -47,6 +48,11 @@
|
|||||||
word-wrap:break-word;
|
word-wrap:break-word;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.locked {
|
||||||
|
font-style: italic;
|
||||||
|
color: var(--mantine-color-text-7);
|
||||||
|
}
|
||||||
|
|
||||||
.header {
|
.header {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -53,14 +53,17 @@ export function Message({ topic, card, profile, host }: { topic: Topic, card: Ca
|
|||||||
</div>
|
</div>
|
||||||
<div className={classes.options}>OPTIONS</div>
|
<div className={classes.options}>OPTIONS</div>
|
||||||
</div>
|
</div>
|
||||||
{ text && (
|
{ !locked && text && (
|
||||||
<div style={textStyle}>
|
<div style={textStyle}>
|
||||||
<span className={classes.text}>{ text }</span>
|
<span className={classes.text}>{ text }</span>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
{ locked && (
|
||||||
|
<div className={classes.locked}>{ state.strings.encrypted }</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{ media.length > 0 && (
|
{ !locked && media.length > 0 && (
|
||||||
<div className={classes.assets}>
|
<div className={classes.assets}>
|
||||||
{ media }
|
{ media }
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user