Skip to content

Commit

Permalink
Merge branch 'main' into feat/better-patching
Browse files Browse the repository at this point in the history
  • Loading branch information
rushiiMachine committed Jan 24, 2024
2 parents c073f29 + 5d54bde commit ada9edc
Show file tree
Hide file tree
Showing 35 changed files with 152 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import androidx.compose.ui.res.stringResource
import com.aliucord.manager.R

@Composable
fun InstallAbortDialog(
fun InstallerAbortDialog(
onConfirm: () -> Unit,
onDismiss: () -> Unit,
) {
Expand All @@ -22,7 +22,7 @@ fun InstallAbortDialog(
contentColor = MaterialTheme.colorScheme.onError,
),
) {
Text(stringResource(R.string.action_cancel))
Text(stringResource(R.string.action_exit_anyways))
}
},
dismissButton = {
Expand All @@ -32,7 +32,7 @@ fun InstallAbortDialog(
contentColor = MaterialTheme.colorScheme.onErrorContainer
),
) {
Text(stringResource(R.string.action_exit_anyways))
Text(stringResource(R.string.action_cancel))
}
},
title = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import cafe.adriel.voyager.navigator.LocalNavigator
import cafe.adriel.voyager.navigator.currentOrThrow
import com.aliucord.manager.R
import com.aliucord.manager.ui.components.back
import com.aliucord.manager.ui.components.dialogs.InstallAbortDialog
import com.aliucord.manager.ui.components.dialogs.InstallerAbortDialog
import com.aliucord.manager.ui.components.installer.InstallGroup
import com.aliucord.manager.ui.components.installer.InstallStatus
import com.aliucord.manager.ui.screens.install.InstallModel.InstallStepGroup
Expand All @@ -51,7 +51,7 @@ class InstallScreen : Screen {
// Exit warning dialog
var showAbortWarning by remember { mutableStateOf(false) }
if (showAbortWarning) {
InstallAbortDialog(
InstallerAbortDialog(
onDismiss = { showAbortWarning = false },
onConfirm = {
navigator.back(currentActivity = null)
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/values-af-rZA/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Queued</string>
<string name="updater_body">A new update has been released for Aliucord Manager! It may be required in order to function properly. Would you like to update?</string>
<string name="updater_title">Update to %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-ar-rSA/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Queued</string>
<string name="updater_body">A new update has been released for Aliucord Manager! It may be required in order to function properly. Would you like to update?</string>
<string name="updater_title">Update to %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-ca-rES/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Queued</string>
<string name="updater_body">A new update has been released for Aliucord Manager! It may be required in order to function properly. Would you like to update?</string>
<string name="updater_title">Update to %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-cs-rCZ/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Queued</string>
<string name="updater_body">A new update has been released for Aliucord Manager! It may be required in order to function properly. Would you like to update?</string>
<string name="updater_title">Update to %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-da-rDK/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Queued</string>
<string name="updater_body">A new update has been released for Aliucord Manager! It may be required in order to function properly. Would you like to update?</string>
<string name="updater_title">Update to %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-de-rDE/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Queued</string>
<string name="updater_body">A new update has been released for Aliucord Manager! It may be required in order to function properly. Would you like to update?</string>
<string name="updater_title">Update to %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-el-rGR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Σε αναμονή</string>
<string name="updater_body">Μια νέα ενημέρωση έχει κυκλοφορήσει για το Aliucord Manager! Μπορεί να απαιτείται για να λειτουργήσει σωστά. Θα θέλατε να ενημερώσετε;</string>
<string name="updater_title">Ενημέρωση σε %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-es-rES/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">En cola</string>
<string name="updater_body">¡Se ha publicado una nueva actualización para Aliucord Manager! Puede que sea necesaria para funcionar correctamente. ¿Quieres actualizar?</string>
<string name="updater_title">Actualizada a %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-fi-rFI/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Queued</string>
<string name="updater_body">A new update has been released for Aliucord Manager! It may be required in order to function properly. Would you like to update?</string>
<string name="updater_title">Update to %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-fr-rFR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">En attente</string>
<string name="updater_body">Une nouvelle mise à jour a été publiée pour Aliucord Manager ! Elle peut être nécessaire pour fonctionner correctement. Voulez-vous faire la mise à jour ?</string>
<string name="updater_title">Mettre à jour vers %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-hi-rIN/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Queued</string>
<string name="updater_body">A new update has been released for Aliucord Manager! It may be required in order to function properly. Would you like to update?</string>
<string name="updater_title">Update to %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-hu-rHU/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Queued</string>
<string name="updater_body">A new update has been released for Aliucord Manager! It may be required in order to function properly. Would you like to update?</string>
<string name="updater_title">Update to %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-in-rID/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Diantrekan</string>
<string name="updater_body">Perbaruan baru sudah dirilis untuk Aliucord Manager! Itu mungkin diperlukan untuk berfungsi dengan baik. Apakah kamu ingin perbarui?</string>
<string name="updater_title">Diperbarui ke %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-it-rIT/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Queued</string>
<string name="updater_body">A new update has been released for Aliucord Manager! It may be required in order to function properly. Would you like to update?</string>
<string name="updater_title">Update to %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-iw-rIL/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Queued</string>
<string name="updater_body">A new update has been released for Aliucord Manager! It may be required in order to function properly. Would you like to update?</string>
<string name="updater_title">Update to %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-ja-rJP/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,8 @@
<string name="status_queued">待機中</string>
<string name="updater_body">Aliucord Managerの新しいアップデートがリリースされました!正常に機能するために必要な場合があります。アップデートしますか?</string>
<string name="updater_title">%1$sへ更新</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-kaa/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Náwbette</string>
<string name="updater_body">A new update has been released for Aliucord Manager! It may be required in order to function properly. Would you like to update?</string>
<string name="updater_title">Update to %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-ko-rKR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">대기 중</string>
<string name="updater_body">Aliucord Manager의 새로운 업데이트가 출시됐어요! 제대로 작동하려면 업데이트가 필요할지도 몰라요. 업데이트할까요?</string>
<string name="updater_title">%1$s(으)로 업데이트했어요</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-nl-rNL/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Queued</string>
<string name="updater_body">A new update has been released for Aliucord Manager! It may be required in order to function properly. Would you like to update?</string>
<string name="updater_title">Update to %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-no-rNO/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Queued</string>
<string name="updater_body">A new update has been released for Aliucord Manager! It may be required in order to function properly. Would you like to update?</string>
<string name="updater_title">Update to %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-pl-rPL/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">W kolejce</string>
<string name="updater_body">Nowa aktualizacja dla Menadżera Aliucorda! Może być wymagana do prawidłowego działania. Czy chcesz zaktualizować?</string>
<string name="updater_title">Aktualizowanie do %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
20 changes: 12 additions & 8 deletions app/src/main/res/values-pt-rBR/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@
<string name="installer_success">Aliucord instalado com sucesso</string>
<string name="installer_aborted">Instalação do Aliucord abortada</string>
<string name="installer_uninstall_new">Por favor, desinstale a versão atual do Aliucord para continuar!</string>
<string name="install_error_unknown">Failed to install (Unknown reason)</string>
<string name="install_error_code">Failed to install (error code %d)</string>
<string name="install_error_blocked">Installation was blocked</string>
<string name="install_error_invalid">One or more APKs were invalid or corrupt</string>
<string name="install_error_conflict">Conflicts with an existing app, usually due to mismatched signatures</string>
<string name="install_error_storage">Not enough available storage to install</string>
<string name="install_error_incompatible">Application is incompatible with this device</string>
<string name="install_error_timeout">Installation timed out</string>
<string name="install_error_unknown">Falha ao instalar (Razão desconhecida)</string>
<string name="install_error_code">Falha ao instalar (código do erro %d)</string>
<string name="install_error_blocked">A instalação foi bloqueada</string>
<string name="install_error_invalid">Um ou mais APKs eram inválidos ou corruptos</string>
<string name="install_error_conflict">Conflitos com um app existente, geralmente devido a assinaturas incompatíveis</string>
<string name="install_error_storage">Sem espaço suficiente para instalar</string>
<string name="install_error_incompatible">O aplicativo é incompatível com esse dispositivo</string>
<string name="install_error_timeout">A instalação expirou</string>
<string name="install_group_apk_dl">Baixar APKs</string>
<string name="install_group_lib_dl">Baixar Bibliotecas</string>
<string name="install_group_patch">Modificar APKs</string>
Expand All @@ -110,4 +110,8 @@
<string name="status_queued">Na fila</string>
<string name="updater_body">Uma nova atualização foi lançada para o Aliucord Manager! Ela pode ser necessária para funcionar corretamente. Gostaria de atualizar?</string>
<string name="updater_title">Atualizado para %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-pt-rPT/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Queued</string>
<string name="updater_body">A new update has been released for Aliucord Manager! It may be required in order to function properly. Would you like to update?</string>
<string name="updater_title">Update to %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-ro-rRO/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">Queued</string>
<string name="updater_body">A new update has been released for Aliucord Manager! It may be required in order to function properly. Would you like to update?</string>
<string name="updater_title">Update to %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-ru-rRU/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@
<string name="status_queued">В очереди</string>
<string name="updater_body">Вышло новое обновление для Aliucord Менеджера! Оно может быть обязательным для правильной работы. Желаете ли вы обновиться?</string>
<string name="updater_title">Обновить до %1$s</string>
<string name="downloader_err_unknown">Download failed (Unknown)</string>
<string name="downloader_err_response">Download failed (Invalid response)</string>
<string name="downloader_err_file_exists">Download failed (File exists)</string>
<string name="downloader_err_storage_space">Download failed (Insufficient space)</string>
</resources>
Loading

0 comments on commit ada9edc

Please sign in to comment.