-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.ts
More file actions
199 lines (199 loc) · 7.61 KB
/
index.ts
File metadata and controls
199 lines (199 loc) · 7.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
export const messages = {
en: {
components: {
ErrorBox: {
title: 'Error',
message: 'Something went wrong...',
cta: 'Please refresh',
},
WalletConnect: {
button: 'Connect Wallet',
cta: 'Connect Wallet',
ctaAddress: 'Connect Address',
balance: 'Balance',
cancel: 'Cancel',
back: 'Go back',
disconnect: 'Disconnect Wallet',
connecting: 'Connecting Wallet',
wait: 'Please wait...',
trouble: 'Troubleshooting',
slow: 'The connection seems to be slow...',
retry: 'Try again',
failed: 'Connection Failed',
failedSub: 'Was not able to connect to your wallet',
publicAddressDisclaimer:
'* Connecting public address doesn\'t connect to your wallet and is used only for CLI command generation.',
recommendedWallet: 'We recommend connecting with address only',
otherWallet: 'Make sure you have a wallet browser extension enabled.',
enterAddress: 'Enter your wallet address',
addressPlaceholder: 'e.g. atone1ad453f23bc2d...',
singleClickDisable: 'Single-Click Disable',
singleClickEnable: 'Single-Click Enable',
},
Wallet: {
popupSign:
'Check your wallet extension to sign the transaction, after submitting the transaction please wait a moment.',
broadcastSuccess: 'Successfully Broadcasted',
},
Button: {
submit: 'Submit',
close: 'Close',
showMore: 'Show more',
copyLink: 'Copy link',
follow: 'Follow',
unfollow: 'Unfollow',
newPost: 'New post',
reply: 'Reply',
closeReply: 'Close Reply',
createReply: 'Create Reply',
mintscan: 'See on Mintscan',
pingpub: 'See on Ping.pub',
showImage: 'Show image',
hideImage: 'Hide image',
viewOnExplorer: 'View on explorer',
tip: 'Tip',
adjustDefaultAmount: 'Adjust Default Amount',
editProfile: 'Edit Profile',
},
InputPhoton: {
notEnough: 'Not enough balance',
placeholder: 'Type amount',
remaining: 'remaining',
},
PopupTitles: {
likePost: 'Like Post',
dislikePost: 'Dislike Post',
newPost: 'New Post',
reply: 'Reply to Post',
flagPost: 'Flag Post',
follow: 'Follow User',
unfollow: 'Unfollow User',
tipUser: 'Tip User',
invalidDefaultAmount: 'Not enough balance',
},
PopupDescriptions: {
flagPost: 'Flagging a post allows our moderation team to take a look and hide it if it violates community guidelines.',
invalidDefaultAmount: 'You have set a Default Amount and you don\'t have enough balance.\nPlease adjust your Default Amount.',
},
Tabs: {
feed: 'Global Feed',
following: 'Following',
posts: 'Posts',
myPosts: 'My Posts',
replies: 'Replies',
myReplies: 'My Replies',
},
Headings: {
profile: 'Profile',
myProfile: 'My Profile',
notifications: 'Notifications',
settings: 'Settings',
manageFollows: 'Manage Following',
envConfig: 'Environment Config',
authz: 'Authz',
post: 'Post',
explore: 'Explore',
about: 'About',
},
SearchInput: {
noResults: 'No results found',
failedToSearch: 'Failed to search',
},
Filter: {
posts: 'Filter posts by PHOTON',
amount: 'Amount',
},
PostsList: {
empty: 'No Posts Available',
},
PostView: {
invalidDefaultAmount: 'You can\'t reply to this post because you have set a Default Amount and you don\'t have enough balance.\nPlease adjust your Default Amount.',
},
RepliesGroupsList: {
empty: 'No Replies Available',
},
Notifications: {
like: 'Liked your post',
dislike: 'Disliked your post',
flag: 'Redflagged your post',
follow: 'Followed you',
reply: 'Replied to your post',
empty: 'Nothing to show',
},
FollowingList: {
empty: 'You are not following anyone yet',
},
Toast: {
broadcasting: 'Signing and broadcasting transaction',
wait: 'Please wait a moment...',
success: '{txLabel} Successful',
fail: '{txLabel} Failed',
},
Settings: {
enabled: 'Enabled',
disabled: 'Disabled',
manageFollows: 'Manage Follows',
envConfig: 'Environment Config',
singleSession: 'Single Session',
defaultAmount: 'Default Amount',
following: 'Following',
back: 'Back',
whatIsIt: 'What is it?',
singleSessionSummary: 'Single Session creations a local private key through a passkey to sign transactions through the Comsos Authz and Feegrant modules. The settings below let you configure the authorization.',
createSession: 'Create Session',
revokeSession: 'Revoke Session',
defaultAmountSummary: 'You can define a Default Amount of PHOTON to be used for actions (creating post, liking post, following user, etc).\nIf enabled, this amount will be automatically used for transactions when performing actions.',
defaultAmountWarning: 'Warning: You don\'t have enough balance to use this Default Amount. All actions will fail. Get more PHOTON or adjust this setting.',
},
NotFound: {
title: 'Page Not Found',
message: 'The page you are looking for does not exist.',
},
PostActions: {
replies: 'reply | replies',
},
PostEditorToolbar: {
insertImageTitle: 'Insert Image URL',
insertImagePlaceholder: 'https://i.imgur.com/example.jpg',
insertImageError: 'Provide a direct Imgur image URL (e.g. https://i.imgur.com/example.png)',
insertVideoTitle: 'Insert Youtube URL',
insertVideoPlaceholder: 'https://www.youtube.com/watch?v=example',
insertVideoError: 'Provide a valid Youtube video URL',
insertButton: 'Insert',
},
PostMediaThumbnail: {
multipleImagesWarning: 'Multiple images detected. Only the first image will be shown.',
invalidFormatWarning: 'Image URL must end with a valid extension (.gif, .jpg, .png).',
untrustedDomainWarning: 'Only Imgur images are supported.',
},
About: {
privacyPolicy: 'Privacy Policy',
termsAndConditions: 'Terms & Conditions',
docs: 'Documentation',
},
Authz: {
title: 'Authz',
checkingStatus: 'Checking authorization status...',
activeGrant: 'Active Authorization',
activeBanner: 'You have granted authorization to the application',
grantButton: 'Grant Authorization',
revokeButton: 'Revoke Authorization',
granting: 'Granting authorization...',
revoking: 'Revoking authorization...',
grantSuccess: 'Authorization granted successfully!',
grantFailed: 'Failed to grant authorization',
revokeSuccess: 'Authorization revoked successfully!',
revokeFailed: 'Failed to revoke authorization',
summary: 'Authz is a Cosmos SDK module that allows you to grant permission to another address to execute specific actions on your behalf. By granting authorization, you allow the application to send bank transfers with a spending limit of 1 PHOTON to the community wallet only. The grant expires automatically after 1 year.',
},
},
feedbacks: {
copied: 'Copied to clipboard',
},
placeholders: {
search: 'Type to search',
post: 'What\'s up?',
reply: 'Your reply',
},
},
};