internationalization for settings/*

pull/5389/head
root (Deneir) 5 months ago
parent 567579e5f8
commit 297e6ce3de

@ -1,33 +0,0 @@
<?php
return [
'account_settings' => 'Konto-Einstellungen',
'change_profile_photo' => 'Profilfoto ändern',
'select_a_profile_photo' => 'Wähle dein Profilfoto',
'must_be_a_jpeg_or_png_max_avatar_size' => 'Muss jpeg oder png sein. Maximale Größe:',
'upload' => 'Hochladen',
'delete_profile_photo' => 'Profilfoto löschen',
'name' => 'Name',
'your_name' => 'Dein Name',
'website' => 'Website',
'bio' => 'Bio',
'add_a_bio_here' => 'Deine Biografie',
'language' => 'Sprache',
'pronouns' => 'Pronomen',
'select_pronouns' => 'Wähle Pronomen',
'select_up_to_4_pronouns_that_will_appear_on_etc' => 'Wähle bis zu 4 Pronomen, die auf deinem Profil angezeigt werden.',
'account_aliases' => 'Konto-Alias',
'manage_account_alias' => 'Verwalte dein Aliaskonto',
'to_move_from_another_account_to_this_one_first_etc' => 'Um von einem anderen Konto hierher zu migrieren, musst du zuerst einen Alias anlegen',
'account_migrate' => 'Konto-Migration',
'migrate_to_another_account' => 'Ziehe dein Konto um',
'to_redirect_this_account_to_a_different_one_etc' => 'Um dieses Konto auf ein anderes umzuleiten (wo es unterstützt wird).',
'storage_usage' => 'Speichernutzung',
'storage_used' => 'Belegter Speicher',
'submit' => 'Absenden',
'are_you_sure_you_want_to_delete_your_profile_photo' => 'Bist du sicher, dass du dein Profilfoto löschen möchtest?',
'error' => 'Error',
'an_error_occured_please_try_again_later' => 'An error occured, please try again later',
];

@ -0,0 +1,189 @@
<?php
return [
'account' => 'Konto',
'accessibility' => 'Barrierefreiheit',
'email' => 'E-Mail',
'invites' => 'Einladungen',
'media' => 'Medien',
'notifications' => 'Benachrichtigungen',
'password' => 'Passwort',
'privacy' => 'Privatsphäre',
'relationships' => 'Beziehungen',
'security' => 'Sicherheit',
'timelines' => 'Zeitleisten',
'applications' => 'Anwendungen',
'developers' => 'Entwicklung',
'import' => 'Import',
'export' => 'Export',
'labs' => 'Labs',
'parental_controls' => 'Elterliche Kontrolle',
'submit' => 'Absenden',
'error' => 'Fehler',
'cancel' => 'Abbrechen',
'save' => 'Speichern',
'download' => 'Herunterladen',
'home.account_settings' => 'Konto-Einstellungen',
'home.change_profile_photo' => 'Profilfoto ändern',
'home.select_a_profile_photo' => 'Wähle dein Profilfoto',
'home.must_be_a_jpeg_or_png_max_avatar_size' => 'Muss jpeg oder png sein. Maximale Größe:',
'home.upload' => 'Hochladen',
'home.delete_profile_photo' => 'Profilfoto löschen',
'home.name' => 'Name',
'home.your_name' => 'Dein Name',
'home.website' => 'Website',
'home.bio' => 'Bio',
'home.add_a_bio_here' => 'Deine Biografie',
'home.language' => 'Sprache',
'home.pronouns' => 'Pronomen',
'home.select_pronouns' => 'Wähle Pronomen',
'home.select_up_to_4_pronouns_that_will_appear_on_etc' => 'Wähle bis zu 4 Pronomen, die auf deinem Profil angezeigt werden.',
'home.account_aliases' => 'Konto-Alias',
'home.manage_account_alias' => 'Verwalte dein Aliaskonto',
'home.to_move_from_another_account_to_this_one_first_etc' => 'Um von einem anderen Konto hierher zu migrieren, musst du zuerst einen Alias anlegen',
'home.account_migrate' => 'Konto-Migration',
'home.migrate_to_another_account' => 'Ziehe dein Konto um',
'home.to_redirect_this_account_to_a_different_one_etc' => 'Um dieses Konto auf ein anderes umzuleiten (wo es unterstützt wird).',
'home.storage_usage' => 'Speichernutzung',
'home.storage_used' => 'Belegter Speicher',
'home.are_you_sure_you_want_to_delete_your_profile_photo' => 'Bist du sicher, dass du dein Profilfoto löschen möchtest?',
'home.an_error_occured_please_try_again_later' => 'Es ist ein Fehler aufgetreten, versuche es bitte später noch einmal',
'accessibility.reduce_motion' => 'Bewegung verringern',
'accessibility.prevent_animation_effects' => 'Animationseffekte verhindern.',
'accessibility.high_contrast_mode' => 'Hochkontrastmodus',
'accessibility.high_contrast_mode_for_the_visually_impaired' => 'Hoher Kontrast für bessere Sichtbarkeit',
'accessibility.disable_video_autoplay' => 'Automatisches Abspielen deaktivieren',
'accessibility.prevent_videos_from_autoplaying' => 'Verhindert, dass Videos automatisch abgespielt werden.',
'email.email_settings' => 'Email-Einstellungen',
'email.email_address' => 'Email-Adresse',
'email.verified' => 'Verifiziert',
'email.unverified' => 'Unverifiziert',
'email.you_need_to' => 'Du musst',
'email.verify_your_email' => 'deine E-Mail verifizieren',
'media.default_license' => 'Standardlizenz',
'media.set_a_default_license_for_new_posts' => 'Lege eine Standardlizenz für neue Beiträge fest.',
'media.sync_licenses' => 'Lizenzen synchronisieren',
'media.update_existing_posts_with_your_new_default_etc' => 'Existierende Beiträge auf die neue Standardlizenz aktualisieren. Du kannst zweimal alle 24 Stunden synchronisieren.',
'media.license_changes_may_not_be_reflected_on_remote_servers' => 'Lizenzänderungen werden unter Umständen nicht von anderen Server übernommen.',
'media.require_media_descriptions' => 'Medienbeschreibungen erzwingen',
'media.briefly_describe_your_media_to_improve_etc' => 'Beschreibe deine Medien für die Verwendung mit Screenreadern (z.B. für sehbehinderte Menschen)',
'media.not_available_for_mobile_or_3rd_party_apps_etc' => 'Derzeit nicht berücksichtigt in mobilen Apps und Apps von Dritten.',
'password.update_password' => 'Passwort aktualisieren',
'password.current' => 'Aktuell',
'password.your_current_password' => 'Dein derzeitiges Passwort',
'password.new' => 'Neu',
'password.enter_new_password_here' => 'Gib hier dein neues Passwort ein',
'password.confirm' => 'Bestätigung',
'password.confirm_new_password' => 'Bestätige dein neues Passwort hier',
'privacy.privacy_settings' => 'Privatsphäre-Einstellungen',
'privacy.private_account' => 'Privates Konto',
'privacy.when_your_account_is_private_only_people_you_etc' => 'Wenn dein Konto privat ist, können nur Leute die du genehmigt hast deine Fotos und Videos auf Pixelfed sehen. Deine bestehenden Follower sind nicht betroffen.',
'privacy.disable_search_engine_indexing' => 'Suchmaschinen-Indexierung deaktivieren',
'privacy.when_your_account_is_visible_to_search_engines_etc' => 'Wenn dein Konto für Suchmaschinen sichtbar ist, können deine Informationen von Suchmaschinen besucht und gespeichert werden.',
'privacy.not_available_when_your_account_is_private' => 'Nicht verfügbar bei privaten Konten',
'privacy.include_public_posts_in_search_results' => 'Öffentliche Beiträge in Suchergebnisse aufnehmen',
'privacy.your_public_posts_may_appear_in_search_results_etc' => 'Deine öffentlichen Beiträge können in den Suchergebnissen auf Pixelfed und Mastodon auftauchen. Unabhängig davon können Leute, die mit deinen Beiträgen interagiert haben, sie auf jeden Fall per Suche finden.',
'privacy.show_on_directory' => 'Im Verzeichnis anzeigen',
'privacy.when_this_option_is_enabled_your_profile_is_etc' => 'Wenn diese Option aktiv ist, wird dein Profil im Verzeichnis angezeigt. Nur öffentlichen Profile kommen dafür in Frage.',
'privacy.receive_direct_messages_from_anyone' => 'Direktnachrichten von allen empfangen',
'privacy.if_selected_you_will_be_able_to_receive_messages_etc' => 'Wenn diese Option aktiv ist, kannst du Direktnachrichten von allen empfangen, auch von Leuten, denen du nicht folgst.',
'privacy.hide_sensitive_content_from_search_results' => 'Sensible Inhalte in Suchergebnissen ausblenden',
'privacy.this_prevents_posts_with_potentially_sensitive_etc' => 'Dies verhindert, dass Beiträge mit möglicherweise sensiblem Inhalt in deinen Suchergebnissen angezeigt werden.',
'privacy.remove_blocked_and_muted_accounts' => 'Entferne geblockte und stummgeschaltete Konten',
'privacy.use_this_to_eliminate_search_results_from_accounts_etc' => 'Aktiviere, um Suchergebnisse von Konten, die du geblockt oder stummgeschaltet hast, zu entferen.',
'privacy.display_media_that_may_contain_sensitive_content' => 'Medien mit sensiblen Inhalten anzeigen',
'privacy.show_all_media_including_potentially_sensitive_content' => 'Alle Medien anzeigen, inklusive sensibler Inhalte.',
'privacy.show_follower_count' => 'Anzahl von Followern anzeigen',
'privacy.display_follower_count_on_profile' => 'Zeige die Anzahl von Followern im Profil',
'privacy.show_following_count' => 'Anzahl Folgender anzeigen',
'privacy.display_following_count_on_profile' => 'Zeige die Anzahl von Folgenden im Profil',
'privacy.disable_embeds' => 'Einbettung deaktivieren',
'privacy.disable_post_and_profile_embeds' => 'Deaktiviere die Einbettung von Beiträgen und Profilen',
'privacy.enable_atom_feed' => 'Atom-Feed aktivieren',
'privacy.enable_your_profile_atom_feed_only_public_profiles_etc' => 'Aktiviere deinen Atom-Feed. Nur öffentliche Profile kommen dafür in Frage',
'privacy.confirm_this_action' => 'Diese Aktion bestätigen',
'privacy.please_select_the_type_of_private_account_you_etc' => 'Bitte wähle die Art von privatem Account, die du möchtest:',
'privacy.keep_existing_followers' => 'Alle bestehende Follower behalten',
'privacy.only_keep_mutual_followers' => 'Nur gegenseitige Follower behalten',
'privacy.only_followers_that_have_followed_you_for_atleast' => 'Nur Follower behalten, die dir folgen seit wenigstens',
'privacy.hour' => 'Stunde',
'privacy.day' => 'Tag',
'privacy.weeks' => 'Wochen',
'privacy.month' => 'Monat',
'privacy.months' => 'Monate',
'privacy.year' => 'Jahr',
'privacy.remove_existing_followers' => 'Alle Follower entfernen',
'privacy.allow_new_follow_requests' => 'Ermögliche neue Folgeanfragen',
'privacy.block_notifications_from_accounts_i_dont_follow' => 'Blockiere Benachrichtigungen von Konten, denen ich nicht folge',
'privacy.an_error_occured_please_try_again' => 'Es ist ein Fehler aufgetreten, versuche es bitte noch einmal',
'relationships' => 'Beziehungen',
'relationships.followers' => 'Follower',
'relationships.following' => 'Folge ich',
'relationships.hashtags' => 'Hashtags',
'relationships.hashtag' => 'Hashtag',
'relationships.username' => 'Benutzername',
'relationships.action' => 'Aktion',
'relationships.unfollow' => 'Entfolgen',
'relationships.mute' => 'Stummschalten',
'relationships.block' => 'Blockieren',
'relationships.mute_successful' => 'Stummschalten erfolgreich',
'relationships.you_have_successfully_muted_that_user' => 'Du hast den Benutzer erfolgreich stummgeschaltet',
'relationships.block_successful' => 'Blockieren erfolgreich',
'relationships.you_have_successfully_blocked_that_user' => 'Du hast den Benutzer erfolgreich geblockt',
'relationships.unfollow_successful' => 'Entfolgen erfolgreich',
'relationships.you_have_successfully_unfollowed_that_user' => 'Du hast den Benutzer erfolgreich entfolgt',
'relationships.an_error_occured_when_attempting_to_unfollow_this_user' => 'Beim Versuch den Benutzer zu entfolgen ist ein Fehler aufgetreten',
'relationships.you_have_successfully_unfollowed_that_hashtag' => 'Du hast den Hashtag erfolgreich entfolgt',
'security.two_factor_authentication' => 'Zwei-Faktor-Authentifizierung',
'security.enabled' => 'Aktiviert',
'security.danger_zone' => 'Gefahrenbereich',
'security.temporarily_disable_account' => 'Konto temporär deaktivieren',
'security.disable_your_account_to_hide_your_posts_until_next_log_in' => 'Deaktiviere dein Konto um deine Beiträge bis zu deinem nächsten Einloggen zu verstecken',
'security.disable' => 'Deaktiviert',
'security.delete_this_account' => 'Dieses Konto löschen',
'security.once_you_delete_your_account_there_is_no_going_back_etc' => 'Wenn dein Konto gelöscht wurde, gibt es kein zurück mehr. Bitte sei dir darin sicher.',
'security.delete' => 'Löschen',
'security.account_log' => 'Konto-Log',
'security.no_activity_logs_found' => 'Kein Aktivitätenlog gefunden!',
'security.ip_address' => 'IP-Adresse:',
'security.user_agent' => 'User-Agent:',
'security.devices' => 'Geräte',
'security.ip' => 'IP:',
'security.device' => 'Gerät:',
'security.browser' => 'Browser:',
'security.last_login' => 'Letzer Login:',
'security.country' => 'Land:',
'security.trust' => 'Vertrauen',
'security.remove_device' => 'Gerät entfernen',
'security.timeline_settings' => 'Zeitleisten-Einstellungen',
'security.show_text_only_posts' => 'Nur-Text-Beiträge anzeigen',
'security.show_text_only_posts_from_accounts_you_follow_home_etc' => 'Zeige Nur-Text-Beiträge von Konten, denen du folgst. (nur auf der Startseite)',
'security.show_replies' => 'Antworten anzeigen',
'security.show_replies_from_accounts_you_follow_home_timeline_only' => 'Zeige Antworten von Konten, denen du folgst. (nur auf der Startseite)',
'security.show_reblogs' => 'Reblogs anzeigen',
'security.see_reblogs_from_accounts_you_follow_in_your_home_etc' => 'Zeige Reblogs von Konten, denen du folgst. (nur auf der Startseite)',
'security.photo_reblogs_only' => 'Ausschließlich Foto-Reblogs',
'security.only_see_reblogs_of_photos_or_photo_albums_home_etc' => 'Nur Reblogs von Fotos oder Foto-Alben anzeigen. (nur auf der Startseite)',
'developers.oauth_has_not_been_enabled_on_this_instance' => 'OAuth ist auf dieser Instanz nicht aktiv.',
'import.import_from_instagram' => 'Importieren von Instagram',
'export.data_export' => 'Daten-Export',
'export.we_generate_data_exports_once_per_hour_and_they_may_etc' => 'Datenexporte werden stündlich erzeugt und enthalten möglicherweise nicht die neusten Daten, wenn du vor kurzem bereits einmal einen Export angefordert hast.',
'export.statuses' => 'Beiträge',
'export.mute_block_lists' => 'Stumm/Block-Listen',
'labs' => 'Labs',
'labs.experimental_features' => 'Experimentelle Funktionen',
'labs.use_dark_mode_theme' => 'Das Dark Mode-Theme verwenden.',
];

@ -97,6 +97,7 @@ return [
'modlog' => 'modlog',
'post' => 'Beitrag',
'story' => 'Story',
'noneFound' => 'Keine Benachrichtigungen',
],
'post' => [
@ -176,11 +177,27 @@ return [
],
'timeline' => [
'peopleYouMayKnow' => 'Leute, die du vielleicht kennst'
'peopleYouMayKnow' => 'Leute, die du vielleicht kennst',
'onboarding' => [
'welcome' => 'Willkommen',
'thisIsYourHomeFeed' => 'Dies ist deine Startseite, ein chronologischer Strom von Beiträgen von Accounts, denen du folgst.',
'letUsHelpYouFind' => 'Lass uns dir helfen, ein paar interessante Leute zu finden, denen du folgen kannst'
'refreshFeed' => 'Aktualisiere meinen Feed',
],
],
'hashtags' => [
'emptyFeed' => 'Wir können keine Beiträge mit diesem Hashtag finden'
],
'report' => [
'report' => 'Melden',
'selectReason' => 'Wähle einen Grund',
'reported' => 'Gemeldet',
'sendingReport' => 'Sende Meldung',
'thanksMsg' => 'Danke für deine Meldung! Damit erhöhst du die Sicherheit der Community!',
'contactAdminMsg' => 'Wenn du die Administration wegen diesem Beitrag oder dieser Meldung kontaktieren möchtest',
],
];

@ -1,33 +0,0 @@
<?php
return [
'account_settings' => 'Account Settings',
'change_profile_photo' => 'Change Profile Photo',
'select_a_profile_photo' => 'Select a profile photo',
'must_be_a_jpeg_or_png_max_avatar_size' => 'Must be a jpeg or png. Max avatar size:',
'upload' => 'Upload',
'delete_profile_photo' => 'Delete Profile Photo',
'name' => 'Name',
'your_name' => 'Your Name',
'website' => 'Website',
'bio' => 'Bio',
'add_a_bio_here' => 'Add a bio here',
'language' => 'Language',
'pronouns' => 'Pronouns',
'select_pronouns' => 'Select Pronoun(s)',
'select_up_to_4_pronouns_that_will_appear_on_etc' => 'Select up to 4 pronouns that will appear on your profile.',
'account_aliases' => 'Account Aliases',
'manage_account_alias' => 'Manage account alias',
'to_move_from_another_account_to_this_one_first_etc' => 'To move from another account to this one, first you need to create an alias.',
'account_migrate' => 'Account Migrate',
'migrate_to_another_account' => 'Migrate to another account',
'to_redirect_this_account_to_a_different_one_etc' => 'To redirect this account to a different one (where supported).',
'storage_usage' => 'Storage Usage',
'storage_used' => 'Storage Used',
'submit' => 'Submit',
'are_you_sure_you_want_to_delete_your_profile_photo' => 'Are you sure you want to delete your profile photo?',
'error' => 'Fehler',
'an_error_occured_please_try_again_later' => 'Es ist ein Fehler aufgetreten, versuche es bitte später noch einmal',
];

@ -0,0 +1,195 @@
<?php
return [
'account' => 'Account',
'accessibility' => 'Accessibility',
'email' => 'Email',
'invites' => 'Invites',
'media' => 'Media',
'notifications' => 'Notifications',
'password' => 'Password',
'privacy' => 'Privacy',
'relationships' => 'Relationships',
'security' => 'Security',
'timelines' => 'Timelines',
'applications' => 'Applications',
'developers' => 'Developers',
'import' => 'Import',
'export' => 'Export',
'labs' => 'Labs',
'parental_controls' => 'Parental Controls',
'submit' => 'Submit',
'error' => 'Error',
'cancel' => 'Cancel',
'save' => 'Save',
'download' => 'Download',
'home.account_settings' => 'Account Settings',
'home.change_profile_photo' => 'Change Profile Photo',
'home.select_a_profile_photo' => 'Select a profile photo',
'home.must_be_a_jpeg_or_png_max_avatar_size' => 'Must be a jpeg or png. Max avatar size:',
'home.upload' => 'Upload',
'home.delete_profile_photo' => 'Delete Profile Photo',
'home.name' => 'Name',
'home.your_name' => 'Your Name',
'home.website' => 'Website',
'home.bio' => 'Bio',
'home.add_a_bio_here' => 'Add a bio here',
'home.language' => 'Language',
'home.pronouns' => 'Pronouns',
'home.select_pronouns' => 'Select Pronoun(s)',
'home.select_up_to_4_pronouns_that_will_appear_on_etc' => 'Select up to 4 pronouns that will appear on your profile.',
'home.account_aliases' => 'Account Aliases',
'home.manage_account_alias' => 'Manage account alias',
'home.to_move_from_another_account_to_this_one_first_etc' => 'To move from another account to this one, first you need to create an alias.',
'home.account_migrate' => 'Account Migrate',
'home.migrate_to_another_account' => 'Migrate to another account',
'home.to_redirect_this_account_to_a_different_one_etc' => 'To redirect this account to a different one (where supported).',
'home.storage_usage' => 'Storage Usage',
'home.storage_used' => 'Storage Used',
'home.are_you_sure_you_want_to_delete_your_profile_photo' => 'Are you sure you want to delete your profile photo?',
'home.an_error_occured_please_try_again_later' => 'An error occured, please try again later',
'accessibility.reduce_motion' => 'Reduce Motion',
'accessibility.prevent_animation_effects' => 'Prevent animation effects.',
'accessibility.high_contrast_mode' => 'High Contrast Mode',
'accessibility.high_contrast_mode_for_the_visually_impaired' => 'High contrast mode for the visually impaired.',
'accessibility.disable_video_autoplay' => 'Disable video autoplay',
'accessibility.prevent_videos_from_autoplaying' => 'Prevent videos from autoplaying.',
'email.email_settings' => 'Email Settings',
'email.email_address' => 'Email Address',
'email.verified' => 'Verified',
'email.unverified' => 'Unverified',
'email.you_need_to' => 'You need to',
'email.verify_your_email' => 'verify your email',
'media.default_license' => 'Default License',
'media.set_a_default_license_for_new_posts' => 'Set a default license for new posts.',
'media.sync_licenses' => 'Sync Licenses',
'media.update_existing_posts_with_your_new_default_etc' => 'Update existing posts with your new default license. You can sync twice every 24 hours.',
'media.license_changes_may_not_be_reflected_on_remote_servers' => 'License changes may not be reflected on remote servers.',
'media.require_media_descriptions' => 'Require Media Descriptions',
'media.briefly_describe_your_media_to_improve_etc' => 'Briefly describe your media to improve accessibility for vision impaired people.',
'media.not_available_for_mobile_or_3rd_party_apps_etc' => 'Not available for mobile or 3rd party apps at this time.',
'password.update_password' => 'Update Password',
'password.current' => 'Current',
'password.your_current_password' => 'Your current password',
'password.new' => 'New',
'password.enter_new_password_here' => 'Enter new password here',
'password.confirm' => 'Confirm',
'password.confirm_new_password' => 'Confirm new password',
'privacy.privacy_settings' => 'Privacy Settings',
'privacy.private_account' => 'Private Account',
'privacy.when_your_account_is_private_only_people_you_etc' => 'When your account is private, only people you approve can see your photos and videos on pixelfed. Your existing followers won\'t be affected.',
'privacy.disable_search_engine_indexing' => 'Disable Search Engine indexing',
'privacy.when_your_account_is_visible_to_search_engines_etc' => 'When your account is visible to search engines, your information can be crawled and stored by search engines.',
'privacy.not_available_when_your_account_is_private' => 'Not available when your account is private',
'privacy.include_public_posts_in_search_results' => 'Include public posts in search results',
'privacy.your_public_posts_may_appear_in_search_results_etc' => 'Your public posts may appear in search results on Pixelfed and Mastodon. People who have interacted with your posts may be able to search them regardless.',
'privacy.show_on_directory' => 'Show on Directory',
'privacy.when_this_option_is_enabled_your_profile_is_etc' => 'When this option is enabled, your profile is included in the Directory. Only public profiles are eligible.',
'privacy.receive_direct_messages_from_anyone' => 'Receive Direct Messages from anyone',
'privacy.if_selected_you_will_be_able_to_receive_messages_etc' => 'If selected, you will be able to receive messages and notifications from any user even if you do not follow them.',
'privacy.hide_sensitive_content_from_search_results' => 'Hide sensitive content from search results',
'privacy.this_prevents_posts_with_potentially_sensitive_etc' => 'This prevents posts with potentially sensitive content from displaying in your search results.',
'privacy.remove_blocked_and_muted_accounts' => 'Remove blocked and muted accounts',
'privacy.use_this_to_eliminate_search_results_from_accounts_etc' => 'Use this to eliminate search results from accounts you\'ve blocked or muted.',
'privacy.display_media_that_may_contain_sensitive_content' => 'Display media that may contain sensitive content',
'privacy.show_all_media_including_potentially_sensitive_content' => 'Show all media, including potentially sensitive content.',
'privacy.show_follower_count' => 'Show Follower Count',
'privacy.display_follower_count_on_profile' => 'Display follower count on profile',
'privacy.show_following_count' => 'Show Following Count',
'privacy.display_following_count_on_profile' => 'Display following count on profile',
'privacy.disable_embeds' => 'Disable Embeds',
'privacy.disable_post_and_profile_embeds' => 'Disable post and profile embeds',
'privacy.enable_atom_feed' => 'Enable Atom Feed',
'privacy.enable_your_profile_atom_feed_only_public_profiles_etc' => 'Enable your profile atom feed. Only public profiles are eligible.',
'privacy.confirm_this_action' => 'Confirm this action',
'privacy.please_select_the_type_of_private_account_you_etc' => 'Please select the type of private account you would like:',
'privacy.keep_existing_followers' => 'Keep existing followers',
'privacy.only_keep_mutual_followers' => 'Only keep mutual followers',
'privacy.only_followers_that_have_followed_you_for_atleast' => 'Only followers that have followed you for atleast',
'privacy.hour' => 'hour',
'privacy.day' => 'day',
'privacy.weeks' => 'weeks',
'privacy.month' => 'month',
'privacy.months' => 'months',
'privacy.year' => 'year',
'privacy.remove_existing_followers' => 'Remove existing followers',
'privacy.allow_new_follow_requests' => 'Allow new follow requests',
'privacy.block_notifications_from_accounts_i_dont_follow' => 'Block notifications from accounts I don\'t follow',
'privacy.an_error_occured_please_try_again' => 'An error occured. Please try again.',
'relationships' => 'Relationships',
'relationships.followers' => 'Followers',
'relationships.following' => 'Following',
'relationships.hashtags' => 'Hashtags',
'relationships.hashtag' => 'Hashtag',
'relationships.username' => 'Username',
'relationships.action' => 'Action',
'relationships.unfollow' => 'Unfollow',
'relationships.mute' => 'Mute',
'relationships.block' => 'Block',
'relationships.mute_successful' => 'Mute Successful',
'relationships.you_have_successfully_muted_that_user' => 'You have successfully muted that user',
'relationships.block_successful' => 'Block Successful',
'relationships.you_have_successfully_blocked_that_user' => 'You have successfully blocked that user',
'relationships.unfollow_successful' => 'Unfollow Successful',
'relationships.you_have_successfully_unfollowed_that_user' => 'You have successfully unfollowed that user',
'relationships.an_error_occured_when_attempting_to_unfollow_this_user' => 'An error occured when attempting to unfollow this user',
'relationships.you_have_successfully_unfollowed_that_hashtag' => 'You have successfully unfollowed that hashtag',
'security.two_factor_authentication' => 'Two-factor authentication',
'security.enabled' => 'Enabled',
'security.danger_zone' => 'Danger Zone',
'security.temporarily_disable_account' => 'Temporarily Disable Account',
'security.disable_your_account_to_hide_your_posts_until_next_log_in' => 'Disable your account to hide your posts until next log in.',
'security.disable' => 'Disable',
'security.delete_this_account' => 'Delete this Account',
'security.once_you_delete_your_account_there_is_no_going_back_etc' => 'Once you delete your account, there is no going back. Please be certain.',
'security.delete' => 'Delete',
'security.account_log' => 'Account Log',
'security.no_activity_logs_found' => 'No activity logs found!',
'security.ip_address' => 'IP Address:',
'security.user_agent' => 'User Agent:',
'security.devices' => 'Devices',
'security.ip' => 'IP:',
'security.device' => 'Device:',
'security.browser' => 'Browser:',
'security.last_login' => 'Last Login:',
'security.country' => 'Country:',
'security.trust' => 'Trust',
'security.remove_device' => 'Remove Device',
'security.timeline_settings' => 'Timeline Settings',
'security.show_text_only_posts' => 'Show text-only posts',
'security.show_text_only_posts_from_accounts_you_follow_home_etc' => 'Show text-only posts from accounts you follow. (Home timeline only)',
'security.show_replies' => 'Show replies',
'security.show_replies_from_accounts_you_follow_home_timeline_only' => 'Show replies from accounts you follow. (Home timeline only)',
'security.show_reblogs' => 'Show reblogs',
'security.see_reblogs_from_accounts_you_follow_in_your_home_etc' => 'See reblogs from accounts you follow in your home feed. (Home timeline only)',
'security.photo_reblogs_only' => 'Photo reblogs only',
'security.only_see_reblogs_of_photos_or_photo_albums_home_etc' => 'Only see reblogs of photos or photo albums. (Home timeline only)',
// incomplete
// the oauth panel is loaded from elsewhere
'developers.oauth_has_not_been_enabled_on_this_instance' => 'OAuth has not been enabled on this instance.',
// incomplete
// import/ig.blade.php seems not in use anymore
'import.import_from_instagram' => 'Import from Instagram',
'export.data_export' => 'Data Export',
'export.we_generate_data_exports_once_per_hour_and_they_may_etc' => 'We generate data exports once per hour, and they may not contain the latest data if you\'ve requested them recently.',
'export.statuses' => 'Statuses',
'export.mute_block_lists' => 'Mute/Block List',
// incomplete
// some language outside the blades (in app/Http/Controllers/Settings/LabsSettings.php)
'labs' => 'Labs',
'labs.experimental_features' => 'Experimental features',
'labs.use_dark_mode_theme' => 'Use dark mode theme.',
];

@ -3,7 +3,7 @@
@section('section')
<div class="title">
<h3 class="font-weight-bold">Accessibility</h3>
<h3 class="font-weight-bold">{{__('settings.accessibility')}}</h3>
</div>
<hr>
<form method="post">
@ -25,9 +25,9 @@
<div class="form-check pb-3">
<input class="form-check-input" type="checkbox" name="reduce_motion" id="reduce_motion" {{$settings->reduce_motion ? 'checked=""':''}}>
<label class="form-check-label font-weight-bold" for="reduce_motion">
{{__('Reduce Motion')}}
{{__('settings.accessibility.reduce_motion')}}
</label>
<p class="text-muted small help-text">Prevent animation effects.</p>
<p class="text-muted small help-text">{{__('settings.accessibility.prevent_animation_effects')}}</p>
</div>
{{-- <div class="form-check pb-3">
<input class="form-check-input" type="checkbox" name="optimize_screen_reader" id="optimize_screen_reader" {{$settings->optimize_screen_reader ? 'checked=""':''}}>
@ -39,21 +39,21 @@
<div class="form-check pb-3">
<input class="form-check-input" type="checkbox" name="high_contrast_mode" id="high_contrast_mode" {{$settings->high_contrast_mode ? 'checked=""':''}}>
<label class="form-check-label font-weight-bold" for="high_contrast_mode">
{{__('High Contrast Mode')}}
{{__('settings.accessibility.high_contrast_mode')}}
</label>
<p class="text-muted small help-text">High contrast mode for the visually impaired.</p>
<p class="text-muted small help-text">{{__('settings.accessibility.high_contrast_mode_for_the_visually_impaired')}}</p>
</div>
<div class="form-check pb-3">
<input class="form-check-input" type="checkbox" name="video_autoplay" id="video_autoplay" {{$settings->video_autoplay ? 'checked=""':''}}>
<label class="form-check-label font-weight-bold" for="video_autoplay">
{{__('Disable video autoplay')}}
{{__('settings.accessibility.disable_video_autoplay')}}
</label>
<p class="text-muted small help-text">Prevent videos from autoplaying.</p>
<p class="text-muted small help-text">{{__('settings.accessibility.prevent_videos_from_autoplaying')}}</p>
</div>
<div class="form-group row mt-5 pt-5">
<div class="col-12 text-right">
<hr>
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">Submit</button>
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">{{__('settings.submit')}}</button>
</div>
</div>
</form>

@ -3,42 +3,42 @@
@section('section')
<div class="title">
<h3 class="font-weight-bold">Data Export</h3>
<h3 class="font-weight-bold">{{__('settings.export.data_export')}}</h3>
</div>
<hr>
<div class="alert alert-primary px-3 h6">We generate data exports once per hour, and they may not contain the latest data if you've requested them recently.</div>
<div class="alert alert-primary px-3 h6">{{__('settings.export.we_generate_data_exports_once_per_hour_and_they_may_etc')}}</div>
<ul class="list-group">
<li class="list-group-item d-flex justify-content-between align-items-center">
<div>
<span class="font-weight-bold">Following</span>
<span class="font-weight-bold">{{__('settings.relationships.following')}}</span>
</div>
<div>
<form action="/settings/data-export/following" method="post">
@csrf
<button type="submit" class="font-weight-bold btn btn-outline-primary btn-sm">Download</button>
<button type="submit" class="font-weight-bold btn btn-outline-primary btn-sm">{{__('settings.download')}}</button>
</form>
</div>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
<div>
<span class="font-weight-bold">Followers</span>
<span class="font-weight-bold">{{__('settings.relationships.followers')}}</span>
</div>
<div>
<form action="/settings/data-export/followers" method="post">
@csrf
<button type="submit" class="font-weight-bold btn btn-outline-primary btn-sm">Download</button>
<button type="submit" class="font-weight-bold btn btn-outline-primary btn-sm">{{__('settings.download')}}</button>
</form>
</div>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
<div>
<span class="font-weight-bold">Statuses</span>
<span class="font-weight-bold">{{__('settings.export.statuses')}}</span>
</div>
<div>
<form action="/settings/data-export/statuses" method="post" class="d-inline">
@csrf
<input type="hidden" name="type" value="ap">
<button type="submit" class="font-weight-bold btn btn-outline-primary btn-sm">Download</button>
<button type="submit" class="font-weight-bold btn btn-outline-primary btn-sm">{{__('settings.download')}}</button>
</form>
{{-- <form action="/settings/data-export/statuses" method="post" class="d-inline">
@csrf
@ -49,23 +49,23 @@
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
<div>
<span class="font-weight-bold">Mute/Block List</span>
<span class="font-weight-bold">{{__('settings.export.mute_block_lists')}}</span>
</div>
<div>
<form action="/settings/data-export/mute-block-list" method="post">
@csrf
<button type="submit" class="font-weight-bold btn btn-outline-primary btn-sm">Download</button>
<button type="submit" class="font-weight-bold btn btn-outline-primary btn-sm">{{__('settings.download')}}</button>
</form>
</div>
</li>
<li class="list-group-item d-flex justify-content-between align-items-center">
<div>
<span class="font-weight-bold">Account</span>
<span class="font-weight-bold">{{__('settings.account')}}</span>
</div>
<div>
<form action="/settings/data-export/account" method="post">
@csrf
<button type="submit" class="font-weight-bold btn btn-outline-primary btn-sm">Download</button>
<button type="submit" class="font-weight-bold btn btn-outline-primary btn-sm">{{__('settings.download')}}</button>
</form>
</div>
</li>

@ -3,13 +3,13 @@
@section('section')
<div class="title">
<h3 class="font-weight-bold">Developers</h3>
<h3 class="font-weight-bold">{{__('settings.developers')}}</h3>
</div>
<hr>
@if((bool) config_cache('pixelfed.oauth_enabled') == true)
<passport-clients></passport-clients>
@else
<p class="lead">OAuth has not been enabled on this instance.</p>
<p class="lead">{{__('settings.developers.oauth_has_not_been_enabled_on_this_instance')}}</p>
@endif
@endsection

@ -5,7 +5,7 @@
<div class="d-flex justify-content-between align-items-center">
<div class="title d-flex align-items-center" style="gap: 1rem;">
<p class="mb-0"><a href="/settings/home"><i class="far fa-chevron-left fa-lg"></i></a></p>
<h3 class="font-weight-bold mb-0">Email Settings</h3>
<h3 class="font-weight-bold mb-0">{{__('settings.email.email_settings')}}</h3>
</div>
</div>
@ -17,19 +17,19 @@
<input type="hidden" class="form-control" name="website" value="{{Auth::user()->profile->website}}">
<div class="form-group">
<label for="email" class="font-weight-bold">Email Address</label>
<label for="email" class="font-weight-bold">{{__('settings.email.email_address')}}</label>
<input type="email" class="form-control" id="email" name="email" placeholder="Email Address" value="{{Auth::user()->email}}">
<p class="help-text small text-muted font-weight-bold">
@if(Auth::user()->email_verified_at)
<span class="text-success">Verified</span> {{Auth::user()->email_verified_at->diffForHumans()}}
<span class="text-success">{{__('settings.email.verified')}}</span> {{Auth::user()->email_verified_at->diffForHumans()}}
@else
<span class="text-danger">Unverified</span> You need to <a href="/i/verify-email">verify your email</a>.
<span class="text-danger">{{__('settings.email.unverified')}}</span> {{__('settings.email.you_need_to')}} <a href="/i/verify-email">{{__('settings.email.verify_your_email')}}</a>.
@endif
</p>
</div>
<div class="form-group row">
<div class="col-12 text-right">
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">Submit</button>
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">{{__('settings.submit')}}</button>
</div>
</div>
</form>

@ -3,7 +3,7 @@
@section('section')
<div class="title">
<h3 class="font-weight-bold">{{__('home.account_settings')}}</h3>
<h3 class="font-weight-bold">{{__('settings.home.account_settings')}}</h3>
</div>
<hr>
<div class="form-group row">
@ -13,7 +13,7 @@
<div class="col-sm-9">
<p class="lead font-weight-bold mb-0">{{Auth::user()->username}}</p>
<p class="">
<a href="#" class="font-weight-bold change-profile-photo" data-toggle="collapse" data-target="#avatarCollapse" aria-expanded="false" aria-controls="avatarCollapse">{{__('home.change_profile_photo')}}</a>
<a href="#" class="font-weight-bold change-profile-photo" data-toggle="collapse" data-target="#avatarCollapse" aria-expanded="false" aria-controls="avatarCollapse">{{__('settings.home.change_profile_photo')}}</a>
</p>
<div class="collapse" id="avatarCollapse">
<form method="post" action="/settings/avatar" enctype="multipart/form-data">
@ -21,41 +21,41 @@
<div class="card card-body">
<div class="custom-file mb-1">
<input type="file" name="avatar" class="custom-file-input" id="avatarInput">
<label class="custom-file-label" for="avatarInput">{{__('home.select_a_profile_photo')}}</label>
<label class="custom-file-label" for="avatarInput">{{__('settings.home.select_a_profile_photo')}}</label>
</div>
<p><span class="small font-weight-bold">{{__('home.must_be_a_jpeg_or_png_max_avatar_size')}} <span id="maxAvatarSize"></span></span></p>
<p><span class="small font-weight-bold">{{__('settings.home.must_be_a_jpeg_or_png_max_avatar_size')}} <span id="maxAvatarSize"></span></span></p>
<div id="previewAvatar"></div>
<p class="mb-0"><button type="submit" class="btn btn-primary px-4 py-0 font-weight-bold">{{__('home.upload')}}</button></p>
<p class="mb-0"><button type="submit" class="btn btn-primary px-4 py-0 font-weight-bold">{{__('settings.home.upload')}}</button></p>
</div>
</form>
</div>
<p class="">
<a class="font-weight-bold text-muted delete-profile-photo" href="#">{{__('home.delete_profile_photo')}}</a>
<a class="font-weight-bold text-muted delete-profile-photo" href="#">{{__('settings.home.delete_profile_photo')}}</a>
</p>
</div>
</div>
<form method="post">
@csrf
<div class="form-group row">
<label for="name" class="col-sm-3 col-form-label font-weight-bold">{{__('home.name')}}</label>
<label for="name" class="col-sm-3 col-form-label font-weight-bold">{{__('settings.home.name')}}</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="name" name="name" placeholder="{{__('home.your_name')}}" maxlength="30" value="{{Auth::user()->profile->name}}" v-pre>
<input type="text" class="form-control" id="name" name="name" placeholder="{{__('settings.home.your_name')}}" maxlength="30" value="{{Auth::user()->profile->name}}" v-pre>
</div>
</div>
<div class="form-group row">
<label for="website" class="col-sm-3 col-form-label font-weight-bold">{{__('home.website')}}</label>
<label for="website" class="col-sm-3 col-form-label font-weight-bold">{{__('settings.home.website')}}</label>
<div class="col-sm-9">
<input type="text" class="form-control" id="website" name="website" placeholder="{{__('home.website')}}" value="{{Auth::user()->profile->website}}" v-pre>
<input type="text" class="form-control" id="website" name="website" placeholder="{{__('settings.home.website')}}" value="{{Auth::user()->profile->website}}" v-pre>
</div>
</div>
<div class="form-group row">
<label for="bio" class="col-sm-3 col-form-label font-weight-bold">{{__('home.bio')}}</label>
<label for="bio" class="col-sm-3 col-form-label font-weight-bold">{{__('settings.home.bio')}}</label>
<div class="col-sm-9">
<textarea
class="form-control"
id="bio"
name="bio"
placeholder="{{__('home.add_a_bio_here')}}"
placeholder="{{__('settings.home.add_a_bio_here')}}"
rows="2"
data-max-length="{{config('pixelfed.max_bio_length')}}"
maxlength="{{config('pixelfed.max_bio_length')}}"
@ -66,7 +66,7 @@
</div>
</div>
<div class="form-group row">
<label for="language" class="col-sm-3 col-form-label font-weight-bold">{{__('home.language')}}</label>
<label for="language" class="col-sm-3 col-form-label font-weight-bold">{{__('settings.home.language')}}</label>
<div class="col-sm-9">
<select class="form-control" name="language">
@foreach(App\Util\Localization\Localization::languages() as $lang)
@ -76,43 +76,43 @@
</div>
</div>
<div class="form-group row">
<label for="pronouns" class="col-sm-3 col-form-label font-weight-bold">{{__('home.pronouns')}}</label>
<label for="pronouns" class="col-sm-3 col-form-label font-weight-bold">{{__('settings.home.pronouns')}}</label>
<div class="col-sm-9">
<select class="form-control" name="pronouns[]" multiple="" id="pronouns">
<option>{{__('home.select_pronouns')}}</option>
<option>{{__('settings.home.select_pronouns')}}</option>
@foreach(\App\Services\PronounService::pronouns() as $val)
<option value="{{$val}}" {{$pronouns && in_array($val, $pronouns) ? 'selected' : ''}}>{{$val}}</option>
@endforeach
</select>
<p class="help-text text-muted small">{{__('home.select_up_to_4_pronouns_that_will_appear_on_etc')}}</p>
<p class="help-text text-muted small">{{__('settings.home.select_up_to_4_pronouns_that_will_appear_on_etc')}}</p>
</div>
</div>
@if((bool) config_cache('federation.activitypub.enabled'))
<div class="form-group row">
<label for="aliases" class="col-sm-3 col-form-label font-weight-bold">{{__('home.account_aliases')}}</label>
<label for="aliases" class="col-sm-3 col-form-label font-weight-bold">{{__('settings.home.account_aliases')}}</label>
<div class="col-sm-9" id="aliases">
<a class="font-weight-bold" href="/settings/account/aliases/manage">{{__('home.manage_account_alias')}}</a>
<p class="help-text text-muted small">{{__('home.to_move_from_another_account_to_this_one_first_etc')}}</p>
<a class="font-weight-bold" href="/settings/account/aliases/manage">{{__('settings.home.manage_account_alias')}}</a>
<p class="help-text text-muted small">{{__('settings.home.to_move_from_another_account_to_this_one_first_etc')}}</p>
</div>
</div>
@if((bool) config_cache('federation.migration'))
<div class="form-group row">
<label for="aliases" class="col-sm-3 col-form-label font-weight-bold">{{__('home.account_migrate')}}</label>
<label for="aliases" class="col-sm-3 col-form-label font-weight-bold">{{__('settings.home.account_migrate')}}</label>
<div class="col-sm-9" id="aliases">
<a class="font-weight-bold" href="/settings/account/migration/manage">{{__('home.migrate_to_another_account')}}</a>
<p class="help-text text-muted small">{{__('home.to_redirect_this_account_to_a_different_one_etc')}}</p>
<a class="font-weight-bold" href="/settings/account/migration/manage">{{__('settings.home.migrate_to_another_account')}}</a>
<p class="help-text text-muted small">{{__('settings.home.to_redirect_this_account_to_a_different_one_etc')}}</p>
</div>
</div>
@endif
@endif
@if(config_cache('pixelfed.enforce_account_limit'))
<div class="pt-3">
<p class="font-weight-bold text-muted text-center">{{__('home.storage_usage')}}</p>
<p class="font-weight-bold text-muted text-center">{{__('settings.home.storage_usage')}}</p>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label font-weight-bold">{{__('home.storage_used')}}</label>
<label class="col-sm-3 col-form-label font-weight-bold">{{__('settings.home.storage_used')}}</label>
<div class="col-sm-9">
<div class="progress mt-2">
<div class="progress-bar" role="progressbar" style="width: {{$storage['percentUsed']}}%" aria-valuenow="{{$storage['percentUsed']}}" aria-valuemin="0" aria-valuemax="100"></div>
@ -131,7 +131,7 @@
<hr>
<div class="form-group row">
<div class="col-12 text-right">
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">{{__('home.submit')}}</button>
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">{{__('settings.submit')}}</button>
</div>
</div>
</form>
@ -199,13 +199,13 @@ $(document).ready(function() {
$('.delete-profile-photo').on('click', function(e) {
e.preventDefault();
if(window.confirm('{{__('home.are_you_sure_you_want_to_delete_your_profile_photo')}}') == false) {
if(window.confirm('{{__('settings.home.are_you_sure_you_want_to_delete_your_profile_photo')}}') == false) {
return;
}
axios.delete('/settings/avatar').then(res => {
window.location.href = window.location.href;
}).catch(err => {
swal('{{__('home.error')}}', '{{__('home.an_error_occured_please_try_again_later')}}', 'error');
swal('{{__('settings.error')}}', '{{__('settings.home.an_error_occured_please_try_again_later')}}', 'error');
});
});
})

@ -3,7 +3,7 @@
@section('section')
<div class="title">
<h3 class="font-weight-bold">Import from Instagram</h3>
<h3 class="font-weight-bold">{{__('settings.import.import_from_instagram')}}</h3>
</div>
<hr>
<section>

@ -2,8 +2,8 @@
@section('section')
<div class="title">
<h3 class="font-weight-bold">Labs</h3>
<p class="lead">Experimental features</p>
<h3 class="font-weight-bold">{{__('settings.labs')}}</h3>
<p class="lead">{{__('settings.labs.experimental_features')}}</p>
</div>
<hr>
<form method="post" id="form">
@ -13,13 +13,13 @@
<label class="form-check-label font-weight-bold" for="dark_mode">
{{__('Dark Mode')}}
</label>
<p class="text-muted small help-text">Use dark mode theme.</p>
<p class="text-muted small help-text">{{__('settings.labs.use_dark_mode_theme')}}</p>
</div>
<div class="form-group row">
<div class="col-12">
<hr>
<button type="button" class="btn btn-primary font-weight-bold py-1 btn-block" id="save-btn">Save Changes</button>
<button type="button" class="btn btn-primary font-weight-bold py-1 btn-block" id="save-btn">{{__('settings.save')}}</button>
</div>
</div>
</form>

@ -3,13 +3,13 @@
@section('section')
<div class="title">
<h3 class="font-weight-bold">Media</h3>
<h3 class="font-weight-bold">{{__('settings.media')}}</h3>
</div>
<hr>
<form method="post">
@csrf
<div class="form-group pb-3">
<label class="form-check-label font-weight-bold" for="">Default License</label>
<label class="form-check-label font-weight-bold" for="">{{__('settings.media.default_license')}}</label>
<select class="form-control" name="default">
@foreach(App\Util\Media\License::get() as $license)
<option value="{{$license['id']}}" {{$compose['default_license'] == $license['id'] ? 'selected':''}}>
@ -20,28 +20,28 @@
</option>
@endforeach
</select>
<p class="text-muted small help-text">Set a default license for new posts.</p>
<p class="text-muted small help-text">{{__('settings.media.set_a_default_license_for_new_posts')}}</p>
</div>
<div class="form-check pb-3">
<input class="form-check-input" type="checkbox" name="sync">
<label class="form-check-label font-weight-bold" for="">Sync Licenses</label>
<p class="text-muted small help-text">Update existing posts with your new default license. You can sync twice every 24 hours.<br />License changes may not be reflected on remote servers.</p>
<label class="form-check-label font-weight-bold" for="">{{__('settings.media.sync_licenses')}}</label>
<p class="text-muted small help-text">{{__('settings.media.update_existing_posts_with_your_new_default_etc')}}<br />{{__('settings.media.license_changes_may_not_be_reflected_on_remote_servers')}}</p>
</div>
<div class="form-check pb-3">
<input class="form-check-input" type="checkbox" name="media_descriptions" {{$compose['media_descriptions'] == $license['id'] ? 'checked':''}}>
<label class="form-check-label font-weight-bold" for="">Require Media Descriptions</label>
<label class="form-check-label font-weight-bold" for="">{{__('settings.media.require_media_descriptions')}}</label>
<p class="text-muted small help-text">
Briefly describe your media to improve accessibility for vision impaired people. <br />
<span class="font-weight-bold">Not available for mobile or 3rd party apps at this time.</span>
{{__('settings.media.briefly_describe_your_media_to_improve_etc')}}<br />
<span class="font-weight-bold">{{__('settings.media.not_available_for_mobile_or_3rd_party_apps_etc')}}</span>
</p>
</div>
<div class="form-group row mt-5 pt-5">
<div class="col-12 text-right">
<hr>
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">Submit</button>
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">{{__('settings.submit')}}</button>
</div>
</div>
</form>

@ -1,39 +1,39 @@
<div class="col-12 col-md-3">
<ul class="nav flex-column settings-nav py-3">
<li class="nav-item pl-3 {{request()->is('settings/home')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings')}}">Account</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings')}}">{{__('settings.account')}}</a>
</li>
<li class="nav-item pl-3 {{request()->is('settings/accessibility')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.accessibility')}}">Accessibility</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings.accessibility')}}">{{__('settings.accessibility')}}</a>
</li>
<li class="nav-item pl-3 {{request()->is('settings/email')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.email')}}">Email</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings.email')}}">{{__('settings.email')}}</a>
</li>
{{-- @if(config('pixelfed.user_invites.enabled'))
<li class="nav-item pl-3 {{request()->is('settings/invites*')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.invites')}}">Invites</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings.invites')}}">{{__('settings.invites')}}</a>
</li>
@endif --}}
<li class="nav-item pl-3 {{request()->is('settings/media*')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.media')}}">Media</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings.media')}}">{{__('settings.media')}}</a>
</li>
{{-- <li class="nav-item pl-3 {{request()->is('settings/notifications')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.notifications')}}">Notifications</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings.notifications')}}">{{__('settings.notifications')}}</a>
</li> --}}
<li class="nav-item pl-3 {{request()->is('settings/password')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.password')}}">Password</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings.password')}}">{{__('settings.password')}}</a>
</li>
<li class="nav-item pl-3 {{request()->is('settings/privacy*')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.privacy')}}">Privacy</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings.privacy')}}">{{__('settings.privacy')}}</a>
</li>
<li class="nav-item pl-3 {{request()->is('settings/relationships*')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.relationships')}}">Relationships</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings.relationships')}}">{{__('settings.relationships')}}</a>
</li>
<li class="nav-item pl-3 {{request()->is('settings/security*')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.security')}}">Security</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings.security')}}">{{__('settings.security')}}</a>
</li>
<li class="nav-item pl-3 {{request()->is('settings/timeline*')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.timeline')}}">Timelines</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings.timeline')}}">{{__('settings.timelines')}}</a>
</li>
<li class="nav-item">
<hr>
@ -41,27 +41,27 @@
@if((bool) config_cache('pixelfed.oauth_enabled') == true)
<li class="nav-item pl-3 {{request()->is('settings/applications')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.applications')}}">Applications</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings.applications')}}">{{__('settings.applications')}}</a>
</li>
<li class="nav-item pl-3 {{request()->is('settings/developers')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.developers')}}">Developers</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings.developers')}}">{{__('settings.developers')}}</a>
</li>
@endif
<li class="nav-item pl-3 {{request()->is('*import*')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.import')}}">Import</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings.import')}}">{{__('settings.import')}}</a>
</li>
<li class="nav-item pl-3 {{request()->is('settings/data-export')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.dataexport')}}">Export</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings.dataexport')}}">{{__('settings.export')}}</a>
</li>
<li class="nav-item pl-3 {{request()->is('settings/labs*')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.labs')}}">Labs</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings.labs')}}">{{__('settings.labs')}}</a>
</li>
@if(config('instance.parental_controls.enabled'))
<li class="nav-item pl-3 {{request()->is('settings/parental-controls*')?'active':''}}">
<a class="nav-link font-weight-light text-muted" href="{{route('settings.parental-controls')}}">Parental Controls</a>
<a class="nav-link font-weight-light text-muted" href="{{route('settings.parental-controls')}}">{{__('settings.parental_controls')}}</a>
</li>
@endif
</ul>

@ -26,33 +26,33 @@
<div class="row">
<div class="col-12 p-3 p-md-5">
<div class="title">
<h3 class="font-weight-bold">Update Password</h3>
<h3 class="font-weight-bold">{{__('settings.password.update_password')}}</h3>
</div>
<hr>
<form method="post">
@csrf
<div class="form-group row">
<label for="existing" class="col-sm-3 col-form-label font-weight-bold">Current</label>
<label for="existing" class="col-sm-3 col-form-label font-weight-bold">{{__('settings.password.current')}}</label>
<div class="col-sm-9">
<input type="password" class="form-control" name="current" placeholder="Your current password">
<input type="password" class="form-control" name="current" placeholder="{{__('settings.password.your_current_password')}}">
</div>
</div>
<hr>
<div class="form-group row">
<label for="new" class="col-sm-3 col-form-label font-weight-bold">New</label>
<label for="new" class="col-sm-3 col-form-label font-weight-bold">{{__('settings.password.new')}}</label>
<div class="col-sm-9">
<input type="password" class="form-control" name="password" placeholder="Enter new password here">
<input type="password" class="form-control" name="password" placeholder="{{__('settings.password.enter_new_password_here')}}">
</div>
</div>
<div class="form-group row">
<label for="confirm" class="col-sm-3 col-form-label font-weight-bold">Confirm</label>
<label for="confirm" class="col-sm-3 col-form-label font-weight-bold">{{__('settings.password.confirm')}}</label>
<div class="col-sm-9">
<input type="password" class="form-control" name="password_confirmation" placeholder="Confirm new password">
<input type="password" class="form-control" name="password_confirmation" placeholder="{{__('settings.password.confirm_new_password')}}">
</div>
</div>
<div class="form-group row">
<div class="col-12 text-right">
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">Submit</button>
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">{{__('settings.submit')}}</button>
</div>
</div>
</form>

@ -3,7 +3,7 @@
@section('section')
<div class="title">
<h3 class="font-weight-bold">Privacy Settings</h3>
<h3 class="font-weight-bold">{{__('settings.privacy.privacy_settings')}}</h3>
</div>
<hr>
<div class="form-group pb-1">
@ -23,7 +23,7 @@
<label class="form-check-label font-weight-bold" for="is_private">
{{__('Private Account')}}
</label>
<p class="text-muted small help-text">When your account is private, only people you approve can see your photos and videos on pixelfed. Your existing followers won't be affected.</p>
<p class="text-muted small help-text">{{__('settings.privacy.when_your_account_is_private_only_people_you_etc')}}</p>
</div>
<div class="form-check pb-3">
@ -31,7 +31,7 @@
<label class="form-check-label font-weight-bold" for="crawlable">
{{__('Disable Search Engine indexing')}}
</label>
<p class="text-muted small help-text">When your account is visible to search engines, your information can be crawled and stored by search engines. {!! $settings->is_private ? '<strong>Not available when your account is private</strong>' : ''!!}</p>
<p class="text-muted small help-text">{{__('settings.privacy.when_your_account_is_visible_to_search_engines_etc')}} {!! $settings->is_private ? '<strong>'.__('settings.privacy.not_available_when_your_account_is_private').'</strong>' : ''!!}</p>
</div>
<div class="form-check pb-3">
@ -39,7 +39,7 @@
<label class="form-check-label font-weight-bold" for="indexable">
{{__('Include public posts in search results')}}
</label>
<p class="text-muted small help-text">Your public posts may appear in search results on Pixelfed and Mastodon. People who have interacted with your posts may be able to search them regardless. {!! $settings->is_private ? '<strong>Not available when your account is private</strong>' : ''!!}</p>
<p class="text-muted small help-text">{{__('settings.privacy.your_public_posts_may_appear_in_search_results_etc')}} {!! $settings->is_private ? '<strong>'.__('settings.privacy.not_available_when_your_account_is_private').'</strong>' : ''!!}</p>
</div>
@ -48,7 +48,7 @@
<label class="form-check-label font-weight-bold" for="is_suggestable">
{{__('Show on Directory')}}
</label>
<p class="text-muted small help-text">When this option is enabled, your profile is included in the Directory. Only public profiles are eligible. {!! $settings->is_private ? '<strong>Not available when your account is private</strong>' : ''!!}</p>
<p class="text-muted small help-text">{{__('settings.privacy.when_this_option_is_enabled_your_profile_is_etc')}} {!! $settings->is_private ? '<strong>'.__('settings.privacy.not_available_when_your_account_is_private').'</strong>' : ''!!}</p>
</div>
<div class="form-check pb-3">
@ -56,28 +56,28 @@
<label class="form-check-label font-weight-bold" for="public_dm">
{{__('Receive Direct Messages from anyone')}}
</label>
<p class="text-muted small help-text">If selected, you will be able to receive messages and notifications from any user even if you do not follow them.</p>
<p class="text-muted small help-text">{{__('settings.privacy.if_selected_you_will_be_able_to_receive_messages_etc')}}</p>
</div>
{{-- <div class="form-check pb-3">
<input class="form-check-input" type="checkbox" value="" id="srs" checked="">
<label class="form-check-label font-weight-bold" for="srs">
{{__('Hide sensitive content from search results')}}
</label>
<p class="text-muted small help-text">This prevents posts with potentially sensitive content from displaying in your search results.</p>
<p class="text-muted small help-text">{{__('settings.privacy.this_prevents_posts_with_potentially_sensitive_etc')}}</p>
</div> --}}
{{-- <div class="form-check pb-3">
<input class="form-check-input" type="checkbox" value="" id="rbma" checked="">
<label class="form-check-label font-weight-bold" for="rbma">
{{__('Remove blocked and muted accounts')}}
</label>
<p class="text-muted small help-text">Use this to eliminate search results from accounts you've blocked or muted.</p>
<p class="text-muted small help-text">{{__('settings.privacy.use_this_to_eliminate_search_results_from_accounts_etc')}}</p>
</div>
<div class="form-check pb-3">
<input class="form-check-input" type="checkbox" value="" id="ssp">
<label class="form-check-label font-weight-bold" for="ssp">
{{__('Display media that may contain sensitive content')}}
</label>
<p class="text-muted small help-text">Show all media, including potentially sensitive content.</p>
<p class="text-muted small help-text">{{__('settings.privacy.show_all_media_including_potentially_sensitive_content')}}</p>
</div> --}}
<div class="form-check pb-3">
@ -85,7 +85,7 @@
<label class="form-check-label font-weight-bold" for="show_profile_follower_count">
{{__('Show Follower Count')}}
</label>
<p class="text-muted small help-text">Display follower count on profile</p>
<p class="text-muted small help-text">{{__('settings.privacy.display_follower_count_on_profile')}}</p>
</div>
@ -94,7 +94,7 @@
<label class="form-check-label font-weight-bold" for="show_profile_following_count">
{{__('Show Following Count')}}
</label>
<p class="text-muted small help-text">Display following count on profile</p>
<p class="text-muted small help-text">{{__('settings.privacy.display_following_count_on_profile')}}</p>
</div>
<div class="form-check pb-3">
@ -102,7 +102,7 @@
<label class="form-check-label font-weight-bold" for="disable_embeds">
{{__('Disable Embeds')}}
</label>
<p class="text-muted small help-text">Disable post and profile embeds</p>
<p class="text-muted small help-text">{{__('settings.privacy.disable_post_and_profile_embeds')}}</p>
</div>
@if(!$settings->is_private)
@ -111,7 +111,7 @@
<label class="form-check-label font-weight-bold" for="show_atom">
{{__('Enable Atom Feed')}}
</label>
<p class="text-muted small help-text mb-0">Enable your profile atom feed. Only public profiles are eligible.</p>
<p class="text-muted small help-text mb-0">{{__('settings.privacy.enable_your_profile_atom_feed_only_public_profiles_etc')}}</p>
@if($settings->show_atom)
<p class="small">
<a href="{{$profile->permalink('.atom')}}" class="text-success font-weight-bold small" target="_blank">
@ -126,7 +126,7 @@
<div class="form-group row mt-5 pt-5">
<div class="col-12 text-right">
<hr>
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">Submit</button>
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">{{__('settings.submit')}}</button>
</div>
</div>
</form>
@ -134,63 +134,63 @@
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Confirm this action</h5>
<h5 class="modal-title">{{__('settings.privacy.confirm_this_action')}}</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body p-3">
<p class="font-weight-bold">Please select the type of private account you would like:</p>
<p class="font-weight-bold">{{__('settings.privacy.please_select_the_type_of_private_account_you_etc')}}</p>
<div>
<div class="form-check">
<input class="form-check-input" type="radio" id="fm-1" name="pfType" value="keep-all" checked>
<label class="form-check-label pb-2 font-weight-bold" for="fm-1">
Keep existing followers
{{__('settings.privacy.keep_existing_followers')}}
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" id="fm-2" name="pfType" value="mutual-only">
<label class="form-check-label pb-2 font-weight-bold" for="fm-2">
Only keep mutual followers
{{__('settings.privacy.only_keep_mutual_followers')}}
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" id="fm-3" name="pfType" value="only-followers">
<label class="form-check-label pb-2 font-weight-bold" for="fm-3">
Only followers that have followed you for atleast <select name="pfDuration">
<option value="60">1 hour</option>
<option value="1440">1 day</option>
<option value="20160">2 weeks</option>
<option value="43200">1 month</option>
<option value="259200">6 months</option>
<option value="525600">1 year</option>
{{__('settings.privacy.only_followers_that_have_followed_you_for_atleast')}} <select name="pfDuration">
<option value="60">1 {{__('settings.privacy.hour')}}</option>
<option value="1440">1 {{__('settings.privacy.day')}}</option>
<option value="20160">2 {{__('settings.privacy.weeks')}}</option>
<option value="43200">1 {{__('settings.privacy.month')}}</option>
<option value="259200">6 {{__('settings.privacy.months')}}</option>
<option value="525600">1 {{__('settings.privacy.year')}}</option>
</select>
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" id="fm-4" name="pfType" value="remove-all">
<label class="form-check-label font-weight-bold text-danger" for="fm-4">
Remove existing followers
{{__('settings.privacy.remove_existing_followers')}}
</label>
</div>
{{-- <hr>
<div class="form-check pt-3">
<input class="form-check-input" type="checkbox" id="allowFollowRequest">
<label class="form-check-label" for="allowFollowRequest">
Allow new follow requests
{{__('settings.privacy.allow_new_follow_requests')}}
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="blockNotifications" id="chk4">
<label class="form-check-label" for="chk4">
Block notifications from accounts I don't follow
{{__('settings.privacy.block_notifications_from_accounts_i_dont_follow')}}
</label>
</div> --}}
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-secondary font-weight-bold py-0" data-dismiss="modal">Cancel</button>
<button type="button" class="btn btn-primary font-weight-bold py-0" id="modal_confirm">Save</button>
<button type="button" class="btn btn-outline-secondary font-weight-bold py-0" data-dismiss="modal">{{__('settings.cancel')}}</button>
<button type="button" class="btn btn-primary font-weight-bold py-0" id="modal_confirm">{{__('settings.save')}}</button>
</div>
</div>
</div>
@ -220,7 +220,7 @@
}).then(res => {
window.location.href = window.location.href;
}).catch(err => {
swal('Error', 'An error occured. Please try again.', 'error');
swal('{{__('settings.error')}}', '{{__('settings.privacy.an_error_occured_please_try_again')}}', 'error');
});
});
});

@ -3,14 +3,14 @@
@section('section')
<div class="title">
<h3 class="font-weight-bold">Relationships</h3>
<h3 class="font-weight-bold">{{__('settings.relationships')}}</h3>
</div>
<hr>
<div class="form-group pb-1">
<p>
<a class="btn py-0 btn-link {{!request()->has('mode') || $mode == 'followers' ? 'font-weight-bold' : 'text-muted'}}" href="?mode=followers&page=1">Followers</a>
<a class="btn btn-link py-0 {{$mode == 'following' ? 'font-weight-bold' : 'text-muted'}}" href="?mode=following&page=1">Following</a>
<a class="btn btn-link py-0 {{$mode == 'hashtags' ? 'font-weight-bold' : 'text-muted'}}" href="?mode=hashtags&page=1">Hashtags</a>
<a class="btn py-0 btn-link {{!request()->has('mode') || $mode == 'followers' ? 'font-weight-bold' : 'text-muted'}}" href="?mode=followers&page=1">{{__('settings.relationships.followers')}}</a>
<a class="btn btn-link py-0 {{$mode == 'following' ? 'font-weight-bold' : 'text-muted'}}" href="?mode=following&page=1">{{__('settings.relationships.following')}}</a>
<a class="btn btn-link py-0 {{$mode == 'hashtags' ? 'font-weight-bold' : 'text-muted'}}" href="?mode=hashtags&page=1">{{__('settings.relationships.hashtags')}}</a>
</p>
</div>
@ -25,8 +25,8 @@
{{-- <th scope="col" class="pt-0 pb-1 mt-0">
<input type="checkbox" name="check" class="form-control check-all">
</th> --}}
<th scope="col">Hashtag</th>
<th scope="col">Action</th>
<th scope="col">{{__('settings.relationships.hashtag')}}</th>
<th scope="col">{{__('settings.relationships.action')}}</th>
</tr>
</thead>
<tbody>
@ -48,8 +48,8 @@
{{-- <th scope="col" class="pt-0 pb-1 mt-0">
<input type="checkbox" name="check" class="form-control check-all">
</th> --}}
<th scope="col">Username</th>
<th scope="col">Action</th>
<th scope="col">{{__('settings.relationships.username')}}</th>
<th scope="col">{{__('settings.relationship.action')}}</th>
</tr>
</thead>
<tbody>
@ -69,8 +69,8 @@
</td>
@else
<td class="text-center">
<a class="btn btn-outline-primary btn-sm py-0 action-btn" href="#" data-id="{{$follower->id}}" data-action="mute">Mute</a>
<a class="btn btn-outline-danger btn-sm py-0 action-btn" href="#" data-id="{{$follower->id}}" data-action="block">Block</a>
<a class="btn btn-outline-primary btn-sm py-0 action-btn" href="#" data-id="{{$follower->id}}" data-action="mute">{{__('settings.relationships.mute')}}</a>
<a class="btn btn-outline-danger btn-sm py-0 action-btn" href="#" data-id="{{$follower->id}}" data-action="block">{{__('settings.relationships.block')}}</a>
</td>
@endif
</tr>
@ -106,8 +106,8 @@
item: id
}).then(res => {
swal(
'Mute Successful',
'You have successfully muted that user',
'{{__('settings.relationships.mute_successful')}}',
'{{__('settings.relationships.you_have_successfully_muted_that_user')}}',
'success'
);
});
@ -119,8 +119,8 @@
item: id
}).then(res => {
swal(
'Block Successful',
'You have successfully blocked that user',
'{{__('settings.relationships.block_successful')}}',
'{{__('settings.relationships.you_have_successfully_blocked_that_user')}}',
'success'
);
});
@ -130,15 +130,15 @@
axios.post('/api/v1/accounts/' + id + '/unfollow')
.then(res => {
swal(
'Unfollow Successful',
'You have successfully unfollowed that user',
'{{__('settings.relationships.unfollow_successful')}}',
'{{__('settings.relationships.you_have_successfully_unfollowed_that_user')}}',
'success'
);
})
.catch(err => {
swal(
'Error',
'An error occured when attempting to unfollow this user',
'{{__('settings.error')}}',
'{{__('settings.relationships.an_error_occured_when_attempting_to_unfollow_this_user')}}',
'error'
);
});
@ -147,8 +147,8 @@
case 'unfollowhashtag':
axios.post('/api/v1/tags/' + id + '/unfollow').then(res => {
swal(
'Unfollow Successful',
'You have successfully unfollowed that hashtag',
'{{__('settings.relationships.unfollow_successful')}}',
'{{__('settings.relationships.you_have_successfully_unfollowed_that_hashtag')}}',
'success'
);
});

@ -3,16 +3,16 @@
@section('section')
<div class="title">
<h3 class="font-weight-bold">Security</h3>
<h3 class="font-weight-bold">{{__('settings.security')}}</h3>
</div>
<hr>
<section class="pt-4">
<div class="mb-4 pb-4">
<div class="d-flex justify-content-between align-items-center">
<h4 class="font-weight-bold mb-0">Two-factor authentication</h4>
<h4 class="font-weight-bold mb-0">{{__('settings.security.two_factor_authentication')}}</h4>
@if($user->{'2fa_enabled'})
<a class="btn btn-success btn-sm font-weight-bold" href="#">Enabled</a>
<a class="btn btn-success btn-sm font-weight-bold" href="#">{{__('settings.security.enabled')}}</a>
@endif
</div>
<hr>
@ -28,25 +28,25 @@
@include('settings.security.device-panel')
@if(config('pixelfed.account_deletion') && !$user->is_admin)
<h4 class="font-weight-bold pt-3">Danger Zone</h4>
<h4 class="font-weight-bold pt-3">{{__('settings.security.danger_zone')}}</h4>
<div class="mb-4 border rounded border-danger">
<ul class="list-group mb-0 pb-0">
<li class="list-group-item border-left-0 border-right-0 py-3 d-flex justify-content-between">
<div>
<p class="font-weight-bold mb-1">Temporarily Disable Account</p>
<p class="mb-0 small">Disable your account to hide your posts until next log in.</p>
<p class="font-weight-bold mb-1">{{__('settings.security.temporarily_disable_account')}}</p>
<p class="mb-0 small">{{__('settings.security.disable_your_account_to_hide_your_posts_until_next_log_in')}}</p>
</div>
<div>
<a class="btn btn-outline-danger font-weight-bold py-1" href="{{route('settings.remove.temporary')}}">Disable</a>
<a class="btn btn-outline-danger font-weight-bold py-1" href="{{route('settings.remove.temporary')}}">{{__('settings.security.disable')}}</a>
</div>
</li>
<li class="list-group-item border-left-0 border-right-0 py-3 d-flex justify-content-between">
<div>
<p class="font-weight-bold mb-1">Delete this Account</p>
<p class="mb-0 small">Once you delete your account, there is no going back. Please be certain.</p>
<p class="font-weight-bold mb-1">{{__('settings.security.delete_this_account')}}</p>
<p class="mb-0 small">{{__('settings.security.once_you_delete_your_account_there_is_no_going_back_etc')}}</p>
</div>
<div>
<a class="btn btn-outline-danger font-weight-bold py-1" href="{{route('settings.remove.permanent')}}">Delete</a>
<a class="btn btn-outline-danger font-weight-bold py-1" href="{{route('settings.remove.permanent')}}">{{__('settings.security.delete')}}</a>
</div>
</li>
</ul>

@ -1,5 +1,5 @@
<div class="mb-4 pb-4">
<h4 class="font-weight-bold">Devices</h4>
<h4 class="font-weight-bold">{{__('settings.security.devices')}}</h4>
<hr>
<ul class="list-group">
@foreach($devices as $device)
@ -14,30 +14,30 @@
</div>
<div>
<p class="mb-0 font-weight-bold">
<span class="text-muted">IP:</span>
<span class="text-muted">{{__('settings.security.ip')}}</span>
<span class="text-truncate">{{$device->ip}}</span>
</p>
<p class="mb-0 font-weight-bold">
<span class="text-muted">Device:</span>
<span class="text-muted">{{__('settings.security.device')}}</span>
<span>{{$device->getUserAgent()->device()}}</span>
</p>
<p class="mb-0 font-weight-bold">
<span class="text-muted">Browser:</span>
<span class="text-muted">{{__('settings.security.browser')}}</span>
<span>{{$device->getUserAgent()->browser()}}</span>
</p>
{{-- <p class="mb-0 font-weight-bold">
<span class="text-muted">Country:</span>
<span class="text-muted">{{__('settings.security.country')}}</span>
<span>Canada</span>
</p> --}}
<p class="mb-0 font-weight-bold">
<span class="text-muted">Last Login:</span>
<span class="text-muted">{{__('settings.security.last_login')}}</span>
<span>{{$device->updated_at->diffForHumans()}}</span>
</p>
</div>
<div>
<div class="btn-group">
{{-- <a class="btn btn-success font-weight-bold py-0 btn-sm" href="#">Trust</a>
<a class="btn btn-outline-secondary font-weight-bold py-0 btn-sm" href="#">Remove Device</a> --}}
{{-- <a class="btn btn-success font-weight-bold py-0 btn-sm" href="#">{{__('settings.security.trust')}}</a>
<a class="btn btn-outline-secondary font-weight-bold py-0 btn-sm" href="#">{{__('settings.security.remove_device')}}</a> --}}
</div>
</div>
</div>

@ -1,9 +1,9 @@
<div class="mb-4 pb-4">
<h4 class="font-weight-bold">Account Log</h4>
<h4 class="font-weight-bold">{{__('settings.security.account_log')}}</h4>
<hr>
<ul class="list-group border" style="max-height: 400px;overflow-y: auto;">
@if($activity->count() == 0)
<p class="alert alert-info font-weight-bold">No activity logs found!</p>
<p class="alert alert-info font-weight-bold">{{__('settings.security.no_activity_logs_found')}}</p>
@endif
@foreach($activity as $log)
<li class="list-group-item rounded-0 border-0">
@ -21,13 +21,13 @@
<div class="collapse" id="log-details-{{$log->id}}">
<div class="py-2">
<p class="mb-0">
<span class="font-weight-bold">IP Address:</span>
<span class="font-weight-bold">{{__('settings.security.ip_address')}}</span>
<span>
{{$log->ip_address}}
</span>
</p>
<p class="mb-0">
<span class="font-weight-bold">User Agent:</span>
<span class="font-weight-bold">{{__('settings.security.user_agent')}}</span>
<span>
{{$log->user_agent}}
</span>

@ -3,38 +3,38 @@
@section('section')
<div class="title">
<h3 class="font-weight-bold">Timeline Settings</h3>
<h3 class="font-weight-bold">{{__('settings.security.timeline_settings')}}</h3>
</div>
<hr>
<form method="post">
@csrf
<div class="form-check pb-3 d-none">
<input class="form-check-input" type="checkbox" name="top" {{$top ? 'checked':''}}>
<label class="form-check-label font-weight-bold" for="">Show text-only posts</label>
<p class="text-muted small help-text">Show text-only posts from accounts you follow. (Home timeline only)</p>
<label class="form-check-label font-weight-bold" for="">{{__('settings.security.show_text_only_posts')}}</label>
<p class="text-muted small help-text">{{__('settings.security.show_text_only_posts_from_accounts_you_follow_home_etc')}}</p>
</div>
<div class="form-check pb-3 d-none">
<input class="form-check-input" type="checkbox" name="replies" {{$replies ? 'checked':''}}>
<label class="form-check-label font-weight-bold" for="">Show replies</label>
<p class="text-muted small help-text">Show replies from accounts you follow. (Home timeline only)</p>
<label class="form-check-label font-weight-bold" for="">{{__('settings.security.show_replies')}}</label>
<p class="text-muted small help-text">{{__('settings.security.show_replies_from_accounts_you_follow_home_timeline_only')}}</p>
</div>
<div class="form-check pb-3">
<input class="form-check-input" type="checkbox" name="enable_reblogs" {{$userSettings['enable_reblogs'] ? 'checked':''}}>
<label class="form-check-label font-weight-bold" for="">Show reblogs</label>
<p class="text-muted small help-text">See reblogs from accounts you follow in your home feed. (Home timeline only)</p>
<label class="form-check-label font-weight-bold" for="">{{__('settings.security.show_reblogs')}}</label>
<p class="text-muted small help-text">{{__('settings.security.see_reblogs_from_accounts_you_follow_in_your_home_etc')}}</p>
</div>
<div class="form-check pb-3">
<input class="form-check-input" type="checkbox" name="photo_reblogs_only" {{$userSettings['photo_reblogs_only'] ? 'checked':''}}>
<label class="form-check-label font-weight-bold" for="">Photo reblogs only</label>
<p class="text-muted small help-text">Only see reblogs of photos or photo albums. (Home timeline only)</p>
<label class="form-check-label font-weight-bold" for="">{{__('settings.security.photo_reblogs_only')}}</label>
<p class="text-muted small help-text">{{__('settings.security.only_see_reblogs_of_photos_or_photo_albums_home_etc')}}</p>
</div>
<div class="form-group row mt-5 pt-5">
<div class="col-12 text-right">
<hr>
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">Submit</button>
<button type="submit" class="btn btn-primary font-weight-bold py-0 px-5">{{__('settings.submit')}}</button>
</div>
</div>
</form>

Loading…
Cancel
Save