DSM 7.0 DSM7: synodsmnotify behaviour how to use i18n format

Currently reading
DSM 7.0 DSM7: synodsmnotify behaviour how to use i18n format

Status
Not open for further replies.
Hi there,
with DSM 7 synodsmnotify introduced new behaviour requesting i18n formated strings. Anyone come accross this and knows how to interact?
$ synodsmnotify @administrators "MyPackage" "MyMessage" => title: 'MyPackage' is neither mail string key nor i18n format.
In DSM 6 the title was a simply a string and I'm using the notification quite regularly in my packages which I want to port to DSM 7.

I18n stands for internalisation format, no idea what mail string is supposed to be. Any hint is appreciated.

The DSM 7 Developer Guide (https://global.download.synology.co.../DSM/7.0/enu/DSM_Developer_Guide_7_0_Beta.pdf) mentiones on p. 61 "In addition, you can use /usr/syno/bin/synodsmnotify executable to send desktop notifications to users. For example, the strings [title] and [messages] will be sent to the administrators user group once the following command get called. /usr/syno/bin/synodsmnotify @administrators [title] [messages]" It does not tell us the new behaviour though.
In the guide p. 81 talks on i18n under application help and localized strings sitting under ui dir. However no idea how this can be tied to synodsmnotify.
-TosoBoso [SPK developer Jitsi-Meet, Kopano for Synology]
 
Status
Not open for further replies.

Similar threads

  • Locked
Word from Synology support is “summer release”. Will it be, let’s wait and see. Looks like we will also...
Replies
2
Views
3,592
  • Locked
Looks like a mix of 2 things. 1) Booting to a deep sleep state if HDDs are connected 2) Networking issues...
Replies
1
Views
2,000
  • Locked
Atm it’s still the same, if you active VPN on it, all traffic goes via vpn.
Replies
1
Views
1,915
  • Locked
fastest way would be using iftop command. But, it’s not installed by default. You could run it via...
Replies
1
Views
1,220
  • Locked
DSM 7.0 DSM7 on DS1621+
I mean it’s not a production work server, though it’s stable enough and I haven’t seen any issues. I’d put...
Replies
11
Views
3,137
  • Locked
After checking, I found that the issue was caused by an incorrect proxy.conf. According to the log...
Replies
20
Views
7,521
  • Locked
DSM 7.0 Plex and DSM7
How are the volumes mapped? Also, considering that you are running this in docker, it has nothing to do...
Replies
23
Views
8,889

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Back
Top