feat: ported totp.js library to zepp quick-js
This commit is contained in:
2
app-side/i18n/en-US.po
Normal file
2
app-side/i18n/en-US.po
Normal file
@@ -0,0 +1,2 @@
|
||||
msgid "example"
|
||||
msgstr "This is an example in app-side"
|
||||
13
app-side/index.js
Normal file
13
app-side/index.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import { gettext } from 'i18n'
|
||||
|
||||
AppSideService({
|
||||
onInit() {
|
||||
console.log(gettext('example'))
|
||||
},
|
||||
|
||||
onRun() {
|
||||
},
|
||||
|
||||
onDestroy() {
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user