mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 01:07:55 +00:00
Cleanup unused code
This commit is contained in:
parent
acf25aa4d3
commit
8d59caf635
@ -1,42 +0,0 @@
|
||||
package com.topjohnwu.magisk.core.tasks
|
||||
|
||||
import com.topjohnwu.magisk.core.model.module.OnlineModule
|
||||
import com.topjohnwu.magisk.data.database.RepoDao
|
||||
import com.topjohnwu.magisk.data.repository.NetworkService
|
||||
import com.topjohnwu.magisk.ktx.synchronized
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.coroutineScope
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlinx.coroutines.withContext
|
||||
import timber.log.Timber
|
||||
import java.util.*
|
||||
|
||||
class RepoUpdater(
|
||||
private val svc: NetworkService,
|
||||
private val repoDB: RepoDao
|
||||
) {
|
||||
|
||||
suspend fun run(forced: Boolean) = withContext(Dispatchers.IO) {
|
||||
val cachedMap = HashMap<String, Date>().also { map ->
|
||||
repoDB.getModuleStubs().forEach { map[it.id] = Date(it.last_update) }
|
||||
}.synchronized()
|
||||
svc.fetchRepoInfo()?.let { info ->
|
||||
coroutineScope {
|
||||
info.modules.forEach {
|
||||
launch {
|
||||
val lastUpdated = cachedMap.remove(it.id)
|
||||
if (forced || lastUpdated?.before(Date(it.last_update)) != false) {
|
||||
try {
|
||||
val repo = OnlineModule(it).apply { load() }
|
||||
repoDB.addModule(repo)
|
||||
} catch (e: OnlineModule.IllegalRepoException) {
|
||||
Timber.e(e)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
repoDB.removeModules(cachedMap.keys)
|
||||
}
|
||||
}
|
||||
}
|
@ -1,90 +0,0 @@
|
||||
package com.topjohnwu.magisk.data.database
|
||||
|
||||
import androidx.room.*
|
||||
import com.topjohnwu.magisk.core.Config
|
||||
import com.topjohnwu.magisk.core.model.module.OnlineModule
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.withContext
|
||||
|
||||
@Database(version = 8, entities = [OnlineModule::class], exportSchema = false)
|
||||
abstract class RepoDatabase : RoomDatabase() {
|
||||
abstract fun repoDao() : RepoDao
|
||||
}
|
||||
|
||||
@Dao
|
||||
abstract class RepoDao(private val db: RepoDatabase) {
|
||||
|
||||
suspend fun clear() = withContext(Dispatchers.IO) { db.clearAllTables() }
|
||||
|
||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
abstract fun addModule(repo: OnlineModule)
|
||||
|
||||
@Delete
|
||||
abstract fun removeModule(repo: OnlineModule)
|
||||
|
||||
@Query("DELETE FROM modules WHERE id = :id")
|
||||
abstract fun removeModule(id: String)
|
||||
|
||||
@Query("DELETE FROM modules WHERE id IN (:idList)")
|
||||
abstract fun removeModules(idList: Collection<String>)
|
||||
|
||||
@Query("SELECT * FROM modules WHERE id = :id")
|
||||
abstract fun getModule(id: String): OnlineModule?
|
||||
|
||||
@Query("SELECT id, last_update FROM modules")
|
||||
abstract fun getModuleStubs(): List<ModuleStub>
|
||||
|
||||
fun getModules(offset: Int, limit: Int = LIMIT) = when (Config.repoOrder) {
|
||||
Config.Value.ORDER_NAME -> getNameOrder(offset, limit)
|
||||
else -> getDateOrder(offset, limit)
|
||||
}
|
||||
|
||||
fun searchModules(query: String, offset: Int, limit: Int = LIMIT) = when (Config.repoOrder) {
|
||||
Config.Value.ORDER_NAME -> searchNameOrder(query, offset, limit)
|
||||
else -> searchDateOrder(query, offset, limit)
|
||||
}
|
||||
|
||||
@Query("SELECT * FROM modules WHERE id = :id AND versionCode > :versionCode LIMIT 1")
|
||||
abstract fun getUpdatableModule(id: String, versionCode: Int): OnlineModule?
|
||||
|
||||
@Query("SELECT * FROM modules ORDER BY last_update DESC LIMIT :limit OFFSET :offset")
|
||||
protected abstract fun getDateOrder(offset: Int, limit: Int): List<OnlineModule>
|
||||
|
||||
@Query("SELECT * FROM modules ORDER BY name COLLATE NOCASE LIMIT :limit OFFSET :offset")
|
||||
protected abstract fun getNameOrder(offset: Int, limit: Int): List<OnlineModule>
|
||||
|
||||
@Query(
|
||||
"""SELECT *
|
||||
FROM modules
|
||||
WHERE
|
||||
(author LIKE '%' || :query || '%') ||
|
||||
(name LIKE '%' || :query || '%') ||
|
||||
(description LIKE '%' || :query || '%')
|
||||
ORDER BY last_update DESC
|
||||
LIMIT :limit
|
||||
OFFSET :offset"""
|
||||
)
|
||||
protected abstract fun searchDateOrder(query: String, offset: Int, limit: Int): List<OnlineModule>
|
||||
|
||||
@Query(
|
||||
"""SELECT *
|
||||
FROM modules
|
||||
WHERE
|
||||
(author LIKE '%' || :query || '%') ||
|
||||
(name LIKE '%' || :query || '%') ||
|
||||
(description LIKE '%' || :query || '%')
|
||||
ORDER BY name COLLATE NOCASE
|
||||
LIMIT :limit
|
||||
OFFSET :offset"""
|
||||
)
|
||||
protected abstract fun searchNameOrder(query: String, offset: Int, limit: Int): List<OnlineModule>
|
||||
|
||||
companion object {
|
||||
const val LIMIT = 10
|
||||
}
|
||||
}
|
||||
|
||||
data class ModuleStub(
|
||||
@PrimaryKey val id: String,
|
||||
val last_update: Long
|
||||
)
|
@ -10,8 +10,6 @@ import com.topjohnwu.magisk.core.Const
|
||||
import com.topjohnwu.magisk.core.magiskdb.PolicyDao
|
||||
import com.topjohnwu.magisk.core.magiskdb.SettingsDao
|
||||
import com.topjohnwu.magisk.core.magiskdb.StringDao
|
||||
import com.topjohnwu.magisk.core.tasks.RepoUpdater
|
||||
import com.topjohnwu.magisk.data.database.RepoDatabase
|
||||
import com.topjohnwu.magisk.data.database.SuLogDatabase
|
||||
import com.topjohnwu.magisk.data.repository.LogRepository
|
||||
import com.topjohnwu.magisk.data.repository.NetworkService
|
||||
@ -19,7 +17,6 @@ import com.topjohnwu.magisk.ktx.deviceProtectedContext
|
||||
import com.topjohnwu.magisk.ui.home.HomeViewModel
|
||||
import com.topjohnwu.magisk.ui.install.InstallViewModel
|
||||
import com.topjohnwu.magisk.ui.log.LogViewModel
|
||||
import com.topjohnwu.magisk.ui.settings.SettingsViewModel
|
||||
import com.topjohnwu.magisk.ui.superuser.SuperuserViewModel
|
||||
import com.topjohnwu.magisk.ui.surequest.SuRequestViewModel
|
||||
|
||||
@ -36,9 +33,7 @@ object ServiceLocator {
|
||||
val policyDB = PolicyDao()
|
||||
val settingsDB = SettingsDao()
|
||||
val stringDB = StringDao()
|
||||
val repoDB by lazy { createRepoDatabase(context).repoDao() }
|
||||
val sulogDB by lazy { createSuLogDatabase(deContext).suLogDao() }
|
||||
val repoUpdater by lazy { RepoUpdater(networkService, repoDB) }
|
||||
val logRepo by lazy { LogRepository(sulogDB) }
|
||||
|
||||
// Networking
|
||||
@ -60,7 +55,6 @@ object ServiceLocator {
|
||||
return when (clz) {
|
||||
HomeViewModel::class.java -> HomeViewModel(networkService)
|
||||
LogViewModel::class.java -> LogViewModel(logRepo)
|
||||
SettingsViewModel::class.java -> SettingsViewModel(repoDB)
|
||||
SuperuserViewModel::class.java -> SuperuserViewModel(policyDB)
|
||||
InstallViewModel::class.java -> InstallViewModel(networkService)
|
||||
SuRequestViewModel::class.java -> SuRequestViewModel(policyDB, timeoutPrefs)
|
||||
@ -75,11 +69,6 @@ inline fun <reified VM : ViewModel> ViewModelStoreOwner.viewModel() =
|
||||
ViewModelProvider(this, ServiceLocator.VMFactory).get(VM::class.java)
|
||||
}
|
||||
|
||||
private fun createRepoDatabase(context: Context) =
|
||||
Room.databaseBuilder(context, RepoDatabase::class.java, "repo.db")
|
||||
.fallbackToDestructiveMigration()
|
||||
.build()
|
||||
|
||||
private fun createSuLogDatabase(context: Context) =
|
||||
Room.databaseBuilder(context, SuLogDatabase::class.java, "sulogs.db")
|
||||
.fallbackToDestructiveMigration()
|
||||
|
@ -77,15 +77,6 @@ object AppSettings : BaseSettingsItem.Section() {
|
||||
override val title = R.string.home_app_title.asText()
|
||||
}
|
||||
|
||||
object ClearRepoCache : BaseSettingsItem.Blank() {
|
||||
override val title = R.string.settings_clear_cache_title.asText()
|
||||
override val description = R.string.settings_clear_cache_summary.asText()
|
||||
|
||||
override fun refresh() {
|
||||
isEnabled = Info.env.isActive
|
||||
}
|
||||
}
|
||||
|
||||
object Hide : BaseSettingsItem.Input() {
|
||||
override val title = R.string.settings_hide_app_title.asText()
|
||||
override val description = R.string.settings_hide_app_summary.asText()
|
||||
|
@ -13,7 +13,6 @@ import com.topjohnwu.magisk.core.Const
|
||||
import com.topjohnwu.magisk.core.Info
|
||||
import com.topjohnwu.magisk.core.isRunningAsStub
|
||||
import com.topjohnwu.magisk.core.tasks.HideAPK
|
||||
import com.topjohnwu.magisk.data.database.RepoDao
|
||||
import com.topjohnwu.magisk.databinding.adapterOf
|
||||
import com.topjohnwu.magisk.databinding.itemBindingOf
|
||||
import com.topjohnwu.magisk.di.AppContext
|
||||
@ -25,9 +24,7 @@ import com.topjohnwu.magisk.utils.Utils
|
||||
import com.topjohnwu.superuser.Shell
|
||||
import kotlinx.coroutines.launch
|
||||
|
||||
class SettingsViewModel(
|
||||
private val repositoryDao: RepoDao
|
||||
) : BaseViewModel(), BaseSettingsItem.Callback {
|
||||
class SettingsViewModel : BaseViewModel(), BaseSettingsItem.Callback {
|
||||
|
||||
val adapter = adapterOf<BaseSettingsItem>()
|
||||
val itemBinding = itemBindingOf<BaseSettingsItem> { it.bindExtra(BR.callback, this) }
|
||||
@ -57,7 +54,6 @@ class SettingsViewModel(
|
||||
UpdateChannel, UpdateChannelUrl, UpdateChecker, DownloadPath
|
||||
))
|
||||
if (Info.env.isActive) {
|
||||
list.add(ClearRepoCache)
|
||||
if (Const.USER_ID == 0) {
|
||||
if (hidden)
|
||||
list.add(Restore)
|
||||
@ -106,7 +102,6 @@ class SettingsViewModel(
|
||||
is Biometrics -> authenticate(callback)
|
||||
is Theme -> SettingsFragmentDirections.actionSettingsFragmentToThemeFragment().navigate()
|
||||
is DenyListConfig -> SettingsFragmentDirections.actionSettingsFragmentToDenyFragment().navigate()
|
||||
is ClearRepoCache -> clearRepoCache()
|
||||
is SystemlessHosts -> createHosts()
|
||||
is Restore -> HideAPK.restore(view.activity)
|
||||
is AddShortcut -> AddHomeIconEvent().publish()
|
||||
@ -136,13 +131,6 @@ class SettingsViewModel(
|
||||
}.publish()
|
||||
}
|
||||
|
||||
private fun clearRepoCache() {
|
||||
viewModelScope.launch {
|
||||
repositoryDao.clear()
|
||||
Utils.toast(R.string.repo_cache_cleared, Toast.LENGTH_SHORT)
|
||||
}
|
||||
}
|
||||
|
||||
private fun createHosts() {
|
||||
Shell.su("add_hosts_module").submit {
|
||||
Utils.toast(R.string.settings_hosts_toast, Toast.LENGTH_SHORT)
|
||||
|
@ -125,8 +125,6 @@
|
||||
<string name="settings_dark_mode_dark">وضـع الظلام</string>
|
||||
<string name="settings_download_path_title">مسار التحميل</string>
|
||||
<string name="settings_download_path_message">ستحمل الملفات إلى %1$s</string>
|
||||
<string name="settings_clear_cache_title">حذف الذاكرة المؤقتة للإضافات</string>
|
||||
<string name="settings_clear_cache_summary">حذف المعلومات المخزنة محليا، هذا سيجبر التطبيق على التحديث الإضافات عبر الانترنت</string>
|
||||
<string name="language">اللغة</string>
|
||||
<string name="system_default">(الأفتراضي)</string>
|
||||
<string name="settings_check_update_title">تحقق من التحديثات</string>
|
||||
|
@ -71,8 +71,6 @@
|
||||
<string name="setup_msg">Quraşdırma yerinə yetirilir…</string>
|
||||
|
||||
<!--Settings Activity -->
|
||||
<string name="settings_clear_cache_title">Repo Keşini Təmizlə</string>
|
||||
<string name="settings_clear_cache_summary">Onlayn repolar üçün keşlənmiş məlumatı silin. Bu tətbiqi onlayn şəkildə yenilənməyə məcbur edir.</string>
|
||||
<string name="language">Dil</string>
|
||||
<string name="system_default">(Sistem Dili)</string>
|
||||
<string name="settings_check_update_title">Yeniləmələri Yoxla</string>
|
||||
|
@ -121,8 +121,6 @@
|
||||
<string name="settings_dark_mode_dark">Заўсёды цёмны</string>
|
||||
<string name="settings_download_path_title">Каталог спамповак</string>
|
||||
<string name="settings_download_path_message">Файлы будуць спампоўвацца ў %1$s</string>
|
||||
<string name="settings_clear_cache_title">Ачыстка кэшу рэпазіторыя</string>
|
||||
<string name="settings_clear_cache_summary">Ачысціць кэш сеціўных рэпазіторыяў. Гэта прымусіць абнавіць кэш</string>
|
||||
<string name="settings_hide_app_title">Схаваць праграму Magisk</string>
|
||||
<string name="settings_hide_app_summary">Усталяваць проксі-праграму з выпадковым ідэнтыфікатарам пакунка і адвольным значком</string>
|
||||
<string name="settings_restore_app_title">Аднавіць праграму Magisk</string>
|
||||
|
@ -67,8 +67,6 @@
|
||||
<string name="download_file_error">Грешка при изтеглянето на файла.</string>
|
||||
|
||||
<!--Settings Activity -->
|
||||
<string name="settings_clear_cache_title">Изчистване кеша на хранилището</string>
|
||||
<string name="settings_clear_cache_summary">Изчистване на кешираната информация на онлайн хранилището за принудителното му обновяване.</string>
|
||||
<string name="language">Език</string>
|
||||
<string name="system_default">(Системен)</string>
|
||||
<string name="settings_check_update_title">Проверка за актуализации</string>
|
||||
|
@ -131,8 +131,6 @@
|
||||
<string name="settings_dark_mode_dark">Sempre fosc</string>
|
||||
<string name="settings_download_path_title">Directori de baixades</string>
|
||||
<string name="settings_download_path_message">Els arxius es desaran a %1$s</string>
|
||||
<string name="settings_clear_cache_title">Netejar memòria cau del repositori</string>
|
||||
<string name="settings_clear_cache_summary">Neteja la informació en memòria cau per als repositoris en línia. Força a l\'aplicació a actualitzar-se en línia</string>
|
||||
<string name="settings_hide_app_title">Amagar Magisk Manager</string>
|
||||
<string name="settings_hide_app_summary">Torna a empaquetar Magisk Manager amb un nom de paquet a l\'atzar</string>
|
||||
<string name="settings_restore_app_title">Restaurar Magisk Manager</string>
|
||||
|
@ -130,8 +130,6 @@
|
||||
<string name="settings_dark_mode_dark">Tmavý</string>
|
||||
<string name="settings_download_path_title">Složka pro stahování</string>
|
||||
<string name="settings_download_path_message">Soubory budou uloženy do %1$s.</string>
|
||||
<string name="settings_clear_cache_title">Smazat mezipaměť</string>
|
||||
<string name="settings_clear_cache_summary">Smažete online informace o použití z mezipaměti, a tím na aplikaci vynutíte obnovení online informací.</string>
|
||||
<string name="settings_hide_app_title">Skrýt aplikaci Magisk</string>
|
||||
<string name="settings_hide_app_summary">Skryjete aplikaci náhodným ID balíčku a vlastním názvem aplikace.</string>
|
||||
<string name="settings_restore_app_title">Obnovit aplikaci Magisk</string>
|
||||
|
@ -131,8 +131,6 @@
|
||||
<string name="settings_dark_mode_dark">Immer dunkel</string>
|
||||
<string name="settings_download_path_title">Download-Verzeichnis</string>
|
||||
<string name="settings_download_path_message">Dateien werden in %1$s gespeichert</string>
|
||||
<string name="settings_clear_cache_title">Repo-Cache leeren</string>
|
||||
<string name="settings_clear_cache_summary">Löscht die zwischengespeicherten Informationen des Online-Repos. Erzwingt eine Aktualisierung</string>
|
||||
<string name="settings_hide_app_title">Verstecke die Magisk App</string>
|
||||
<string name="settings_hide_app_summary">Installiere eine Proxy-App mit zufälliger Paket-ID und benutzerdefiniertem App-Label</string>
|
||||
<string name="settings_restore_app_title">Stelle die Magisk App wiederher</string>
|
||||
|
@ -130,8 +130,6 @@
|
||||
<string name="settings_dark_mode_dark">Πάντα Dark</string>
|
||||
<string name="settings_download_path_title">Διαδρομή λήψης</string>
|
||||
<string name="settings_download_path_message">Τα αρχεία θα αποθηκευτούν στο %1$s</string>
|
||||
<string name="settings_clear_cache_title">Εκκαθάριση προσωρινής μνήμης αποθετηρίων</string>
|
||||
<string name="settings_clear_cache_summary">Καθαρίζει τις κρυφές πληροφορίες για απευθείας συνδεδεμένα αποθετήρια, αναγκάζει την εφαρμογή να κάνει ανανέωση σε απευθείας σύνδεση</string>
|
||||
<string name="settings_hide_app_title">Απόκρυψη της εφαρμογής Magisk</string>
|
||||
<string name="settings_hide_app_summary">Εγκαταστήστε μια εφαρμογή με τυχαίο αναγνωριστικό πακέτου και προσαρμοσμένη ετικέτα εφαρμογής</string>
|
||||
<string name="settings_restore_app_title">Επαναφέρετε την εφαρμογή Magisk</string>
|
||||
|
@ -131,8 +131,6 @@
|
||||
<string name="settings_dark_mode_dark">Oscuro</string>
|
||||
<string name="settings_download_path_title">Ruta de Descarga</string>
|
||||
<string name="settings_download_path_message">Los archivos se guardarán en %1$s</string>
|
||||
<string name="settings_clear_cache_title">Limpiar caché del repositorio</string>
|
||||
<string name="settings_clear_cache_summary">Limpiar la información en caché para los repositorios en línea, fuerza a la aplicación a actualizar en línea</string>
|
||||
<string name="settings_hide_app_title">Esconder la app de Magisk</string>
|
||||
<string name="settings_hide_app_summary">Instalar una nueva app proxy con una ID de paquete aleatoria y una etiqueta personalizada</string>
|
||||
<string name="settings_restore_app_title">Restaurar la app de Magisk</string>
|
||||
|
@ -126,8 +126,6 @@
|
||||
<string name="settings_dark_mode_dark">Alati tume</string>
|
||||
<string name="settings_download_path_title">Allalaadimise failitee</string>
|
||||
<string name="settings_download_path_message">Failid salvestatakse kausta %1$s</string>
|
||||
<string name="settings_clear_cache_title">Tühjenda hoidla vahemälu</string>
|
||||
<string name="settings_clear_cache_summary">Tühjenda vahemälus olev teave võrgus olevate hoidlate kohta. See sunnib rakendust võrgust värskendama</string>
|
||||
<string name="language">Keel</string>
|
||||
<string name="system_default">(Süsteemi vaikesäte)</string>
|
||||
<string name="settings_check_update_title">Kontrolli uuendusi</string>
|
||||
|
@ -123,8 +123,6 @@
|
||||
<string name="settings_dark_mode_dark">همیشه تاریک</string>
|
||||
<string name="settings_download_path_title">مسیر دانلود</string>
|
||||
<string name="settings_download_path_message">فایل ها در %1$s ذخیره خواهند شد.</string>
|
||||
<string name="settings_clear_cache_title">پاک کردن حافظه پنهان</string>
|
||||
<string name="settings_clear_cache_summary">پاک کردن اطلاعات ذخیره شده برای ریپوسیتوری های آنلاین. این کار برنامه را مجبور به دریافت دوباره اطللاعات هنگام آنلاین شدن میکند</string>
|
||||
<string name="language">زبان</string>
|
||||
<string name="system_default">(پیش فرض سیستم)</string>
|
||||
<string name="settings_check_update_title">چک کردن بروز رسانی ها</string>
|
||||
|
@ -131,8 +131,6 @@
|
||||
<string name="settings_dark_mode_dark">Toujours sombre</string>
|
||||
<string name="settings_download_path_title">Répertoire de téléchargement</string>
|
||||
<string name="settings_download_path_message">Les fichiers seront enregistrés sous %1$s</string>
|
||||
<string name="settings_clear_cache_title">Vider le cache des dépôts</string>
|
||||
<string name="settings_clear_cache_summary">Effacer les informations en cache concerant les dépôts en ligne. Ceci force l’application à télécharger des informations à jour.</string>
|
||||
<string name="settings_hide_app_title">Masquer l’application Magisk</string>
|
||||
<string name="settings_hide_app_summary">Installer une application intermédiaire avec un identifiant de paquet aléatoire et un nom personnalisé</string>
|
||||
<string name="settings_restore_app_title">Restaurer l’application Magisk</string>
|
||||
|
@ -128,8 +128,6 @@
|
||||
<string name="settings_dark_mode_dark">हमेशा गहरे रंग वाली</string>
|
||||
<string name="settings_download_path_title">डाउनलोड पथ</string>
|
||||
<string name="settings_download_path_message">फ़ाइलों को %1$s में सहेजा जाएगा</string>
|
||||
<string name="settings_clear_cache_title">रेपो कैश साफ़ करें</string>
|
||||
<string name="settings_clear_cache_summary">ऑनलाइन रेपो के लिए कैश्ड जानकारी साफ़ करें। यह एप्लिकेशन को ऑनलाइन रिफ्रेश करने के लिए मजबूर करता है</string>
|
||||
<string name="language">भाषा</string>
|
||||
<string name="system_default">(सिस्टम डिफ़ॉल्ट)</string>
|
||||
<string name="settings_check_update_title">अपडेट जांचें</string>
|
||||
|
@ -126,8 +126,6 @@
|
||||
<string name="settings_dark_mode_dark">Uvijek crna</string>
|
||||
<string name="settings_download_path_title">Putanja preuzimanja</string>
|
||||
<string name="settings_download_path_message">Datoteke će biti spremljene u %1$s</string>
|
||||
<string name="settings_clear_cache_title">Obriši predmemoriju repozitorija</string>
|
||||
<string name="settings_clear_cache_summary">Obrišite predmemorirane podatke za mrežne repozitorije. To prisiljava aplikaciju da se osvježi na mreži</string>
|
||||
<string name="language">Jezik</string>
|
||||
<string name="system_default">(Zadano sustavom)</string>
|
||||
<string name="settings_check_update_title">Provjeri za ažuriranja</string>
|
||||
|
@ -129,8 +129,6 @@
|
||||
<string name="settings_dark_mode_dark">Selalu gelap</string>
|
||||
<string name="settings_download_path_title">Lokasi download</string>
|
||||
<string name="settings_download_path_message">File akan disimpan ke %1$s</string>
|
||||
<string name="settings_clear_cache_title">Hapus cache repo</string>
|
||||
<string name="settings_clear_cache_summary">Hapus cache informasi repo online. Tindakan ini memaksa aplikasi untuk memperbarui repo online</string>
|
||||
<string name="language">Bahasa</string>
|
||||
<string name="system_default">(Default sistem)</string>
|
||||
<string name="settings_check_update_title">Periksa update</string>
|
||||
|
@ -130,8 +130,6 @@
|
||||
<string name="settings_dark_mode_dark">Scuro</string>
|
||||
<string name="settings_download_path_title">Percorso di download</string>
|
||||
<string name="settings_download_path_message">I file verranno salvati in %1$s</string>
|
||||
<string name="settings_clear_cache_title">Svuota cache repository</string>
|
||||
<string name="settings_clear_cache_summary">Svuota la cache dei repository. In questo modo l\'app sarà costretta a recuperare le informazioni online</string>
|
||||
<string name="language">Lingua</string>
|
||||
<string name="system_default">(Sistema)</string>
|
||||
<string name="settings_check_update_title">Controlla aggiornamenti</string>
|
||||
|
@ -129,8 +129,6 @@
|
||||
<string name="settings_dark_mode_dark">תמיד כהה</string>
|
||||
<string name="settings_download_path_title">נתיב הורדה</string>
|
||||
<string name="settings_download_path_message">הקבצים ישמרו אל %1$s</string>
|
||||
<string name="settings_clear_cache_title">נקה מטמון ריפו</string>
|
||||
<string name="settings_clear_cache_summary">נקה מידע זיכרון מטמון עבור ריפו מקוונים, זה יכריח את היישום לרענן באופן מקוון</string>
|
||||
<string name="settings_hide_app_title">הסתר את היישום Magisk</string>
|
||||
<string name="settings_hide_app_summary">התקן יישום מתווך עם מזהה חבילה אקראי ותווית שם מותאמת אישית</string>
|
||||
<string name="settings_restore_app_title">שחזר את יישום Magisk</string>
|
||||
|
@ -131,8 +131,6 @@
|
||||
<string name="settings_dark_mode_dark">ダークモード</string>
|
||||
<string name="settings_download_path_title">ファイルの保存場所</string>
|
||||
<string name="settings_download_path_message">ファイルは %1$s に保存されます</string>
|
||||
<string name="settings_clear_cache_title">キャッシュを消去</string>
|
||||
<string name="settings_clear_cache_summary">モジュールリポジトリのキャッシュを消去します</string>
|
||||
<string name="settings_hide_app_title">Magisk アプリを隠す</string>
|
||||
<string name="settings_hide_app_summary">ランダムなパッケージ ID と任意のアプリ名のプロキシアプリをインストールします</string>
|
||||
<string name="settings_restore_app_title">Magisk アプリを復元する</string>
|
||||
|
@ -131,8 +131,6 @@
|
||||
<string name="settings_dark_mode_dark">მუქი თემა</string>
|
||||
<string name="settings_download_path_title">გადმოწერის ლოკაცია</string>
|
||||
<string name="settings_download_path_message">ფაილები შეინახება %1$s-ში</string>
|
||||
<string name="settings_clear_cache_title">რეპოზიტორიების ქეშის წაშლა</string>
|
||||
<string name="settings_clear_cache_summary">რეპოზიტორიებისთვის ქეშის წაშლა. ეს დაარეფრეშებს პროგრამას</string>
|
||||
<string name="settings_hide_app_title">Magisk-ის აპის დამალვა</string>
|
||||
<string name="settings_hide_app_summary">დაყენდეს ამოუცნობელი აპი შემთხვევითი პაკეტის ID-ით და განსხვავებული სახელით</string>
|
||||
<string name="settings_restore_app_title">Magisk-ის აპის დაბრუნება</string>
|
||||
|
@ -126,8 +126,6 @@
|
||||
<string name="settings_dark_mode_dark">다크 모드</string>
|
||||
<string name="settings_download_path_title">다운로드 경로</string>
|
||||
<string name="settings_download_path_message">파일이 %1$s에 저장됩니다</string>
|
||||
<string name="settings_clear_cache_title">저장소 캐시 비우기</string>
|
||||
<string name="settings_clear_cache_summary">온라인 저장소에 대해 캐시된 정보를 지우고, 온라인에서 정보를 강제로 새로 고칩니다.</string>
|
||||
<string name="language">언어</string>
|
||||
<string name="system_default">(시스템 기본값)</string>
|
||||
<string name="settings_check_update_title">업데이트 확인</string>
|
||||
|
@ -63,8 +63,6 @@
|
||||
<string name="download_file_error">Atsisiunčiant failą įvyko klaida</string>
|
||||
|
||||
<!--Settings Activity -->
|
||||
<string name="settings_clear_cache_title">Išvalyti nereikalingus saugyklos failus</string>
|
||||
<string name="settings_clear_cache_summary">Išvalyti patalpintą informaciją talpykloms internete, priverčia perkrauti interneto jungtį</string>
|
||||
<string name="language">Kalba</string>
|
||||
<string name="system_default">(Sistemos)</string>
|
||||
<string name="settings_check_update_title">Automatiškas atnaujinimų ieškojimas</string>
|
||||
|
@ -75,8 +75,6 @@
|
||||
<string name="setup_msg">Надградба на работната околина…</string>
|
||||
|
||||
<!--Settings Activity -->
|
||||
<string name="settings_clear_cache_title">Исчисти го кешот од репозиториумот</string>
|
||||
<string name="settings_clear_cache_summary">Исчисти ги кешираните информации за онлајн репозиториумот. Ова ја принудува апликацијата да се освежи онлајн.</string>
|
||||
<string name="language">Јазик</string>
|
||||
<string name="system_default">(Стандарден системски)</string>
|
||||
<string name="settings_check_update_title">Провери за ажурирања</string>
|
||||
|
@ -131,8 +131,6 @@
|
||||
<string name="settings_dark_mode_dark">Alltid mørk</string>
|
||||
<string name="settings_download_path_title">Nedlastingssti</string>
|
||||
<string name="settings_download_path_message">Filer vil lagres i %1$s</string>
|
||||
<string name="settings_clear_cache_title">Tøm pakkebrønnshurtiglager</string>
|
||||
<string name="settings_clear_cache_summary">Tøm hurtiglagret info for nettbaserte pakkebrønner. Tvinger programmet til å gjenoppriskes på nett.</string>
|
||||
<string name="settings_hide_app_title">Skjul Magisk-programmet</string>
|
||||
<string name="settings_hide_app_summary">Installer et mellomtjenerprogram med tilfeldig pakke-ID og egendefinert program-etikett</string>
|
||||
<string name="settings_restore_app_title">Gjenopprett Magisk-programmet</string>
|
||||
|
@ -126,8 +126,6 @@
|
||||
<string name="settings_dark_mode_dark">Donker</string>
|
||||
<string name="settings_download_path_title">Downloadpad</string>
|
||||
<string name="settings_download_path_message">Bestanden worden opgeslagen in %1$s</string>
|
||||
<string name="settings_clear_cache_title">Pakketbroncache wissen</string>
|
||||
<string name="settings_clear_cache_summary">Wis de opgeslagen informatie van de online-pakketbronnen. Hierdoor wordt de app online ververst.</string>
|
||||
<string name="language">Taal</string>
|
||||
<string name="system_default">(systeemstandaard)</string>
|
||||
<string name="settings_check_update_summary">Controleer automatisch op updates op de achtergrond.</string>
|
||||
|
@ -128,8 +128,6 @@
|
||||
<string name="settings_dark_mode_dark">ਹਮੇਸ਼ਾ ਗਹਿਰੇ ਰੰਗ ਦੀ</string>
|
||||
<string name="settings_download_path_title">ਡਾਊਨਲੋਡ ਮਾਰਗ</string>
|
||||
<string name="settings_download_path_message">ਫਾਈਲਾਂ ਨੂੰ %1$s ਵਿੱਚ ਸੇਵ ਕੀਤਾ ਜਾਏਗਾ</string>
|
||||
<string name="settings_clear_cache_title">ਰੈਪੋ ਕੈਚੇ ਸਾਫ਼ ਕਰੋ</string>
|
||||
<string name="settings_clear_cache_summary">ਆਨਲਾਈਨਨ ਰਿਪੋਜ਼ ਲਈ ਕੈਸ਼ ਕੀਤੀ ਜਾਣਕਾਰੀ ਸਾਫ ਕਰੋ। ਇਹ ਐਪਲੀਕੇਸ਼ਨ ਨੂੰ ਆਨਲਾਈਨ ਤਾਜ਼ਾ ਕਰਨ ਲਈ ਮਜਬੂਰ ਕਰਦਾ ਹੈ।</string>
|
||||
<string name="language">ਭਾਸ਼ਾ</string>
|
||||
<string name="system_default">(ਸਿਸਟਮ ਡਿਫੌਲਟ)</string>
|
||||
<string name="settings_check_update_title">ਚੈੱਕ ਅੱਪਡੇਟ</string>
|
||||
|
@ -131,8 +131,6 @@
|
||||
<string name="settings_dark_mode_dark">Zawsze ciemny</string>
|
||||
<string name="settings_download_path_title">Ścieżka pobierania plików</string>
|
||||
<string name="settings_download_path_message">Pliki zostaną zapisane do %1$s</string>
|
||||
<string name="settings_clear_cache_title">Wyczyść pamięć podr. repozytoriów</string>
|
||||
<string name="settings_clear_cache_summary">Wyczyść informacje z pamięci podr. dotyczące repozytoriów. Zmusza to aplikację do odświeżenia informacji online</string>
|
||||
<string name="settings_hide_app_title">Ukryj aplikację Magisk</string>
|
||||
<string name="settings_hide_app_summary">Zainstaluj aplikację z losowym ID pakietu i własną etykietą.</string>
|
||||
<string name="settings_restore_app_title">Przywróć aplikację Magisk</string>
|
||||
|
@ -130,8 +130,6 @@
|
||||
]]>
|
||||
<string name="settings_download_path_title">Caminho de Download</string>
|
||||
<string name="settings_download_path_message">Os arquivos serão salvos em %1$s</string>
|
||||
<string name="settings_clear_cache_title">Limpar cache do repositório</string>
|
||||
<string name="settings_clear_cache_summary">Limpe as informações em cache para repositórios online. Isso força o aplicativo a atualizar on-line</string>
|
||||
<string name="settings_hide_app_title">Esconder o app do Magisk</string>
|
||||
<string name="settings_hide_app_summary">Instala um app proxy com ID de pacote aleatorio e nome de app personalizado</string>
|
||||
<string name="settings_restore_app_title">Restaura o app do Magisk</string>
|
||||
|
@ -50,8 +50,6 @@
|
||||
<string name="download_file_error">Erro ao transferir ficheiro</string>
|
||||
|
||||
<!--Settings Activity -->
|
||||
<string name="settings_clear_cache_title">Apagar Cache de Repositório</string>
|
||||
<string name="settings_clear_cache_summary">Apaga a informação cache de repositórios online. online, forçando a aplicação a atualizar online</string>
|
||||
<string name="language">Língua</string>
|
||||
<string name="system_default">(Padrão do Sistema)</string>
|
||||
<string name="settings_update_stable">Estável</string>
|
||||
|
@ -131,12 +131,10 @@
|
||||
<string name="settings_dark_mode_dark">Mereu întunecat</string>
|
||||
<string name="settings_download_path_title">Cale de descărcare</string>
|
||||
<string name="settings_download_path_message">Fișierele vor fi salvate în %1$s</string>
|
||||
<string name="settings_clear_cache_title">Golește cache-ul depozitelor</string>
|
||||
<string name="settings_hide_app_title">Ascunde aplicația Magisk</string>
|
||||
<string name="settings_hide_app_summary">Instalează o aplicație proxy cu ID aleatoriu pentru pachet și etichetă personalizată pentru aplicație</string>
|
||||
<string name="settings_restore_app_title">Restaurează aplicația Magisk</string>
|
||||
<string name="settings_restore_app_summary">Dezvăluie aplicația și restaureaz-o înapoi în APK-ul original</string>
|
||||
<string name="settings_clear_cache_summary">Golește informațiile memorate în cache pentru depozitele online. Acest lucru forțează actualizarea aplicației online</string>
|
||||
<string name="language">Limbă</string>
|
||||
<string name="system_default">(Implicită a sistemului)</string>
|
||||
<string name="settings_check_update_title">Caută actualizări</string>
|
||||
|
@ -131,8 +131,6 @@
|
||||
<string name="settings_dark_mode_dark">Всегда тёмный</string>
|
||||
<string name="settings_download_path_title">Папка для загрузок</string>
|
||||
<string name="settings_download_path_message">Файлы будут загружаться в %1$s</string>
|
||||
<string name="settings_clear_cache_title">Очистить кэш репозитория</string>
|
||||
<string name="settings_clear_cache_summary">Стереть кэш репозитория модулей (будет создан заново)</string>
|
||||
<string name="settings_hide_app_title">Скрытие приложения Magisk</string>
|
||||
<string name="settings_hide_app_summary">Пересобрать приложение Magisk со случайным названием и именем пакета</string>
|
||||
<string name="settings_restore_app_title">Восстановление приложения Magisk</string>
|
||||
|
@ -131,8 +131,6 @@
|
||||
<string name="settings_dark_mode_dark">Vždy tmavý</string>
|
||||
<string name="settings_download_path_title">Cesta na sťahovanie</string>
|
||||
<string name="settings_download_path_message">Súbory budú uložené do %1$s</string>
|
||||
<string name="settings_clear_cache_title">Vyčistiť cache repo</string>
|
||||
<string name="settings_clear_cache_summary">Vyčistí uložené informácie pre online repos. Vynúti appku obnoviť online</string>
|
||||
<string name="settings_hide_app_title">Skryť aplikáciu Magisk</string>
|
||||
<string name="settings_hide_app_summary">Inštalovať proxy aplikáciu s náhodným ID balíčka a vlastným názvom aplikácie</string>
|
||||
<string name="settings_restore_app_title">Obnoviť aplikáciu Magisk</string>
|
||||
|
@ -129,8 +129,6 @@
|
||||
<string name="settings_dark_mode_dark">Gjithmonë e errët</string>
|
||||
<string name="settings_download_path_title">Vendodhja e shkarkimeve</string>
|
||||
<string name="settings_download_path_message">Skedarët do të ruhen në %1$s</string>
|
||||
<string name="settings_clear_cache_title">Pastro Cache të Repos</string>
|
||||
<string name="settings_clear_cache_summary">Pastroni informacionin e memorizuar për repot në internet. Kjo e detyron aplikacionin të rifreskohet në internet</string>
|
||||
<string name="language">Gjuha</string>
|
||||
<string name="system_default">(Parazgjedhja e Sistemit)</string>
|
||||
<string name="settings_check_update_title">Kontrolloni azhurnimet</string>
|
||||
|
@ -54,8 +54,6 @@
|
||||
<string name="download_file_error">Грешка при преузимању фајла</string>
|
||||
|
||||
<!--Settings Activity -->
|
||||
<string name="settings_clear_cache_title">Обриши кеш спремишта</string>
|
||||
<string name="settings_clear_cache_summary">Очисти кеширану имформацију за онлајн спремишта, форсира апликацију да освежи онлајн</string>
|
||||
<string name="language">Језик</string>
|
||||
<string name="system_default">(Фабрички Система)</string>
|
||||
<string name="settings_update_channel_title">Канал Ажурирања</string>
|
||||
|
@ -130,8 +130,6 @@
|
||||
<string name="settings_dark_mode_dark">Alltid mörk</string>
|
||||
<string name="settings_download_path_title">Nedladdningsmapp</string>
|
||||
<string name="settings_download_path_message">Filer kommer att spara till %1$s</string>
|
||||
<string name="settings_clear_cache_title">Rensa Repo Cache</string>
|
||||
<string name="settings_clear_cache_summary">Rensa den lagrade informationen för online-repos. Tvingar appen att uppdatera online</string>
|
||||
<string name="settings_hide_app_title">Göm Magisk-appen</string>
|
||||
<string name="settings_hide_app_summary">Installera en proxy-app med ett slumpmässigt paket-ID och appnamn</string>
|
||||
<string name="settings_restore_app_title">Återställ Magisk-appen</string>
|
||||
|
@ -131,8 +131,6 @@
|
||||
<string name="settings_dark_mode_dark">எப்போதும் இருண்டது</string>
|
||||
<string name="settings_download_path_title">பதிவிறக்க இடம்</string>
|
||||
<string name="settings_download_path_message">%1$s ல் கோப்புகள் சேமிக்கப்படும்</string>
|
||||
<string name="settings_clear_cache_title">ரெப்போ கேச் அழிக்கவும்</string>
|
||||
<string name="settings_clear_cache_summary">ஆன்லைன் களஞ்சியங்களுக்கான தற்காலிக சேமிப்பை அழிக்கவும். இது ஆன்லைனில் புதுப்பிக்க பயன்பாட்டை கட்டாயப்படுத்துகிறது</string>
|
||||
<string name="settings_hide_app_title">மேஜிஸ்க் செயலியை மறைக்கவும்</string>
|
||||
<string name="settings_hide_app_summary">சீரற்ற தொகுப்பு ஐடி மற்றும் தனிப்பயன் பயன்பாட்டு லேபிளுடன் ப்ராக்ஸி பயன்பாட்டை நிறுவவும்</string>
|
||||
<string name="settings_restore_app_title">மேஜிஸ்க் பயன்பாட்டை மீட்டமை</string>
|
||||
|
@ -68,8 +68,6 @@
|
||||
<string name="setup_msg">กำลังรันการตั้งค่า…</string>
|
||||
|
||||
<!--Settings Activity -->
|
||||
<string name="settings_clear_cache_title">ล้างแคช Repo</string>
|
||||
<string name="settings_clear_cache_summary">ล้างข้อมูล repo ออนไลน์ที่ถูกแคชไว้</string>
|
||||
<string name="language">ภาษา</string>
|
||||
<string name="system_default">(มาตรฐานระบบ)</string>
|
||||
<string name="settings_check_update_title">ตรวจสอบการอัพเดต</string>
|
||||
|
@ -131,8 +131,6 @@
|
||||
<string name="settings_dark_mode_dark">Her Zaman Karanlık</string>
|
||||
<string name="settings_download_path_title">İndirme dizini</string>
|
||||
<string name="settings_download_path_message">Dosyalar %1$s konumuna kaydedilecek</string>
|
||||
<string name="settings_clear_cache_title">Depo Önbelleğini Temizle</string>
|
||||
<string name="settings_clear_cache_summary">Çevrim içi depolar için önbellek bilgilerini temizle, uygulamayı çevrim içi yenilemeye zorla</string>
|
||||
<string name="settings_hide_app_title">Magisk uygulamasını gizle</string>
|
||||
<string name="settings_hide_app_summary">Rastgele paket kimliğine ve isme sabip bir vekil uygulama yükle</string>
|
||||
<string name="settings_restore_app_title">Magisk uygulamasını geri yükle</string>
|
||||
|
@ -129,8 +129,6 @@
|
||||
<string name="settings_dark_mode_dark">Завжди темний</string>
|
||||
<string name="settings_download_path_title">Шлях завантаження</string>
|
||||
<string name="settings_download_path_message">Файли зберігатимуться в %1$s</string>
|
||||
<string name="settings_clear_cache_title">Очистити кеш</string>
|
||||
<string name="settings_clear_cache_summary">Очистити збережену інформацію про мережеві репозиторії. Кеш заново завантажиться через Інтернет</string>
|
||||
<string name="language">Мова</string>
|
||||
<string name="system_default">(системна)</string>
|
||||
<string name="settings_check_update_title">Перевіряти оновлення</string>
|
||||
|
@ -66,8 +66,6 @@
|
||||
<string name="download_file_error">Lỗi tải tập tin</string>
|
||||
|
||||
<!--Settings Activity -->
|
||||
<string name="settings_clear_cache_title">Xoá bộ đệm kho</string>
|
||||
<string name="settings_clear_cache_summary">Xoá thông tin được lưu trong bộ nhớ cache của các bản thử nghiệm trực tuyến. Điều này buộc ứng dụng phải làm mới trực tuyến.</string>
|
||||
<string name="language">Ngôn ngữ</string>
|
||||
<string name="system_default">(Mặc định hệ thống)</string>
|
||||
<string name="settings_check_update_title">Kiểm tra cập nhật</string>
|
||||
|
@ -131,8 +131,6 @@
|
||||
<string name="settings_dark_mode_dark">深色模式</string>
|
||||
<string name="settings_download_path_title">下载路径</string>
|
||||
<string name="settings_download_path_message">文件将保存到 %1$s</string>
|
||||
<string name="settings_clear_cache_title">清除仓库缓存</string>
|
||||
<string name="settings_clear_cache_summary">清除已缓存的在线仓库信息,强制刷新数据</string>
|
||||
<string name="settings_hide_app_title">隐藏 Magisk 应用</string>
|
||||
<string name="settings_hide_app_summary">安装具有随机包名和自定义应用名称的代理应用</string>
|
||||
<string name="settings_restore_app_title">还原 Magisk 应用</string>
|
||||
|
@ -131,8 +131,6 @@
|
||||
<string name="settings_dark_mode_dark">暗色模式</string>
|
||||
<string name="settings_download_path_title">下載路徑</string>
|
||||
<string name="settings_download_path_message">檔案將被儲存在:%1$s</string>
|
||||
<string name="settings_clear_cache_title">清除線上模組庫快取</string>
|
||||
<string name="settings_clear_cache_summary">將強制重新載入線上模組庫</string>
|
||||
<string name="language">語言</string>
|
||||
<string name="settings_hide_app_title">隱藏 Magisk</string>
|
||||
<string name="settings_hide_app_summary">安裝一個隨機包裝和可客製化應用程式名稱的代理應用程式</string>
|
||||
|
@ -132,8 +132,6 @@
|
||||
<string name="settings_dark_mode_dark">Always Dark</string>
|
||||
<string name="settings_download_path_title">Download path</string>
|
||||
<string name="settings_download_path_message">Files will be saved to %1$s</string>
|
||||
<string name="settings_clear_cache_title">Clear Repo Cache</string>
|
||||
<string name="settings_clear_cache_summary">Clear the cached information for online repos. This forces the app to refresh online</string>
|
||||
<string name="settings_hide_app_title">Hide the Magisk app</string>
|
||||
<string name="settings_hide_app_summary">Install a proxy app with random package ID and custom app label</string>
|
||||
<string name="settings_restore_app_title">Restore the Magisk app</string>
|
||||
|
Loading…
x
Reference in New Issue
Block a user