Skip to content

Commit

Permalink
Update label
Browse files Browse the repository at this point in the history
  • Loading branch information
joyce.zhou committed Aug 23, 2023
1 parent bc508c3 commit aa56730
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/components/StepShow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ const getNotes = (text, type) => {
</span>
<span v-if="step.stepType === 'appReset'">
<el-tag size="small" style="margin-right: 10px">{{
$t('stepDetail.app.emptyCache')
$t('stepDetail.label.androidOptions.app.appReset')
}}</el-tag>
{{ $t('stepDetail.app.empty') }} {{ step.text }}
{{ $t('stepDetail.bufferMemory') }}
Expand Down
24 changes: 12 additions & 12 deletions src/components/StepUpdate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1449,13 +1449,13 @@ onMounted(() => {

<div v-if="step.stepType === 'keyCode'">
<el-form-item
:label="$t('stepDetail.label.androidOptions.interaction.keyCode')"
:label="$t('stepDetail.label.androidOptions.system.interaction.keyCode')"
:rules="[
{
required: true,
message:
$t('stepDetail.msg.select') +
$t('stepDetail.label.androidOptions.interaction.keyCode'),
$t('stepDetail.label.androidOptions.system.interaction.keyCode'),
trigger: 'change',
},
]"
Expand All @@ -1466,7 +1466,7 @@ onMounted(() => {
v-model="step.content"
:placeholder="
$t('stepDetail.msg.select') +
$t('stepDetail.label.androidOptions.interaction.keyCode')
$t('stepDetail.label.androidOptions.system.interaction.keyCode')
"
>
<el-option-group :label="$t('stepDetail.commonKeys')">
Expand Down Expand Up @@ -1494,7 +1494,7 @@ onMounted(() => {
v-model="step.content"
:placeholder="
$t('stepDetail.msg.select') +
$t('stepDetail.label.androidOptions.interaction.keyCode')
$t('stepDetail.label.androidOptions.system.interaction.keyCode')
"
>
<el-option value="home"></el-option>
Expand Down Expand Up @@ -1531,10 +1531,10 @@ onMounted(() => {

<div v-if="step.stepType === 'tap'">
<element-select
:label="$t('stepDetail.label.androidOptions.coordinate.self')"
:label="$t('stepDetail.label.androidOptions.element.coordinate.self')"
:place="
$t('stepDetail.msg.select') +
$t('stepDetail.label.androidOptions.coordinate.self')
$t('stepDetail.label.androidOptions.element.coordinate.self')
"
:index="0"
:project-id="projectId"
Expand All @@ -1545,10 +1545,10 @@ onMounted(() => {

<div v-if="step.stepType === 'longPressPoint'">
<element-select
:label="$t('stepDetail.label.androidOptions.coordinate.self')"
:label="$t('stepDetail.label.androidOptions.element.coordinate.self')"
:place="
$t('stepDetail.msg.select') +
$t('stepDetail.label.androidOptions.coordinate.self')
$t('stepDetail.label.androidOptions.element.coordinate.self')
"
:index="0"
:project-id="projectId"
Expand All @@ -1570,7 +1570,7 @@ onMounted(() => {
:label="$t('stepDetail.fromControl')"
:place="
$t('stepDetail.msg.select') +
$t('stepDetail.label.androidOptions.coordinate.self')
$t('stepDetail.label.androidOptions.element.coordinate.self')
"
:index="0"
:project-id="projectId"
Expand All @@ -1581,7 +1581,7 @@ onMounted(() => {
:label="$t('stepDetail.dragTo')"
:place="
$t('stepDetail.msg.select') +
$t('stepDetail.label.androidOptions.coordinate.self')
$t('stepDetail.label.androidOptions.element.coordinate.self')
"
:index="1"
:project-id="projectId"
Expand Down Expand Up @@ -1625,7 +1625,7 @@ onMounted(() => {
:label="$t('stepDetail.fromControl')"
:place="
$t('stepDetail.msg.select') +
$t('stepDetail.label.androidOptions.coordinate.self')
$t('stepDetail.label.androidOptions.element.coordinate.self')
"
:index="0"
:project-id="projectId"
Expand All @@ -1636,7 +1636,7 @@ onMounted(() => {
:label="$t('stepDetail.dragTo')"
:place="
$t('stepDetail.msg.select') +
$t('stepDetail.label.androidOptions.coordinate.self')
$t('stepDetail.label.androidOptions.element.coordinate.self')
"
:index="1"
:project-id="projectId"
Expand Down

0 comments on commit aa56730

Please sign in to comment.