mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 13:23:34 +00:00
Fix copy labels and toasts for ssh key items in web and browser (#16154)
This commit is contained in:
@@ -867,6 +867,15 @@
|
|||||||
"copyLicenseNumber": {
|
"copyLicenseNumber": {
|
||||||
"message": "Copy license number"
|
"message": "Copy license number"
|
||||||
},
|
},
|
||||||
|
"copyPrivateKey": {
|
||||||
|
"message": "Copy private key"
|
||||||
|
},
|
||||||
|
"copyPublicKey": {
|
||||||
|
"message": "Copy public key"
|
||||||
|
},
|
||||||
|
"copyFingerprint": {
|
||||||
|
"message": "Copy fingerprint"
|
||||||
|
},
|
||||||
"copyName": {
|
"copyName": {
|
||||||
"message": "Copy name"
|
"message": "Copy name"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -25,9 +25,10 @@
|
|||||||
bitIconButton="bwi-clone"
|
bitIconButton="bwi-clone"
|
||||||
bitSuffix
|
bitSuffix
|
||||||
type="button"
|
type="button"
|
||||||
|
[label]="'copyPrivateKey' | i18n"
|
||||||
[appCopyClick]="sshKey.privateKey"
|
[appCopyClick]="sshKey.privateKey"
|
||||||
showToast
|
showToast
|
||||||
[label]="'copyValue' | i18n"
|
[valueLabel]="'sshPrivateKey' | i18n"
|
||||||
></button>
|
></button>
|
||||||
</bit-form-field>
|
</bit-form-field>
|
||||||
<bit-form-field>
|
<bit-form-field>
|
||||||
@@ -43,9 +44,10 @@
|
|||||||
bitIconButton="bwi-clone"
|
bitIconButton="bwi-clone"
|
||||||
bitSuffix
|
bitSuffix
|
||||||
type="button"
|
type="button"
|
||||||
|
[label]="'copyPublicKey' | i18n"
|
||||||
[appCopyClick]="sshKey.publicKey"
|
[appCopyClick]="sshKey.publicKey"
|
||||||
showToast
|
showToast
|
||||||
[label]="'copyValue' | i18n"
|
[valueLabel]="'sshPublicKey' | i18n"
|
||||||
></button>
|
></button>
|
||||||
</bit-form-field>
|
</bit-form-field>
|
||||||
<bit-form-field>
|
<bit-form-field>
|
||||||
@@ -61,9 +63,10 @@
|
|||||||
bitIconButton="bwi-clone"
|
bitIconButton="bwi-clone"
|
||||||
bitSuffix
|
bitSuffix
|
||||||
type="button"
|
type="button"
|
||||||
|
[label]="'copyFingerprint' | i18n"
|
||||||
[appCopyClick]="sshKey.keyFingerprint"
|
[appCopyClick]="sshKey.keyFingerprint"
|
||||||
showToast
|
showToast
|
||||||
[label]="'copyValue' | i18n"
|
[valueLabel]="'sshFingerprint' | i18n"
|
||||||
></button>
|
></button>
|
||||||
</bit-form-field>
|
</bit-form-field>
|
||||||
</read-only-cipher-card>
|
</read-only-cipher-card>
|
||||||
|
|||||||
Reference in New Issue
Block a user