You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can display notifications using the user OS notification system:
972
+
973
+
```js
974
+
api.notify({
975
+
title:'Some title',
976
+
message:'Some message',
977
+
icon:'path-to-icon.png'
978
+
})
979
+
```
980
+
981
+
There are some builtin icons:
982
+
983
+
-`'done'`
984
+
-`'error'`
985
+
969
986
### Localization
970
987
971
988
You can put locale files compatible with [vue-i18n](https://github.com/kazupon/vue-i18n) in a `locales` folder at the root of your plugin. They will be automatically loaded into the client when the project is opened. You can then use `$t` to translate strings in your components and other vue-i18n helpers. Also, the strings used in the UI API (like `describeTask`) will go through vue-i18n as well to you can localize them.
0 commit comments