Skip to content

Commit 0de559c

Browse files
committed
I improved the definition of information items for the created social network, being able to select existing items to use.
I also greatly improved the part of entering the social network profile information and fixed some errors. The "Write_To_Files" method now writes to the profile and social network (JSON) files. I fixed the "Show_Information" method that was not working before, it now shows the correct information about the social network and user's profile.
1 parent 7c8d473 commit 0de559c

File tree

6 files changed

+487
-125
lines changed

6 files changed

+487
-125
lines changed

Module files/Food_Time/Times.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"Will be hungry": 3
1111
},
1212
"Ate": {
13-
"Object": "2024-08-20 15:05:53-03:00",
13+
"Object": "2024-08-21 10:04:35-03:00",
1414
"Time": 0,
15-
"Time text": "15:05",
15+
"Time text": "10:04",
1616
"Unit": {
1717
"en": "hours",
1818
"pt": "horas"
@@ -23,9 +23,9 @@
2323
}
2424
},
2525
"Can drink water": {
26-
"Object": "2024-08-20 15:45:53-03:00",
26+
"Object": "2024-08-21 10:44:35-03:00",
2727
"Time": 40,
28-
"Time text": "15:45",
28+
"Time text": "10:44",
2929
"Unit": {
3030
"en": "minutes",
3131
"pt": "minutos"
@@ -36,9 +36,9 @@
3636
}
3737
},
3838
"Will be hungry": {
39-
"Object": "2024-08-20 18:05:53-03:00",
39+
"Object": "2024-08-21 13:04:35-03:00",
4040
"Time": 3,
41-
"Time text": "18:05",
41+
"Time text": "13:04",
4242
"Unit": {
4343
"en": "hours",
4444
"pt": "horas"

Module files/Social_Networks/Texts.json

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@
6262
"pt": "Você adicionou esta rede social ao banco de dados de Redes Sociais",
6363
"en": "You added this social network to the Social Networks database"
6464
},
65+
"do_the_social_network_profiles_need_image_folders": {
66+
"pt": "Os perfis da rede social precisam de pastas de imagens",
67+
"en": "Do the social network profiles need image folders"
68+
},
69+
"type_f_to_finish_adding": {
70+
"pt": "Digite \"f\" para terminar de adicionar",
71+
"en": "Type \"f\" to finish adding"
72+
},
6573
"use_pre_existing_information_items": {
6674
"pt": "Usar itens de informação pré-existentes",
6775
"en": "Use pre-existing information items"
@@ -71,11 +79,35 @@
7179
"en": "Create new information items"
7280
},
7381
"does_the_information_item_has_a_format": {
74-
"pt": "Does the information item has a format",
75-
"en": "O item de informação tem um formato"
82+
"pt": "O item de informação tem um formato",
83+
"en": "Does the information item has a format"
7684
},
7785
"does_the_information_item_has_additional_items": {
78-
"pt": "Does the information item has additional items",
79-
"en": "O item de informação tem itens adicionais"
86+
"pt": "O item de informação tem itens adicionais",
87+
"en": "Does the information item has additional items"
88+
},
89+
"does_the_social_network_has_custom_additional_items": {
90+
"pt": "A rede social tem itens adicionais personalizados",
91+
"en": "Does the social network has custom additional items"
92+
},
93+
"like_custom_profile_or_message_links": {
94+
"pt": "Como links de perfil ou mensagem personalizados",
95+
"en": "Like custom profile or message links"
96+
},
97+
"type_the_regex_format": {
98+
"pt": "Digite o formato do Regex",
99+
"en": "Type the Regex format"
100+
},
101+
"type_an_example_of_the_format": {
102+
"pt": "Digite um exemplo do formato",
103+
"en": "Type an example of the format"
104+
},
105+
"type_the_additional_item": {
106+
"pt": "Digite o item adicional",
107+
"en": "Type the additional item"
108+
},
109+
"you_can_use_the_{}_format_string_to_place_the_social_network_link, type: explanation": {
110+
"pt": "Você pode usar a string de formato {} para colocar o link da rede social.\nE a string de formato {} para colocar o item, trocando o [Item] por qualquer item que você selecionou (em Inglês).",
111+
"en": "You can use the {} format string to place the social network link.\nAnd the {} format string to place the item, replacing the [Item] with any item you selected."
80112
}
81113
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"Testing": true,
3-
"Verbose": true,
2+
"Testing": false,
3+
"Verbose": false,
44
"User information": false,
55
"Has active switches": false
66
}

Module files/Utility/Language/Texts.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@
5454
"pt": "Pasta de imagem",
5555
"en": "Image folder"
5656
},
57+
"type_the_image_folder": {
58+
"pt": "Digite a pasta de imagem",
59+
"en": "Type the image folder"
60+
},
5761
"file": {
5862
"en": "file",
5963
"pt": "arquivo"

0 commit comments

Comments
 (0)