This commit is contained in:
KoalaSat 2023-02-05 17:26:57 +01:00
parent 51b693dff0
commit eab4e97f7d
No known key found for this signature in database
GPG Key ID: 2F7F61C6146AB157
7 changed files with 13 additions and 10 deletions

View File

@ -27,7 +27,6 @@ export const ProfileShare: React.FC = () => {
if (database && displayUserShareDrawer) {
getUser(displayUserShareDrawer, database).then((result) => {
if (result) {
console.log(result)
setUser(result)
} else {
setUser({ id: displayUserShareDrawer })
@ -80,7 +79,7 @@ export const ProfileShare: React.FC = () => {
icon='check-decagram-outline'
size={28}
onPress={() => {
setShowNotification('npubCopied')
setShowNotification('copyNip05')
Clipboard.setString(user?.nip05 ?? '')
bottomSheetShareRef.current?.close()
}}

View File

@ -183,7 +183,7 @@ export const RelayCard: React.FC<RelayCardProps> = ({ url, bottomSheetRef }) =>
) : (
<View style={styles.loading}>
<Logo onlyIcon size='medium' />
<Text variant='titleLarge'>{'relayCard.obtainingInfo'}</Text>
<Text variant='titleLarge'>{t('relayCard.obtainingInfo')}</Text>
</View>
)}
</>

View File

@ -257,7 +257,8 @@
},
"profileShare": {
"notifications": {
"npubCopied": "Öffentlichen Schlüssel kopiert"
"npubCopied": "Öffentlichen Schlüssel kopiert",
"nip05Copied": "NIP-05 copied."
},
"copyNip05": "NIP-05 kopieren",
"copyNPub": "Schlüssel kopieren"

View File

@ -71,7 +71,7 @@
"imageHostingService": "Image hosting service",
"random": "Random",
"language": "Language",
"relayColoruring": "Relay coloruring"
"relayColoruring": "Relay colouring"
},
"noteCard": {
"answering": "Answer to {{pubkey}}",
@ -271,12 +271,12 @@
},
"profileShare": {
"notifications": {
"npubCopied": "Public key copied."
"npubCopied": "Public key copied.",
"nip05Copied": "NIP-05 copied."
},
"copyNip05": "Copy NIP-05",
"copyNPub": "Copy key"
},
"profileCard": {
"notifications": {
"contactAdded": "Profile followed",

View File

@ -257,7 +257,8 @@
},
"profileShare": {
"notifications": {
"npubCopied": "Clave pública copiada."
"npubCopied": "Clave pública copiada.",
"nip05Copied": "NIP-05 copiada."
},
"copyNip05": "Copiar NIP-05",
"copyNPub": "Copiar clave"

View File

@ -244,7 +244,8 @@
},
"profileShare": {
"notifications": {
"npubCopied": "Clé publique copiée"
"npubCopied": "Clé publique copiée",
"nip05Copied": "NIP-05 copied."
},
"copyNip05": "Copiar NIP-05",
"copyNPub": "Copier la clé"

View File

@ -256,7 +256,8 @@
},
"profileShare": {
"notifications": {
"npubCopied": "Public key copied."
"npubCopied": "Public key copied.",
"nip05Copied": "NIP-05 copied."
},
"copyNip05": "Copy NIP-05",
"copyNPub": "Copy key"