Skip to content

Commit 665278e

Browse files
Testing Adding New Limits (#308)
* Testing Adding New Limits * Update typo * Fix mistakes --------- Co-authored-by: Sominemo <me@sominemo.com>
1 parent c1cfb06 commit 665278e

File tree

2 files changed

+164
-12
lines changed

2 files changed

+164
-12
lines changed

data/structure.json

Lines changed: 65 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,14 @@
259259
{
260260
"id": "delaying_messages",
261261
"icon": "date_range"
262+
},
263+
{
264+
"id": "custom_emoji_per_message",
265+
"icon": "emoji_emotions"
266+
},
267+
{
268+
"id": "links_per_message",
269+
"icon": "link"
262270
}
263271
]
264272
},
@@ -267,33 +275,36 @@
267275
"icon": "folder",
268276
"color": "156, 39, 176",
269277
"items": [
278+
{
279+
"id": "name_length",
280+
"icon": "text_rotation_none"
281+
},
270282
{
271283
"id": "folder_amount",
272284
"icon": "create_new_folder"
273285
},
274286
{
275287
"id": "pinned_chats_in_folder",
276-
"text": "до 100 штук",
277288
"icon": "push_pin"
289+
},
290+
{
291+
"id": "chats_per_folder",
292+
"icon": "folder_shared"
278293
}
279294
]
280295
},
281296
{
282-
"id": "people_nearby",
283-
"icon": "person_pin_circle",
284-
"color": "175, 180, 43",
297+
"id": "public_folders",
298+
"icon": "folder_shared",
299+
"color": "156, 39, 176",
285300
"items": [
286301
{
287-
"id": "range",
288-
"icon": "track_changes"
302+
"id": "public_folders_count",
303+
"icon": "folder_special"
289304
},
290305
{
291-
"id": "amount_of_people",
306+
"id": "chats_per_public_folder",
292307
"icon": "groups"
293-
},
294-
{
295-
"id": "geochats_number",
296-
"icon": "forum"
297308
}
298309
]
299310
},
@@ -376,6 +387,49 @@
376387
}
377388
]
378389
},
390+
{
391+
"id": "stories",
392+
"icon": "auto_stories",
393+
"color": "76, 175, 80",
394+
"items": [
395+
{
396+
"id": "story_lifetime",
397+
"icon": "hourglass_empty"
398+
},
399+
{
400+
"id": "story_duration",
401+
"icon": "timer"
402+
},
403+
{
404+
"id": "story_viewers_visibility",
405+
"icon": "visibility"
406+
},
407+
{
408+
"id": "story_daily_limit",
409+
"icon": "today"
410+
},
411+
{
412+
"id": "story_weekly_limit",
413+
"icon": "date_range"
414+
},
415+
{
416+
"id": "story_monthly_limit",
417+
"icon": "calendar_month"
418+
},
419+
{
420+
"id": "story_text_length",
421+
"icon": "text_fields"
422+
},
423+
{
424+
"id": "story_incognito_frequency",
425+
"icon": "update"
426+
},
427+
{
428+
"id": "story_incognito_duration",
429+
"icon": "timer_off"
430+
}
431+
]
432+
},
379433
{
380434
"id": "search",
381435
"icon": "search",

localization/en/data.json

Lines changed: 99 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,12 +305,28 @@
305305
"name": "Schedule range",
306306
"hint": "",
307307
"text": "up to 365 days"
308+
},
309+
"custom_emoji_per_message": {
310+
"name": "Custom emoji per message",
311+
"hint": "Without Telegram Premium, custom emoji can be sent only to Saved Messages, more than 100 custom emoji are replaced with the corresponding standard emoji",
312+
"text": "not available",
313+
"text_premium": "up to 10 emoji"
314+
},
315+
"links_per_message": {
316+
"name": "Links per message",
317+
"hint": "",
318+
"text": "up to 100 links"
308319
}
309320
}
310321
},
311322
"folders": {
312323
"name": "Folders",
313324
"items": {
325+
"name_length": {
326+
"name": "Folder name length",
327+
"hint": "",
328+
"text": "up to 12 characters"
329+
},
314330
"folder_amount": {
315331
"name": "Folders amount",
316332
"hint": "",
@@ -322,6 +338,30 @@
322338
"hint": "",
323339
"text": "up to 100 chats",
324340
"text_premium": "up to 200 chats"
341+
},
342+
"chats_per_folder": {
343+
"name": "Chats per folder",
344+
"hint": "Does not include chats added to the folder by their type (e.g. Channels). Includes chats added to the Exceptions section.",
345+
"text": "up to 100 chats",
346+
"text_premium": "up to 200 chats"
347+
}
348+
}
349+
},
350+
"public_folders": {
351+
"name": "Public Folders",
352+
"icon": "folder_shared",
353+
"items": {
354+
"public_folders_count": {
355+
"name": "Number of public folders",
356+
"hint": "",
357+
"text": "up to 2 folders",
358+
"text_premium": "up to 20 folders"
359+
},
360+
"chats_per_public_folder": {
361+
"name": "Chats/channels per public folder",
362+
"hint": "",
363+
"text": "up to 100 items",
364+
"text_premium": "up to 200 items"
325365
}
326366
}
327367
},
@@ -431,6 +471,64 @@
431471
}
432472
}
433473
},
474+
"stories": {
475+
"name": "Stories",
476+
"items": {
477+
"story_lifetime": {
478+
"name": "Story lifetime",
479+
"hint": "Publishing stories without Telegram Premium is not available in all countries",
480+
"text": "24 hours",
481+
"text_premium": "6/12/24/48 hours"
482+
},
483+
"story_duration": {
484+
"name": "Story duration",
485+
"hint": "Publishing stories without Telegram Premium is not available in all countries",
486+
"text": "up to 60 seconds"
487+
},
488+
"story_viewers_visibility": {
489+
"name": "Viewers visibility",
490+
"hint": "",
491+
"text": "24 hours",
492+
"text_premium": "unlimited"
493+
},
494+
"story_daily_limit": {
495+
"name": "Daily stories limit",
496+
"hint": "Publishing stories without Telegram Premium is not available in all countries",
497+
"text": "up to 3 stories",
498+
"text_premium": "up to 100 stories"
499+
},
500+
"story_weekly_limit": {
501+
"name": "Weekly stories limit",
502+
"hint": "Publishing stories without Telegram Premium is not available in all countries",
503+
"text": "up to 3 stories",
504+
"text_premium": "up to 700 stories"
505+
},
506+
"story_monthly_limit": {
507+
"name": "Monthly stories limit",
508+
"hint": "Publishing stories without Telegram Premium is not available in all countries",
509+
"text": "up to 30 stories",
510+
"text_premium": "up to 3,000 stories"
511+
},
512+
"story_text_length": {
513+
"name": "Text length in story",
514+
"hint": "Publishing stories without Telegram Premium is not available in all countries",
515+
"text": "up to 200 characters",
516+
"text_premium": "up to 2,048 characters"
517+
},
518+
"story_incognito_frequency": {
519+
"name": "Incognito usage frequency",
520+
"hint": "",
521+
"text": "not available",
522+
"text_premium": "once per 3 hour"
523+
},
524+
"story_incognito_duration": {
525+
"name": "Incognito duration",
526+
"hint": "All views for the last 5 minutes before the mode is turned on disappear, and views for 25 minutes after it is turned on are not recorded.",
527+
"text": "not available",
528+
"text_premium": "30 minutes"
529+
}
530+
}
531+
},
434532
"search": {
435533
"name": "Search",
436534
"items": {
@@ -532,4 +630,4 @@
532630
}
533631
}
534632
}
535-
}
633+
}

0 commit comments

Comments
 (0)