mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 17:06:16 -04:00
增加对话框ok,cancel按钮国际化
This commit is contained in:
parent
91517a1d16
commit
cf5c0cfe81
4 changed files with 7 additions and 30 deletions
|
@ -90,11 +90,11 @@ export const PadPage = ()=>{
|
|||
<div className="settings-button-bar">
|
||||
<button onClick={()=>{
|
||||
setDeleteDialog(false)
|
||||
}}>Cancel</button>
|
||||
}}><Trans i18nKey="ep_admin_pads:ep_adminpads2_cancel.value"/></button>
|
||||
<button onClick={()=>{
|
||||
deletePad(padToDelete)
|
||||
setDeleteDialog(false)
|
||||
}}>Ok</button>
|
||||
}}><Trans i18nKey="ep_admin_pads:ep_adminpads2_ok.value"/></button>
|
||||
</div>
|
||||
</div>
|
||||
</Dialog.Content>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue