rafaldembski commited on
Commit
c019624
·
verified ·
1 Parent(s): b7b91ab

Update pages/About.py

Browse files
Files changed (1) hide show
  1. pages/About.py +6 -5
pages/About.py CHANGED
@@ -7,7 +7,7 @@ page_translations = {
7
  'Polish': {
8
  'header': "📄 O Projekcie",
9
  'content': """**Detektor Fałszywych Wiadomości SMS** to innowacyjna aplikacja stworzona w celu pomocy użytkownikom w identyfikacji potencjalnych oszustw telefonicznych. Naszym celem jest zwiększenie świadomości na temat zagrożeń związanych z fałszywymi wiadomościami SMS oraz dostarczenie narzędzi do ich skutecznego wykrywania.
10
-
11
  **Funkcje aplikacji:**
12
  - Analiza treści wiadomości SMS pod kątem potencjalnych oszustw.
13
  - Szczegółowe raporty z analizą ryzyka oraz zaleceniami dla użytkownika.
@@ -28,7 +28,7 @@ Jeśli masz pytania lub sugestie dotyczące projektu, zapraszamy do zakładki [K
28
  'German': {
29
  'header': "📄 Über das Projekt",
30
  'content': """**SMS-Analyse** ist eine innovative Anwendung, die entwickelt wurde, um Benutzern dabei zu helfen, potenzielle Telefonbetrugsversuche zu identifizieren. Unser Ziel ist es, das Bewusstsein für die Gefahren im Zusammenhang mit gefälschten SMS-Nachrichten zu erhöhen und Werkzeuge zur effektiven Erkennung dieser Bereitstellung.
31
-
32
  **Funktionen der Anwendung:**
33
  - Analyse des SMS-Inhalts auf potenzielle Betrugsversuche.
34
  - Detaillierte Berichte mit Risikobewertung und Empfehlungen für den Benutzer.
@@ -49,7 +49,7 @@ Wenn Sie Fragen oder Anregungen zum Projekt haben, besuchen Sie bitte den Abschn
49
  'English': {
50
  'header': "📄 About the Project",
51
  'content': """**SMS Analysis** is an innovative application created to help users identify potential phone fraud attempts. Our goal is to increase awareness of the dangers associated with fake SMS messages and provide tools for their effective detection.
52
-
53
  **Application Features:**
54
  - Analyzing SMS content for potential fraud attempts.
55
  - Detailed reports with risk assessments and user recommendations.
@@ -69,10 +69,11 @@ If you have any questions or suggestions regarding the project, please visit the
69
  }
70
  }
71
 
72
- def show_about(language):
73
  st.header(page_translations[language]['header'])
74
  st.write(page_translations[language]['content'])
 
75
 
76
  if __name__ == "__main__":
77
- show_about(st.session_state.language)
78
 
 
7
  'Polish': {
8
  'header': "📄 O Projekcie",
9
  'content': """**Detektor Fałszywych Wiadomości SMS** to innowacyjna aplikacja stworzona w celu pomocy użytkownikom w identyfikacji potencjalnych oszustw telefonicznych. Naszym celem jest zwiększenie świadomości na temat zagrożeń związanych z fałszywymi wiadomościami SMS oraz dostarczenie narzędzi do ich skutecznego wykrywania.
10
+
11
  **Funkcje aplikacji:**
12
  - Analiza treści wiadomości SMS pod kątem potencjalnych oszustw.
13
  - Szczegółowe raporty z analizą ryzyka oraz zaleceniami dla użytkownika.
 
28
  'German': {
29
  'header': "📄 Über das Projekt",
30
  'content': """**SMS-Analyse** ist eine innovative Anwendung, die entwickelt wurde, um Benutzern dabei zu helfen, potenzielle Telefonbetrugsversuche zu identifizieren. Unser Ziel ist es, das Bewusstsein für die Gefahren im Zusammenhang mit gefälschten SMS-Nachrichten zu erhöhen und Werkzeuge zur effektiven Erkennung dieser Bereitstellung.
31
+
32
  **Funktionen der Anwendung:**
33
  - Analyse des SMS-Inhalts auf potenzielle Betrugsversuche.
34
  - Detaillierte Berichte mit Risikobewertung und Empfehlungen für den Benutzer.
 
49
  'English': {
50
  'header': "📄 About the Project",
51
  'content': """**SMS Analysis** is an innovative application created to help users identify potential phone fraud attempts. Our goal is to increase awareness of the dangers associated with fake SMS messages and provide tools for their effective detection.
52
+
53
  **Application Features:**
54
  - Analyzing SMS content for potential fraud attempts.
55
  - Detailed reports with risk assessments and user recommendations.
 
69
  }
70
  }
71
 
72
+ def main(language):
73
  st.header(page_translations[language]['header'])
74
  st.write(page_translations[language]['content'])
75
+ # Tutaj dodaj resztę funkcjonalności analizy
76
 
77
  if __name__ == "__main__":
78
+ main(st.session_state.language)
79