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()
|
||||
|
||||
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.top: parent.top
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ ModalPopup {
|
|||
anchors.topMargin: Style.current.padding
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: Style.current.padding
|
||||
text: "Add another existing key"
|
||||
text: qsTr("Add another existing key")
|
||||
|
||||
onClicked : {
|
||||
openModalClicked()
|
||||
|
|
|
@ -32,7 +32,7 @@ Rectangle {
|
|||
contentItem: Item {
|
||||
anchors.fill: parent
|
||||
Text {
|
||||
text: "Back up"
|
||||
text: qsTr("Back up")
|
||||
font.pixelSize: 13
|
||||
font.weight: Font.Medium
|
||||
font.family: Style.current.fontRegular.name
|
||||
|
|
|
@ -14,7 +14,7 @@ Item {
|
|||
id: root
|
||||
property string chatId: ""
|
||||
property string name: "channel name"
|
||||
property string message: "Everything is connected"
|
||||
property string message: qsTr("Everything is connected")
|
||||
property int chatType: 1
|
||||
property var onClick
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@ StatusModal {
|
|||
rightButtons: [
|
||||
StatusButton {
|
||||
id: doneBtn
|
||||
text: qsTr("Ok")
|
||||
text: qsTr("OK")
|
||||
enabled: !!displayNameInput.text && displayNameInput.valid
|
||||
onClicked: {
|
||||
root.profileStore.setDisplayName(displayNameInput.text)
|
||||
|
|
|
@ -376,8 +376,7 @@ StatusModal {
|
|||
""))
|
||||
|
||||
if (!gasEstimate.success) {
|
||||
|
||||
console.warn(qsTrId("error-estimating-gas---1").arg(gasEstimate.error.message))
|
||||
console.warn("error estimating gas: %1").arg(gasEstimate.error.message)
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue