diff --git a/app/src/main/java/ch/dissem/apps/abit/AbstractItemListFragment.kt b/app/src/main/java/ch/dissem/apps/abit/AbstractItemListFragment.kt index 2e919d2..a87a73e 100644 --- a/app/src/main/java/ch/dissem/apps/abit/AbstractItemListFragment.kt +++ b/app/src/main/java/ch/dissem/apps/abit/AbstractItemListFragment.kt @@ -27,7 +27,7 @@ import ch.dissem.apps.abit.listener.ListSelectionListener /** * @author Christian Basler */ -abstract class AbstractItemListFragment : ListFragment(), ListHolder { +abstract class AbstractItemListFragment : ListFragment(), ListHolder { /** * The fragment's current callback object, which is notified of list item * clicks. diff --git a/app/src/main/java/ch/dissem/apps/abit/util/PRNGFixes.java b/app/src/main/java/ch/dissem/apps/abit/util/PRNGFixes.java index 38bda8b..52be606 100644 --- a/app/src/main/java/ch/dissem/apps/abit/util/PRNGFixes.java +++ b/app/src/main/java/ch/dissem/apps/abit/util/PRNGFixes.java @@ -39,6 +39,7 @@ import java.security.Security; * @see * http://android-developers.blogspot.ch/2013/08/some-securerandom-thoughts.html */ +@SuppressWarnings("WeakerAccess") public final class PRNGFixes { private static final int VERSION_CODE_JELLY_BEAN = 16; diff --git a/app/src/main/res/drawable/bg_item_swiping_active_state.xml b/app/src/main/res/drawable/bg_item_swiping_active_state.xml deleted file mode 100644 index b90dbeb..0000000 --- a/app/src/main/res/drawable/bg_item_swiping_active_state.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - diff --git a/app/src/main/res/drawable/bg_item_swiping_state.xml b/app/src/main/res/drawable/bg_item_swiping_state.xml deleted file mode 100644 index 00ca171..0000000 --- a/app/src/main/res/drawable/bg_item_swiping_state.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - diff --git a/app/src/main/res/layout/dialog_select_message_encoding.xml b/app/src/main/res/layout/dialog_select_message_encoding.xml index f9bef0f..3c7e3d4 100644 --- a/app/src/main/res/layout/dialog_select_message_encoding.xml +++ b/app/src/main/res/layout/dialog_select_message_encoding.xml @@ -50,14 +50,14 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginBottom="24dp" - android:text="SIMPLE"/> + android:text="@string/encoding_simple"/> + android:text="@string/encoding_extended"/> diff --git a/app/src/main/res/menu/import_input_data.xml b/app/src/main/res/menu/import_input_data.xml index 9e8665b..35a0fa7 100644 --- a/app/src/main/res/menu/import_input_data.xml +++ b/app/src/main/res/menu/import_input_data.xml @@ -18,7 +18,6 @@ diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 086c834..f71c93c 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -109,9 +109,9 @@ Als Alternative kann in den Einstellungen ein vertrauenswürdiger Knoten konfigu empfangen gesendet Empfang bestätigt - Codierung ‘%s’ wird nicht unterstützt, es wird ‘SIMPLE’ verwendet. + Codierung ‘%s’ wird nicht unterstützt, es wird ‘einfach’ verwendet. Kodierung auswählen - ‘EXTENDED’ ist ein neues Datenformat welches noch nicht überall funktioniert, es hat jedoch einige interessante Vorteile. Wähle ‘SIMPLE’ um sicher zu gehen. + ‘Erweitert’ ist ein neues Datenformat welches noch nicht überall funktioniert, es hat jedoch einige interessante Vorteile. Wähle ‘einfach’ um sicher zu gehen. Aufräumen Aufräumarbeiten gestartet Aufräumarbeiten beendet @@ -135,4 +135,6 @@ Als Alternative kann in den Einstellungen ein vertrauenswürdiger Knoten konfigu Ungelesen Papierkorb Broadcasts + einfach + erweitert diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 2e872e0..48ae83d 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -105,8 +105,8 @@ brouillon envoyé reçu - Encodage non supporté \'%s\', \'SIMPLE\' est utilisé. - \'EXTENDED\' est un nouveau format de message qui ne fonctionne pas encore partout, mais qui a des avantages intéressants. Sélectionnez \'SIMPLE\' pour être sûr. + Encodage non supporté \'%s\', \'simple\' est utilisé. + \'Étendu\' est un nouveau format de message qui ne fonctionne pas encore partout, mais qui a des avantages intéressants. Sélectionnez \'simple\' pour être sûr. Sélectionner le codage des messages Nettoyage Supprimer les entrées d\'inventaire obsolètes @@ -132,4 +132,6 @@ Non lues Corbeille Diffusions + simple + étendu diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index bc041e3..3e0747a 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -108,8 +108,8 @@ As an alternative you could configure a trusted node in the settings, but as of draft sent received - Unsupported encoding ‘%s’, using ‘SIMPLE’ instead. - ‘EXTENDED’ is a new message format that\'s not widely supported yet but has some interesting features. To stay on the save side, select ‘SIMPLE’. + Unsupported encoding ‘%s’, using ‘simple’ instead. + ‘Extended’ is a new message format that\'s not widely supported yet but has some interesting features. To stay on the save side, select ‘simple’. Select Message Encoding Cleanup Remove outdated inventory entries @@ -134,4 +134,6 @@ As an alternative you could configure a trusted node in the settings, but as of Unread Trash Broadcasts + simple + extended diff --git a/app/src/test/java/ch/dissem/bitmessage/repository/AndroidAddressRepositoryTest.kt b/app/src/test/java/ch/dissem/bitmessage/repository/AndroidAddressRepositoryTest.kt index 078c887..f983bb0 100644 --- a/app/src/test/java/ch/dissem/bitmessage/repository/AndroidAddressRepositoryTest.kt +++ b/app/src/test/java/ch/dissem/bitmessage/repository/AndroidAddressRepositoryTest.kt @@ -16,7 +16,6 @@ package ch.dissem.bitmessage.repository -import android.os.Build import android.os.Build.VERSION_CODES.LOLLIPOP import ch.dissem.apps.abit.repository.AndroidAddressRepository import ch.dissem.apps.abit.repository.SqlHelper diff --git a/app/src/test/java/ch/dissem/bitmessage/repository/AndroidInventoryTest.kt b/app/src/test/java/ch/dissem/bitmessage/repository/AndroidInventoryTest.kt index 41ed627..60f9ad3 100644 --- a/app/src/test/java/ch/dissem/bitmessage/repository/AndroidInventoryTest.kt +++ b/app/src/test/java/ch/dissem/bitmessage/repository/AndroidInventoryTest.kt @@ -16,7 +16,6 @@ package ch.dissem.bitmessage.repository -import android.os.Build import android.os.Build.VERSION_CODES.LOLLIPOP import ch.dissem.apps.abit.repository.AndroidInventory import ch.dissem.apps.abit.repository.SqlHelper diff --git a/app/src/test/java/ch/dissem/bitmessage/repository/AndroidLabelRepositoryTest.kt b/app/src/test/java/ch/dissem/bitmessage/repository/AndroidLabelRepositoryTest.kt index 5d01c70..ee94a4f 100644 --- a/app/src/test/java/ch/dissem/bitmessage/repository/AndroidLabelRepositoryTest.kt +++ b/app/src/test/java/ch/dissem/bitmessage/repository/AndroidLabelRepositoryTest.kt @@ -16,13 +16,12 @@ package ch.dissem.bitmessage.repository -import android.os.Build import android.os.Build.VERSION_CODES.LOLLIPOP import ch.dissem.apps.abit.repository.AndroidLabelRepository import ch.dissem.apps.abit.repository.SqlHelper import ch.dissem.bitmessage.entity.valueobject.Label import ch.dissem.bitmessage.ports.LabelRepository -import org.junit.Assert.* +import org.junit.Assert.assertEquals import org.junit.Before import org.junit.Test import org.junit.runner.RunWith diff --git a/app/src/test/java/ch/dissem/bitmessage/repository/AndroidNodeRegistryTest.kt b/app/src/test/java/ch/dissem/bitmessage/repository/AndroidNodeRegistryTest.kt index acaeeff..aa697c9 100644 --- a/app/src/test/java/ch/dissem/bitmessage/repository/AndroidNodeRegistryTest.kt +++ b/app/src/test/java/ch/dissem/bitmessage/repository/AndroidNodeRegistryTest.kt @@ -16,7 +16,6 @@ package ch.dissem.bitmessage.repository -import android.os.Build import android.os.Build.VERSION_CODES.LOLLIPOP import ch.dissem.apps.abit.repository.AndroidNodeRegistry import ch.dissem.apps.abit.repository.SqlHelper