Skip to content

Commit a6e7a26

Browse files
committed
show domain code instead of domain name
1 parent 304c97a commit a6e7a26

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

qml/Pages/domain/DomainBasicInfoCard.qml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,21 @@ Card {
4646
spacing: 10
4747

4848
SelectableText {
49-
text: qsTr("Name")
49+
text: qsTr("Code")
5050
font.pixelSize: Theme.Typography.body
5151
color: Theme.Colors.textCaption
5252
}
5353

5454
Text {
5555
id: basicInfoNameText
5656
width: parent.width
57-
text: card.domainData.name || ""
57+
text: card.domainData.domainCode || ""
5858
font.pixelSize: Theme.Typography.h3
5959
color: Theme.Colors.textHeading
6060
elide: Text.ElideRight
6161

6262
ToolTip.visible: truncated && basicInfoNameHover.containsMouse
63-
ToolTip.text: card.domainData.name || ""
63+
ToolTip.text: card.domainData.domainCode || ""
6464
ToolTip.delay: 500
6565

6666
HoverHandler {

translations/qml_zh_cn.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@
365365
</message>
366366
<message>
367367
<location filename="../qml/Pages/domain/DomainBasicInfoCard.qml" line="+49"/>
368-
<source>Name</source>
369-
<translation>名称</translation>
368+
<source>Code</source>
369+
<translation>编码</translation>
370370
</message>
371371
<message>
372372
<location line="+29"/>

0 commit comments

Comments
 (0)