Notifications locale
This commit is contained in:
1 parent
9061275d6f
commit
feb968a72e
7 files changed
+208
-9
No files matched your search
+3
-1
@@ -1,3 +1,5 @@
|
||||
import "pkg:/source/utils/Locale.bs"
|
||||
|
||||
namespace LoungeDeviceConnected
|
||||
const NOTIFICATION_NODE_ID = "DeviceConnectedNotification"
|
||||
|
||||
@@ -9,7 +11,7 @@ namespace LoungeDeviceConnected
|
||||
end if
|
||||
|
||||
if StringUtils.IsNullOrEmpty(deviceName)
|
||||
deviceName = "Device"
|
||||
deviceName = Tr(Locale.LoungeNotification.Device)
|
||||
end if
|
||||
if StringUtils.IsNullOrEmpty(userAvatarUri)
|
||||
userAvatarUri = "pkg:/images/icons/user.png"
|
||||
|
||||
Reference in new issue
Block a user