chore(i18n): add some missing i18n()
+ remove one last qsTrId()
This commit is contained in:
parent
5181ed4a87
commit
81cda65b20
|
@ -16,7 +16,7 @@ ModalPopup {
|
||||||
signal openModalClicked()
|
signal openModalClicked()
|
||||||
|
|
||||||
StyledText {
|
StyledText {
|
||||||
text: "Do you want to add another existing key?"
|
text: qsTr("Do you want to add another existing key?")
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,7 @@ ModalPopup {
|
||||||
anchors.topMargin: Style.current.padding
|
anchors.topMargin: Style.current.padding
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: Style.current.padding
|
anchors.rightMargin: Style.current.padding
|
||||||
text: "Add another existing key"
|
text: qsTr("Add another existing key")
|
||||||
|
|
||||||
onClicked : {
|
onClicked : {
|
||||||
openModalClicked()
|
openModalClicked()
|
||||||
|
|
|
@ -32,7 +32,7 @@ Rectangle {
|
||||||
contentItem: Item {
|
contentItem: Item {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
Text {
|
Text {
|
||||||
text: "Back up"
|
text: qsTr("Back up")
|
||||||
font.pixelSize: 13
|
font.pixelSize: 13
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
font.family: Style.current.fontRegular.name
|
font.family: Style.current.fontRegular.name
|
||||||
|
|
|
@ -14,7 +14,7 @@ Item {
|
||||||
id: root
|
id: root
|
||||||
property string chatId: ""
|
property string chatId: ""
|
||||||
property string name: "channel name"
|
property string name: "channel name"
|
||||||
property string message: "Everything is connected"
|
property string message: qsTr("Everything is connected")
|
||||||
property int chatType: 1
|
property int chatType: 1
|
||||||
property var onClick
|
property var onClick
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ StatusModal {
|
||||||
rightButtons: [
|
rightButtons: [
|
||||||
StatusButton {
|
StatusButton {
|
||||||
id: doneBtn
|
id: doneBtn
|
||||||
text: qsTr("Ok")
|
text: qsTr("OK")
|
||||||
enabled: !!displayNameInput.text && displayNameInput.valid
|
enabled: !!displayNameInput.text && displayNameInput.valid
|
||||||
onClicked: {
|
onClicked: {
|
||||||
root.profileStore.setDisplayName(displayNameInput.text)
|
root.profileStore.setDisplayName(displayNameInput.text)
|
||||||
|
|
|
@ -376,8 +376,7 @@ StatusModal {
|
||||||
""))
|
""))
|
||||||
|
|
||||||
if (!gasEstimate.success) {
|
if (!gasEstimate.success) {
|
||||||
|
console.warn("error estimating gas: %1").arg(gasEstimate.error.message)
|
||||||
console.warn(qsTrId("error-estimating-gas---1").arg(gasEstimate.error.message))
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue