update translation

(#3)
This commit is contained in:
BinTianqi
2024-05-08 21:14:49 +08:00
parent b5e3981a41
commit 8224211f3c
10 changed files with 63 additions and 34 deletions

View File

@@ -302,7 +302,7 @@ private fun CreateUser(){
onClick = {
newUserHandle=myDpm.createAndManageUser(myComponent,userName,myComponent,null,selectedFlag)
focusMgr.clearFocus()
Toast.makeText(myContext, if(newUserHandle!=null){"成功"}else{"失败"}, Toast.LENGTH_SHORT).show()
Toast.makeText(myContext, if(newUserHandle!=null){R.string.success}else{R.string.fail}, Toast.LENGTH_SHORT).show()
},
enabled = isDeviceOwner(myDpm),
modifier = Modifier.fillMaxWidth()