From 2310af998206f7e6492eaab2c3b8d41558965d6a Mon Sep 17 00:00:00 2001 From: Grzegorz Orczykowski Date: Wed, 31 Jul 2024 22:10:23 +0200 Subject: [PATCH 1/6] Update markup and signature exit model with new styling --- draw/build.gradle.kts | 4 ++ .../org/odk/collect/draw/DrawActivity.java | 54 ++-------------- .../org/odk/collect/draw/QuitDrawingDialog.kt | 50 +++++++++++++++ .../res/layout/quit_drawing_dialog_layout.xml | 64 +++++++++++++++++++ .../src/main/res/drawable/ic_edit.xml | 0 strings/src/main/res/values/strings.xml | 2 + 6 files changed, 125 insertions(+), 49 deletions(-) create mode 100644 draw/src/main/java/org/odk/collect/draw/QuitDrawingDialog.kt create mode 100644 draw/src/main/res/layout/quit_drawing_dialog_layout.xml rename {collect_app => icons}/src/main/res/drawable/ic_edit.xml (100%) diff --git a/draw/build.gradle.kts b/draw/build.gradle.kts index 0f59445feda..86bf5bd2491 100644 --- a/draw/build.gradle.kts +++ b/draw/build.gradle.kts @@ -36,6 +36,10 @@ android { isIncludeAndroidResources = true } } + + buildFeatures { + viewBinding = true + } } dependencies { diff --git a/draw/src/main/java/org/odk/collect/draw/DrawActivity.java b/draw/src/main/java/org/odk/collect/draw/DrawActivity.java index a49e0537dec..06a95e0a079 100644 --- a/draw/src/main/java/org/odk/collect/draw/DrawActivity.java +++ b/draw/src/main/java/org/odk/collect/draw/DrawActivity.java @@ -18,7 +18,6 @@ import android.app.Activity; import android.content.pm.ActivityInfo; import android.graphics.Color; -import android.graphics.drawable.ColorDrawable; import android.net.Uri; import android.os.Bundle; import android.view.KeyEvent; @@ -29,18 +28,14 @@ import android.view.animation.Interpolator; import android.view.animation.OvershootInterpolator; import android.view.animation.ScaleAnimation; -import android.widget.AdapterView; -import android.widget.ListView; import androidx.activity.OnBackPressedCallback; import androidx.annotation.NonNull; -import androidx.appcompat.app.AlertDialog; import androidx.cardview.widget.CardView; import androidx.lifecycle.ViewModel; import androidx.lifecycle.ViewModelProvider; import androidx.lifecycle.viewmodel.CreationExtras; -import com.google.android.material.dialog.MaterialAlertDialogBuilder; import com.google.android.material.floatingactionbutton.FloatingActionButton; import org.odk.collect.androidshared.bitmap.ImageFileUtils; @@ -52,8 +47,6 @@ import org.odk.collect.strings.localization.LocalizedActivity; import java.io.File; -import java.util.Arrays; -import java.util.List; import javax.inject.Inject; @@ -82,8 +75,6 @@ public class DrawActivity extends LocalizedActivity { private File savepointImage; private DrawView drawView; - private String alertTitleString; - private AlertDialog alertDialog; private DrawViewModel drawViewModel; @@ -210,17 +201,6 @@ public void onClick(View view) { // original) // output -- where the output should be written - if (OPTION_SIGNATURE.equals(loadOption)) { - alertTitleString = getString(org.odk.collect.strings.R.string.quit_application, - getString(org.odk.collect.strings.R.string.sign_button)); - } else if (OPTION_ANNOTATE.equals(loadOption)) { - alertTitleString = getString(org.odk.collect.strings.R.string.quit_application, - getString(org.odk.collect.strings.R.string.markup_image)); - } else { - alertTitleString = getString(org.odk.collect.strings.R.string.quit_application, - getString(org.odk.collect.strings.R.string.draw_image)); - } - drawView.setupView(OPTION_SIGNATURE.equals(loadOption)); viewModel.getPenColor().observe(this, penColor -> { @@ -286,35 +266,11 @@ public boolean onKeyDown(int keyCode, KeyEvent event) { * saving */ private void createQuitDrawDialog() { - int dividerHeight = getResources().getDimensionPixelSize(org.odk.collect.androidshared.R.dimen.margin_extra_small); - ListView actionListView = new ListView(this); - actionListView.setPadding(0, dividerHeight, 0, 0); - actionListView.setDivider(new ColorDrawable(Color.TRANSPARENT)); - actionListView.setDividerHeight(dividerHeight); - - List items; - items = Arrays.asList(new IconMenuListAdapter.IconMenuItem(org.odk.collect.icons.R.drawable.ic_save, org.odk.collect.strings.R.string.keep_changes), - new IconMenuListAdapter.IconMenuItem(org.odk.collect.icons.R.drawable.ic_delete, org.odk.collect.strings.R.string.discard_changes)); - - final IconMenuListAdapter adapter = new IconMenuListAdapter(this, items); - actionListView.setAdapter(adapter); - actionListView.setOnItemClickListener(new AdapterView.OnItemClickListener() { - @Override - public void onItemClick(AdapterView parent, View view, int position, long id) { - IconMenuListAdapter.IconMenuItem item = (IconMenuListAdapter.IconMenuItem) adapter.getItem(position); - if (item.getTextResId() == org.odk.collect.strings.R.string.keep_changes) { - drawViewModel.save(drawView); - } else { - cancelAndClose(); - } - alertDialog.dismiss(); - } - }); - alertDialog = new MaterialAlertDialogBuilder(this) - .setTitle(alertTitleString) - .setPositiveButton(getString(org.odk.collect.strings.R.string.do_not_exit), null) - .setView(actionListView).create(); - alertDialog.show(); + QuitDrawingDialog.show( + this, + this::cancelAndClose, + () -> drawViewModel.save(drawView) + ); } private void clear(View view) { diff --git a/draw/src/main/java/org/odk/collect/draw/QuitDrawingDialog.kt b/draw/src/main/java/org/odk/collect/draw/QuitDrawingDialog.kt new file mode 100644 index 00000000000..4dfedc83272 --- /dev/null +++ b/draw/src/main/java/org/odk/collect/draw/QuitDrawingDialog.kt @@ -0,0 +1,50 @@ +package org.odk.collect.draw + +import android.app.Activity +import androidx.appcompat.app.AlertDialog +import com.google.android.material.dialog.MaterialAlertDialogBuilder +import org.odk.collect.draw.databinding.QuitDrawingDialogLayoutBinding + +object QuitDrawingDialog { + + @JvmStatic + fun show( + activity: Activity, + onDiscardChanges: Runnable?, + onSaveChanges: Runnable? + ): AlertDialog { + return create( + activity, + onDiscardChanges, + onSaveChanges + ).also { + it.show() + } + } + + private fun create( + activity: Activity, + onDiscardChanges: Runnable?, + onSaveChanges: Runnable? + ): AlertDialog { + val binding = QuitDrawingDialogLayoutBinding.inflate(activity.layoutInflater) + val dialog = MaterialAlertDialogBuilder(activity) + .setTitle(org.odk.collect.strings.R.string.save_drawing_title) + .setView(binding.root) + .create() + + binding.discardChanges.setOnClickListener { + onDiscardChanges?.run() + } + + binding.keepEditing.setOnClickListener { + dialog.dismiss() + } + + binding.saveChanges.setOnClickListener { + onSaveChanges?.run() + } + + return dialog + } +} diff --git a/draw/src/main/res/layout/quit_drawing_dialog_layout.xml b/draw/src/main/res/layout/quit_drawing_dialog_layout.xml new file mode 100644 index 00000000000..fe2bdb852e7 --- /dev/null +++ b/draw/src/main/res/layout/quit_drawing_dialog_layout.xml @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + diff --git a/collect_app/src/main/res/drawable/ic_edit.xml b/icons/src/main/res/drawable/ic_edit.xml similarity index 100% rename from collect_app/src/main/res/drawable/ic_edit.xml rename to icons/src/main/res/drawable/ic_edit.xml diff --git a/strings/src/main/res/values/strings.xml b/strings/src/main/res/values/strings.xml index 6b4b0d7ca8c..4453c28c857 100644 --- a/strings/src/main/res/values/strings.xml +++ b/strings/src/main/res/values/strings.xml @@ -253,6 +253,8 @@ Gif files are not supported Application returned an invalid file type + Save changes? + Do you want to save changes before you exit? Save and Close Signature Capture Gather Signature From acd2ac90b64ff89f0cf831dee7d540593408d13d Mon Sep 17 00:00:00 2001 From: Grzegorz Orczykowski Date: Wed, 31 Jul 2024 22:10:36 +0200 Subject: [PATCH 2/6] Fixed imports --- .../android/formmanagement/formmap/FormMapViewModel.kt | 2 +- .../android/formmanagement/formmap/FormMapViewModelTest.kt | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/collect_app/src/main/java/org/odk/collect/android/formmanagement/formmap/FormMapViewModel.kt b/collect_app/src/main/java/org/odk/collect/android/formmanagement/formmap/FormMapViewModel.kt index 720f070dd20..ab29a8644bd 100644 --- a/collect_app/src/main/java/org/odk/collect/android/formmanagement/formmap/FormMapViewModel.kt +++ b/collect_app/src/main/java/org/odk/collect/android/formmanagement/formmap/FormMapViewModel.kt @@ -179,7 +179,7 @@ class FormMapViewModel( .getBoolean(ProtectedProjectKeys.KEY_EDIT_SAVED) return IconifiedText( - if (canEditSaved) R.drawable.ic_edit else R.drawable.ic_visibility, + if (canEditSaved) org.odk.collect.icons.R.drawable.ic_edit else R.drawable.ic_visibility, resources.getString(if (canEditSaved) org.odk.collect.strings.R.string.edit_data else org.odk.collect.strings.R.string.view_data) ) } diff --git a/collect_app/src/test/java/org/odk/collect/android/formmanagement/formmap/FormMapViewModelTest.kt b/collect_app/src/test/java/org/odk/collect/android/formmanagement/formmap/FormMapViewModelTest.kt index 12324d344fb..039e6980075 100644 --- a/collect_app/src/test/java/org/odk/collect/android/formmanagement/formmap/FormMapViewModelTest.kt +++ b/collect_app/src/test/java/org/odk/collect/android/formmanagement/formmap/FormMapViewModelTest.kt @@ -113,7 +113,7 @@ class FormMapViewModelTest { smallIcon = R.drawable.ic_room_form_state_incomplete_24dp, largeIcon = R.drawable.ic_room_form_state_incomplete_48dp, action = IconifiedText( - R.drawable.ic_edit, + org.odk.collect.icons.R.drawable.ic_edit, application.getString(org.odk.collect.strings.R.string.edit_data) ), info = formatDate( @@ -152,7 +152,7 @@ class FormMapViewModelTest { smallIcon = R.drawable.ic_room_form_state_incomplete_24dp, largeIcon = R.drawable.ic_room_form_state_incomplete_48dp, action = IconifiedText( - R.drawable.ic_edit, + org.odk.collect.icons.R.drawable.ic_edit, application.getString(org.odk.collect.strings.R.string.edit_data) ), info = formatDate( @@ -191,7 +191,7 @@ class FormMapViewModelTest { smallIcon = R.drawable.ic_room_form_state_incomplete_24dp, largeIcon = R.drawable.ic_room_form_state_incomplete_48dp, action = IconifiedText( - R.drawable.ic_edit, + org.odk.collect.icons.R.drawable.ic_edit, application.getString(org.odk.collect.strings.R.string.edit_data) ), info = formatDate( From 72c9fe22a973f411665ac98c9ed44d476f1d0258 Mon Sep 17 00:00:00 2001 From: Grzegorz Orczykowski Date: Wed, 31 Jul 2024 22:26:01 +0200 Subject: [PATCH 3/6] Removed unused strings --- strings/src/main/res/values-af/strings.xml | 3 --- strings/src/main/res/values-am/strings.xml | 3 --- strings/src/main/res/values-ar/strings.xml | 3 --- strings/src/main/res/values-bn/strings.xml | 3 --- strings/src/main/res/values-ca/strings.xml | 3 --- strings/src/main/res/values-cs/strings.xml | 3 --- strings/src/main/res/values-da/strings.xml | 3 --- strings/src/main/res/values-de/strings.xml | 3 --- strings/src/main/res/values-es/strings.xml | 3 --- strings/src/main/res/values-et/strings.xml | 3 --- strings/src/main/res/values-fa-rAF/strings.xml | 3 --- strings/src/main/res/values-fa/strings.xml | 3 --- strings/src/main/res/values-fi/strings.xml | 3 --- strings/src/main/res/values-fr/strings.xml | 3 --- strings/src/main/res/values-hi/strings.xml | 3 --- strings/src/main/res/values-ht/strings.xml | 3 --- strings/src/main/res/values-in/strings.xml | 3 --- strings/src/main/res/values-it/strings.xml | 3 --- strings/src/main/res/values-ja/strings.xml | 3 --- strings/src/main/res/values-ka/strings.xml | 3 --- strings/src/main/res/values-km/strings.xml | 3 --- strings/src/main/res/values-ln/strings.xml | 1 - strings/src/main/res/values-lo-rLA/strings.xml | 3 --- strings/src/main/res/values-lt/strings.xml | 3 --- strings/src/main/res/values-ml/strings.xml | 1 - strings/src/main/res/values-mr/strings.xml | 3 --- strings/src/main/res/values-ms/strings.xml | 1 - strings/src/main/res/values-my/strings.xml | 3 --- strings/src/main/res/values-ne-rNP/strings.xml | 3 --- strings/src/main/res/values-nl/strings.xml | 3 --- strings/src/main/res/values-no/strings.xml | 3 --- strings/src/main/res/values-pl/strings.xml | 3 --- strings/src/main/res/values-ps/strings.xml | 3 --- strings/src/main/res/values-pt/strings.xml | 3 --- strings/src/main/res/values-ro/strings.xml | 3 --- strings/src/main/res/values-ru/strings.xml | 3 --- strings/src/main/res/values-rw/strings.xml | 3 --- strings/src/main/res/values-sl/strings.xml | 3 --- strings/src/main/res/values-so/strings.xml | 1 - strings/src/main/res/values-sq/strings.xml | 3 --- strings/src/main/res/values-sr/strings.xml | 3 --- strings/src/main/res/values-sv-rSE/strings.xml | 3 --- strings/src/main/res/values-sw-rKE/strings.xml | 3 --- strings/src/main/res/values-sw/strings.xml | 3 --- strings/src/main/res/values-te/strings.xml | 3 --- strings/src/main/res/values-th-rTH/strings.xml | 3 --- strings/src/main/res/values-tl-rPH/strings.xml | 2 -- strings/src/main/res/values-tl/strings.xml | 3 --- strings/src/main/res/values-tr/strings.xml | 3 --- strings/src/main/res/values-uk/strings.xml | 3 --- strings/src/main/res/values-ur-rPK/strings.xml | 3 --- strings/src/main/res/values-ur/strings.xml | 3 --- strings/src/main/res/values-vi/strings.xml | 3 --- strings/src/main/res/values-zh-rTW/strings.xml | 3 --- strings/src/main/res/values-zh/strings.xml | 3 --- strings/src/main/res/values-zu/strings.xml | 3 --- strings/src/main/res/values/strings.xml | 3 --- 57 files changed, 162 deletions(-) diff --git a/strings/src/main/res/values-af/strings.xml b/strings/src/main/res/values-af/strings.xml index b431faa7472..e9d2c3afd30 100644 --- a/strings/src/main/res/values-af/strings.xml +++ b/strings/src/main/res/values-af/strings.xml @@ -69,8 +69,6 @@ Jammer, stoor van vorm het misluk! Vorm suksesvol gestoor! Fout tydens stoor van herstel-punt: %s - - Verlaat %s Stoor Veranderinge Besig om vorm te stoor @@ -361,7 +359,6 @@ Kanselleer Kanselleer Kanselleer - Kanselleer Sukses Daar was \'n fout Wag asseblief \'n paar sekondes. diff --git a/strings/src/main/res/values-am/strings.xml b/strings/src/main/res/values-am/strings.xml index f0d552d9239..dbe662866a6 100644 --- a/strings/src/main/res/values-am/strings.xml +++ b/strings/src/main/res/values-am/strings.xml @@ -73,8 +73,6 @@ ይቅርታ፣ ቅፁን ማስቀመጥ አልተሳካም! ቅፁ በተሳካ ሁኔታ ተቀምጧል! የመልሶ ማግኛ ነጥብ ማስቀመጥ አልተቻለም፡ 1 %s - - ከ 1 %s ይውጡ ለውጦችን አስቀምጥ ቅጽን በማስቀመጥ ላይ @@ -409,7 +407,6 @@ ሰርዝ ሰርዝ ሰርዝ - ሰርዝ ስኬት ስህተት ተከስቷል እባክዎ ጥቂት ጊዜ ይጠብቁ diff --git a/strings/src/main/res/values-ar/strings.xml b/strings/src/main/res/values-ar/strings.xml index 4d071ebce05..dcdbaa6949c 100644 --- a/strings/src/main/res/values-ar/strings.xml +++ b/strings/src/main/res/values-ar/strings.xml @@ -119,8 +119,6 @@ عذرًا، لم يتمّ حفظ الاستمارة! تمّ حفظ الاستمارة بنجاح! خطأ في حفظ نقطة الاسترداد %s - - خروج %s التخلص من النموذج تجاهل التعديلات @@ -774,7 +772,6 @@ إلغاء إلغاء إلغاء - إلغاء جاري الإلغاء الإشعارات العامة نجاح diff --git a/strings/src/main/res/values-bn/strings.xml b/strings/src/main/res/values-bn/strings.xml index af7341ccbf9..4dddfdf5f24 100644 --- a/strings/src/main/res/values-bn/strings.xml +++ b/strings/src/main/res/values-bn/strings.xml @@ -61,8 +61,6 @@ দু:খিত, ফরম সংরক্ষিত হয়নি ফরম সংরক্ষিত হয়েছে ত্রুটি সংরক্ষণ উদ্ধার পয়েন্টঃ %s - - %s প্রস্থান পরিবর্তন সংরক্ষণকরুন ফরম সংরক্ষন করা হচ্ছে। @@ -327,7 +325,6 @@ বাতিল বাতিল বাতিল - প্রস্থান হবেন না? সাফল্য ত্রুটি ঘটেছে দয়া করে কিছু সময় অপেক্ষা করুন। diff --git a/strings/src/main/res/values-ca/strings.xml b/strings/src/main/res/values-ca/strings.xml index 3dd819d5e94..1e6cd66c4f8 100644 --- a/strings/src/main/res/values-ca/strings.xml +++ b/strings/src/main/res/values-ca/strings.xml @@ -75,8 +75,6 @@ Ho sentim, el formulari no s\'ha desat be! Formulari desat correctament! Error al guardar el punt de recuperació: %s - - Sortida %s Desar els canvis Desant formulari @@ -428,7 +426,6 @@ Cancel·lar Cancel·lar Cancel·lar - Cancel·lar Correcte S\'ha produït un error Un moment si us plau. diff --git a/strings/src/main/res/values-cs/strings.xml b/strings/src/main/res/values-cs/strings.xml index 9a84d578eb4..668186bc2e2 100644 --- a/strings/src/main/res/values-cs/strings.xml +++ b/strings/src/main/res/values-cs/strings.xml @@ -122,8 +122,6 @@ Uložení dotazníku selhalo! Dotazník úspěšně uložen! Chyba při ukládání bodu obnovení: %s - - Konec %s Zrušit formulář Zrušit změny @@ -832,7 +830,6 @@ Zrušit Zrušit Zrušit - Zrušit Zrušení Obecná upozornění Úspěch diff --git a/strings/src/main/res/values-da/strings.xml b/strings/src/main/res/values-da/strings.xml index a8e31ed5ce1..0da748165d2 100644 --- a/strings/src/main/res/values-da/strings.xml +++ b/strings/src/main/res/values-da/strings.xml @@ -85,8 +85,6 @@ Formularen kunne ikke gemmes Formular gemt Kunne ikke gemme gendannelsespunkt: %s - - Afslut 1%s Gem ændringer Gemmer formular @@ -491,7 +489,6 @@ Afbryd Afbryd Afbryd - Afbryd Afbryder Voila! Der opstod en fejl diff --git a/strings/src/main/res/values-de/strings.xml b/strings/src/main/res/values-de/strings.xml index 13ead97d34d..e101f9bec40 100644 --- a/strings/src/main/res/values-de/strings.xml +++ b/strings/src/main/res/values-de/strings.xml @@ -125,8 +125,6 @@ Speichervorgang gescheitert! Speichervorgang erfolgreich! Fehler beim Speichern des Wiederherstellungspunkts: %s - - %s beenden Formular verwerfen Änderungen verwerfen @@ -847,7 +845,6 @@ Abbrechen Abbrechen Abbrechen - Abbrechen Abbrechen Allgemeine Benachrichtigungen Erfolg diff --git a/strings/src/main/res/values-es/strings.xml b/strings/src/main/res/values-es/strings.xml index 48208073c7f..9e9ae96a0be 100644 --- a/strings/src/main/res/values-es/strings.xml +++ b/strings/src/main/res/values-es/strings.xml @@ -125,8 +125,6 @@ ¡Atención, el formulario no se ha guardado correctamente! Formulario guardado correctamente Error al guardar punto de recuperación: %s - - Salir %s Descartar formulario Descartar los cambios @@ -833,7 +831,6 @@ Cancelar Cancelar Cancelar - Cancelar Cancelando Notificaciones generales Correcto diff --git a/strings/src/main/res/values-et/strings.xml b/strings/src/main/res/values-et/strings.xml index b0dca299163..40eb0f7956b 100644 --- a/strings/src/main/res/values-et/strings.xml +++ b/strings/src/main/res/values-et/strings.xml @@ -73,8 +73,6 @@ Kahjuks ebaõnnestus vormi salvestamine! Vorm on edukalt salvestatud! Vea parndamise taastuspunkt %s - - Välju %s Muudatuste salvestamine Vormi salvestamine @@ -431,7 +429,6 @@ Tühista Tühista Tühista - Tühista Õnnestus Esines viga Palun oodake. diff --git a/strings/src/main/res/values-fa-rAF/strings.xml b/strings/src/main/res/values-fa-rAF/strings.xml index 26eb99f0b13..060b2d68c26 100644 --- a/strings/src/main/res/values-fa-rAF/strings.xml +++ b/strings/src/main/res/values-fa-rAF/strings.xml @@ -122,8 +122,6 @@ متاسفانه فرم ذخیره نشد! فرم با موفقیت ذخیره شد! خطا در ذخیره نقطه یابی: %s - - خروج %s نادیده گرفتن فرم نادیده گرفتن تغییرات @@ -792,7 +790,6 @@ لغو لغو انصراف - انصراف لغو کردن اطلاعیه های عمومی موفقیت diff --git a/strings/src/main/res/values-fa/strings.xml b/strings/src/main/res/values-fa/strings.xml index 26eb99f0b13..060b2d68c26 100644 --- a/strings/src/main/res/values-fa/strings.xml +++ b/strings/src/main/res/values-fa/strings.xml @@ -122,8 +122,6 @@ متاسفانه فرم ذخیره نشد! فرم با موفقیت ذخیره شد! خطا در ذخیره نقطه یابی: %s - - خروج %s نادیده گرفتن فرم نادیده گرفتن تغییرات @@ -792,7 +790,6 @@ لغو لغو انصراف - انصراف لغو کردن اطلاعیه های عمومی موفقیت diff --git a/strings/src/main/res/values-fi/strings.xml b/strings/src/main/res/values-fi/strings.xml index c2089c62d41..3c2ed6f52f0 100644 --- a/strings/src/main/res/values-fi/strings.xml +++ b/strings/src/main/res/values-fi/strings.xml @@ -125,8 +125,6 @@ Pahoittelut, lomakkeen tallennus epäonnistui! Lomake tallennettu! Virhe tallentaessa palautuspistettä: %s - - Poistu täältä: %s Hylkää lomake Hylkää muutokset @@ -853,7 +851,6 @@ Peruuta Peruuta Peruuta - Peruuta Perutaan Yleiset ilmoitukset Onnistui diff --git a/strings/src/main/res/values-fr/strings.xml b/strings/src/main/res/values-fr/strings.xml index a6dcf337507..6be16c32e9b 100644 --- a/strings/src/main/res/values-fr/strings.xml +++ b/strings/src/main/res/values-fr/strings.xml @@ -125,8 +125,6 @@ Désolé, l\'enregistrement du formulaire a échoué. Le formulaire a été enregistré avec succès. Erreur lors de l\'enregistrement du point de récupération: %s - - Quitter %s Supprimer le formulaire Supprimer les modifications @@ -857,7 +855,6 @@ Annuler Annuler Annuler - Annuler En train d\'annuler Notifications générales Succès diff --git a/strings/src/main/res/values-hi/strings.xml b/strings/src/main/res/values-hi/strings.xml index 8b95c4f7b7a..5843d76e40a 100644 --- a/strings/src/main/res/values-hi/strings.xml +++ b/strings/src/main/res/values-hi/strings.xml @@ -83,8 +83,6 @@ क्षमा करें, फॉर्म संरक्षण असफल! फॉर्म सफलतापूर्वक संरक्षित! रिकवरी बिंदु %sसंरक्षण में त्रुटि है - - बाहर आयें %s बदलाव संरक्षित करें फॉर्म संरक्षित हो रहा है @@ -493,7 +491,6 @@ रद्द करें रद्द करें रद्द करें - रद्द करें सफल गलती हुई कृपया कुछ क्षण प्रतीक्षा करें diff --git a/strings/src/main/res/values-ht/strings.xml b/strings/src/main/res/values-ht/strings.xml index ef17e6a4977..54b1f3a7243 100644 --- a/strings/src/main/res/values-ht/strings.xml +++ b/strings/src/main/res/values-ht/strings.xml @@ -104,8 +104,6 @@ Voye ale Dezole, sovgad fomilè a echwe Fòmilè sovgade ak siksè! - - Soti %s Sovgade chanjman yo Kontinye modifye @@ -331,7 +329,6 @@ Anile Anile Anile - Anile diff --git a/strings/src/main/res/values-in/strings.xml b/strings/src/main/res/values-in/strings.xml index 0faf37c1f7a..00fda8823da 100644 --- a/strings/src/main/res/values-in/strings.xml +++ b/strings/src/main/res/values-in/strings.xml @@ -122,8 +122,6 @@ Maaf, tidak berhasil menyimpan formulir. Formulir berhasil disimpan. Terjadi kesalahan saat menyimpan titik pemulihan: %s - - Keluar dari %s Buang Formulir Buang Perubahan @@ -822,7 +820,6 @@ Batal Batal Batal - Batal Membatalkan Pemberitahuan umum Berhasil diff --git a/strings/src/main/res/values-it/strings.xml b/strings/src/main/res/values-it/strings.xml index 104f21a9fbe..0ee294d6a62 100644 --- a/strings/src/main/res/values-it/strings.xml +++ b/strings/src/main/res/values-it/strings.xml @@ -125,8 +125,6 @@ Spiacenti, salvataggio modulo fallito! Modulo salvato correttamente! Errore nel salvataggio del punto di ripristino: %s - - Uscita %s Elimina formulario Non salvare le modifiche @@ -834,7 +832,6 @@ Annulla Annulla Annulla - Annulla Annullando Impostazioni Generali Successo diff --git a/strings/src/main/res/values-ja/strings.xml b/strings/src/main/res/values-ja/strings.xml index c4de52919d4..89ffb828747 100644 --- a/strings/src/main/res/values-ja/strings.xml +++ b/strings/src/main/res/values-ja/strings.xml @@ -104,8 +104,6 @@ 申し訳ありません、フォームが保存できませんでした! フォームを保存しました! リカバリーポイントの保存中にエラー: %s - - %s を終了 変更を保存する フォームを保存中 @@ -722,7 +720,6 @@ キャンセル キャンセル キャンセル - キャンセル キャンセル中 全般通知 成功しました diff --git a/strings/src/main/res/values-ka/strings.xml b/strings/src/main/res/values-ka/strings.xml index de347aa2b78..2d13e46f595 100644 --- a/strings/src/main/res/values-ka/strings.xml +++ b/strings/src/main/res/values-ka/strings.xml @@ -102,8 +102,6 @@ უკაცრავად, ფორმა ვერ შეინახა! ფორმა წარმატებით შეინახა! შეცდომა აღდგენის წერტილის შენახვისას: %s - - %s-დან გამოსვლა ფორმაში ცვლილებების გაუქმება ცვლილებების გაუქმება @@ -406,7 +404,6 @@ გაუქმება გაუქმება გაუქმება - გაუქმება მიმდინარეობს გაუქმება წარმატება მოხდა შეცდომა diff --git a/strings/src/main/res/values-km/strings.xml b/strings/src/main/res/values-km/strings.xml index cb54235ceeb..121e7ad650b 100644 --- a/strings/src/main/res/values-km/strings.xml +++ b/strings/src/main/res/values-km/strings.xml @@ -109,8 +109,6 @@ សុំទោស, រក្សា​ទុកសំណុំ​បែបបទ​មិន​បាន​សម្រេច! បាន​រក្សាទុកសំណុំ​បែបបទ​ដោយ​ជោគជ័យ! បញ្ហាក្នុងការរក្សាទុកនូវចំនុចស្តារឡើងវិញ: %s - - ចាកចេញ %s បោះបង់ទម្រង់ បោះបង់ការផ្លាស់ប្តូរ @@ -649,7 +647,6 @@ បោះបង់ បោះបង់ បោះបង់ - បោះបង់ កំពុង​បោះបង់ ការជូនដំណឹង​ជាទូទៅ ជោគជ័យ diff --git a/strings/src/main/res/values-ln/strings.xml b/strings/src/main/res/values-ln/strings.xml index cff2b9e4668..6f69168cd8d 100644 --- a/strings/src/main/res/values-ln/strings.xml +++ b/strings/src/main/res/values-ln/strings.xml @@ -222,7 +222,6 @@ longola longola longola - longola diff --git a/strings/src/main/res/values-lo-rLA/strings.xml b/strings/src/main/res/values-lo-rLA/strings.xml index 90092983d6f..ea7a49becd4 100644 --- a/strings/src/main/res/values-lo-rLA/strings.xml +++ b/strings/src/main/res/values-lo-rLA/strings.xml @@ -68,8 +68,6 @@ ການບັກທຶກແບບຟອມລົ້ມເຫຼວ ແບບຟອມໄດ້ຖືກບັນທຶກສຳເລັດແລ້ວ ພໍ້​ບັນ​ຫາ​ໃນ​ລະ​ຫວ່າງບັນ​ທຶກຈຸດ​​ການ​ກູ້​ຄືນ: %s - - ອອກຈາກລະບົບ%s ບັນທຶກການປ່ຽນແປງ ກຳລັງບັນທຶກແບບຟອມ @@ -359,7 +357,6 @@ ຍົກເລີກ ຍົກເລີກ ຍົກເລີກ - ຍົກເລີກ ສຳເລັດແລ້ວ ມີຄວາມຜິດພາດເກີດຂຶ້ນ ກະລຸນາລໍຖ້າຈັກໜ້ອຍ diff --git a/strings/src/main/res/values-lt/strings.xml b/strings/src/main/res/values-lt/strings.xml index 05815052e0a..614b1c6c549 100644 --- a/strings/src/main/res/values-lt/strings.xml +++ b/strings/src/main/res/values-lt/strings.xml @@ -62,8 +62,6 @@ Jūs esate \"%s\" pabaigoje. Deja, formos išsaugoti nepavyko! Forma sėkmingai išsaugota! - - Išeiti %s Išsaugoti pakeitimus Forma išsaugoma @@ -320,7 +318,6 @@ Atšaukti Atšaukti Atšaukti - Atšaukti Sėkmingai Įvyko klaida Prašome šiek tiek palaukti. diff --git a/strings/src/main/res/values-ml/strings.xml b/strings/src/main/res/values-ml/strings.xml index ca1bf76c131..4dc43605184 100644 --- a/strings/src/main/res/values-ml/strings.xml +++ b/strings/src/main/res/values-ml/strings.xml @@ -287,7 +287,6 @@ റദ്ദാക്കുക റദ്ദാക്കുക റദ്ദാക്കുക - റദ്ദാക്കുക diff --git a/strings/src/main/res/values-mr/strings.xml b/strings/src/main/res/values-mr/strings.xml index 9e8c4a67185..a137c135b70 100644 --- a/strings/src/main/res/values-mr/strings.xml +++ b/strings/src/main/res/values-mr/strings.xml @@ -78,8 +78,6 @@ क्षमस्व, एक फॉर्म हटविणे क्रिया आधीच प्रगतीपथावर आहे! फॉर्म यशस्वीरित्या जतन केला! पुनर्प्राप्ती बिंदू जतन करताना त्रुटी: %s - - मधून निर्गमन करा %s बदल जतन करा फॉर्म जतन केला जात आहे @@ -484,7 +482,6 @@ रद्द करा रद्द करा रद्द करा - रद्द करा यश त्रुटी झाले कृपया काही क्षण प्रतीक्षा करा diff --git a/strings/src/main/res/values-ms/strings.xml b/strings/src/main/res/values-ms/strings.xml index b0454b61024..485da7022ac 100644 --- a/strings/src/main/res/values-ms/strings.xml +++ b/strings/src/main/res/values-ms/strings.xml @@ -217,7 +217,6 @@ Batal Batal Batal - Batal diff --git a/strings/src/main/res/values-my/strings.xml b/strings/src/main/res/values-my/strings.xml index fe6fb7199de..3d702a4ee1f 100644 --- a/strings/src/main/res/values-my/strings.xml +++ b/strings/src/main/res/values-my/strings.xml @@ -80,8 +80,6 @@ ပုံစံအား မသိမ်းဆည်းနိုင်ပါ ပုံစံအားအောင်မြင်စွာ သိမ်းဆည်းနိုင်ပါသည် ပြန်လည်ရယူသည့် နေရာ အမှားဖြစ်ပေါ်%s - - ထြက္ရန္ %s ေျပာင္းလဲမွုမ်ားကို သိမ္းဆည္းရန္ ပံုစံသိမ္းဆည္းေနပါသည္ @@ -341,7 +339,6 @@ ပယ်ဖျက်ပါ ပယ်ဖျက်ပါ မလုပ်တော့ပါ - မလုပ်တော့ပါ ပယ်ဖျက်နေသည် ေအာင္ျမင္ပါၿပီ မွားယြင္းေနပါသည္ diff --git a/strings/src/main/res/values-ne-rNP/strings.xml b/strings/src/main/res/values-ne-rNP/strings.xml index 1cc6e73efe5..ae235971167 100644 --- a/strings/src/main/res/values-ne-rNP/strings.xml +++ b/strings/src/main/res/values-ne-rNP/strings.xml @@ -78,8 +78,6 @@ माफ गर्नुहोला , फारम संचित हुन सकेन ! फारम सफलतापूर्वक संचित भयो ! रिकभरी बिन्दु संचित गर्दा गल्ति भयो: %s - - बाहिर निस्कनुहोस् %s परिवर्तनहरु संचित गर्नुहोस् फारम संचित गरिदैछ | @@ -452,7 +450,6 @@ फिर्ता जानुहोस् फिर्ता जानुहोस् फिर्ता जानुहोस् - फिर्ता जानुहोस् फिर्ता हुँदै सफल गल्ती भयो diff --git a/strings/src/main/res/values-nl/strings.xml b/strings/src/main/res/values-nl/strings.xml index d7ff23b5734..55553218bea 100644 --- a/strings/src/main/res/values-nl/strings.xml +++ b/strings/src/main/res/values-nl/strings.xml @@ -113,8 +113,6 @@ Sorry, formulier opslaan mislukt! Formulier is opgeslagen! Fout bij maken herstelpunt: %s - - Sluit %s af Wijzigingen opslaan Doorgaan met invullen @@ -526,7 +524,6 @@ Terug Terug Annuleer - Annuleer Wordt geannuleerd Algemene notificaties Voltooid diff --git a/strings/src/main/res/values-no/strings.xml b/strings/src/main/res/values-no/strings.xml index f6a77cf9d4b..8f09ab0f173 100644 --- a/strings/src/main/res/values-no/strings.xml +++ b/strings/src/main/res/values-no/strings.xml @@ -68,8 +68,6 @@ Beklager, skjemalagring mislyktes! Skjema lagret! Feil under lagring av gjenopprettingspunkt: %s - - Avslutt %s Lagre endringer Lagrer skjema @@ -365,7 +363,6 @@ Avbryt Avbryt Avbryt - Avbryt Suksess Det er oppstatt en feil Vennligst vent. diff --git a/strings/src/main/res/values-pl/strings.xml b/strings/src/main/res/values-pl/strings.xml index ad36fd1d0ae..a1c8ee2253f 100644 --- a/strings/src/main/res/values-pl/strings.xml +++ b/strings/src/main/res/values-pl/strings.xml @@ -104,8 +104,6 @@ Przykro mi, zapis formularza się nie powiódł! Formularz został zapisany pomyślnie! Błąd przy zapisywaniu punktu odtwarzania: %s - - Zakończ %s Zapisz Zmiany Zapisuję Formularz @@ -678,7 +676,6 @@ Anuluj Anuluj Anuluj - Anuluj Anulowanie Ogólne powiadomienia Sukces diff --git a/strings/src/main/res/values-ps/strings.xml b/strings/src/main/res/values-ps/strings.xml index 04489cab36c..a19b5df4b3a 100644 --- a/strings/src/main/res/values-ps/strings.xml +++ b/strings/src/main/res/values-ps/strings.xml @@ -53,8 +53,6 @@ اوبخښی، د فورمي ثبتول ناکامه شو! فورمه په بریالی توکه ثبت شو! د خطا ثبت بیا موندولو نښه: %s - - خارج شی %s فورمه د ثبت کیدو په حال کښی @@ -299,7 +297,6 @@ فسخ کول فسخ کول فسخ کول - فسخ کول فسخ کولو کی قرار لری خطا وشوله مهرباني وکړئ څو ځلې انتظار وکړئ. diff --git a/strings/src/main/res/values-pt/strings.xml b/strings/src/main/res/values-pt/strings.xml index 2e1468ba133..8e0ff8645dd 100644 --- a/strings/src/main/res/values-pt/strings.xml +++ b/strings/src/main/res/values-pt/strings.xml @@ -125,8 +125,6 @@ Desculpe, falha ao salvar formulário! Formulário salvo com sucesso! Erro ao salvar ponto de recuperação: %s - - Saída %s Descartar Formulário Descartar Mudanças @@ -843,7 +841,6 @@ Cancelar Cancelar Cancelar - Cancelar Cancelando Notificações gerais Sucesso diff --git a/strings/src/main/res/values-ro/strings.xml b/strings/src/main/res/values-ro/strings.xml index 0f9ecf84b54..19664c777dc 100644 --- a/strings/src/main/res/values-ro/strings.xml +++ b/strings/src/main/res/values-ro/strings.xml @@ -70,8 +70,6 @@ Ne pare rău, salvarea formularului nu a reușit! Salvarea formularului a reușit! Eroare la salvarea punctului de recuperare: %s - - Ieșire %s Salvați modificările Salvare formular @@ -387,7 +385,6 @@ Anulează Anulează Anulați - Anulați Succes Eroare Vă rugăm să așteptați câteva momente. diff --git a/strings/src/main/res/values-ru/strings.xml b/strings/src/main/res/values-ru/strings.xml index 1af4075a5ee..0e0fec1fe43 100644 --- a/strings/src/main/res/values-ru/strings.xml +++ b/strings/src/main/res/values-ru/strings.xml @@ -121,8 +121,6 @@ Не удалось сохранить ответы Ответы успешно сохранены Ошибка сохранения точки восстановления: %s - - Выйти из \"%s\" Отменить форму Отменить изменения @@ -793,7 +791,6 @@ Отмена Отмена Отмена - Отмена Отменяю Общие уведомления Успешно diff --git a/strings/src/main/res/values-rw/strings.xml b/strings/src/main/res/values-rw/strings.xml index 6c9dbac1578..9855a73ea0a 100644 --- a/strings/src/main/res/values-rw/strings.xml +++ b/strings/src/main/res/values-rw/strings.xml @@ -104,8 +104,6 @@ Mwihangane, kubika amakuru byanze! Amakuru yabitswe! Ikosa mukwisevinga biragaruka: %s - - Sohoka 1%s Bika ibyo wahinduye Ibika ry\'amakuru yinyandiko shingiro. @@ -734,7 +732,6 @@ N\'ukomea guhura n\'iki kibazo, wakigeza kuwa gusabye gukusanya amakuru.Bikuremo Bikuremo Bikuremo - Bikuremo Birikuvamo Ubutumwa bukwibutsa Byakunze diff --git a/strings/src/main/res/values-sl/strings.xml b/strings/src/main/res/values-sl/strings.xml index 20bcfd55e89..7de3f3f535b 100644 --- a/strings/src/main/res/values-sl/strings.xml +++ b/strings/src/main/res/values-sl/strings.xml @@ -125,8 +125,6 @@ Shranjevanje obrazca ni uspelo! Obrazec uspešno shranjen! Napaka pri shranjevanju obnovitvene točke %s - - Izhod %s Zavrzi obrazec Zavrzi spremembe @@ -840,7 +838,6 @@ Prekini Prekini Prekini - Prekini Prekinjam Splošna obvestila Uspešno diff --git a/strings/src/main/res/values-so/strings.xml b/strings/src/main/res/values-so/strings.xml index c2670f63ef7..6febd8a0dee 100644 --- a/strings/src/main/res/values-so/strings.xml +++ b/strings/src/main/res/values-so/strings.xml @@ -225,7 +225,6 @@ Jooji Jooji Jooji - Jooji Cilad ku timi - Dil %s Ruaj ndryshimet Duke ruajtur formularin @@ -527,7 +525,6 @@ Anullo Anullo Anullo - Anullo Duke anuluar Sukses Ndodhi një gabim diff --git a/strings/src/main/res/values-sr/strings.xml b/strings/src/main/res/values-sr/strings.xml index 883f1347720..b4433916453 100644 --- a/strings/src/main/res/values-sr/strings.xml +++ b/strings/src/main/res/values-sr/strings.xml @@ -101,8 +101,6 @@ Izvini, čuvanje formulara nije uspjelo! Formular je uspješno sačuvan! Greška u čuvanju tačke povratka: %s - - Izlaz %s Sačuvaj izmjene Čuvam formular @@ -643,7 +641,6 @@ Odustani Odustani Odustani - Odustani Odustajem Opšta obavještenja Uspjeh diff --git a/strings/src/main/res/values-sv-rSE/strings.xml b/strings/src/main/res/values-sv-rSE/strings.xml index 1c715bdc605..921214eebfa 100644 --- a/strings/src/main/res/values-sv-rSE/strings.xml +++ b/strings/src/main/res/values-sv-rSE/strings.xml @@ -100,8 +100,6 @@ Tyvärr, formuläret kunde inte sparas! Formuläret har sparats! Fel vid sparande av återställningspunkt: %s - - Avsluta %s Spara ändringar Sparar formulär @@ -622,7 +620,6 @@ Dela ODK Collect med dem. Avbryt Avbryt Avbryt - Avbryt Avbryter Allmäna notifieringar Lyckades diff --git a/strings/src/main/res/values-sw-rKE/strings.xml b/strings/src/main/res/values-sw-rKE/strings.xml index d80112cfae5..6a518ab4e37 100644 --- a/strings/src/main/res/values-sw-rKE/strings.xml +++ b/strings/src/main/res/values-sw-rKE/strings.xml @@ -74,8 +74,6 @@ Samahani, fomu haikuhifadhiwa! Fomu imehifadhiwa! Hitilafu imetokea kwa ncha ya urejesho: %s - - Kutoka %s Hifadhi mabadiliko Hifadhi ya fomu @@ -358,7 +356,6 @@ Tamatisha Tamatisha Futa - Futa Mafanikio Hitilifau ilitokea Tafadhali subiri dakika chache. diff --git a/strings/src/main/res/values-sw/strings.xml b/strings/src/main/res/values-sw/strings.xml index 1e435c27dc5..5947f92aea5 100644 --- a/strings/src/main/res/values-sw/strings.xml +++ b/strings/src/main/res/values-sw/strings.xml @@ -115,8 +115,6 @@ Samahani, uhifadhi wa fomu umeshindikana! Umefanikiwa kuhifadhi fomu! Hitilafu katika kuhifadhi alama ya urejeshi \"recovery point\" :%s - - Toka %s Futa fomu Kataa mabadiliko @@ -665,7 +663,6 @@ Sitisha Sitisha Sitisha - Sitisha Inasitishwa Mafanikio Kosa limetokea diff --git a/strings/src/main/res/values-te/strings.xml b/strings/src/main/res/values-te/strings.xml index e4a578a6cfa..a9d5590ba92 100644 --- a/strings/src/main/res/values-te/strings.xml +++ b/strings/src/main/res/values-te/strings.xml @@ -104,8 +104,6 @@ క్షమించండి, ఫారం సేవ్ అవ్వలేదు ఫారం విజయవంతంగా సేవ్ చేయబడింది! రికవరీ పాయింట్‌ను సేవ్ చేయడంలో లోపం ఉంది: %s - - Exit %s మార్పులను సేవ్ చెయ్యి ఫారం సేవ్ చేయబడుతుంది @@ -686,7 +684,6 @@ రద్దు చేయి రద్దు చేయి రద్దు చేయి - రద్దు చేయి రద్దు చేయబడుతుంది సాధారణ నోటిఫికేషన్‌లు సక్సెస్ diff --git a/strings/src/main/res/values-th-rTH/strings.xml b/strings/src/main/res/values-th-rTH/strings.xml index 08c9cea2de4..909f10f6510 100644 --- a/strings/src/main/res/values-th-rTH/strings.xml +++ b/strings/src/main/res/values-th-rTH/strings.xml @@ -72,8 +72,6 @@ ขออภัย ไม่สามารถบันทึกแบบสำรวจได้ บันทึกแบบสำรวจเรียบร้อยแล้ว มีข้อผิดพลาดในการบันทึกจุดย้อนคืน : %s - - ออกจาก %s บันทึกการเปลี่ยนแปลง กำลังบันทึกแบบสำรวจ @@ -429,7 +427,6 @@ ยกเลิก ยกเลิก ยกเลิก - ยกเลิก กำลังยกเลิก สำเร็จ มีข้อผิดพลาดเกิดขึ้น diff --git a/strings/src/main/res/values-tl-rPH/strings.xml b/strings/src/main/res/values-tl-rPH/strings.xml index 827333ca4a4..c7cb7f31517 100644 --- a/strings/src/main/res/values-tl-rPH/strings.xml +++ b/strings/src/main/res/values-tl-rPH/strings.xml @@ -31,7 +31,6 @@ I-karga ang Pinili Kumakabit sa Server Urong - Urong Balewalain ang mga binago Punan ang Blangkong Form May Maling Nangyari @@ -60,7 +59,6 @@ I-play ang Bidyo Mag-hintay ng ilang sandali. Mag-hintay. Ito ay maaring tumagal ng ilang minuto. - Alisan %s Sariwain Palitan ang Barcode Paumanhin, ang tugon na ito ay kailangan! diff --git a/strings/src/main/res/values-tl/strings.xml b/strings/src/main/res/values-tl/strings.xml index 9a3a9f37e7f..7e99d33cbc3 100644 --- a/strings/src/main/res/values-tl/strings.xml +++ b/strings/src/main/res/values-tl/strings.xml @@ -63,8 +63,6 @@ Ikaw ay nasa dulo ng \"%s\". Paumanhin, nabigo ang pag-impok ng form! Matagumpay na inimpok ang Form! - - Alisan %s Impukin ang mga binago Ini-impok ang Form @@ -321,7 +319,6 @@ Urong Urong Urong - Urong Tagumpay May Maling Nangyari Mag-hintay ng ilang sandali. diff --git a/strings/src/main/res/values-tr/strings.xml b/strings/src/main/res/values-tr/strings.xml index 9e2c1032fb8..d90d64f3f9d 100644 --- a/strings/src/main/res/values-tr/strings.xml +++ b/strings/src/main/res/values-tr/strings.xml @@ -97,8 +97,6 @@ Gönder Form kaydedilirken hata oluştu From başarılı bir şekilde saklandi - - Çıkış %s Formu iptal et. Değişiklikleri iptal et @@ -367,7 +365,6 @@ Vazgeç Vazgeç Vazgeç - Vazgeç Başarılı Hata Oluştu Biraz Bekleyin.. diff --git a/strings/src/main/res/values-uk/strings.xml b/strings/src/main/res/values-uk/strings.xml index 47795830ffa..8a7fdfd2064 100644 --- a/strings/src/main/res/values-uk/strings.xml +++ b/strings/src/main/res/values-uk/strings.xml @@ -99,8 +99,6 @@ Вибачте, не вдалось зберегти анкету! Анкету успішно збережено! Помилка при збереженні точки відновлення: %s - - Вийти з %s Зберегти зміни Зберігаю анкету @@ -642,7 +640,6 @@ Скасувати Скасувати Скасувати - Скасувати Скасування Загальні сповіщення Успішно! diff --git a/strings/src/main/res/values-ur-rPK/strings.xml b/strings/src/main/res/values-ur-rPK/strings.xml index 84c39969b78..5b872c6212b 100644 --- a/strings/src/main/res/values-ur-rPK/strings.xml +++ b/strings/src/main/res/values-ur-rPK/strings.xml @@ -69,8 +69,6 @@ معافی, فارم محفوظ نہیں ہوسکا فارم کامیابی سے محفوظ کیا گیا ریکوری پوانٹ سیو کرتے وقت خرابی: %s - - ‎%s‏ سے نکل جائیں تبدیلیوں کو محفوظ کریں فارم محفوظ ہو رہا ہے @@ -318,7 +316,6 @@ منسوخ منسوخ منسوخ - منسوخ کامیابی غلطی ہوگئ براہ مہربانی۔ چند منٹ انتظار کرلیں diff --git a/strings/src/main/res/values-ur/strings.xml b/strings/src/main/res/values-ur/strings.xml index f3b9be8c96c..e5b7b21d851 100644 --- a/strings/src/main/res/values-ur/strings.xml +++ b/strings/src/main/res/values-ur/strings.xml @@ -125,8 +125,6 @@ معذرت, فارم محفوظ نہیں ہوسکا فارم کامیابی سے محفوظ ہو گیا ریکوری پوانٹ سیو کرتے وقت خرابی: %s - - ‎%s‏ سے نکل جائیں فارم کو مسترد کر دیں تبدیلیوں کو مسترد کر دیں @@ -839,7 +837,6 @@ Constraint processing منسوخ منسوخ منسوخ - منسوخ مسنوخ کیا جا رہا ہے عمومی نوٹس کامیابی diff --git a/strings/src/main/res/values-vi/strings.xml b/strings/src/main/res/values-vi/strings.xml index 6d82d6e0a6e..6d6c7fdd652 100644 --- a/strings/src/main/res/values-vi/strings.xml +++ b/strings/src/main/res/values-vi/strings.xml @@ -63,8 +63,6 @@ Xin lỗi, biểu mẫu không lưu được! Biểu mẫu đã được lưu! Lỗi lưu lại điểm khôi phục: %s - - Thoát %s Lưu thay đổi Đang lưu biểu mẫu @@ -325,7 +323,6 @@ Huỷ Huỷ Huỷ - Huỷ Thành công Lỗi xuất hiện Hãy đợi 1 lúc. diff --git a/strings/src/main/res/values-zh-rTW/strings.xml b/strings/src/main/res/values-zh-rTW/strings.xml index 9cf1f6162cf..5889cc0ecc5 100644 --- a/strings/src/main/res/values-zh-rTW/strings.xml +++ b/strings/src/main/res/values-zh-rTW/strings.xml @@ -125,8 +125,6 @@ 表格儲存失敗! 表格已成功儲存! 錯誤!儲存還原點文件:%s - - 退出 %s 放棄表格 放棄變更 @@ -849,7 +847,6 @@ 取消 取消 取消 - 取消 正在取消 一般通知 成功 diff --git a/strings/src/main/res/values-zh/strings.xml b/strings/src/main/res/values-zh/strings.xml index 610158dfaf8..a208a114eac 100644 --- a/strings/src/main/res/values-zh/strings.xml +++ b/strings/src/main/res/values-zh/strings.xml @@ -125,8 +125,6 @@ 表格保存失败! 表格已成功保存! 错误!保存还原点文件:%s - - 退出 %s 放弃表格 放弃变更 @@ -849,7 +847,6 @@ 取消 取消 取消 - 取消 正在取消 一般通知 成功 diff --git a/strings/src/main/res/values-zu/strings.xml b/strings/src/main/res/values-zu/strings.xml index 67dbc716a8d..23c53a9d741 100644 --- a/strings/src/main/res/values-zu/strings.xml +++ b/strings/src/main/res/values-zu/strings.xml @@ -65,8 +65,6 @@ Ususekupheleni kuka %s. Uxolo ifomu alilondolozekanga Ifomu lilondolozeke ngempumelelo - - Phuma %s Gcina ushintsho Liyagcinwa ifomu @@ -335,7 +333,6 @@ Khansela Khansela Khansela - Khansela Impumelelo Iphutha lenzekile Sicela ulinde imizuzu emibalwa. diff --git a/strings/src/main/res/values/strings.xml b/strings/src/main/res/values/strings.xml index 4453c28c857..d7596eceee7 100644 --- a/strings/src/main/res/values/strings.xml +++ b/strings/src/main/res/values/strings.xml @@ -156,8 +156,6 @@ Form successfully saved! Error saving recovery point: %s - - Exit %s Discard Form Discard Changes @@ -1046,7 +1044,6 @@ Cancel Cancel Cancel - Cancel Canceling General notifications From 593f604a36a62a59ba76b07877d95bfbb69be339 Mon Sep 17 00:00:00 2001 From: Grzegorz Orczykowski Date: Wed, 31 Jul 2024 22:27:18 +0200 Subject: [PATCH 4/6] Removed unused classes --- .../odk/collect/draw/IconMenuListAdapter.java | 98 ------------------- draw/src/main/res/layout/item_view_option.xml | 16 --- 2 files changed, 114 deletions(-) delete mode 100644 draw/src/main/java/org/odk/collect/draw/IconMenuListAdapter.java delete mode 100644 draw/src/main/res/layout/item_view_option.xml diff --git a/draw/src/main/java/org/odk/collect/draw/IconMenuListAdapter.java b/draw/src/main/java/org/odk/collect/draw/IconMenuListAdapter.java deleted file mode 100644 index 4e67a0de1e0..00000000000 --- a/draw/src/main/java/org/odk/collect/draw/IconMenuListAdapter.java +++ /dev/null @@ -1,98 +0,0 @@ -/* - * Copyright 2017 Yura Laguta - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.odk.collect.draw; - -import android.content.Context; -import android.view.LayoutInflater; -import android.view.View; -import android.view.ViewGroup; -import android.widget.BaseAdapter; -import android.widget.TextView; - -import java.util.List; - -/** - * @deprecated This should be replaced with a basic - * {@link androidx.constraintlayout.widget.ConstraintLayout} in the places it's used. - */ -@Deprecated -class IconMenuListAdapter extends BaseAdapter { - - private final Context context; - private final List items; - - IconMenuListAdapter(Context context, List items) { - this.context = context; - this.items = items; - } - - @Override - public int getCount() { - return items.size(); - } - - @Override - public Object getItem(int position) { - return items.get(position); - } - - @Override - public long getItemId(int position) { - return position; - } - - @Override - public View getView(int position, View convertView, ViewGroup parent) { - if (!(convertView instanceof TextView)) { - convertView = createView(parent); - } - refreshView((IconMenuItem) getItem(position), (TextView) convertView); - return convertView; - } - - private View createView(ViewGroup parent) { - return LayoutInflater.from(context).inflate(R.layout.item_view_option, parent, false); - } - - private void refreshView(IconMenuItem item, TextView convertView) { - convertView.setText(item.getTextResId()); - convertView.setCompoundDrawablesRelativeWithIntrinsicBounds(item.getImageResId(), 0, 0, 0); - } - - /** - * Icon Menu Item representation - */ - - static class IconMenuItem { - - private final int imageResId; - private final int textResId; - - IconMenuItem(int imageResId, int textResId) { - this.imageResId = imageResId; - this.textResId = textResId; - } - - int getImageResId() { - return imageResId; - } - - int getTextResId() { - return textResId; - } - } -} diff --git a/draw/src/main/res/layout/item_view_option.xml b/draw/src/main/res/layout/item_view_option.xml deleted file mode 100644 index 751a721fd70..00000000000 --- a/draw/src/main/res/layout/item_view_option.xml +++ /dev/null @@ -1,16 +0,0 @@ - - From 63e498be756f86920bd676fd93619c4389fd4db5 Mon Sep 17 00:00:00 2001 From: Grzegorz Orczykowski Date: Wed, 31 Jul 2024 22:44:04 +0200 Subject: [PATCH 5/6] Added comments to strings --- strings/src/main/res/values/strings.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/strings/src/main/res/values/strings.xml b/strings/src/main/res/values/strings.xml index d7596eceee7..b5d75f581de 100644 --- a/strings/src/main/res/values/strings.xml +++ b/strings/src/main/res/values/strings.xml @@ -250,8 +250,9 @@ Annotate Image Gif files are not supported Application returned an invalid file type - + Save changes? + Do you want to save changes before you exit? Save and Close Signature Capture From 67eeb8e4e25d72566f82d2523bca27d564d98aeb Mon Sep 17 00:00:00 2001 From: Grzegorz Orczykowski Date: Tue, 20 Aug 2024 23:28:08 +0200 Subject: [PATCH 6/6] Use margin_standard instead of margin --- collect_app/src/main/res/layout/quit_form_dialog_layout.xml | 2 +- collect_app/src/main/res/layout/server_auth_dialog.xml | 2 +- draw/src/main/res/layout/quit_drawing_dialog_layout.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/collect_app/src/main/res/layout/quit_form_dialog_layout.xml b/collect_app/src/main/res/layout/quit_form_dialog_layout.xml index a16a47f1fe8..20f5410bda0 100644 --- a/collect_app/src/main/res/layout/quit_form_dialog_layout.xml +++ b/collect_app/src/main/res/layout/quit_form_dialog_layout.xml @@ -24,7 +24,7 @@ style="?materialButtonOutlinedIconStyle" android:layout_width="0dp" android:layout_height="match_parent" - android:layout_marginTop="@dimen/margin" + android:layout_marginTop="@dimen/margin_standard" android:text="@string/discard_changes" app:icon="@drawable/ic_delete" app:iconGravity="textStart" diff --git a/collect_app/src/main/res/layout/server_auth_dialog.xml b/collect_app/src/main/res/layout/server_auth_dialog.xml index 7276a13097d..c7102c93de4 100644 --- a/collect_app/src/main/res/layout/server_auth_dialog.xml +++ b/collect_app/src/main/res/layout/server_auth_dialog.xml @@ -35,7 +35,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginLeft="20dip" - android:layout_marginTop="@dimen/margin" + android:layout_marginTop="@dimen/margin_standard" android:layout_marginRight="20dip" android:gravity="fill_horizontal" android:hint="@string/password" diff --git a/draw/src/main/res/layout/quit_drawing_dialog_layout.xml b/draw/src/main/res/layout/quit_drawing_dialog_layout.xml index fe2bdb852e7..f4151650546 100644 --- a/draw/src/main/res/layout/quit_drawing_dialog_layout.xml +++ b/draw/src/main/res/layout/quit_drawing_dialog_layout.xml @@ -24,7 +24,7 @@ style="?materialButtonOutlinedIconStyle" android:layout_width="0dp" android:layout_height="match_parent" - android:layout_marginTop="@dimen/margin" + android:layout_marginTop="@dimen/margin_standard" android:text="@string/discard_changes" app:icon="@drawable/ic_delete" app:iconGravity="textStart"