mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-10 12:55:06 +00:00
Error Strings moved to strings.xml
This commit is contained in:
parent
c48723be24
commit
6965cf8585
2 changed files with 12 additions and 6 deletions
|
@ -39,12 +39,12 @@ object AppUtils {
|
|||
status.contains("INSTALL_FAILED_INVALID_APK") -> context.getString(R.string.installation_invalid)
|
||||
status.contains("INSTALL_FAILED_VERSION_DOWNGRADE") -> context.getString(R.string.installation_downgrade)
|
||||
status.contains("INSTALL_PARSE_FAILED_NO_CERTIFICATES") -> context.getString(R.string.installation_signature)
|
||||
status.contains("Failed_Uninstall") -> "Failed Uninstall Of Installed Version, Try Manually"
|
||||
status.contains("Chown_Fail") -> "Failed To Chown, Try Again"
|
||||
status.contains("IFile_Missing") -> "Input File Missing"
|
||||
status.contains("ModApk_Missing") -> "modApk Is Null Missing (dark.apk/black.apk) In apks Folder"
|
||||
status.contains("Files_Missing_VA") -> "Files are missing, Failed Download?"
|
||||
status.contains("Corrupt_Data") -> "Download Went Corrupt, Retry or clear VanM Data"
|
||||
status.contains("Failed_Uninstall") -> context.getString(R.string.Failed_Uninstall)
|
||||
status.contains("Chown_Fail") -> context.getString(R.string.Chown_Fail)
|
||||
status.contains("IFile_Missing") -> context.getString(R.string.IFile_Missing)
|
||||
status.contains("ModApk_Missing") -> context.getString(R.string.ModApk_Missing)
|
||||
status.contains("Files_Missing_VA") -> context.getString(R.string.Files_Missing_VA)
|
||||
status.contains("Corrupt_Data") -> context.getString(R.string.Corrupt_Data)
|
||||
else ->
|
||||
if (MiuiHelper.isMiui())
|
||||
context.getString(R.string.installation_miui)
|
||||
|
|
|
@ -101,5 +101,11 @@
|
|||
<string name="manager_dev">Manager Dev</string>
|
||||
<string name="sources">Sources</string>
|
||||
<string name="vanced_team">Vanced Team</string>
|
||||
<string name="Failed_Uninstall">Failed Uninstall Of Installed Version, Try Manually</string>
|
||||
<string name="Chown_Fail">Failed To Chown, Try Again</string>
|
||||
<string name="IFile_Missing">Input File Missing</string>
|
||||
<string name="ModApk_Missing">modApk Is Null Missing (dark.apk/black.apk) In apks Folder</string>
|
||||
<string name="Files_Missing_VA">Files are missing, Failed Download?</string>
|
||||
<string name="Corrupt_Data">Download Went Corrupt, Retry or clear VanM Data</string>
|
||||
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue