Loading app/src/main/java/foundation/e/apps/updates/UpdatesFragment.kt +6 −1 Original line number Diff line number Diff line Loading @@ -186,7 +186,12 @@ class UpdatesFragment : TimeoutFragment(R.layout.fragment_updates), FusedAPIInte } else -> { if (event.otherPayload is FusedDownload) { requireContext().toast("${(event.otherPayload as FusedDownload).name} update is failed!") requireContext().toast( getString( R.string.message_update_failure_single_app, (event.otherPayload as FusedDownload).name ) ) } else { requireContext().toast(getString(R.string.message_update_failed)) } Loading app/src/main/res/values/strings.xml +1 −0 Original line number Diff line number Diff line Loading @@ -129,6 +129,7 @@ <string name="user_not_available">User is not available!</string> <string name="message_retry">Update all has failed. Automatic retries are in progress.</string> <string name="message_update_failed">Due to temporary failure, your apps cannot be all updated. Please try again later.</string> <string name="message_update_failure_single_app">%1$s\'s update has failed due to a support rule (location, OS version…).</string> <!-- Home Fragment --> <string name="discover">Discover</string> Loading Loading
app/src/main/java/foundation/e/apps/updates/UpdatesFragment.kt +6 −1 Original line number Diff line number Diff line Loading @@ -186,7 +186,12 @@ class UpdatesFragment : TimeoutFragment(R.layout.fragment_updates), FusedAPIInte } else -> { if (event.otherPayload is FusedDownload) { requireContext().toast("${(event.otherPayload as FusedDownload).name} update is failed!") requireContext().toast( getString( R.string.message_update_failure_single_app, (event.otherPayload as FusedDownload).name ) ) } else { requireContext().toast(getString(R.string.message_update_failed)) } Loading
app/src/main/res/values/strings.xml +1 −0 Original line number Diff line number Diff line Loading @@ -129,6 +129,7 @@ <string name="user_not_available">User is not available!</string> <string name="message_retry">Update all has failed. Automatic retries are in progress.</string> <string name="message_update_failed">Due to temporary failure, your apps cannot be all updated. Please try again later.</string> <string name="message_update_failure_single_app">%1$s\'s update has failed due to a support rule (location, OS version…).</string> <!-- Home Fragment --> <string name="discover">Discover</string> Loading