10
0
Fix: Update actionId placeholder and add theming strings
This commit is contained in:
andre 2025-11-24 13:03:49 +01:00
parent 0e344cf700
commit 5fe5df1376
11 changed files with 7 additions and 30 deletions

View File

@ -62,6 +62,7 @@ dependencies {
implementation 'androidx.compose.foundation:foundation-layout:1.9.4'
implementation 'androidx.compose.ui:ui'
implementation 'androidx.compose.ui:ui-tooling-preview'
implementation('de.webid-solutions:android_document_scanner:20.3.0')
debugImplementation 'androidx.compose.ui:ui-tooling'

View File

@ -229,7 +229,7 @@ internal class MainActivity : ComponentActivity
val failReason: ProductPluginErrorResult<*>? = pluginResult.error
// Successful plugin execution
if (failReason == null) {
writeLog(getString(R.string.product_journey_finished_successfully) + "\n")
showResult(getString(R.string.product_journey_finished_successfully) + "\n")
result = getString(R.string.success)
if (resultInfo != null) {
result += " $resultInfo"
@ -238,7 +238,7 @@ internal class MainActivity : ComponentActivity
showResult(result)
} else {
// failure case
writeLog(getString(R.string.product_journey_finished_with_failure))
showResult(getString(R.string.product_journey_finished_with_failure))
if (failReason.specificResult != null) {
val specificResult: IEPluginError? =
failReason.specificResult as IEPluginError?

View File

@ -18,7 +18,4 @@
<string name="product_journey_finished_successfully">Die Product Journey wurde erfolgreich abgeschlossen</string>
<string name="product_journey_finished_with_failure">Die Product Journey endete mit Misserfolg:</string>
<string name="success">"Erfolg: "</string>
<string name="choose_theming">Theme auswählen:</string>
<string name="choose_theming_compose">Theme mit Compose</string>
<string name="choose_theming_xml">Theme mit XML</string>
</resources>

View File

@ -18,7 +18,4 @@
<string name="product_journey_finished_successfully">La Product Journey se ha completado correctamente</string>
<string name="product_journey_finished_with_failure">La Product Journey terminó con un error:</string>
<string name="success">"Éxito: "</string>
<string name="choose_theming">Elige un tema</string>
<string name="choose_theming_compose">Theming with Compose</string>
<string name="choose_theming_xml">Theming with XML</string>
</resources>

View File

@ -18,7 +18,4 @@
<string name="product_journey_finished_successfully">La Product Journey a été terminée avec succès</string>
<string name="product_journey_finished_with_failure">La Product Journey sest terminée par une erreur :</string>
<string name="success">"Succès : "</string>
<string name="choose_theming">Choisir le thème</string>
<string name="choose_theming_compose">Theming with Compose</string>
<string name="choose_theming_xml">Theming with XML</string>
</resources>

View File

@ -17,8 +17,5 @@
<string name="start_failed">Avvio non riuscito:\n</string>
<string name="product_journey_finished_successfully">La Product Journey è stata completata con successo</string>
<string name="product_journey_finished_with_failure">La Product Journey si è conclusa con un errore:</string>
<string name="success">"Successo: "</string>
<string name="choose_theming">Scegli il tema</string>
<string name="choose_theming_compose">Theming with Compose</string>
<string name="choose_theming_xml">Theming with XML</string>
<string name="success">"Successo: "</string>+
</resources>

View File

@ -18,7 +18,5 @@
<string name="product_journey_finished_successfully">De Product Journey is met succes voltooid</string>
<string name="product_journey_finished_with_failure">De Product Journey is met een fout beëindigd:</string>
<string name="success">"Success: "</string>
<string name="choose_theming">Thema kiezen</string>
<string name="choose_theming_compose">Theming with Compose</string>
<string name="choose_theming_xml">Theming with XML</string>
</resources>

View File

@ -18,7 +18,5 @@
<string name="product_journey_finished_successfully">Product Journey została pomyślnie zakończona</string>
<string name="product_journey_finished_with_failure">Product Journey zakończyła się błędem:</string>
<string name="success">"Sukces: "</string>
<string name="choose_theming">Wybierz motyw</string>
<string name="choose_theming_compose">Theming with Compose</string>
<string name="choose_theming_xml">Theming with XML</string>
</resources>

View File

@ -18,7 +18,4 @@
<string name="product_journey_finished_successfully">Product Journey a fost finalizată cu succes</string>
<string name="product_journey_finished_with_failure">Product Journey s-a încheiat cu eroare:</string>
<string name="success">"Succes: "</string>
<string name="choose_theming">Alege tema</string>
<string name="choose_theming_compose">Theming with Compose</string>
<string name="choose_theming_xml">Theming with XML</string>
</resources>

View File

@ -18,7 +18,5 @@
<string name="product_journey_finished_successfully">Product Journey başarıyla tamamlandı</string>
<string name="product_journey_finished_with_failure">Product Journey bir hatayla sonuçlandı:</string>
<string name="success">"Success: "</string>
<string name="choose_theming">Tema seç</string>
<string name="choose_theming_compose">Theming with Compose</string>
<string name="choose_theming_xml">Theming with XML</string>
</resources>

View File

@ -17,7 +17,4 @@
<string name="product_journey_finished_successfully">Product Journey finished successfully</string>
<string name="product_journey_finished_with_failure">Product journey finished with failure:</string>
<string name="success">"Success: "</string>
<string name="choose_theming">Choose A Theme:</string>
<string name="choose_theming_compose">Theming with Compose</string>
<string name="choose_theming_xml">Theming with XML</string>
</resources>