Skip to content

Commit

Permalink
fix(swipe): 修改demo文案 (jdf2e#2106)
Browse files Browse the repository at this point in the history
Co-authored-by: xiaoyatong <[email protected]>
  • Loading branch information
xiaoyatong and xiaoyatong authored Mar 21, 2024
1 parent 916c6b7 commit e1bd197
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions src/packages/swipe/demo.taro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ const SwipeDemo = () => {
closeLeft: '点击右侧按钮关闭',
tips: '提示',
cart: '加入购物车',
leftDel: '左滑删除',
leftDel: '左滑',
disabled: '禁用滑动',
chooseTips: '确定选择吗?',
deleteTips: '确定删除吗?',
Expand Down Expand Up @@ -101,7 +101,7 @@ const SwipeDemo = () => {
closeLeft: '點擊右側按鈕關閉',
tips: '提示',
cart: '加入購物車',
leftDel: '左滑刪除',
leftDel: '左滑',
disabled: '禁用滑動',
chooseTips: '確定選擇嗎? ',
deleteTips: '確定刪除嗎? ',
Expand Down Expand Up @@ -131,7 +131,7 @@ const SwipeDemo = () => {
closeLeft: 'Click the right button to close',
tips: 'tips',
cart: 'add to shopping cart',
leftDel: 'left slide delete',
leftDel: 'left slide',
disabled: 'Disable sliding',
chooseTips: 'are you sure to choose?',
deleteTips: 'are you sure to delete?',
Expand Down Expand Up @@ -231,7 +231,7 @@ const SwipeDemo = () => {
<Cell title={translated.leftDel} radius={0} />
</Swipe>

<br />
<br style={{ display: 'block', height: '10px' }} />

<Swipe
style={{ height: '104px' }}
Expand Down
8 changes: 4 additions & 4 deletions src/packages/swipe/demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const SwipeDemo = () => {
closeLeft: '点击右侧按钮关闭',
tips: '提示',
cart: '加入购物车',
leftDel: '左滑删除',
leftDel: '左滑',
disabled: '禁用滑动',
chooseTips: '确定选择吗?',
deleteTips: '确定删除吗?',
Expand Down Expand Up @@ -93,7 +93,7 @@ const SwipeDemo = () => {
closeLeft: '點擊右側按鈕關閉',
tips: '提示',
cart: '加入購物車',
leftDel: '左滑刪除',
leftDel: '左滑',
disabled: '禁用滑動',
chooseTips: '確定選擇嗎? ',
deleteTips: '確定刪除嗎? ',
Expand Down Expand Up @@ -122,7 +122,7 @@ const SwipeDemo = () => {
closeLeft: 'Click the right button to close',
tips: 'tips',
cart: 'add to shopping cart',
leftDel: 'left slide delete',
leftDel: 'left slide',
disabled: 'Disable sliding',
chooseTips: 'are you sure to choose?',
deleteTips: 'are you sure to delete?',
Expand Down Expand Up @@ -216,7 +216,7 @@ const SwipeDemo = () => {
</div>
}
>
<Cell title={translated.leftDel} radius={0} />
<Cell title={`${translated.leftDel}+Icon`} radius={0} />
</Swipe>
<br />

Expand Down
2 changes: 1 addition & 1 deletion src/packages/swipe/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const App = () => {
</div>
}
>
<Cell title={translated.leftDel} radius={0} />
<Cell title={`${translated.leftDel}+Icon`} radius={0} />
</Swipe>
</>
}
Expand Down
2 changes: 1 addition & 1 deletion src/packages/swipe/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const App = () => {
</div>
}
>
<Cell title={translated.leftDel} radius={0} />
<Cell title={`${translated.leftDel}+Icon`} radius={0} />
</Swipe>
</>
}
Expand Down
2 changes: 1 addition & 1 deletion src/packages/swipe/doc.taro.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const App = () => {
</div>
}
>
<Cell title={translated.leftDel} radius={0} />
<Cell title={`${translated.leftDel}+Icon`} radius={0} />
</Swipe>
</>
}
Expand Down
2 changes: 1 addition & 1 deletion src/packages/swipe/doc.zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const App = () => {
</div>
}
>
<Cell title={translated.leftDel} radius={0} />
<Cell title={`${translated.leftDel}+Icon`} radius={0} />
</Swipe>
</>
}
Expand Down

0 comments on commit e1bd197

Please sign in to comment.