Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f19789b authored by Guillaume Jacquart's avatar Guillaume Jacquart
Browse files

feat:3129: MR fixes, IA translate de, es, fr, it

parent d9366008
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ import androidx.core.content.FileProvider
import androidx.core.content.FileProvider.getUriForFile
import java.io.File

// Subclass (empty) of FileProvider, as advicsed in documentation
// Subclass (empty) of FileProvider, as advised in documentation
// https://developer.android.com/reference/androidx/core/content/FileProvider :
// "It is possible to use FileProvider directly instead of extending it. However, this is
// not reliable and will causes crashes on some devices."
+0 −1
Original line number Diff line number Diff line
@@ -87,7 +87,6 @@ class TrackersFragment : NavToolbarFragment(R.layout.fragment_trackers) {
        binding.weeklyreportShareBtn.setOnClickListener {
            viewModel.state.value?.let { report ->
                val bmp = weeklyReportViewFactory.createShareBmp(requireContext(), report)
                if (bmp == null) return@let
                val sendIntent = ScreenshotsProvider.buildSendIntent(
                    requireContext(),
                    bmp,
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ class WeeklyReportViewFactory() {
        return binding.root
    }

    fun createShareBmp(context: Context, report: DisplayableReport): Bitmap? {
    fun createShareBmp(context: Context, report: DisplayableReport): Bitmap {
        val screenshotWidthPx = 1080 // expected Meta width, 360dp with density x3.0
        val screenshotDensity = DisplayMetrics.DENSITY_XXHIGH // x3.0
        val screenshotFontScale = 1f // base value, 1sp == 1dp
+6 −0
Original line number Diff line number Diff line
@@ -152,5 +152,11 @@
    <string name="dashboard_wall_of_shame">Schandmauer</string>
    <string name="location_app_list_infos">Nur Apps mit Standort-Berechtigung werden angezeigt.</string>
    <string name="location_reset" weblate_ctx="location-3">Apps zurücksetzen</string>

    <string name="weeklyreport_section_title">Wöchentlicher Bericht</string>
    <string name="weeklyreport_share_description">Teilen Sie diesen Bericht und zeigen Sie anderen, was passiert!</string>
    <string name="weeklyreport_share_cta">Teilen</string>
    <string name="weeklyreport_share_message">Sehen Sie, wie /e/OS mein Gerät vor Tracking-Versuchen schützt! \nWarum mobile App-Tracker eine der größten Bedrohungen für Ihre Privatsphäre und Freiheit sind: Lesen Sie unseren Datenschutzleitfaden unter</string>
    <string name="weeklyreport_sharetemplate_subtitle">Wöchentlicher Bericht:</string>
    <string name="weeklyreport_share_privacy_guide">https://e.foundation/wp-content/uploads/2025/01/White_Paper_-_Privacy_-_DE.pdf</string>
</resources>
 No newline at end of file
+6 −0
Original line number Diff line number Diff line
@@ -152,5 +152,11 @@
    <string name="dashboard_wall_of_shame">Muro de deshonra</string>
    <string name="location_reset" weblate_ctx="location-3">Reiniciar aplicaciones</string>
    <string name="location_app_list_infos">Sólo aparerán aplicaciones con permiso de localización.</string>

    <string name="weeklyreport_section_title">Informe semanal</string>
    <string name="weeklyreport_share_description">¡Comparte este informe y muestra a otros lo que está pasando!</string>
    <string name="weeklyreport_share_cta">Compartir</string>
    <string name="weeklyreport_share_message">¡Vea cómo /e/OS protege mi dispositivo de intentos de seguimiento! \nPor qué los rastreadores de aplicaciones móviles son una de las amenazas más impactantes para su privacidad y su libertad: lea nuestra Guía de Privacidad en</string>
    <string name="weeklyreport_sharetemplate_subtitle">Informe semanal:</string>
    <string name="weeklyreport_share_privacy_guide">https://e.foundation/wp-content/uploads/2025/01/White_Paper_-_Privacy_-_ES.pdf</string>
</resources>
 No newline at end of file
Loading