From 6f992a9affdac556c51ca84a2e6f054a85855be2 Mon Sep 17 00:00:00 2001 From: Kieran W <41634689+FredHappyface@users.noreply.github.com> Date: Mon, 28 Aug 2023 15:56:34 +0100 Subject: [PATCH] 20230828 --- CHANGELOG.md | 6 ++ app/build.gradle.kts | 5 +- .../fredhappyface/ewesticker/MainActivity.kt | 10 +++ app/src/main/lint.xml | 8 +- app/src/main/res/layout/activity_main.xml | 2 + .../res/mipmap-anydpi-v26/ic_launcher.xml | 4 +- app/src/main/res/values-de/strings.xml | 74 +++++++++++++++++++ app/src/main/res/values-es/strings.xml | 69 +++++++++-------- .../res/values/ic_launcher_background.xml | 2 +- app/src/main/res/values/strings.xml | 45 ++++++----- .../ewesticker/ExampleUnitTest.kt | 7 +- documentation/tutorials/README.md | 45 ++--------- metadata/en-US/changelogs/20230828.txt | 6 ++ 13 files changed, 177 insertions(+), 106 deletions(-) create mode 100644 app/src/main/res/values-de/strings.xml create mode 100644 metadata/en-US/changelogs/20230828.txt diff --git a/CHANGELOG.md b/CHANGELOG.md index e700841..af71ae4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ patch-level version changes can be found in [commit messages](../../commits/mast ## Next_Ver --> +## 20230828 + +- Update app description +- Add German (de) translations with help from google translate and friends. Contributions to enhance + this are very welcome! + ## 20230825 - Update launcher icon, version, screenshots diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 4af8303..dc859aa 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -39,8 +39,8 @@ android { applicationId = "com.fredhappyface.ewesticker" minSdk = 26 targetSdk = 33 - versionCode = 20230825 - versionName = "20230825" + versionCode = 20230828 + versionName = "20230828" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" setProperty("archivesBaseName", "$applicationId-$versionName") } @@ -78,6 +78,7 @@ dependencies { testImplementation("androidx.test.ext:junit:1.1.5") testImplementation("androidx.test.espresso:espresso-core:3.5.1") implementation("com.google.code.gson:gson:2.10.1") + implementation("io.noties.markwon:core:4.6.2") } ktlint { diff --git a/app/src/main/java/com/fredhappyface/ewesticker/MainActivity.kt b/app/src/main/java/com/fredhappyface/ewesticker/MainActivity.kt index d6b3a54..0f59197 100644 --- a/app/src/main/java/com/fredhappyface/ewesticker/MainActivity.kt +++ b/app/src/main/java/com/fredhappyface/ewesticker/MainActivity.kt @@ -17,6 +17,7 @@ import androidx.lifecycle.lifecycleScope import androidx.preference.PreferenceManager import com.fredhappyface.ewesticker.utilities.Toaster import com.google.android.material.progressindicator.LinearProgressIndicator +import io.noties.markwon.Markwon import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch import kotlinx.coroutines.withContext @@ -38,6 +39,15 @@ class MainActivity : AppCompatActivity() { // Inflate view super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) + + val markwon: Markwon = Markwon.create(this) + val featuresText = findViewById(R.id.features_text) + markwon.setMarkdown(featuresText, getString(R.string.features_text)) + + val linksText = findViewById(R.id.links_text) + markwon.setMarkdown(linksText, getString(R.string.links_text)) + + // Set late-init attrs this.sharedPreferences = PreferenceManager.getDefaultSharedPreferences(this) this.contextView = findViewById(R.id.activityMainRoot) diff --git a/app/src/main/lint.xml b/app/src/main/lint.xml index 274a24e..8f5a954 100644 --- a/app/src/main/lint.xml +++ b/app/src/main/lint.xml @@ -1,7 +1,7 @@ - - - - + + + + diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 051ece0..7488e0b 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -291,6 +291,7 @@ @@ -341,6 +342,7 @@ style="@style/body_text" android:autoLink="web" android:linksClickable="true" + android:id="@+id/links_text" android:text="@string/links_text" /> diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml index 036d09b..57a8801 100644 --- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml @@ -1,5 +1,5 @@ - - + + \ No newline at end of file diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml new file mode 100644 index 0000000..b7f02b7 --- /dev/null +++ b/app/src/main/res/values-de/strings.xml @@ -0,0 +1,74 @@ + + + Pack-Symbol + Sticker-Symbol + [Antippen, um Sticker-Vorschau zu schließen] + + Tastatur aktivieren + Einstellungen öffnen + + Sticker-Pack aktualisieren + Sticker-Quellverzeichnis auswählen + Sticker neu laden + Aktuelle Informationen zu geladenen Sticker-Packs: + - Pfad: + Nicht festgelegt + - Datum: + Nie + - Gesamt: + + Optionen + Zurück-Button in der Navigationsleiste anzeigen + Vertikales Layout verwenden + Vorherige Tastatur wiederherstellen, wenn Tastatur geschlossen wird + Wischen zwischen Packs aktivieren (senkrecht zur Scrollrichtung) + "Anzahl der Reihen: " + "Symbolgröße: " + + Informationen + EweSticker ist eine Android-Sticker-Tastaturanwendung, die speziell entwickelt wurde, um eine vielfältige Auswahl an individuellen Stickern in unterstützten Messaging-Apps zu teilen. Dieses Projekt wurde von dem uSticker-Projekt inspiriert und ist ein Fork des woosticker-Repositorys. + + Eigenschaften + "Die EweSticker Android-App bietet folgende Hauptfunktionen, um deine Messaging-Erfahrung zu verbessern: + +- **Breite Palette von unterstützten individuellen Stickern**: EweSticker unterstützt eine vielfältige Auswahl von Sticker-Formaten, sodass Nutzer ihre Kreativität auf verschiedene Arten teilen können. Unterstützte Formate umfassen Bild/GIF, Bild/PNG, Bild/WEBP, Bild/JPEG, Bild/HEIF, Video/3GPP, Video/MP4, Video/X-Matroska und Video/WEBM. + +- **Nahtloses Teilen von Stickern**: Nutzer können Sticker problemlos in Messaging-Apps senden, die die individuelle Mediennutzung unterstützen, indem Bild/PNG als Fallback verwendet wird. + +- **Anpassbares Scrollen**: Die App bietet sowohl vertikale als auch horizontale Scroll-Optionen, sodass Nutzer durch ihre Stickersammlung gemäß ihrer bevorzugten Ausrichtung navigieren können. + +- **Anpassbare Sticker-Vorschau**: Nutzer können die Anzahl der Reihen und die Größe der Sticker-Vorschau anpassen, um das Anzeigeerlebnis nach ihren Vorlieben und den Abmessungen ihres Gerätebildschirms anzupassen. + +- **Integration mit System-Thema**: EweSticker integriert sich nahtlos in das System-Thema, um sicherzustellen, dass das Erscheinungsbild der App mit den designweiten Entscheidungen des Benutzers übereinstimmt. + +- **Sticker-Vorschau bei langer Berührung**: Um die Sticker-Auswahl zu erleichtern, können Nutzer auf einen Sticker lange drücken, um eine Vorschau anzuzeigen. Diese Funktion hilft Nutzern schnell zu entscheiden, welchen Sticker sie teilen möchten, ohne die Stickersammlung separat öffnen zu müssen. + +EweSticker bietet eine breite Palette an Anpassungsoptionen, vielfältige Formatunterstützung und Integration mit Messaging-Apps. Ob Nutzer statische Bilder, animierte GIFs oder sogar kurze Videos teilen, die App zielt darauf ab, eine ansprechende und ausdrucksstarke Art der Kommunikation mit individuellen Stickern zu bieten. + + + Anwendungshinweise + Wähle ein Verzeichnis mit Stickern aus und sende sie in deinen Lieblings-Apps! + + MIT Lizenz + "Copyright © FredHappyface +Copyright © Randy Zhou + + Links + "- Der Quellcode für EweSticker ist verfügbar unter https://github.com/FredHappyface/Android.EweSticker + +- Die Tutorials führen dich schrittweise durch eine Reihe von Schritten, um die Software zu verwenden. Starte hier, wenn du neu bist: https://github.com/FredHappyface/Android.EweSticker/blob/main/documentation/tutorials + +- Der Hilfsleitfaden bietet einen Ausgangspunkt und erläutert häufig auftretende Probleme, die auftreten können: https://github.com/FredHappyface/Android.EweSticker/blob/main/documentation/help + +- MIT Lizenz +(Siehe die Lizenz für weitere Informationen https://github.com/FredHappyface/Android.EweSticker/blob/main/LICENSE.md ) + + Einstellungen geändert. Lade die Tastatur neu, damit die Einstellungen wirksam werden + Import wird gestartet. Dies könnte einige Zeit dauern! + %1$d Sticker importiert. Lade die Tastatur neu, um neue Sticker anzuzeigen + E031: Einige Sticker konnten nicht importiert werden (%1$d importiert). Max. Sticker erreicht + E032: Einige Sticker konnten nicht importiert werden (%1$d importiert). Max. Packungsgröße erreicht + E033: Einige Sticker konnten nicht importiert werden (%1$d importiert). Nicht unterstützte Formate gefunden + E034: Neuladen der Sticker fehlgeschlagen, versuche ein Sticker-Quellverzeichnis auszuwählen + E041: Unerwarteter IOException beim Konvertieren des Stickers + diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 97f83c6..93d71dc 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -1,7 +1,7 @@ - + - Icono del paquete - Icono del sticker + Ícono del paquete + Ícono del sticker [Toque para cerrar la vista previa de la etiqueta] Habilitar teclado @@ -23,40 +23,45 @@ Restaurar el teclado anterior al cerrar el teclado Habilitar el deslizamiento entre paquetes (perpendicular a la dirección de desplazamiento) "Número de filas: " - "Tamaño del icono: " + "Tamaño del ícono: " Información - Tablero de stickers para android inspirado en uSticker (bifurcado de woosticker). + EweSticker es una aplicación de teclado de stickers para Android, diseñada específicamente para compartir una amplia variedad de stickers personalizados en aplicaciones de mensajería compatibles. Este proyecto se inspira en el proyecto uSticker y es un fork del repositorio woosticker. Características - "- Amplia gama de pegatinas personalizadas admitidas: - - image/gif - - image/png - - image/webp - - image/jpeg - - image/heif - - video/3gpp - - video/mp4 - - video/x-matroska - - video/webm -- Envíe stickers en las aplicaciones compatibles (.png se utiliza como alternativa) -- Desplazamiento vertical y horizontal. -- Cambio Número de filas y tamaño de vista previa de la etiqueta -- Se ajusta al tema del sistema. -- Pulse larga en una etiqueta para mostrar una vista previa. - - Cómo utilizar - Selecciona un directorio que contenga pegatinas y envíalas en tus aplicaciones favoritas. - + La aplicación de Android EweSticker ofrece las siguientes características clave para mejorar tu experiencia de mensajería: + +- **Amplia gama de stickers personalizados compatibles**: EweSticker admite una variedad de formatos de stickers, asegurando que los usuarios puedan compartir su creatividad de diversas formas. Los formatos compatibles incluyen image/gif, image/png, image/webp, image/jpeg, image/heif, video/3gpp, video/mp4, video/x-matroska y video/webm. + +- **Compartir stickers de manera sencilla**: Los usuarios pueden enviar stickers fácilmente en aplicaciones de mensajería que admiten el intercambio de contenido multimedia personalizado, utilizando image/png como alternativa. + +- **Desplazamiento personalizable**: La aplicación ofrece opciones de desplazamiento vertical y horizontal, permitiendo a los usuarios navegar por su colección de stickers según su orientación preferida. + +- **Personalización de la vista previa del sticker**: Los usuarios pueden ajustar el número de filas y el tamaño de la vista previa del sticker, adaptando la experiencia de visualización a sus preferencias y dimensiones de la pantalla del dispositivo. + +- **Integración con el tema del sistema**: EweSticker se integra perfectamente con el tema del sistema, asegurando que la apariencia de la aplicación esté en línea con las elecciones de diseño en todo el dispositivo del usuario. + +- **Vista previa del sticker al mantener pulsado**: Para facilitar la selección de stickers, los usuarios pueden mantener pulsado un sticker para ver una vista previa. Esta función ayuda a los usuarios a decidir rápidamente qué sticker desean compartir sin necesidad de abrir la colección de stickers por separado. + +EweSticker ofrece una amplia variedad de opciones de personalización, soporte para diversos formatos e integración con aplicaciones de mensajería. Ya sea que los usuarios estén compartiendo imágenes estáticas, GIFs animados o incluso videos cortos, la aplicación tiene como objetivo proporcionar una forma atractiva y expresiva de comunicarse mediante stickers personalizados. + + + Cómo Usar + ¡Selecciona un directorio que contenga stickers y envíalos en tus aplicaciones favoritas! + Licencia MIT - "Copyright © FredHappyface -Copyright © Randy Zhou - + "Derechos de Autor © FredHappyface +Derechos de Autor © Randy Zhou + Enlaces - "- Proyecto: https://github.com/FredHappyface/Android.EweSticker -- Tutorial: https://github.com/FredHappyface/Android.EweSticker/blob/main/documentation/tutorials -- Ayuda: https://github.com/FredHappyface/Android.EweSticker/blob/main/documentation/help -- Licencia: https://github.com/FredHappyface/Android.EweSticker/blob/main/LICENSE.md + "- El código fuente de EweSticker está disponible en https://github.com/FredHappyface/Android.EweSticker + +- Los tutoriales te guían paso a paso para comenzar a usar el software. Comienza aquí si eres nuevo: https://github.com/FredHappyface/Android.EweSticker/blob/main/documentation/tutorials + +- La guía de ayuda proporciona un punto de partida y describe problemas comunes que podrías tener: https://github.com/FredHappyface/Android.EweSticker/blob/main/documentation/help + +- Licencia MIT +(Consulta la licencia para obtener más información https://github.com/FredHappyface/Android.EweSticker/blob/main/LICENSE.md ) Preferencias cambiadas.Actualizar el teclado para configurar para aplicar Entendiendo la importación.¡Esto podría llevar algún tiempo! @@ -64,6 +69,6 @@ Copyright © Randy Zhou E031: Algunos pegatinas no se importaron (%1$d importado).Pegatinas max alcanzadas E032: Algunos pegatinas no importaron (%1$d importado).Tamaño máximo del paquete alcanzado E033: Algunos pegatinas no importaron (%1$d importado).Formatos no compatibles encontrados - E034: Falló la recarga de stickers, intenta elegir un directorio de origen de stickers + E034: Falló la recarga de stickers, intenta seleccionar un directorio de origen de stickers E041: IOException inesperado al convertir la pegatina diff --git a/app/src/main/res/values/ic_launcher_background.xml b/app/src/main/res/values/ic_launcher_background.xml index 27ece0d..685205f 100644 --- a/app/src/main/res/values/ic_launcher_background.xml +++ b/app/src/main/res/values/ic_launcher_background.xml @@ -1,4 +1,4 @@ - #0FA9A8 + #0FA9A8 \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 74e433b..b48014d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -27,24 +27,25 @@ "Icon size: " Info - Sticker-board for android inspired by uSticker (forked from woosticker). + EweSticker is an Android sticker keyboard application, specifically designed for sharing a wide variety of custom stickers in supported messaging apps. This project draws inspiration from the uSticker project and is a fork of the woosticker repository. Features - "- Wide range of custom stickers supported: - - image/gif - - image/png - - image/webp - - image/jpeg - - image/heif - - video/3gpp - - video/mp4 - - video/x-matroska - - video/webm -- Send stickers in supported apps (image/png is used as a fallback) -- Vertical and Horizontal scrolling -- Change number of rows and sticker preview size -- Ties in with the system theme -- Long press on a sticker to show a preview + "The EweSticker Android app offers the following key features to enhance your messaging experience: + +- **Wide Range of Custom Stickers Supported**: EweSticker supports a diverse set of sticker formats, ensuring that users can share their creativity in various ways. Supported formats include image/gif, image/png, image/webp, image/jpeg, image/heif, video/3gpp, video/mp4, video/x-matroska, and video/webm. + +- **Seamless Sticker Sharing**: Users can easily send stickers within messaging apps that support custom media sharing using image/png as a fallback. + +- **Customizable Scrolling**: The app offers both vertical and horizontal scrolling options, enabling users to navigate through their sticker collection according to their preferred orientation. + +- **Sticker Preview Customization**: Users have the freedom to adjust the number of rows and the sticker preview size, tailoring the viewing experience to their liking and device screen dimensions. + +- **Integration with System Theme**: EweSticker seamlessly integrates with the system's theme, ensuring that the app's appearance aligns with the user's device-wide design choices. + +- **Sticker Preview on Long Press**: To facilitate sticker selection, users can long-press on a sticker to reveal a preview. This feature helps users quickly decide which sticker they want to share without the need to open the sticker collection separately. + +EweSticker brings a wide range of customization options, diverse format support, and integration with messaging apps. Whether users are sharing static images, animated GIFs, or even short videos, the app aims to provide an engaging and expressive way to communicate using custom stickers. + How to Use Select a directory containing stickers and send them in your favourite apps! @@ -54,10 +55,14 @@ Copyright © Randy Zhou Links - "- Project: https://github.com/FredHappyface/Android.EweSticker -- Tutorial: https://github.com/FredHappyface/Android.EweSticker/blob/main/documentation/tutorials -- Help: https://github.com/FredHappyface/Android.EweSticker/blob/main/documentation/help -- License: https://github.com/FredHappyface/Android.EweSticker/blob/main/LICENSE.md + "- The source code for EweSticker is available at https://github.com/FredHappyface/Android.EweSticker + +- The tutorials take you by the hand through a series of steps to get started using the software. Start here if you're new: https://github.com/FredHappyface/Android.EweSticker/blob/main/documentation/tutorials + +- The help guide provides a starting point and outlines common issues that you may have: https://github.com/FredHappyface/Android.EweSticker/blob/main/documentation/help + +- MIT License +(See the license for more information https://github.com/FredHappyface/Android.EweSticker/blob/main/LICENSE.md ) Preferences changed. Reload the keyboard for settings to apply Starting import. This might take some time! diff --git a/app/src/test/java/com/fredhappyface/ewesticker/ExampleUnitTest.kt b/app/src/test/java/com/fredhappyface/ewesticker/ExampleUnitTest.kt index 795af3e..ca8515b 100644 --- a/app/src/test/java/com/fredhappyface/ewesticker/ExampleUnitTest.kt +++ b/app/src/test/java/com/fredhappyface/ewesticker/ExampleUnitTest.kt @@ -1,10 +1,7 @@ package com.fredhappyface.ewesticker -import org.hamcrest.MatcherAssert -import org.hamcrest.MatcherAssert.* -import org.hamcrest.Matchers -import org.hamcrest.Matchers.* -import org.junit.Assert.assertEquals +import org.hamcrest.MatcherAssert.assertThat +import org.hamcrest.Matchers.`is` import org.junit.Test /** diff --git a/documentation/tutorials/README.md b/documentation/tutorials/README.md index 333c906..7db53d5 100644 --- a/documentation/tutorials/README.md +++ b/documentation/tutorials/README.md @@ -6,9 +6,6 @@ sticker collection. - [Step 1 - Create Sticker Directory (and transfer to device)](#step-1---create-sticker-directory-and-transfer-to-device) - [Step 2 - Download EweSticker](#step-2---download-ewesticker) - - [Get it on F-Droid](#get-it-on-f-droid) - - [Get it on Google Play](#get-it-on-google-play) - - [Download the APK](#download-the-apk) - [Step 3 - Activate the keyboard](#step-3---activate-the-keyboard) - [Step 4 - Select Directory with EweSticker](#step-4---select-directory-with-ewesticker) - [Step 5 - Send Stickers in your favourite apps](#step-5---send-stickers-in-your-favourite-apps) @@ -37,44 +34,12 @@ is **4096** ## Step 2 - Download EweSticker -### Get it on F-Droid +You can install the app using the following methods, Follow the link to the listing on your +preferred store by clicking on one of the badges below, then download/install: -1. Open the F-Droid app -2. Search for EweSticker - -or - -[](https://f-droid.org/en/packages/com.fredhappyface.ewesticker/) - -Follow the link to the listing on F-Droid by clicking on the badge above, -then download/ install - -### Get it on Google Play - -1. Open the Google Play app -2. Search for EweSticker - -or - -[](https://play.google.com/store/apps/details?id=com.fredhappyface.ewesticker) - -Follow the link to the listing on Google Play by clicking on the badge above, -then download/ install - -### Download the APK - -1. For releases, navigate to the releases page [here](../../releases). -2. Select the debug or release APK depending on your preference. Note that the -filenames are in the form: com.fredhappyface.ewesticker-(version)-(debug|release).apk - -or - -[Direct apk
-download](../../releases) - -Navigate to the releases page by clicking on the badge above. +[Get it on F-Droid](https://f-droid.org/en/packages/com.fredhappyface.ewesticker/) +[Get it on Google Play](https://play.google.com/store/apps/details?id=com.fredhappyface.ewesticker) +[Direct apk download](../../releases) ## Step 3 - Activate the keyboard diff --git a/metadata/en-US/changelogs/20230828.txt b/metadata/en-US/changelogs/20230828.txt new file mode 100644 index 0000000..b0043d3 --- /dev/null +++ b/metadata/en-US/changelogs/20230828.txt @@ -0,0 +1,6 @@ +

20230828

+
    +
  • Update app description
  • +
  • Add German (de) translations with help from google translate and +friends. Contributions to enhance this are very welcome!
  • +