fix(desktop/chat): Update copy button tooltip text in communities

Change copy buttons tooltip text from “Copy to clipboard” into “Copied!” in panels: "Add members" and "Manage community"

Fixes #3520
This commit is contained in:
Michal Iskierko 2022-03-07 12:35:30 +01:00 committed by Iuri Matias
parent be9d2f94e2
commit aefa7d8e26
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ Column {
title: qsTrId("share-community")
subTitle: `${Constants.communityLinkPrefix}${root.community && root.community.id.substring(0, 4)}...${root.community && root.community.id.substring(root.community.id.length -2)}`
//% "Copy to clipboard"
tooltip.text: qsTrId("copy-to-clipboard")
tooltip.text: qsTr("Copied!")
icon.name: "copy"
iconButton.onClicked: {
let link = `${Constants.communityLinkPrefix}${root.community.id}`

View File

@ -51,7 +51,7 @@ Column {
title: qsTrId("share-community")
subTitle: `${Constants.communityLinkPrefix}${root.community.id.substring(0, 4)}...${root.community.id.substring(root.community.id.length -2)}`
//% "Copy to clipboard"
tooltip.text: qsTrId("copy-to-clipboard")
tooltip.text: qsTr("Copied!")
icon.name: "copy"
iconButton.onClicked: {
let link = `${Constants.communityLinkPrefix}${root.community.id}`