# pages/Education.py import streamlit as st # Definiowanie tłumaczeń dla tej podstrony page_translations = { 'Polish': { 'header': "📚 Edukacja", 'content': """Sekcja edukacyjna ma na celu zwiększenie świadomości użytkowników na temat bezpieczeństwa w internecie i sposobów wykrywania oszustw SMS.""" }, 'German': { 'header': "📚 Bildung", 'content': """Der Bildungsbereich zielt darauf ab, das Bewusstsein der Benutzer für Internetsicherheit und Betrugserkennung bei SMS zu erhöhen.""" }, 'English': { 'header': "📚 Education", 'content': """The education section aims to increase users' awareness of internet safety and methods for detecting SMS fraud.""" } } def main(language): st.header(page_translations[language]['header']) st.write(page_translations[language]['content']) # Tutaj dodaj resztę funkcjonalności edukacyjnych # Do not include "if __name__ == '__main__':" block in pages