提交 17e4fb0f 编写于 作者: Q qiang

fix(App): uni.showActionSheet i18n

上级 fdc6c2ba
{
"uni.async.error": "The connection timed out, click the screen to try again.",
"uni.showActionSheet.cancel": "cancel",
"uni.showActionSheet.cancel": "Cancel",
"uni.showToast.unpaired": "Please note showToast must be paired with hideToast",
"uni.showLoading.unpaired": "Please note showLoading must be paired with hideLoading",
"uni.showModal.cancel": "Cancel",
......
{
"uni.async.error": "Se agotó el tiempo de conexión, haga clic en la pantalla para volver a intentarlo.",
"uni.showActionSheet.cancel": "cancelar",
"uni.showActionSheet.cancel": "Cancelar",
"uni.showToast.unpaired": "Tenga en cuenta que showToast debe estar emparejado con hideToast",
"uni.showLoading.unpaired": "Tenga en cuenta que showLoading debe estar emparejado con hideLoading",
"uni.showModal.cancel": "Cancelar",
......
......@@ -6,6 +6,10 @@ import {
invoke
} from '../../bridge'
import {
t
} from 'uni-core/helpers/i18n'
let toast
let toastType
let timeout
......@@ -151,7 +155,7 @@ export function showActionSheet ({
options.title = title
}
options.cancel = ''
options.cancel = t('uni.showActionSheet.cancel')
plus.nativeUI.actionSheet(Object.assign(options, {
popover
......@@ -167,4 +171,4 @@ export function showActionSheet ({
})
}
})
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册