推送模块
This commit is contained in:
12
web/src/lang/backend/en/test/push.ts
Normal file
12
web/src/lang/backend/en/test/push.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
export default {
|
||||
connected: 'Push connected (subscribed)',
|
||||
disconnected: 'Disconnected or idle',
|
||||
user_uuid: 'User uuid',
|
||||
user_uuid_placeholder: '10-char public id as in mobile profile',
|
||||
btn_connect: 'Connect & subscribe',
|
||||
btn_disconnect: 'Disconnect',
|
||||
btn_clear: 'Clear log',
|
||||
channel_label: 'Channel',
|
||||
log_title: 'Event log',
|
||||
log_empty: 'No messages yet. Ensure the push worker is running and the server publishes to this channel.',
|
||||
}
|
||||
3
web/src/lang/backend/en/test/pushGamePeriod.ts
Normal file
3
web/src/lang/backend/en/test/pushGamePeriod.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export default {
|
||||
tip: 'Subscribe to public-game-period (global period channel) for period.tick / period.locked / period.opened. The server must publish to this channel.',
|
||||
}
|
||||
3
web/src/lang/backend/en/test/pushOperationNotice.ts
Normal file
3
web/src/lang/backend/en/test/pushOperationNotice.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export default {
|
||||
tip: 'Subscribe to public-operation-notice for broadcast notices such as notice.popout. The server must publish to this channel.',
|
||||
}
|
||||
3
web/src/lang/backend/en/test/pushPrivateUser.ts
Normal file
3
web/src/lang/backend/en/test/pushPrivateUser.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export default {
|
||||
tip: 'Subscribe to private-user-{uuid}: enter the player uuid; auth uses /plugin/webman/push/auth like the mobile client. For bet.accepted, wallet.changed, etc.',
|
||||
}
|
||||
Reference in New Issue
Block a user