mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-14 13:46:43 +02:00
Compare commits
30 Commits
Author | SHA1 | Date | |
---|---|---|---|
381758550c | |||
da496f7c53 | |||
f905aa7dfd | |||
0db27c773b | |||
4e968826ba | |||
e95f575530 | |||
3943caeedb | |||
4495051813 | |||
558d23b8c0 | |||
2e90d1fb18 | |||
9dae24ace6 | |||
b6e6568500 | |||
a8eae7f04b | |||
4902e0ef06 | |||
e6926a714f | |||
c9eee4331d | |||
9a8cc2e5c3 | |||
a7c9cd0f27 | |||
efc6846c1c | |||
89edddd38c | |||
e7c2112f41 | |||
d8cd3b6c92 | |||
bb1dd4ecfd | |||
3824b386d7 | |||
a9159fc8a0 | |||
7f4cf6e681 | |||
215f05fbc2 | |||
6d6afe9e69 | |||
66122f1608 | |||
0ad9bbdd8e |
2
.flutter
2
.flutter
Submodule .flutter updated: 7482962148...ba39319843
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -42,7 +42,6 @@ jobs:
|
|||||||
if [ ${{ inputs.beta }} == true ]; then BETA=true; else BETA=false; fi
|
if [ ${{ inputs.beta }} == true ]; then BETA=true; else BETA=false; fi
|
||||||
echo "beta=$BETA" >> $GITHUB_OUTPUT
|
echo "beta=$BETA" >> $GITHUB_OUTPUT
|
||||||
TAG="v$VERSION"
|
TAG="v$VERSION"
|
||||||
if [ $BETA == true ]; then TAG="$TAG"-beta; fi
|
|
||||||
echo "tag=$TAG" >> $GITHUB_OUTPUT
|
echo "tag=$TAG" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Build APKs
|
- name: Build APKs
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
plugins {
|
||||||
|
id "com.android.application"
|
||||||
|
id "kotlin-android"
|
||||||
|
id "dev.flutter.flutter-gradle-plugin"
|
||||||
|
}
|
||||||
|
|
||||||
def localProperties = new Properties()
|
def localProperties = new Properties()
|
||||||
def localPropertiesFile = rootProject.file('local.properties')
|
def localPropertiesFile = rootProject.file('local.properties')
|
||||||
if (localPropertiesFile.exists()) {
|
if (localPropertiesFile.exists()) {
|
||||||
@ -6,11 +12,6 @@ if (localPropertiesFile.exists()) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
def flutterRoot = localProperties.getProperty('flutter.sdk')
|
|
||||||
if (flutterRoot == null) {
|
|
||||||
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
|
|
||||||
}
|
|
||||||
|
|
||||||
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
|
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
|
||||||
if (flutterVersionCode == null) {
|
if (flutterVersionCode == null) {
|
||||||
flutterVersionCode = '1'
|
flutterVersionCode = '1'
|
||||||
@ -21,11 +22,6 @@ if (flutterVersionName == null) {
|
|||||||
flutterVersionName = '1.0'
|
flutterVersionName = '1.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'com.android.application'
|
|
||||||
apply plugin: 'kotlin-android'
|
|
||||||
apply plugin: 'dev.rikka.tools.refine'
|
|
||||||
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
|
|
||||||
|
|
||||||
def keystoreProperties = new Properties()
|
def keystoreProperties = new Properties()
|
||||||
def keystorePropertiesFile = rootProject.file('key.properties')
|
def keystorePropertiesFile = rootProject.file('key.properties')
|
||||||
if (keystorePropertiesFile.exists()) {
|
if (keystorePropertiesFile.exists()) {
|
||||||
@ -33,7 +29,8 @@ if (keystorePropertiesFile.exists()) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion rootProject.ext.compileSdkVersion
|
namespace "dev.imranr.obtainium"
|
||||||
|
compileSdk flutter.compileSdkVersion
|
||||||
ndkVersion flutter.ndkVersion
|
ndkVersion flutter.ndkVersion
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
@ -54,7 +51,7 @@ android {
|
|||||||
// You can update the following values to match your application needs.
|
// You can update the following values to match your application needs.
|
||||||
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
|
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
|
||||||
minSdkVersion 24
|
minSdkVersion 24
|
||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion flutter.targetSdkVersion
|
||||||
versionCode flutterVersionCode.toInteger()
|
versionCode flutterVersionCode.toInteger()
|
||||||
versionName flutterVersionName
|
versionName flutterVersionName
|
||||||
}
|
}
|
||||||
|
@ -1,22 +1,3 @@
|
|||||||
buildscript {
|
|
||||||
ext.kotlin_version = '1.8.10'
|
|
||||||
ext {
|
|
||||||
compileSdkVersion = 34 // or latest
|
|
||||||
targetSdkVersion = 34 // or latest
|
|
||||||
appCompatVersion = "1.4.2" // or latest
|
|
||||||
}
|
|
||||||
repositories {
|
|
||||||
google()
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
classpath "com.android.tools.build:gradle:7.4.2"
|
|
||||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
||||||
classpath "dev.rikka.tools.refine:gradle-plugin:4.3.1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
google()
|
google()
|
||||||
|
@ -1,11 +1,25 @@
|
|||||||
include ':app'
|
pluginManagement {
|
||||||
|
def flutterSdkPath = {
|
||||||
|
def properties = new Properties()
|
||||||
|
file("local.properties").withInputStream { properties.load(it) }
|
||||||
|
def flutterSdkPath = properties.getProperty("flutter.sdk")
|
||||||
|
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
|
||||||
|
return flutterSdkPath
|
||||||
|
}()
|
||||||
|
|
||||||
def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
|
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
|
||||||
def properties = new Properties()
|
|
||||||
|
|
||||||
assert localPropertiesFile.exists()
|
repositories {
|
||||||
localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
|
google()
|
||||||
|
mavenCentral()
|
||||||
|
gradlePluginPortal()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
def flutterSdkPath = properties.getProperty("flutter.sdk")
|
plugins {
|
||||||
assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
|
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
||||||
apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
|
id "com.android.application" version "7.4.2" apply false
|
||||||
|
id "org.jetbrains.kotlin.android" version "1.8.10" apply false
|
||||||
|
}
|
||||||
|
|
||||||
|
include ":app"
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "Ne prikazuj upozorenja „Samo za praćenje”",
|
"dontShowTrackOnlyWarnings": "Ne prikazuj upozorenja „Samo za praćenje”",
|
||||||
"dontShowAPKOriginWarnings": "Ne prikazuj upozorenja o porijeklu APK-a",
|
"dontShowAPKOriginWarnings": "Ne prikazuj upozorenja o porijeklu APK-a",
|
||||||
"moveNonInstalledAppsToBottom": "Premjesti neinstalirane aplikacije na dno prikaza aplikacija",
|
"moveNonInstalledAppsToBottom": "Premjesti neinstalirane aplikacije na dno prikaza aplikacija",
|
||||||
"gitlabPATLabel": "GitLab token za lični pristup\n(Omogućava pretraživanje i bolje otkrivanje APK-a)",
|
"gitlabPATLabel": "GitLab token za lični pristup",
|
||||||
"about": "O nama",
|
"about": "O nama",
|
||||||
"requiresCredentialsInSettings": "{}: Za ovo su potrebni dodatni akreditivi (u Postavkama)",
|
"requiresCredentialsInSettings": "{}: Za ovo su potrebni dodatni akreditivi (u Postavkama)",
|
||||||
"checkOnStart": "Provjerite ima li novosti pri pokretanju",
|
"checkOnStart": "Provjerite ima li novosti pri pokretanju",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "Dodajte ove informacije ispod.",
|
"addInfoBelow": "Dodajte ove informacije ispod.",
|
||||||
"addInfoInSettings": "Dodajte ove informacije u Postavkama.",
|
"addInfoInSettings": "Dodajte ove informacije u Postavkama.",
|
||||||
"githubSourceNote": "GitHub ograničavanje se može izbjeći korišćenjem tokena za lični pristup.",
|
"githubSourceNote": "GitHub ograničavanje se može izbjeći korišćenjem tokena za lični pristup.",
|
||||||
"gitlabSourceNote": "GitLab APK preuzimanje možda neće raditi bez tokena za lični pristup.",
|
|
||||||
"sortByLastLinkSegment": "Sortiraj samo po zadnjem segmentu veze",
|
"sortByLastLinkSegment": "Sortiraj samo po zadnjem segmentu veze",
|
||||||
"filterReleaseNotesByRegEx": "Filtirajte promjene u izdanju po regularnom izrazu",
|
"filterReleaseNotesByRegEx": "Filtirajte promjene u izdanju po regularnom izrazu",
|
||||||
"customLinkFilterRegex": "Prilagođeni APK link filtrira se po regularnom izrazu (Zadano '.apk$')",
|
"customLinkFilterRegex": "Prilagođeni APK link filtrira se po regularnom izrazu (Zadano '.apk$')",
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "Nezobrazovat varování pro 'Jen sledované'",
|
"dontShowTrackOnlyWarnings": "Nezobrazovat varování pro 'Jen sledované'",
|
||||||
"dontShowAPKOriginWarnings": "Nezobrazovat varování pro původ APK",
|
"dontShowAPKOriginWarnings": "Nezobrazovat varování pro původ APK",
|
||||||
"moveNonInstalledAppsToBottom": "Přesunout nenainstalované aplikace na konec zobrazení Aplikace",
|
"moveNonInstalledAppsToBottom": "Přesunout nenainstalované aplikace na konec zobrazení Aplikace",
|
||||||
"gitlabPATLabel": "GitLab Personal Access Token\n(Umožňuje vyhledávání a lepší zjišťování APK)",
|
"gitlabPATLabel": "GitLab Personal Access Token",
|
||||||
"about": "O",
|
"about": "O",
|
||||||
"requiresCredentialsInSettings": "{}: Vyžaduje další pověření (v nastavení)",
|
"requiresCredentialsInSettings": "{}: Vyžaduje další pověření (v nastavení)",
|
||||||
"checkOnStart": "Zkontrolovat jednou při spuštění",
|
"checkOnStart": "Zkontrolovat jednou při spuštění",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "Přidat tuto informaci na konec stránky.",
|
"addInfoBelow": "Přidat tuto informaci na konec stránky.",
|
||||||
"addInfoInSettings": "Přidat tuto informaci do nastavení.",
|
"addInfoInSettings": "Přidat tuto informaci do nastavení.",
|
||||||
"githubSourceNote": "Omezení rychlosti GitHub lze obejít pomocí klíče API.",
|
"githubSourceNote": "Omezení rychlosti GitHub lze obejít pomocí klíče API.",
|
||||||
"gitlabSourceNote": "Extrakce GitLab APK nemusí fungovat bez klíče API",
|
|
||||||
"sortByLastLinkSegment": "Seřadit pouze podle poslední části odkazu",
|
"sortByLastLinkSegment": "Seřadit pouze podle poslední části odkazu",
|
||||||
"filterReleaseNotesByRegEx": "Filtrovat poznámky k vydání podle regulárního výrazu",
|
"filterReleaseNotesByRegEx": "Filtrovat poznámky k vydání podle regulárního výrazu",
|
||||||
"customLinkFilterRegex": "Vlastní filtr odkazů APK podle regulárního výrazu (výchozí '.apk$')",
|
"customLinkFilterRegex": "Vlastní filtr odkazů APK podle regulárního výrazu (výchozí '.apk$')",
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "Warnung für 'Nur Nachverfolgen' nicht anzeigen",
|
"dontShowTrackOnlyWarnings": "Warnung für 'Nur Nachverfolgen' nicht anzeigen",
|
||||||
"dontShowAPKOriginWarnings": "Warnung für APK-Herkunft nicht anzeigen",
|
"dontShowAPKOriginWarnings": "Warnung für APK-Herkunft nicht anzeigen",
|
||||||
"moveNonInstalledAppsToBottom": "Nicht installierte Apps ans Ende der Apps Ansicht verschieben",
|
"moveNonInstalledAppsToBottom": "Nicht installierte Apps ans Ende der Apps Ansicht verschieben",
|
||||||
"gitlabPATLabel": "GitLab Personal Access Token\n(Aktiviert Suche und bessere APK Entdeckung)",
|
"gitlabPATLabel": "GitLab Personal Access Token",
|
||||||
"about": "Über",
|
"about": "Über",
|
||||||
"requiresCredentialsInSettings": "{}: Benötigt zusätzliche Anmeldedaten (in den Einstellungen)",
|
"requiresCredentialsInSettings": "{}: Benötigt zusätzliche Anmeldedaten (in den Einstellungen)",
|
||||||
"checkOnStart": "Überprüfe einmalig beim Start",
|
"checkOnStart": "Überprüfe einmalig beim Start",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "Fügen Sie diese Informationen unten hinzu.",
|
"addInfoBelow": "Fügen Sie diese Informationen unten hinzu.",
|
||||||
"addInfoInSettings": "Fügen Sie diese Info in den Einstellungen hinzu.",
|
"addInfoInSettings": "Fügen Sie diese Info in den Einstellungen hinzu.",
|
||||||
"githubSourceNote": "Die GitHub-Ratenbegrenzung kann mit einem API-Schlüssel umgangen werden.",
|
"githubSourceNote": "Die GitHub-Ratenbegrenzung kann mit einem API-Schlüssel umgangen werden.",
|
||||||
"gitlabSourceNote": "GitLab APK-Extraktion funktioniert möglicherweise nicht ohne API-Schlüssel",
|
|
||||||
"sortByLastLinkSegment": "Sortiere nur nach dem letzten Teil des Links",
|
"sortByLastLinkSegment": "Sortiere nur nach dem letzten Teil des Links",
|
||||||
"filterReleaseNotesByRegEx": "Versionshinweise nach regulärem Ausdruck filtern",
|
"filterReleaseNotesByRegEx": "Versionshinweise nach regulärem Ausdruck filtern",
|
||||||
"customLinkFilterRegex": "Benutzerdefinierter APK Link Filter nach Regulärem Ausdruck (Standard '.apk$')",
|
"customLinkFilterRegex": "Benutzerdefinierter APK Link Filter nach Regulärem Ausdruck (Standard '.apk$')",
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "Don't show 'Track-Only' warnings",
|
"dontShowTrackOnlyWarnings": "Don't show 'Track-Only' warnings",
|
||||||
"dontShowAPKOriginWarnings": "Don't show APK origin warnings",
|
"dontShowAPKOriginWarnings": "Don't show APK origin warnings",
|
||||||
"moveNonInstalledAppsToBottom": "Move non-installed Apps to bottom of Apps view",
|
"moveNonInstalledAppsToBottom": "Move non-installed Apps to bottom of Apps view",
|
||||||
"gitlabPATLabel": "GitLab Personal Access Token\n(Enables Search and Better APK Discovery)",
|
"gitlabPATLabel": "GitLab Personal Access Token",
|
||||||
"about": "About",
|
"about": "About",
|
||||||
"requiresCredentialsInSettings": "{} needs additional credentials (in Settings)",
|
"requiresCredentialsInSettings": "{} needs additional credentials (in Settings)",
|
||||||
"checkOnStart": "Check for updates on startup",
|
"checkOnStart": "Check for updates on startup",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "Add this info below.",
|
"addInfoBelow": "Add this info below.",
|
||||||
"addInfoInSettings": "Add this info in the Settings.",
|
"addInfoInSettings": "Add this info in the Settings.",
|
||||||
"githubSourceNote": "GitHub rate limiting can be avoided using an API key.",
|
"githubSourceNote": "GitHub rate limiting can be avoided using an API key.",
|
||||||
"gitlabSourceNote": "GitLab APK extraction may not work without an API key.",
|
|
||||||
"sortByLastLinkSegment": "Sort by only the last segment of the link",
|
"sortByLastLinkSegment": "Sort by only the last segment of the link",
|
||||||
"filterReleaseNotesByRegEx": "Filter Release Notes by Regular Expression",
|
"filterReleaseNotesByRegEx": "Filter Release Notes by Regular Expression",
|
||||||
"customLinkFilterRegex": "Custom APK Link Filter by Regular Expression (Default '.apk$')",
|
"customLinkFilterRegex": "Custom APK Link Filter by Regular Expression (Default '.apk$')",
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "No mostrar avisos sobre apps en 'solo seguimiento'",
|
"dontShowTrackOnlyWarnings": "No mostrar avisos sobre apps en 'solo seguimiento'",
|
||||||
"dontShowAPKOriginWarnings": "No mostrar avisos sobre las fuentes de las APKs",
|
"dontShowAPKOriginWarnings": "No mostrar avisos sobre las fuentes de las APKs",
|
||||||
"moveNonInstalledAppsToBottom": "Mover Apps no instaladas al final",
|
"moveNonInstalledAppsToBottom": "Mover Apps no instaladas al final",
|
||||||
"gitlabPATLabel": "Token de acceso personal a GitLab\n(habilita la búsqueda y mejor detección de APKs)",
|
"gitlabPATLabel": "Token de acceso personal a GitLab",
|
||||||
"about": "Acerca",
|
"about": "Acerca",
|
||||||
"requiresCredentialsInSettings": "{}: Esto requiere credenciales adicionales (en ajustes)",
|
"requiresCredentialsInSettings": "{}: Esto requiere credenciales adicionales (en ajustes)",
|
||||||
"checkOnStart": "Comprobar actualizaciones al inicio",
|
"checkOnStart": "Comprobar actualizaciones al inicio",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "Añadir esta información debajo.",
|
"addInfoBelow": "Añadir esta información debajo.",
|
||||||
"addInfoInSettings": "Puede añadir esta información en Ajustes.",
|
"addInfoInSettings": "Puede añadir esta información en Ajustes.",
|
||||||
"githubSourceNote": "La limitación de velocidad de GitHub puede evitarse con un 'token de acceso personal'.",
|
"githubSourceNote": "La limitación de velocidad de GitHub puede evitarse con un 'token de acceso personal'.",
|
||||||
"gitlabSourceNote": "La extracción de APK de GitLab podría no funcionar sin un 'token de acceso personal'.",
|
|
||||||
"sortByLastLinkSegment": "Ordenar sólo por el último segmento del enlace",
|
"sortByLastLinkSegment": "Ordenar sólo por el último segmento del enlace",
|
||||||
"filterReleaseNotesByRegEx": "Filtrar por notas de versión (release notes)",
|
"filterReleaseNotesByRegEx": "Filtrar por notas de versión (release notes)",
|
||||||
"customLinkFilterRegex": "Filtro personalizado de enlace APK (por defecto '.apk$')",
|
"customLinkFilterRegex": "Filtro personalizado de enlace APK (por defecto '.apk$')",
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "هشدار 'فقط ردیابی' را نشان ندهید",
|
"dontShowTrackOnlyWarnings": "هشدار 'فقط ردیابی' را نشان ندهید",
|
||||||
"dontShowAPKOriginWarnings": "هشدارهای منبع APK را نشان ندهید",
|
"dontShowAPKOriginWarnings": "هشدارهای منبع APK را نشان ندهید",
|
||||||
"moveNonInstalledAppsToBottom": "برنامه های نصب نشده را به نمای پایین برنامه ها منتقل کنید",
|
"moveNonInstalledAppsToBottom": "برنامه های نصب نشده را به نمای پایین برنامه ها منتقل کنید",
|
||||||
"gitlabPATLabel": "رمز دسترسی شخصی GitLab\n(جستجو و کشف بهتر APK را فعال میکند)",
|
"gitlabPATLabel": "رمز دسترسی شخصی GitLab",
|
||||||
"about": "درباره",
|
"about": "درباره",
|
||||||
"requiresCredentialsInSettings": "{}: این به اعتبارنامه های اضافی نیاز دارد (در تنظیمات)",
|
"requiresCredentialsInSettings": "{}: این به اعتبارنامه های اضافی نیاز دارد (در تنظیمات)",
|
||||||
"checkOnStart": "بررسی در شروع",
|
"checkOnStart": "بررسی در شروع",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "این اطلاعات را در زیر اضافه کنید",
|
"addInfoBelow": "این اطلاعات را در زیر اضافه کنید",
|
||||||
"addInfoInSettings": "این اطلاعات را در تنظیمات اضافه کنید.",
|
"addInfoInSettings": "این اطلاعات را در تنظیمات اضافه کنید.",
|
||||||
"githubSourceNote": "با استفاده از کلید API می توان از محدودیت نرخ GitHub جلوگیری کرد.",
|
"githubSourceNote": "با استفاده از کلید API می توان از محدودیت نرخ GitHub جلوگیری کرد.",
|
||||||
"gitlabSourceNote": "استخراج APK GitLab ممکن است بدون کلید API کار نکند.",
|
|
||||||
"sortByLastLinkSegment": "فقط بر اساس آخرین بخش پیوند مرتب کنید",
|
"sortByLastLinkSegment": "فقط بر اساس آخرین بخش پیوند مرتب کنید",
|
||||||
"filterReleaseNotesByRegEx": "یادداشت های انتشار را با بیان منظم فیلتر کنید",
|
"filterReleaseNotesByRegEx": "یادداشت های انتشار را با بیان منظم فیلتر کنید",
|
||||||
"customLinkFilterRegex": "فیلتر پیوند سفارشی بر اساس عبارت منظم (پیشفرض '.apk$')",
|
"customLinkFilterRegex": "فیلتر پیوند سفارشی بر اساس عبارت منظم (پیشفرض '.apk$')",
|
||||||
|
@ -167,7 +167,7 @@
|
|||||||
"lastUpdateCheckX": "Vérification de la dernière mise à jour : {}",
|
"lastUpdateCheckX": "Vérification de la dernière mise à jour : {}",
|
||||||
"remove": "Retirer",
|
"remove": "Retirer",
|
||||||
"yesMarkUpdated": "Oui, marquer comme mis à jour",
|
"yesMarkUpdated": "Oui, marquer comme mis à jour",
|
||||||
"fdroid": "F-Droïde Officiel",
|
"fdroid": "F-Droid Officiel",
|
||||||
"appIdOrName": "ID ou nom de l'application",
|
"appIdOrName": "ID ou nom de l'application",
|
||||||
"appId": "ID de l'application",
|
"appId": "ID de l'application",
|
||||||
"appWithIdOrNameNotFound": "Aucune application n'a été trouvée avec cet identifiant ou ce nom",
|
"appWithIdOrNameNotFound": "Aucune application n'a été trouvée avec cet identifiant ou ce nom",
|
||||||
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "Don't Show the 'Track-Only' Warning",
|
"dontShowTrackOnlyWarnings": "Don't Show the 'Track-Only' Warning",
|
||||||
"dontShowAPKOriginWarnings": "Ne pas afficher les avertissements sur l'origine de l'APK",
|
"dontShowAPKOriginWarnings": "Ne pas afficher les avertissements sur l'origine de l'APK",
|
||||||
"moveNonInstalledAppsToBottom": "Déplacer les applications non installées vers le bas de la vue Applications",
|
"moveNonInstalledAppsToBottom": "Déplacer les applications non installées vers le bas de la vue Applications",
|
||||||
"gitlabPATLabel": "Jeton d'accès personnel GitLab\\n (permet la recherche et une meilleure découverte d'APK)",
|
"gitlabPATLabel": "Jeton d'accès personnel GitLab",
|
||||||
"about": "À propos de",
|
"about": "À propos de",
|
||||||
"requiresCredentialsInSettings": "{}: This needs additional credentials (in Settings)",
|
"requiresCredentialsInSettings": "{}: This needs additional credentials (in Settings)",
|
||||||
"checkOnStart": "Vérifier les mises à jour au démarrage",
|
"checkOnStart": "Vérifier les mises à jour au démarrage",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "Ajoutez ces informations ci-dessous.",
|
"addInfoBelow": "Ajoutez ces informations ci-dessous.",
|
||||||
"addInfoInSettings": "Ajoutez ces informations dans les paramètres.",
|
"addInfoInSettings": "Ajoutez ces informations dans les paramètres.",
|
||||||
"githubSourceNote": "La limitation du débit GitHub peut être évitée à l'aide d'une clé API.",
|
"githubSourceNote": "La limitation du débit GitHub peut être évitée à l'aide d'une clé API.",
|
||||||
"gitlabSourceNote": "L'extraction d'APK GitLab peut ne pas fonctionner sans clé API.",
|
|
||||||
"sortByLastLinkSegment": "Trier uniquement sur le dernier segment du lien",
|
"sortByLastLinkSegment": "Trier uniquement sur le dernier segment du lien",
|
||||||
"filterReleaseNotesByRegEx": "Filtrer les notes de version par expression régulière",
|
"filterReleaseNotesByRegEx": "Filtrer les notes de version par expression régulière",
|
||||||
"customLinkFilterRegex": "Filtre de lien APK personnalisé par expression régulière (par défaut '.apk$')",
|
"customLinkFilterRegex": "Filtre de lien APK personnalisé par expression régulière (par défaut '.apk$')",
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "Ne jelenítsen meg 'Csak nyomon követés' figyelmeztetést",
|
"dontShowTrackOnlyWarnings": "Ne jelenítsen meg 'Csak nyomon követés' figyelmeztetést",
|
||||||
"dontShowAPKOriginWarnings": "Ne jelenítsen meg az APK eredetére vonatkozó figyelmeztetéseket",
|
"dontShowAPKOriginWarnings": "Ne jelenítsen meg az APK eredetére vonatkozó figyelmeztetéseket",
|
||||||
"moveNonInstalledAppsToBottom": "Helyezze át a nem telepített appokat az App nézet aljára",
|
"moveNonInstalledAppsToBottom": "Helyezze át a nem telepített appokat az App nézet aljára",
|
||||||
"gitlabPATLabel": "GitLab Personal Access Token\n(Engedélyezi a Keresést és jobb APK felfedezés)",
|
"gitlabPATLabel": "GitLab Personal Access Token",
|
||||||
"about": "Rólunk",
|
"about": "Rólunk",
|
||||||
"requiresCredentialsInSettings": "{}: Ehhez további hitelesítő adatokra van szükség (a Beállításokban)",
|
"requiresCredentialsInSettings": "{}: Ehhez további hitelesítő adatokra van szükség (a Beállításokban)",
|
||||||
"checkOnStart": "Egyszer az alkalmazás indításakor is",
|
"checkOnStart": "Egyszer az alkalmazás indításakor is",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "Adja hozzá ezt az infót alább.",
|
"addInfoBelow": "Adja hozzá ezt az infót alább.",
|
||||||
"addInfoInSettings": "Adja hozzá ezt az infót a Beállításokban.",
|
"addInfoInSettings": "Adja hozzá ezt az infót a Beállításokban.",
|
||||||
"githubSourceNote": "A GitHub sebességkorlátozás elkerülhető API-kulcs használatával.",
|
"githubSourceNote": "A GitHub sebességkorlátozás elkerülhető API-kulcs használatával.",
|
||||||
"gitlabSourceNote": "Előfordulhat, hogy a GitLab APK kibontása nem működik API-kulcs nélkül.",
|
|
||||||
"sortByLastLinkSegment": "Rendezés csak a link utolsó szegmense szerint",
|
"sortByLastLinkSegment": "Rendezés csak a link utolsó szegmense szerint",
|
||||||
"filterReleaseNotesByRegEx": "Kiadási megjegyzések szűrése reguláris kifejezéssel",
|
"filterReleaseNotesByRegEx": "Kiadási megjegyzések szűrése reguláris kifejezéssel",
|
||||||
"customLinkFilterRegex": "Egyéni APK hivatkozásszűrő reguláris kifejezéssel (Alapérték '.apk$')",
|
"customLinkFilterRegex": "Egyéni APK hivatkozásszűrő reguláris kifejezéssel (Alapérték '.apk$')",
|
||||||
@ -282,14 +281,14 @@
|
|||||||
"parallelDownloads": "Párhuzamos letöltéseket enged",
|
"parallelDownloads": "Párhuzamos letöltéseket enged",
|
||||||
"installMethod": "Telepítési mód",
|
"installMethod": "Telepítési mód",
|
||||||
"normal": "Normál",
|
"normal": "Normál",
|
||||||
"root": "Gyökér",
|
"root": "Root",
|
||||||
"shizukuBinderNotFound": "A Shizuku nem fut",
|
"shizukuBinderNotFound": "A Shizuku nem fut",
|
||||||
"useSystemFont": "Használja a rendszer betűtípusát",
|
"useSystemFont": "Használja a rendszer betűtípusát",
|
||||||
"systemFontError": "Hiba a rendszer betűtípusának betöltésekor: {}",
|
"systemFontError": "Hiba a rendszer betűtípusának betöltésekor: {}",
|
||||||
"useVersionCodeAsOSVersion": "Az app verziókód használata a rendszer által észlelt verzióként",
|
"useVersionCodeAsOSVersion": "Az app verziókód használata a rendszer által észlelt verzióként",
|
||||||
"requestHeader": "Kérelem fejléc",
|
"requestHeader": "Kérelem fejléc",
|
||||||
"useLatestAssetDateAsReleaseDate": "Használja a legújabb tartalomfeltöltést megjelenési dátumként",
|
"useLatestAssetDateAsReleaseDate": "Használja a legújabb tartalomfeltöltést megjelenési dátumként",
|
||||||
"defaultPseudoVersioningMethod": "Alapértelmezett álversziós módszer",
|
"defaultPseudoVersioningMethod": "Alapértelmezett álverziós módszer",
|
||||||
"partialAPKHash": "Részleges APK Hash",
|
"partialAPKHash": "Részleges APK Hash",
|
||||||
"APKLinkHash": "APK Link Hash",
|
"APKLinkHash": "APK Link Hash",
|
||||||
"directAPKLink": "Közvetlen APK Link",
|
"directAPKLink": "Közvetlen APK Link",
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "Non mostrare gli avvisi 'Solo-Monitoraggio'",
|
"dontShowTrackOnlyWarnings": "Non mostrare gli avvisi 'Solo-Monitoraggio'",
|
||||||
"dontShowAPKOriginWarnings": "Non mostrare gli avvisi di origine dell'APK",
|
"dontShowAPKOriginWarnings": "Non mostrare gli avvisi di origine dell'APK",
|
||||||
"moveNonInstalledAppsToBottom": "Sposta le app non installate in fondo alla lista",
|
"moveNonInstalledAppsToBottom": "Sposta le app non installate in fondo alla lista",
|
||||||
"gitlabPATLabel": "GitLab Personal Access Token\n(attiva la ricerca e migliora la rilevazione di apk)",
|
"gitlabPATLabel": "GitLab Personal Access Token",
|
||||||
"about": "Informazioni",
|
"about": "Informazioni",
|
||||||
"requiresCredentialsInSettings": "{}: Servono credenziali aggiuntive (in Impostazioni)",
|
"requiresCredentialsInSettings": "{}: Servono credenziali aggiuntive (in Impostazioni)",
|
||||||
"checkOnStart": "Controlla una volta all'avvio",
|
"checkOnStart": "Controlla una volta all'avvio",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "Aggiungi questa info sotto.",
|
"addInfoBelow": "Aggiungi questa info sotto.",
|
||||||
"addInfoInSettings": "Aggiungi questa info nelle impostazioni.",
|
"addInfoInSettings": "Aggiungi questa info nelle impostazioni.",
|
||||||
"githubSourceNote": "Il limite di ricerca GitHub può essere evitato usando una chiave API.",
|
"githubSourceNote": "Il limite di ricerca GitHub può essere evitato usando una chiave API.",
|
||||||
"gitlabSourceNote": "L'estrazione di APK da GitLab potrebbe non funzionare senza chiave API.",
|
|
||||||
"sortByLastLinkSegment": "Ordina solo in base all'ultimo segmento del collegamento",
|
"sortByLastLinkSegment": "Ordina solo in base all'ultimo segmento del collegamento",
|
||||||
"filterReleaseNotesByRegEx": "Filtra le note di rilascio con espressione regolare",
|
"filterReleaseNotesByRegEx": "Filtra le note di rilascio con espressione regolare",
|
||||||
"customLinkFilterRegex": "Filtra link APK personalizzato con espressione regolare (predefinito '.apk$')",
|
"customLinkFilterRegex": "Filtra link APK personalizzato con espressione regolare (predefinito '.apk$')",
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "「追跡のみ」の警告を表示しない",
|
"dontShowTrackOnlyWarnings": "「追跡のみ」の警告を表示しない",
|
||||||
"dontShowAPKOriginWarnings": "APKのダウンロード元の警告を表示しない",
|
"dontShowAPKOriginWarnings": "APKのダウンロード元の警告を表示しない",
|
||||||
"moveNonInstalledAppsToBottom": "未インストールのアプリをアプリ一覧の下部に移動させる",
|
"moveNonInstalledAppsToBottom": "未インストールのアプリをアプリ一覧の下部に移動させる",
|
||||||
"gitlabPATLabel": "GitLab パーソナルアクセストークン\n(検索とより良いAPK検出の有効化)",
|
"gitlabPATLabel": "GitLab パーソナルアクセストークン",
|
||||||
"about": "概要",
|
"about": "概要",
|
||||||
"requiresCredentialsInSettings": "{}: これには追加の認証が必要です (設定にて)",
|
"requiresCredentialsInSettings": "{}: これには追加の認証が必要です (設定にて)",
|
||||||
"checkOnStart": "起動時にアップデートを確認する",
|
"checkOnStart": "起動時にアップデートを確認する",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "下部でこの情報を追加してください。",
|
"addInfoBelow": "下部でこの情報を追加してください。",
|
||||||
"addInfoInSettings": "設定でこの情報を追加してください。",
|
"addInfoInSettings": "設定でこの情報を追加してください。",
|
||||||
"githubSourceNote": "GitHubのレート制限はAPIキーを使うことで回避できます。",
|
"githubSourceNote": "GitHubのレート制限はAPIキーを使うことで回避できます。",
|
||||||
"gitlabSourceNote": "GitLabのAPK抽出はAPIキーがないと動作しない場合があります。",
|
|
||||||
"sortByLastLinkSegment": "リンクの最後のセグメントのみでソートする",
|
"sortByLastLinkSegment": "リンクの最後のセグメントのみでソートする",
|
||||||
"filterReleaseNotesByRegEx": "正規表現でリリースノートをフィルタリングする",
|
"filterReleaseNotesByRegEx": "正規表現でリリースノートをフィルタリングする",
|
||||||
"customLinkFilterRegex": "正規表現によるカスタムリンクフィルター (デフォルト '.apk$')",
|
"customLinkFilterRegex": "正規表現によるカスタムリンクフィルター (デフォルト '.apk$')",
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "Geen waarschuwingen voor 'Track-Only' weergeven",
|
"dontShowTrackOnlyWarnings": "Geen waarschuwingen voor 'Track-Only' weergeven",
|
||||||
"dontShowAPKOriginWarnings": "APK-herkomstwaarschuwingen niet weergeven",
|
"dontShowAPKOriginWarnings": "APK-herkomstwaarschuwingen niet weergeven",
|
||||||
"moveNonInstalledAppsToBottom": "Verplaats niet-geïnstalleerde apps naar de onderkant van de apps-weergave",
|
"moveNonInstalledAppsToBottom": "Verplaats niet-geïnstalleerde apps naar de onderkant van de apps-weergave",
|
||||||
"gitlabPATLabel": "GitLab Personal Access Token\n(Maakt het mogelijk beter te zoeken naar APK's)",
|
"gitlabPATLabel": "GitLab Personal Access Token",
|
||||||
"about": "Over",
|
"about": "Over",
|
||||||
"requiresCredentialsInSettings": "{}: Dit vereist aanvullende referenties (in Instellingen)",
|
"requiresCredentialsInSettings": "{}: Dit vereist aanvullende referenties (in Instellingen)",
|
||||||
"checkOnStart": "Controleren op updates bij opstarten",
|
"checkOnStart": "Controleren op updates bij opstarten",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "Voeg deze informatie hieronder toe.",
|
"addInfoBelow": "Voeg deze informatie hieronder toe.",
|
||||||
"addInfoInSettings": "Voeg deze informatie toe in de instellingen.",
|
"addInfoInSettings": "Voeg deze informatie toe in de instellingen.",
|
||||||
"githubSourceNote": "Beperkingen van GitHub kunnen worden vermeden door het gebruik van een API-sleutel.",
|
"githubSourceNote": "Beperkingen van GitHub kunnen worden vermeden door het gebruik van een API-sleutel.",
|
||||||
"gitlabSourceNote": "GitLab APK-extractie werkt mogelijk niet zonder een API-sleutel.",
|
|
||||||
"sortByLastLinkSegment": "Sorteren op alleen het laatste segment van de link",
|
"sortByLastLinkSegment": "Sorteren op alleen het laatste segment van de link",
|
||||||
"filterReleaseNotesByRegEx": "Filter release-opmerkingen met een reguliere expressie.",
|
"filterReleaseNotesByRegEx": "Filter release-opmerkingen met een reguliere expressie.",
|
||||||
"customLinkFilterRegex": "Aangepaste APK-linkfilter met een reguliere expressie (Standaard '.apk$').",
|
"customLinkFilterRegex": "Aangepaste APK-linkfilter met een reguliere expressie (Standaard '.apk$').",
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "Nie pokazuj ostrzeżeń \"Tylko obserwowana\"",
|
"dontShowTrackOnlyWarnings": "Nie pokazuj ostrzeżeń \"Tylko obserwowana\"",
|
||||||
"dontShowAPKOriginWarnings": "Nie pokazuj ostrzeżeń o pochodzeniu APK",
|
"dontShowAPKOriginWarnings": "Nie pokazuj ostrzeżeń o pochodzeniu APK",
|
||||||
"moveNonInstalledAppsToBottom": "Przenieś niezainstalowane aplikacje na dół widoku aplikacji",
|
"moveNonInstalledAppsToBottom": "Przenieś niezainstalowane aplikacje na dół widoku aplikacji",
|
||||||
"gitlabPATLabel": "Osobisty token dostępu GitLab\n(Umożliwia wyszukiwanie i lepsze wykrywanie APK)",
|
"gitlabPATLabel": "Osobisty token dostępu GitLab",
|
||||||
"about": "Więcej informacji",
|
"about": "Więcej informacji",
|
||||||
"requiresCredentialsInSettings": "{}: Wymaga to dodatkowych poświadczeń (w Ustawieniach)",
|
"requiresCredentialsInSettings": "{}: Wymaga to dodatkowych poświadczeń (w Ustawieniach)",
|
||||||
"checkOnStart": "Sprawdź aktualizacje przy uruchomieniu",
|
"checkOnStart": "Sprawdź aktualizacje przy uruchomieniu",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "Dodaj tę informację poniżej.",
|
"addInfoBelow": "Dodaj tę informację poniżej.",
|
||||||
"addInfoInSettings": "Dodaj tę informację w Ustawieniach.",
|
"addInfoInSettings": "Dodaj tę informację w Ustawieniach.",
|
||||||
"githubSourceNote": "Limit żądań GitHub można ominąć za pomocą klucza API.",
|
"githubSourceNote": "Limit żądań GitHub można ominąć za pomocą klucza API.",
|
||||||
"gitlabSourceNote": "Pozyskiwanie pliku APK z GitLab może nie działać bez klucza API.",
|
|
||||||
"sortByLastLinkSegment": "Sortuj tylko według ostatniego segmentu łącza",
|
"sortByLastLinkSegment": "Sortuj tylko według ostatniego segmentu łącza",
|
||||||
"filterReleaseNotesByRegEx": "Filtruj informacje o wersji według wyrażenia regularnego",
|
"filterReleaseNotesByRegEx": "Filtruj informacje o wersji według wyrażenia regularnego",
|
||||||
"customLinkFilterRegex": "Filtruj linki APK według wyrażenia regularnego (domyślnie \".apk$\")",
|
"customLinkFilterRegex": "Filtruj linki APK według wyrażenia regularnego (domyślnie \".apk$\")",
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "Não mostrar avisos 'Apenas monitorar'",
|
"dontShowTrackOnlyWarnings": "Não mostrar avisos 'Apenas monitorar'",
|
||||||
"dontShowAPKOriginWarnings": "Não mostrar avisos de origem da APK",
|
"dontShowAPKOriginWarnings": "Não mostrar avisos de origem da APK",
|
||||||
"moveNonInstalledAppsToBottom": "Mover aplicativos não instalados para o fundo da lista de aplicativos",
|
"moveNonInstalledAppsToBottom": "Mover aplicativos não instalados para o fundo da lista de aplicativos",
|
||||||
"gitlabPATLabel": "Token de acesso pessoal do Gitlab\n(Ativa pesquisa e melhora a descoberta de APKs)",
|
"gitlabPATLabel": "Token de acesso pessoal do Gitlab",
|
||||||
"about": "Sobre",
|
"about": "Sobre",
|
||||||
"requiresCredentialsInSettings": "{}: Isso requer credenciais adicionais (em Configurações)",
|
"requiresCredentialsInSettings": "{}: Isso requer credenciais adicionais (em Configurações)",
|
||||||
"checkOnStart": "Verificar se há atualizações ao iniciar",
|
"checkOnStart": "Verificar se há atualizações ao iniciar",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "Adicionar essa informação abaixo.",
|
"addInfoBelow": "Adicionar essa informação abaixo.",
|
||||||
"addInfoInSettings": "Adicionar essa informação nas configurações.",
|
"addInfoInSettings": "Adicionar essa informação nas configurações.",
|
||||||
"githubSourceNote": "A limitação de taxa do GitHub pode ser evitada usando uma chave de API.",
|
"githubSourceNote": "A limitação de taxa do GitHub pode ser evitada usando uma chave de API.",
|
||||||
"gitlabSourceNote": "A extração de endereço de download do APK no GitLab provavelmente não funcione sem que seja fornecido uma chave de API.",
|
|
||||||
"sortByLastLinkSegment": "Ordenar apenas usando o último segmento do link",
|
"sortByLastLinkSegment": "Ordenar apenas usando o último segmento do link",
|
||||||
"filterReleaseNotesByRegEx": "Filtrar notas de versão usando Regex",
|
"filterReleaseNotesByRegEx": "Filtrar notas de versão usando Regex",
|
||||||
"customLinkFilterRegex": "Filtro de link personalizado usando expressão regular (Padrão '.apk$')",
|
"customLinkFilterRegex": "Filtro de link personalizado usando expressão regular (Padrão '.apk$')",
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "Не показывать предупреждения о только отслеживаемых приложениях",
|
"dontShowTrackOnlyWarnings": "Не показывать предупреждения о только отслеживаемых приложениях",
|
||||||
"dontShowAPKOriginWarnings": "Не показывать предупреждения об отличающемся источнике APK-файлов",
|
"dontShowAPKOriginWarnings": "Не показывать предупреждения об отличающемся источнике APK-файлов",
|
||||||
"moveNonInstalledAppsToBottom": "Отображать неустановленные приложения внизу списка",
|
"moveNonInstalledAppsToBottom": "Отображать неустановленные приложения внизу списка",
|
||||||
"gitlabPATLabel": "Персональный токен доступа GitLab\n(включает поиск и улучшает обнаружение APK)",
|
"gitlabPATLabel": "Персональный токен доступа GitLab",
|
||||||
"about": "Описание",
|
"about": "Описание",
|
||||||
"requiresCredentialsInSettings": "{}: Для этого требуются дополнительные учетные данные (в настройках)",
|
"requiresCredentialsInSettings": "{}: Для этого требуются дополнительные учетные данные (в настройках)",
|
||||||
"checkOnStart": "Проверять наличие обновлений при запуске",
|
"checkOnStart": "Проверять наличие обновлений при запуске",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "Добавьте эту информацию ниже",
|
"addInfoBelow": "Добавьте эту информацию ниже",
|
||||||
"addInfoInSettings": "Добавьте эту информацию в Настройки",
|
"addInfoInSettings": "Добавьте эту информацию в Настройки",
|
||||||
"githubSourceNote": "Используя ключ API можно обойти лимит запросов GitHub",
|
"githubSourceNote": "Используя ключ API можно обойти лимит запросов GitHub",
|
||||||
"gitlabSourceNote": "Без ключа API может не работать извлечение APK с GitLab",
|
|
||||||
"sortByLastLinkSegment": "Сортировать только по последнему сегменту ссылки",
|
"sortByLastLinkSegment": "Сортировать только по последнему сегменту ссылки",
|
||||||
"filterReleaseNotesByRegEx": "Фильтровать примечания к выпуску\n(регулярное выражение)",
|
"filterReleaseNotesByRegEx": "Фильтровать примечания к выпуску\n(регулярное выражение)",
|
||||||
"customLinkFilterRegex": "Пользовательский фильтр ссылок APK\n(регулярное выражение, по умолчанию: '.apk$')",
|
"customLinkFilterRegex": "Пользовательский фильтр ссылок APK\n(регулярное выражение, по умолчанию: '.apk$')",
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "Visa inte 'Följ-Endast' varningar",
|
"dontShowTrackOnlyWarnings": "Visa inte 'Följ-Endast' varningar",
|
||||||
"dontShowAPKOriginWarnings": "Visa inte APK-ursprung varningar",
|
"dontShowAPKOriginWarnings": "Visa inte APK-ursprung varningar",
|
||||||
"moveNonInstalledAppsToBottom": "Flytta icke-installerade appar till botten av appvyn",
|
"moveNonInstalledAppsToBottom": "Flytta icke-installerade appar till botten av appvyn",
|
||||||
"gitlabPATLabel": "GitLab Personal Access Token\\n(Möjliggör sökning och bättre APK-upptäckt)",
|
"gitlabPATLabel": "GitLab Personal Access Token",
|
||||||
"about": "Om",
|
"about": "Om",
|
||||||
"requiresCredentialsInSettings": "{}: This needs additional credentials (in Settings)",
|
"requiresCredentialsInSettings": "{}: This needs additional credentials (in Settings)",
|
||||||
"checkOnStart": "Kolla efter uppdateringar vid start",
|
"checkOnStart": "Kolla efter uppdateringar vid start",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "Lägg till denna information nedanför.",
|
"addInfoBelow": "Lägg till denna information nedanför.",
|
||||||
"addInfoInSettings": "Lägg till denna information i Inställningar.",
|
"addInfoInSettings": "Lägg till denna information i Inställningar.",
|
||||||
"githubSourceNote": "GitHub-hastighetsbegränsning kan undvikas med en API-nyckel.",
|
"githubSourceNote": "GitHub-hastighetsbegränsning kan undvikas med en API-nyckel.",
|
||||||
"gitlabSourceNote": "GitLab APK-extraktion kanske inte fungerar utan en API-nyckel.",
|
|
||||||
"sortByLastLinkSegment": "Sortera endast efter det sista segmentet av länken",
|
"sortByLastLinkSegment": "Sortera endast efter det sista segmentet av länken",
|
||||||
"filterReleaseNotesByRegEx": "Filtrera versionskommentarer efter reguljärt uttryck",
|
"filterReleaseNotesByRegEx": "Filtrera versionskommentarer efter reguljärt uttryck",
|
||||||
"customLinkFilterRegex": "Anpassad APK-länkfiltrera efter reguljärt uttryck (standard '.apk$')",
|
"customLinkFilterRegex": "Anpassad APK-länkfiltrera efter reguljärt uttryck (standard '.apk$')",
|
||||||
|
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "'Yalnızca Takip Edilen' uyarılarını gösterme",
|
"dontShowTrackOnlyWarnings": "'Yalnızca Takip Edilen' uyarılarını gösterme",
|
||||||
"dontShowAPKOriginWarnings": "APK kaynağı uyarılarını gösterme",
|
"dontShowAPKOriginWarnings": "APK kaynağı uyarılarını gösterme",
|
||||||
"moveNonInstalledAppsToBottom": "Yüklenmemiş Uygulamaları Uygulamalar Görünümünün Altına Taşı",
|
"moveNonInstalledAppsToBottom": "Yüklenmemiş Uygulamaları Uygulamalar Görünümünün Altına Taşı",
|
||||||
"gitlabPATLabel": "GitLab Kişisel Erişim Belirteci\n(Arama ve Daha İyi APK Keşfi İçin)",
|
"gitlabPATLabel": "GitLab Kişisel Erişim Belirteci",
|
||||||
"about": "Hakkında",
|
"about": "Hakkında",
|
||||||
"requiresCredentialsInSettings": "{}: Bu, ek kimlik bilgilerine ihtiyaç duyar (Ayarlar'da)",
|
"requiresCredentialsInSettings": "{}: Bu, ek kimlik bilgilerine ihtiyaç duyar (Ayarlar'da)",
|
||||||
"checkOnStart": "Başlangıçta güncellemeleri kontrol et",
|
"checkOnStart": "Başlangıçta güncellemeleri kontrol et",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "Bu bilgiyi aşağıya ekle.",
|
"addInfoBelow": "Bu bilgiyi aşağıya ekle.",
|
||||||
"addInfoInSettings": "Bu bilgiyi Ayarlar'da ekleyin.",
|
"addInfoInSettings": "Bu bilgiyi Ayarlar'da ekleyin.",
|
||||||
"githubSourceNote": "GitHub hız sınırlaması bir API anahtarı kullanılarak atlanabilir.",
|
"githubSourceNote": "GitHub hız sınırlaması bir API anahtarı kullanılarak atlanabilir.",
|
||||||
"gitlabSourceNote": "GitLab APK çıkarma işlemi bir API anahtarı olmadan çalışmayabilir.",
|
|
||||||
"sortByLastLinkSegment": "Bağlantının yalnızca son bölümüne göre sırala",
|
"sortByLastLinkSegment": "Bağlantının yalnızca son bölümüne göre sırala",
|
||||||
"filterReleaseNotesByRegEx": "Sürüm Notlarını Düzenli İfade ile Filtrele",
|
"filterReleaseNotesByRegEx": "Sürüm Notlarını Düzenli İfade ile Filtrele",
|
||||||
"customLinkFilterRegex": "Özel APK Bağlantı Filtresi Düzenli İfade ile (Varsayılan '.apk$')",
|
"customLinkFilterRegex": "Özel APK Bağlantı Filtresi Düzenli İfade ile (Varsayılan '.apk$')",
|
||||||
|
359
assets/translations/uk.json
Normal file
359
assets/translations/uk.json
Normal file
@ -0,0 +1,359 @@
|
|||||||
|
{
|
||||||
|
"invalidURLForSource": "Неправильна URL-адреса для джерела застосунку {}",
|
||||||
|
"noReleaseFound": "Не вдалося знайти відповідне видання",
|
||||||
|
"noVersionFound": "Не вдалося визначити версію видання",
|
||||||
|
"urlMatchesNoSource": "URL не відповідає відомому джерелу",
|
||||||
|
"cantInstallOlderVersion": "Не можна встановити старішу версію застосунку",
|
||||||
|
"appIdMismatch": "Ідентифікатор пакета, завантажений, не відповідає ідентифікатору існуючого застосунку",
|
||||||
|
"functionNotImplemented": "Цей клас не реалізував цю функцію",
|
||||||
|
"placeholder": "Заповнювач",
|
||||||
|
"someErrors": "Виникла деяка помилка",
|
||||||
|
"unexpectedError": "Неочікувана помилка",
|
||||||
|
"ok": "Добре",
|
||||||
|
"and": "та",
|
||||||
|
"githubPATLabel": "Персональний ключ доступу GitHub (збільшує обмеження на швидкість)",
|
||||||
|
"includePrereleases": "Включити попередні видання",
|
||||||
|
"fallbackToOlderReleases": "Повернутися до старіших видань",
|
||||||
|
"filterReleaseTitlesByRegEx": "Фільтрувати заголовки видань за допомогою регулярного виразу",
|
||||||
|
"invalidRegEx": "Неприпустимий регулярний вираз",
|
||||||
|
"noDescription": "Немає опису",
|
||||||
|
"cancel": "Скасувати",
|
||||||
|
"continue": "Продовжити",
|
||||||
|
"requiredInBrackets": "(Обов'язково)",
|
||||||
|
"dropdownNoOptsError": "ПОМИЛКА: В ВИПАДАЮЧОМУ СПИСКУ МАЄ БУТИ ХОЧА Б ОДИН ЕЛЕМЕНТ",
|
||||||
|
"colour": "Колір",
|
||||||
|
"githubStarredRepos": "Відзначені репозиторії GitHub",
|
||||||
|
"uname": "Ім'я користувача",
|
||||||
|
"wrongArgNum": "Надано неправильну кількість аргументів",
|
||||||
|
"xIsTrackOnly": "{} - тільки відстежування",
|
||||||
|
"source": "Джерело",
|
||||||
|
"app": "застосунок",
|
||||||
|
"appsFromSourceAreTrackOnly": "Застосунки з цього джерела є лише для відстежування.",
|
||||||
|
"youPickedTrackOnly": "Ви вибрали опцію лише для відстежування.",
|
||||||
|
"trackOnlyAppDescription": "Застосунок буде відстежуватися для оновлень, але Obtainium не зможе його завантажити або встановити.",
|
||||||
|
"cancelled": "Скасовано",
|
||||||
|
"appAlreadyAdded": "Застосунок вже додано",
|
||||||
|
"alreadyUpToDateQuestion": "Застосунок вже оновлено?",
|
||||||
|
"addApp": "Додати",
|
||||||
|
"appSourceURL": "URL-адреса джерела застосунку",
|
||||||
|
"error": "Помилка",
|
||||||
|
"add": "Додати",
|
||||||
|
"searchSomeSourcesLabel": "Пошук (Лише деякі джерела)",
|
||||||
|
"search": "Пошук",
|
||||||
|
"additionalOptsFor": "Додаткові опції для {}",
|
||||||
|
"supportedSources": "Підтримувані джерела",
|
||||||
|
"trackOnlyInBrackets": "(Тільки для відстеження)",
|
||||||
|
"searchableInBrackets": "(Можливий пошук)",
|
||||||
|
"appsString": "Застосунки",
|
||||||
|
"noApps": "Застосунків немає",
|
||||||
|
"noAppsForFilter": "Застосунків для фільтрації немає",
|
||||||
|
"byX": "Від {}",
|
||||||
|
"percentProgress": "Прогрес: {}%",
|
||||||
|
"pleaseWait": "Будь ласка, зачекайте",
|
||||||
|
"updateAvailable": "Доступно оновлення",
|
||||||
|
"notInstalled": "Не встановлено",
|
||||||
|
"pseudoVersion": "псевдо-версія",
|
||||||
|
"selectAll": "Вибрати все",
|
||||||
|
"deselectX": "Скасувати вибір {}",
|
||||||
|
"xWillBeRemovedButRemainInstalled": "{} буде видалено з Obtainium, але залишиться встановленим на пристрої.",
|
||||||
|
"removeSelectedAppsQuestion": "Видалити вибрані застосунки?",
|
||||||
|
"removeSelectedApps": "Видалити вибрані застосунки",
|
||||||
|
"updateX": "Оновити {}",
|
||||||
|
"installX": "Встановити {}",
|
||||||
|
"markXTrackOnlyAsUpdated": "Позначити {}\n(Тільки відстежування)\nяк оновлено",
|
||||||
|
"changeX": "Змінити {}",
|
||||||
|
"installUpdateApps": "Встановити/Оновити застосунки",
|
||||||
|
"installUpdateSelectedApps": "Встановити/Оновити вибрані застосунки",
|
||||||
|
"markXSelectedAppsAsUpdated": "Позначити {} вибрані застосунки як оновлені?",
|
||||||
|
"no": "Ні",
|
||||||
|
"yes": "Так",
|
||||||
|
"markSelectedAppsUpdated": "Позначити вибрані застосунки як оновлені",
|
||||||
|
"pinToTop": "Закріпити угорі",
|
||||||
|
"unpinFromTop": "Відкріпити зверху",
|
||||||
|
"resetInstallStatusForSelectedAppsQuestion": "Скинути статус встановлення для вибраних застосунків?",
|
||||||
|
"installStatusOfXWillBeResetExplanation": "Статус встановлення будь-яких вибраних застосунків буде скинутий.\n\nЦе може допомогти, коли версія застосунку, відображена в Obtainium, є неправильною через невдалі оновлення або інші проблеми.",
|
||||||
|
"customLinkMessage": "Ці посилання працюють на пристроях з встановленим Obtainium",
|
||||||
|
"shareAppConfigLinks": "Поділитися посиланнями на конфігурацію Застосунку як HTML",
|
||||||
|
"shareSelectedAppURLs": "Поділитися вибраними URL-адресами застосунків",
|
||||||
|
"resetInstallStatus": "Скинути статус встановлення",
|
||||||
|
"more": "Більше",
|
||||||
|
"removeOutdatedFilter": "Видалити фільтр застарілих застосунків",
|
||||||
|
"showOutdatedOnly": "Показати лише застарілі застосунки",
|
||||||
|
"filter": "Фільтр",
|
||||||
|
"filterApps": "Фільтрувати застосунки",
|
||||||
|
"appName": "Назва застосунку",
|
||||||
|
"author": "Автор",
|
||||||
|
"upToDateApps": "Актуальні застосунки",
|
||||||
|
"nonInstalledApps": "Невстановлені застосунки",
|
||||||
|
"importExport": "Імпорт/Експорт",
|
||||||
|
"settings": "Налаштування",
|
||||||
|
"exportedTo": "Експортовано в {}",
|
||||||
|
"obtainiumExport": "Експорт з Obtainium",
|
||||||
|
"invalidInput": "Недійсний ввід",
|
||||||
|
"importedX": "Імпортовано {}",
|
||||||
|
"obtainiumImport": "Імпорт в Obtainium",
|
||||||
|
"importFromURLList": "Імпорт зі списку URL-адрес",
|
||||||
|
"searchQuery": "Пошуковий запит",
|
||||||
|
"appURLList": "Список URL-адрес застосунків",
|
||||||
|
"line": "Лінія",
|
||||||
|
"searchX": "Пошук {}",
|
||||||
|
"noResults": "Результати відсутні",
|
||||||
|
"importX": "Імпорт {}",
|
||||||
|
"importedAppsIdDisclaimer": "Імпортовані застосунки можуть неправильно відображатися як \"Не встановлені\".\nДля виправлення цього перевстановіть їх через Obtainium.\nЦе не повинно вплинути на дані застосунків.\n\nПов'язано лише з URL-адресами та імпортом від третіх сторін.",
|
||||||
|
"importErrors": "Помилки імпорту",
|
||||||
|
"importedXOfYApps": "Імпортовано {} з {} застосунків.",
|
||||||
|
"followingURLsHadErrors": "Помилки в наступних URL-адресах:",
|
||||||
|
"selectURL": "Вибрати URL",
|
||||||
|
"selectURLs": "Вибрати URL-адреси",
|
||||||
|
"pick": "Вибрати",
|
||||||
|
"theme": "Тема",
|
||||||
|
"dark": "Темна",
|
||||||
|
"light": "Світла",
|
||||||
|
"followSystem": "Дотримуватися системи",
|
||||||
|
"useBlackTheme": "Використовувати чорну тему (Amoled)",
|
||||||
|
"appSortBy": "Сортувати застосунки за",
|
||||||
|
"authorName": "Автор/Назва",
|
||||||
|
"nameAuthor": "Назва/Автор",
|
||||||
|
"asAdded": "За додаванням",
|
||||||
|
"appSortOrder": "Порядок сортування застосунків",
|
||||||
|
"ascending": "За зростанням",
|
||||||
|
"descending": "За спаданням",
|
||||||
|
"bgUpdateCheckInterval": "Інтервал перевірки оновлень у фоновому режимі",
|
||||||
|
"neverManualOnly": "Ніколи - Тільки вручну",
|
||||||
|
"appearance": "Вигляд",
|
||||||
|
"showWebInAppView": "Показати джерело застосунку у вигляді веб-сторінки",
|
||||||
|
"pinUpdates": "Закріпити оновлення у верхній частині вигляду застосунків",
|
||||||
|
"updates": "Оновлення",
|
||||||
|
"sourceSpecific": "Певне джерело",
|
||||||
|
"appSource": "Джерело застосунку",
|
||||||
|
"noLogs": "Немає логів",
|
||||||
|
"appLogs": "Лог застосунку",
|
||||||
|
"close": "Закрити",
|
||||||
|
"share": "Поділитися",
|
||||||
|
"appNotFound": "Застосунок не знайдено",
|
||||||
|
"obtainiumExportHyphenatedLowercase": "експорт з Obtainium",
|
||||||
|
"pickAnAPK": "Вибрати APK",
|
||||||
|
"appHasMoreThanOnePackage": "{} має більше одного пакету:",
|
||||||
|
"deviceSupportsXArch": "Ваш пристрій підтримує архітектуру процесора {}.",
|
||||||
|
"deviceSupportsFollowingArchs": "Ваш пристрій підтримує наступні архітектури процесора:",
|
||||||
|
"warning": "Попередження",
|
||||||
|
"sourceIsXButPackageFromYPrompt": "Джерело застосунку - '{}' але пакет випуску походить з '{}'. Продовжити?",
|
||||||
|
"updatesAvailable": "Доступні оновлення",
|
||||||
|
"updatesAvailableNotifDescription": "Повідомляє користувача, що доступні оновлення для одного чи декількох застосунків, які відстежує Obtainium",
|
||||||
|
"noNewUpdates": "Немає нових оновлень.",
|
||||||
|
"xHasAnUpdate": "{} має оновлення.",
|
||||||
|
"appsUpdated": "Застосунки оновлено",
|
||||||
|
"appsUpdatedNotifDescription": "Повідомляє користувача, що оновлення одного чи декількох застосунків було застосовано в фоновому режимі",
|
||||||
|
"xWasUpdatedToY": "{} було оновлено до {}.",
|
||||||
|
"errorCheckingUpdates": "Помилка перевірки оновлень",
|
||||||
|
"errorCheckingUpdatesNotifDescription": "Повідомлення, яке з'являється, коли перевірка оновлень в фоновому режимі завершується невдачею",
|
||||||
|
"appsRemoved": "Застосунки видалено",
|
||||||
|
"appsRemovedNotifDescription": "Повідомляє користувача, що один чи декілька застосунків були видалені через помилки при завантаженні",
|
||||||
|
"xWasRemovedDueToErrorY": "{} було видалено через цю помилку: {}",
|
||||||
|
"completeAppInstallation": "Завершення установки застосунку",
|
||||||
|
"obtainiumMustBeOpenToInstallApps": "Для встановлення застосунків Obtainium має бути відкритий",
|
||||||
|
"completeAppInstallationNotifDescription": "Прохання користувача повернутися до Obtainium для завершення установки застосунку",
|
||||||
|
"checkingForUpdates": "Перевірка оновлень",
|
||||||
|
"checkingForUpdatesNotifDescription": "Тимчасове повідомлення, яке з'являється при перевірці оновлень",
|
||||||
|
"pleaseAllowInstallPerm": "Будь ласка, дозвольте Obtainium встановлювати застосунки",
|
||||||
|
"trackOnly": "Тільки відстеження",
|
||||||
|
"errorWithHttpStatusCode": "Помилка {} HTTP-коду",
|
||||||
|
"versionCorrectionDisabled": "Виправлення версії вимкнено (здається, плагін не працює)",
|
||||||
|
"unknown": "Невідомо",
|
||||||
|
"none": "Нічого",
|
||||||
|
"never": "Ніколи",
|
||||||
|
"latestVersionX": "Остання версія: {}",
|
||||||
|
"installedVersionX": "Встановлено: {}",
|
||||||
|
"lastUpdateCheckX": "Остання перевірка оновлень: {}",
|
||||||
|
"remove": "Видалити",
|
||||||
|
"yesMarkUpdated": "Так, позначити як оновлене",
|
||||||
|
"fdroid": "F-Droid Офіційний",
|
||||||
|
"appIdOrName": "Ідентифікатор або назва застосунку",
|
||||||
|
"appId": "Ідентифікатор застосунку",
|
||||||
|
"appWithIdOrNameNotFound": "Застосунок з таким ідентифікатором або назвою не знайдено",
|
||||||
|
"reposHaveMultipleApps": "Сховища можуть містити кілька застосунків",
|
||||||
|
"fdroidThirdPartyRepo": "F-Droid Стороннє сховище",
|
||||||
|
"steamMobile": "Мобільний Steam",
|
||||||
|
"steamChat": "Чат Steam",
|
||||||
|
"install": "Встановити",
|
||||||
|
"markInstalled": "Позначити як встановлене",
|
||||||
|
"update": "Оновити",
|
||||||
|
"markUpdated": "Позначити як оновлене",
|
||||||
|
"additionalOptions": "Додаткові опції",
|
||||||
|
"disableVersionDetection": "Вимкнути визначення версії",
|
||||||
|
"noVersionDetectionExplanation": "Цю опцію слід використовувати лише для застосунків, де визначення версії працює неправильно.",
|
||||||
|
"downloadingX": "Завантаження {}",
|
||||||
|
"downloadNotifDescription": "Повідомляє користувача про прогрес завантаження застосунку",
|
||||||
|
"noAPKFound": "APK не знайдено",
|
||||||
|
"noVersionDetection": "Визначення версії відключено",
|
||||||
|
"categorize": "Категоризувати",
|
||||||
|
"categories": "Категорії",
|
||||||
|
"category": "Категорія",
|
||||||
|
"noCategory": "Без категорії",
|
||||||
|
"noCategories": "Немає категорій",
|
||||||
|
"deleteCategoriesQuestion": "Видалити категорії?",
|
||||||
|
"categoryDeleteWarning": "Усі застосунки у видалених категоріях будуть переведені у некатегоризовані.",
|
||||||
|
"addCategory": "Додати категорію",
|
||||||
|
"label": "Мітка",
|
||||||
|
"language": "Мова",
|
||||||
|
"copiedToClipboard": "Скопійовано в буфер обміну",
|
||||||
|
"storagePermissionDenied": "Відмовлено у дозволі на доступ до сховища",
|
||||||
|
"selectedCategorizeWarning": "Це замінить будь-які існуючі налаштування категорій для вибраних застосунків.",
|
||||||
|
"filterAPKsByRegEx": "Фільтрувати APK за регулярним виразом",
|
||||||
|
"removeFromObtainium": "Видалити з Obtainium",
|
||||||
|
"uninstallFromDevice": "Видалити з пристрою",
|
||||||
|
"onlyWorksWithNonVersionDetectApps": "Працює лише з застосунками з вимкненим визначенням версії.",
|
||||||
|
"releaseDateAsVersion": "Використовувати дату випуску як рядок версії",
|
||||||
|
"releaseDateAsVersionExplanation": "Цю опцію слід використовувати лише для застосунків, де визначення версії працює неправильно, але є дата випуску.",
|
||||||
|
"changes": "Зміни",
|
||||||
|
"releaseDate": "Дата випуску",
|
||||||
|
"importFromURLsInFile": "Імпорт з URL-адрес у файлі (наприклад, OPML)",
|
||||||
|
"versionDetectionExplanation": "Порівняти рядок версії з версією, визначеною операційною системою",
|
||||||
|
"versionDetection": "Визначення версії",
|
||||||
|
"standardVersionDetection": "Стандартне визначення версії",
|
||||||
|
"groupByCategory": "Групувати за категоріями",
|
||||||
|
"autoApkFilterByArch": "Спробувати фільтрувати APK за архітектурою ЦП, якщо можливо",
|
||||||
|
"overrideSource": "Перевизначити джерело",
|
||||||
|
"dontShowAgain": "Не показувати це знову",
|
||||||
|
"dontShowTrackOnlyWarnings": "Не показувати попередження про 'Тільки відстеження'",
|
||||||
|
"dontShowAPKOriginWarnings": "Не показувати попередження про походження APK",
|
||||||
|
"moveNonInstalledAppsToBottom": "Перемістити невстановлені застосунки вниз у перегляді застосунків",
|
||||||
|
"gitlabPATLabel": "Особистий токен GitLab (Увімкнення пошуку та краще виявлення APK)",
|
||||||
|
"about": "Про програму",
|
||||||
|
"requiresCredentialsInSettings": "{} потребує додаткових облікових даних (у налаштуваннях)",
|
||||||
|
"checkOnStart": "Перевірити наявність оновлень при запуску",
|
||||||
|
"tryInferAppIdFromCode": "Спробувати вивести ідентифікатор застосунку з вихідного коду",
|
||||||
|
"removeOnExternalUninstall": "Автоматично видаляти застосунки, які було видалено зовнішнім чином",
|
||||||
|
"pickHighestVersionCode": "Автоматично вибрати APK з найвищим кодом версії",
|
||||||
|
"checkUpdateOnDetailPage": "Перевіряти наявність оновлень при відкритті сторінки деталей застосунку",
|
||||||
|
"disablePageTransitions": "Вимкнути анімації переходів між сторінками",
|
||||||
|
"reversePageTransitions": "Зворотні анімації переходів між сторінками",
|
||||||
|
"minStarCount": "Мінімальна кількість зірок",
|
||||||
|
"addInfoBelow": "Додати цю інформацію нижче.",
|
||||||
|
"addInfoInSettings": "Додати цю інформацію у налаштуваннях.",
|
||||||
|
"githubSourceNote": "Лімітування швидкості GitHub можна уникнути, використовуючи ключ API.",
|
||||||
|
"gitlabSourceNote": "Вилучення APK з GitLab може не працювати без ключа API.",
|
||||||
|
"sortByLastLinkSegment": "Сортувати лише за останнім сегментом посилання",
|
||||||
|
"filterReleaseNotesByRegEx": "Фільтрувати примітки до релізу за регулярним виразом",
|
||||||
|
"customLinkFilterRegex": "Фільтр кастомного посилання на APK за регулярним виразом (за замовчуванням '.apk$')",
|
||||||
|
"appsPossiblyUpdated": "Спроб оновлення застосунків",
|
||||||
|
"appsPossiblyUpdatedNotifDescription": "Повідомляє користувача, що оновлення одного або декількох застосунків можливо були застосовані в фоновому режимі",
|
||||||
|
"xWasPossiblyUpdatedToY": "{} можливо було оновлено до {}.",
|
||||||
|
"enableBackgroundUpdates": "Увімкнути оновлення в фоновому режимі",
|
||||||
|
"backgroundUpdateReqsExplanation": "Оновлення в фоновому режимі може бути неможливим для всіх застосунків.",
|
||||||
|
"backgroundUpdateLimitsExplanation": "Успіх фонової установки може бути визначений лише після відкриття Obtainium.",
|
||||||
|
"verifyLatestTag": "Перевірити тег 'latest'",
|
||||||
|
"intermediateLinkRegex": "Фільтр для 'Проміжного' Посилання для Відвідування",
|
||||||
|
"filterByLinkText": "Фільтрувати посилання за текстом посилання",
|
||||||
|
"intermediateLinkNotFound": "Проміжне посилання не знайдено",
|
||||||
|
"intermediateLink": "Проміжне посилання",
|
||||||
|
"exemptFromBackgroundUpdates": "Виключено з фонових оновлень (якщо ввімкнено)",
|
||||||
|
"bgUpdatesOnWiFiOnly": "Вимкнути фонові оновлення поза Wi-Fi",
|
||||||
|
"autoSelectHighestVersionCode": "Автоматичний вибір APK з найвищим кодом версії",
|
||||||
|
"versionExtractionRegEx": "Регулярний вираз для вилучення рядка версії",
|
||||||
|
"matchGroupToUse": "Група співпадінь для використання в регулярному виразі вилучення версії",
|
||||||
|
"highlightTouchTargets": "Підсвічувати менш очевидні області дотику",
|
||||||
|
"pickExportDir": "Вибрати каталог експорту",
|
||||||
|
"autoExportOnChanges": "Автоматичний експорт при змінах",
|
||||||
|
"includeSettings": "Включити налаштування",
|
||||||
|
"filterVersionsByRegEx": "Фільтрувати версії за регулярним виразом",
|
||||||
|
"trySelectingSuggestedVersionCode": "Спробуйте вибрати запропонований код версії APK",
|
||||||
|
"dontSortReleasesList": "Зберігати порядок випуску з API",
|
||||||
|
"reverseSort": "Зворотне сортування",
|
||||||
|
"takeFirstLink": "Вибрати перше посилання",
|
||||||
|
"skipSort": "Пропустити сортування",
|
||||||
|
"debugMenu": "Меню налагодження",
|
||||||
|
"bgTaskStarted": "Запущено фонове завдання - перевірте журнали.",
|
||||||
|
"runBgCheckNow": "Запустити перевірку оновлень в фоновому режимі зараз",
|
||||||
|
"versionExtractWholePage": "Застосувати регулярний вираз вилучення версії до всієї сторінки",
|
||||||
|
"installing": "Встановлення",
|
||||||
|
"skipUpdateNotifications": "Пропустити сповіщення про оновлення",
|
||||||
|
"updatesAvailableNotifChannel": "Доступні оновлення",
|
||||||
|
"appsUpdatedNotifChannel": "Застосунки оновлені",
|
||||||
|
"appsPossiblyUpdatedNotifChannel": "Спроба оновлення застосунків",
|
||||||
|
"errorCheckingUpdatesNotifChannel": "Помилка перевірки оновлень",
|
||||||
|
"appsRemovedNotifChannel": "Застосунки видалені",
|
||||||
|
"downloadingXNotifChannel": "Завантаження {}",
|
||||||
|
"completeAppInstallationNotifChannel": "Завершення встановлення застосунку",
|
||||||
|
"checkingForUpdatesNotifChannel": "Перевірка оновлень",
|
||||||
|
"onlyCheckInstalledOrTrackOnlyApps": "Перевіряти лише встановлені та застосунки, які відстежуються для оновлень",
|
||||||
|
"supportFixedAPKURL": "Підтримка фіксованих посилань на APK",
|
||||||
|
"selectX": "Вибрати {}",
|
||||||
|
"parallelDownloads": "Дозволити паралельні завантаження",
|
||||||
|
"installMethod": "Метод встановлення",
|
||||||
|
"normal": "Звичайний",
|
||||||
|
"root": "Root",
|
||||||
|
"shizukuBinderNotFound": "Сумісний сервіс Shizuku не було знайдено",
|
||||||
|
"useSystemFont": "Використовувати системний шрифт",
|
||||||
|
"systemFontError": "Помилка завантаження системного шрифту: {}",
|
||||||
|
"useVersionCodeAsOSVersion": "Використовувати код версії застосунку як версію, визначену операційною системою",
|
||||||
|
"requestHeader": "Заголовок запиту",
|
||||||
|
"useLatestAssetDateAsReleaseDate": "Використовувати останню дату завантаження ресурсу як дату випуску",
|
||||||
|
"defaultPseudoVersioningMethod": "Метод за замовчуванням псевдо-версіонування",
|
||||||
|
"partialAPKHash": "Хеш часткового APK",
|
||||||
|
"APKLinkHash": "Хеш посилання на APK",
|
||||||
|
"directAPKLink": "Пряме посилання на APK",
|
||||||
|
"pseudoVersionInUse": "Використовується псевдо-версія",
|
||||||
|
"installed": "Встановлено",
|
||||||
|
"latest": "Остання",
|
||||||
|
"invertRegEx": "Інвертувати регулярний вираз",
|
||||||
|
"note": "Примітка",
|
||||||
|
"selfHostedNote": "Випадаючий список \"{}\" може використовуватися для доступу до власних/призначених для самостійного використання екземплярів будь-якого джерела.",
|
||||||
|
"badDownload": "APK не вдалося розпарсити (несумісний або часткове завантаження)",
|
||||||
|
"removeAppQuestion": {
|
||||||
|
"one": "Видалити застосунок?",
|
||||||
|
"other": "Видалити застосунки?"
|
||||||
|
},
|
||||||
|
"tooManyRequestsTryAgainInMinutes": {
|
||||||
|
"one": "Забагато запитів (обмеження швидкості) - повторіть спробу через {} хвилину",
|
||||||
|
"other": "Забагато запитів (обмеження швидкості) - повторіть спробу через {} хвилин"
|
||||||
|
},
|
||||||
|
"bgUpdateGotErrorRetryInMinutes": {
|
||||||
|
"one": "Помилка перевірки оновлень у фоновому режимі - спробую знову через {} хвилину",
|
||||||
|
"other": "Помилка перевірки оновлень у фоновому режимі - спробую знову через {} хвилин"
|
||||||
|
},
|
||||||
|
"bgCheckFoundUpdatesWillNotifyIfNeeded": {
|
||||||
|
"one": "Фонова перевірка оновлень знайшла {} оновлення - сповістити користувача, якщо це необхідно",
|
||||||
|
"other": "Фонова перевірка оновлень знайшла {} оновлень - сповістити користувача, якщо це необхідно"
|
||||||
|
},
|
||||||
|
"apps": {
|
||||||
|
"one": "{} застосунок",
|
||||||
|
"other": "{} застосунки"
|
||||||
|
},
|
||||||
|
"url": {
|
||||||
|
"one": "{} URL-адреса",
|
||||||
|
"other": "{} URL-адреси"
|
||||||
|
},
|
||||||
|
"minute": {
|
||||||
|
"one": "{} хвилина",
|
||||||
|
"other": "{} хвилин"
|
||||||
|
},
|
||||||
|
"hour": {
|
||||||
|
"one": "{} година",
|
||||||
|
"other": "{} годин"
|
||||||
|
},
|
||||||
|
"day": {
|
||||||
|
"one": "{} день",
|
||||||
|
"other": "{} днів"
|
||||||
|
},
|
||||||
|
"clearedNLogsBeforeXAfterY": {
|
||||||
|
"one": "Очищено {n} журнал (до = {before}, після = {after})",
|
||||||
|
"other": "Очищено {n} журналів (до = {before}, після = {after})"
|
||||||
|
},
|
||||||
|
"xAndNMoreUpdatesAvailable": {
|
||||||
|
"one": "{} та ще 1 застосунок мають оновлення.",
|
||||||
|
"other": "{} та ще {} застосунки мають оновлення."
|
||||||
|
},
|
||||||
|
"xAndNMoreUpdatesInstalled": {
|
||||||
|
"one": "{} та ще 1 застосунок було оновлено.",
|
||||||
|
"other": "{} та ще {} застосунків було оновлено."
|
||||||
|
},
|
||||||
|
"xAndNMoreUpdatesPossiblyInstalled": {
|
||||||
|
"one": "{} та ще 1 застосунок можливо було оновлено.",
|
||||||
|
"other": "{} та ще {} застосунків можливо було оновлено."
|
||||||
|
},
|
||||||
|
"apk": {
|
||||||
|
"one": "{} APK",
|
||||||
|
"other": "{} APK-файли"
|
||||||
|
}
|
||||||
|
}
|
@ -218,7 +218,7 @@
|
|||||||
"dontShowTrackOnlyWarnings": "Không hiển thị cảnh báo 'Chỉ theo dõi'",
|
"dontShowTrackOnlyWarnings": "Không hiển thị cảnh báo 'Chỉ theo dõi'",
|
||||||
"dontShowAPKOriginWarnings": "Không hiển thị cảnh báo nguồn gốc APK",
|
"dontShowAPKOriginWarnings": "Không hiển thị cảnh báo nguồn gốc APK",
|
||||||
"moveNonInstalledAppsToBottom": "Chuyển Ứng dụng chưa được cài đặt xuống cuối danh sách",
|
"moveNonInstalledAppsToBottom": "Chuyển Ứng dụng chưa được cài đặt xuống cuối danh sách",
|
||||||
"gitlabPATLabel": "GitLab Token\n(Cho phép tìm kiếm và lọc APK tốt hơn)",
|
"gitlabPATLabel": "GitLab Token",
|
||||||
"about": "Giới thiệu",
|
"about": "Giới thiệu",
|
||||||
"requiresCredentialsInSettings": "{}: Điều này cần thông tin xác thực bổ sung (trong Thiết đặt)",
|
"requiresCredentialsInSettings": "{}: Điều này cần thông tin xác thực bổ sung (trong Thiết đặt)",
|
||||||
"checkOnStart": "Kiểm tra các bản cập nhật khi khởi động",
|
"checkOnStart": "Kiểm tra các bản cập nhật khi khởi động",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "Thêm thông tin này vào bên dưới.",
|
"addInfoBelow": "Thêm thông tin này vào bên dưới.",
|
||||||
"addInfoInSettings": "Thêm thông tin này vào Thiết đặt.",
|
"addInfoInSettings": "Thêm thông tin này vào Thiết đặt.",
|
||||||
"githubSourceNote": "Có thể tránh được việc giới hạn tốc độ GitHub bằng cách sử dụng khóa API.",
|
"githubSourceNote": "Có thể tránh được việc giới hạn tốc độ GitHub bằng cách sử dụng khóa API.",
|
||||||
"gitlabSourceNote": "Trích xuất APK GitLab có thể không hoạt động nếu không có khóa API.",
|
|
||||||
"sortByLastLinkSegment": "Chỉ sắp xếp theo đoạn cuối của liên kết",
|
"sortByLastLinkSegment": "Chỉ sắp xếp theo đoạn cuối của liên kết",
|
||||||
"filterReleaseNotesByRegEx": "Lọc ghi chú phát hành theo biểu thức chính quy",
|
"filterReleaseNotesByRegEx": "Lọc ghi chú phát hành theo biểu thức chính quy",
|
||||||
"customLinkFilterRegex": "Bộ lọc liên kết APK tùy chỉnh theo biểu thức chính quy (Mặc định '.apk$')",
|
"customLinkFilterRegex": "Bộ lọc liên kết APK tùy chỉnh theo biểu thức chính quy (Mặc định '.apk$')",
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
"pleaseWait": "请稍候",
|
"pleaseWait": "请稍候",
|
||||||
"updateAvailable": "更新可用",
|
"updateAvailable": "更新可用",
|
||||||
"notInstalled": "未安装",
|
"notInstalled": "未安装",
|
||||||
"pseudoVersion": "伪版本",
|
"pseudoVersion": "虚拟版本号",
|
||||||
"selectAll": "全选",
|
"selectAll": "全选",
|
||||||
"deselectX": "取消选择 {}",
|
"deselectX": "取消选择 {}",
|
||||||
"xWillBeRemovedButRemainInstalled": "“{}”将从 Obtainium 中删除,但仍安装在您的设备中。",
|
"xWillBeRemovedButRemainInstalled": "“{}”将从 Obtainium 中删除,但仍安装在您的设备中。",
|
||||||
@ -208,7 +208,7 @@
|
|||||||
"changes": "更新日志",
|
"changes": "更新日志",
|
||||||
"releaseDate": "发行日期",
|
"releaseDate": "发行日期",
|
||||||
"importFromURLsInFile": "从文件中的 URL 导入(如 OPML)",
|
"importFromURLsInFile": "从文件中的 URL 导入(如 OPML)",
|
||||||
"versionDetectionExplanation": "将版本字符串与操作系统检测到的版本进行协调",
|
"versionDetectionExplanation": "使发行版本号与应用定义的版本号一致",
|
||||||
"versionDetection": "版本检测",
|
"versionDetection": "版本检测",
|
||||||
"standardVersionDetection": "常规版本检测",
|
"standardVersionDetection": "常规版本检测",
|
||||||
"groupByCategory": "按类别分组显示",
|
"groupByCategory": "按类别分组显示",
|
||||||
@ -218,13 +218,13 @@
|
|||||||
"dontShowTrackOnlyWarnings": "忽略“仅追踪”模式警告",
|
"dontShowTrackOnlyWarnings": "忽略“仅追踪”模式警告",
|
||||||
"dontShowAPKOriginWarnings": "忽略 APK 文件来源警告",
|
"dontShowAPKOriginWarnings": "忽略 APK 文件来源警告",
|
||||||
"moveNonInstalledAppsToBottom": "将未安装应用置底",
|
"moveNonInstalledAppsToBottom": "将未安装应用置底",
|
||||||
"gitlabPATLabel": "GitLab 个人访问令牌(启用搜索功能并增强 APK 发现)",
|
"gitlabPATLabel": "GitLab 个人访问令牌",
|
||||||
"about": "相关文档",
|
"about": "相关文档",
|
||||||
"requiresCredentialsInSettings": "{}:此功能需要额外的凭据(在“设置”中添加)",
|
"requiresCredentialsInSettings": "{}:此功能需要额外的凭据(在“设置”中添加)",
|
||||||
"checkOnStart": "启动时进行一次检查",
|
"checkOnStart": "启动时进行一次检查",
|
||||||
"tryInferAppIdFromCode": "尝试从源代码推断应用 ID",
|
"tryInferAppIdFromCode": "尝试从源代码推断应用 ID",
|
||||||
"removeOnExternalUninstall": "自动删除列表中已卸载的应用",
|
"removeOnExternalUninstall": "自动删除列表中已卸载的应用",
|
||||||
"pickHighestVersionCode": "自动选择版本号最高的 APK 文件",
|
"pickHighestVersionCode": "自动选取内部版本号最高的 APK 文件",
|
||||||
"checkUpdateOnDetailPage": "打开应用详情页时进行检查",
|
"checkUpdateOnDetailPage": "打开应用详情页时进行检查",
|
||||||
"disablePageTransitions": "禁用页面过渡动画效果",
|
"disablePageTransitions": "禁用页面过渡动画效果",
|
||||||
"reversePageTransitions": "反转页面过渡动画效果",
|
"reversePageTransitions": "反转页面过渡动画效果",
|
||||||
@ -232,7 +232,6 @@
|
|||||||
"addInfoBelow": "在下方添加此凭据。",
|
"addInfoBelow": "在下方添加此凭据。",
|
||||||
"addInfoInSettings": "在“设置”中添加此凭据。",
|
"addInfoInSettings": "在“设置”中添加此凭据。",
|
||||||
"githubSourceNote": "使用访问令牌可避免触发 GitHub 的 API 请求限制。",
|
"githubSourceNote": "使用访问令牌可避免触发 GitHub 的 API 请求限制。",
|
||||||
"gitlabSourceNote": "未使用访问令牌时可能无法从 GitLab 获取 APK 文件。",
|
|
||||||
"sortByLastLinkSegment": "仅根据链接的末尾部分进行筛选",
|
"sortByLastLinkSegment": "仅根据链接的末尾部分进行筛选",
|
||||||
"filterReleaseNotesByRegEx": "筛选发行说明(正则表达式)",
|
"filterReleaseNotesByRegEx": "筛选发行说明(正则表达式)",
|
||||||
"customLinkFilterRegex": "筛选自定义来源的 APK 文件链接\n(正则表达式,默认匹配模式为“.apk$”)",
|
"customLinkFilterRegex": "筛选自定义来源的 APK 文件链接\n(正则表达式,默认匹配模式为“.apk$”)",
|
||||||
@ -249,7 +248,7 @@
|
|||||||
"intermediateLink": "中转链接",
|
"intermediateLink": "中转链接",
|
||||||
"exemptFromBackgroundUpdates": "禁用后台更新(如果已经全局启用)",
|
"exemptFromBackgroundUpdates": "禁用后台更新(如果已经全局启用)",
|
||||||
"bgUpdatesOnWiFiOnly": "未连接 Wi-Fi 时禁用后台更新",
|
"bgUpdatesOnWiFiOnly": "未连接 Wi-Fi 时禁用后台更新",
|
||||||
"autoSelectHighestVersionCode": "自动选择版本号最高的 APK 文件",
|
"autoSelectHighestVersionCode": "自动选择内部版本号最高的 APK 文件",
|
||||||
"versionExtractionRegEx": "版本号提取规则(正则表达式)",
|
"versionExtractionRegEx": "版本号提取规则(正则表达式)",
|
||||||
"matchGroupToUse": "引用的捕获组",
|
"matchGroupToUse": "引用的捕获组",
|
||||||
"highlightTouchTargets": "突出展示不明显的触摸区域",
|
"highlightTouchTargets": "突出展示不明显的触摸区域",
|
||||||
@ -286,20 +285,20 @@
|
|||||||
"shizukuBinderNotFound": "未发现兼容的 Shizuku 服务",
|
"shizukuBinderNotFound": "未发现兼容的 Shizuku 服务",
|
||||||
"useSystemFont": "使用系统字体",
|
"useSystemFont": "使用系统字体",
|
||||||
"systemFontError": "加载系统字体出错:{}",
|
"systemFontError": "加载系统字体出错:{}",
|
||||||
"useVersionCodeAsOSVersion": "使用应用程序版本代码作为操作系统检测到的版本",
|
"useVersionCodeAsOSVersion": "使用内部版本号代替应用定义的版本号",
|
||||||
"requestHeader": "请求标头",
|
"requestHeader": "请求标头",
|
||||||
"useLatestAssetDateAsReleaseDate": "使用最新资产上传作为发布日期",
|
"useLatestAssetDateAsReleaseDate": "使用最近文件上传时间作为发行日期",
|
||||||
"defaultPseudoVersioningMethod": "默认伪版本控制方法",
|
"defaultPseudoVersioningMethod": "默认虚拟版本方案",
|
||||||
"partialAPKHash": "部分 APK 哈希值",
|
"partialAPKHash": "APK 文件散列值片段",
|
||||||
"APKLinkHash": "APK 链接哈希",
|
"APKLinkHash": "APK 文件链接散列值",
|
||||||
"directAPKLink": "直接 APK 链接",
|
"directAPKLink": "APK 文件直链",
|
||||||
"pseudoVersionInUse": "伪版本正在使用",
|
"pseudoVersionInUse": "正在使用虚拟版本号",
|
||||||
"installed": "已安装",
|
"installed": "当前版本",
|
||||||
"latest": "最新的",
|
"latest": "最新版本",
|
||||||
"invertRegEx": "反转正则表达式",
|
"invertRegEx": "反转匹配",
|
||||||
"note": "备注",
|
"note": "备注",
|
||||||
"selfHostedNote": "{}\"下拉菜单可用于访问任何来源的自托管/自定义实例。",
|
"selfHostedNote": "可以通过“{}”下拉菜单来指向任意来源的自托管/自定义实例。",
|
||||||
"badDownload": "无法解析 APK(不兼容或部分下载)",
|
"badDownload": "无法解析 APK 文件(不兼容或文件不完整)",
|
||||||
"removeAppQuestion": {
|
"removeAppQuestion": {
|
||||||
"one": "是否删除应用?",
|
"one": "是否删除应用?",
|
||||||
"other": "是否删除应用?"
|
"other": "是否删除应用?"
|
||||||
|
@ -344,12 +344,14 @@ class GitHub extends AppSource {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
if (latestRelease != null &&
|
if (latestRelease != null &&
|
||||||
|
(latestRelease['tag_name'] ?? latestRelease['name']) != null &&
|
||||||
releases.isNotEmpty &&
|
releases.isNotEmpty &&
|
||||||
latestRelease !=
|
latestRelease !=
|
||||||
(releases[releases.length - 1]['tag_name'] ??
|
(releases[releases.length - 1]['tag_name'] ??
|
||||||
releases[0]['name'])) {
|
releases[0]['name'])) {
|
||||||
var ind = releases.indexWhere((element) =>
|
var ind = releases.indexWhere((element) =>
|
||||||
latestRelease == (element['tag_name'] ?? element['name']));
|
(latestRelease['tag_name'] ?? latestRelease['name']) ==
|
||||||
|
(element['tag_name'] ?? element['name']));
|
||||||
if (ind >= 0) {
|
if (ind >= 0) {
|
||||||
releases.add(releases.removeAt(ind));
|
releases.add(releases.removeAt(ind));
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,6 @@ import 'dart:convert';
|
|||||||
import 'dart:io';
|
import 'dart:io';
|
||||||
|
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:html/parser.dart';
|
|
||||||
import 'package:http/http.dart';
|
import 'package:http/http.dart';
|
||||||
import 'package:obtainium/app_sources/github.dart';
|
import 'package:obtainium/app_sources/github.dart';
|
||||||
import 'package:obtainium/custom_errors.dart';
|
import 'package:obtainium/custom_errors.dart';
|
||||||
@ -73,14 +72,6 @@ class GitLab extends AppSource {
|
|||||||
return creds != null && creds.isNotEmpty ? creds : null;
|
return creds != null && creds.isNotEmpty ? creds : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
|
||||||
Future<String?> getSourceNote() async {
|
|
||||||
if ((await getPATIfAny({})) == null) {
|
|
||||||
return '${tr('gitlabSourceNote')} ${hostChanged ? tr('addInfoBelow') : tr('addInfoInSettings')}';
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<Map<String, List<String>>> search(String query,
|
Future<Map<String, List<String>>> search(String query,
|
||||||
{Map<String, dynamic> querySettings = const {}}) async {
|
{Map<String, dynamic> querySettings = const {}}) async {
|
||||||
@ -125,100 +116,68 @@ class GitLab extends AppSource {
|
|||||||
String standardUrl,
|
String standardUrl,
|
||||||
Map<String, dynamic> additionalSettings,
|
Map<String, dynamic> additionalSettings,
|
||||||
) async {
|
) async {
|
||||||
|
// Prepare request params
|
||||||
|
var names = GitHub().getAppNames(standardUrl);
|
||||||
|
String? PAT = await getPATIfAny(hostChanged ? additionalSettings : {});
|
||||||
|
String optionalAuth = (PAT != null) ? 'private_token=$PAT' : '';
|
||||||
|
|
||||||
|
// Request data from REST API
|
||||||
|
Response res = await sourceRequest(
|
||||||
|
'https://${hosts[0]}/api/v4/projects/${names.author}%2F${names.name}/releases?$optionalAuth',
|
||||||
|
additionalSettings);
|
||||||
|
if (res.statusCode != 200) {
|
||||||
|
throw getObtainiumHttpError(res);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Extract .apk details from received data
|
||||||
|
Iterable<APKDetails> apkDetailsList = [];
|
||||||
|
var json = jsonDecode(res.body) as List<dynamic>;
|
||||||
|
apkDetailsList = json.map((e) {
|
||||||
|
var apkUrlsFromAssets = (e['assets']?['links'] as List<dynamic>? ?? [])
|
||||||
|
.map((e) {
|
||||||
|
return (e['direct_asset_url'] ?? e['url'] ?? '') as String;
|
||||||
|
})
|
||||||
|
.where((s) => s.isNotEmpty)
|
||||||
|
.toList();
|
||||||
|
List<String> uploadedAPKsFromDescription =
|
||||||
|
((e['description'] ?? '') as String)
|
||||||
|
.split('](')
|
||||||
|
.join('\n')
|
||||||
|
.split('.apk)')
|
||||||
|
.join('.apk\n')
|
||||||
|
.split('\n')
|
||||||
|
.where((s) => s.startsWith('/uploads/') && s.endsWith('apk'))
|
||||||
|
.map((s) => '$standardUrl$s')
|
||||||
|
.toList();
|
||||||
|
var apkUrlsSet = apkUrlsFromAssets.toSet();
|
||||||
|
apkUrlsSet.addAll(uploadedAPKsFromDescription);
|
||||||
|
var releaseDateString = e['released_at'] ?? e['created_at'];
|
||||||
|
DateTime? releaseDate = releaseDateString != null
|
||||||
|
? DateTime.parse(releaseDateString)
|
||||||
|
: null;
|
||||||
|
return APKDetails(
|
||||||
|
e['tag_name'] ?? e['name'],
|
||||||
|
getApkUrlsFromUrls(apkUrlsSet.toList()),
|
||||||
|
GitHub().getAppNames(standardUrl),
|
||||||
|
releaseDate: releaseDate);
|
||||||
|
});
|
||||||
|
if (apkDetailsList.isEmpty) {
|
||||||
|
throw NoReleasesError();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Fallback procedure
|
||||||
bool fallbackToOlderReleases =
|
bool fallbackToOlderReleases =
|
||||||
additionalSettings['fallbackToOlderReleases'] == true;
|
additionalSettings['fallbackToOlderReleases'] == true;
|
||||||
String? PAT = await getPATIfAny(hostChanged ? additionalSettings : {});
|
|
||||||
Iterable<APKDetails> apkDetailsList = [];
|
|
||||||
if (PAT != null) {
|
|
||||||
var names = GitHub().getAppNames(standardUrl);
|
|
||||||
Response res = await sourceRequest(
|
|
||||||
'https://${hosts[0]}/api/v4/projects/${names.author}%2F${names.name}/releases?private_token=$PAT',
|
|
||||||
additionalSettings);
|
|
||||||
if (res.statusCode != 200) {
|
|
||||||
throw getObtainiumHttpError(res);
|
|
||||||
}
|
|
||||||
var json = jsonDecode(res.body) as List<dynamic>;
|
|
||||||
apkDetailsList = json.map((e) {
|
|
||||||
var apkUrlsFromAssets = (e['assets']?['links'] as List<dynamic>? ?? [])
|
|
||||||
.map((e) {
|
|
||||||
return (e['direct_asset_url'] ?? e['url'] ?? '') as String;
|
|
||||||
})
|
|
||||||
.where((s) => s.isNotEmpty)
|
|
||||||
.toList();
|
|
||||||
List<String> uploadedAPKsFromDescription =
|
|
||||||
((e['description'] ?? '') as String)
|
|
||||||
.split('](')
|
|
||||||
.join('\n')
|
|
||||||
.split('.apk)')
|
|
||||||
.join('.apk\n')
|
|
||||||
.split('\n')
|
|
||||||
.where((s) => s.startsWith('/uploads/') && s.endsWith('apk'))
|
|
||||||
.map((s) => '$standardUrl$s')
|
|
||||||
.toList();
|
|
||||||
var apkUrlsSet = apkUrlsFromAssets.toSet();
|
|
||||||
apkUrlsSet.addAll(uploadedAPKsFromDescription);
|
|
||||||
var releaseDateString = e['released_at'] ?? e['created_at'];
|
|
||||||
DateTime? releaseDate = releaseDateString != null
|
|
||||||
? DateTime.parse(releaseDateString)
|
|
||||||
: null;
|
|
||||||
return APKDetails(
|
|
||||||
e['tag_name'] ?? e['name'],
|
|
||||||
getApkUrlsFromUrls(apkUrlsSet.toList()),
|
|
||||||
GitHub().getAppNames(standardUrl),
|
|
||||||
releaseDate: releaseDate);
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
Response res = await sourceRequest(
|
|
||||||
'$standardUrl/-/tags?format=atom', additionalSettings);
|
|
||||||
if (res.statusCode != 200) {
|
|
||||||
throw getObtainiumHttpError(res);
|
|
||||||
}
|
|
||||||
var standardUri = Uri.parse(standardUrl);
|
|
||||||
var parsedHtml = parse(res.body);
|
|
||||||
apkDetailsList = parsedHtml.querySelectorAll('entry').map((entry) {
|
|
||||||
var entryContent = parse(
|
|
||||||
parseFragment(entry.querySelector('content')!.innerHtml).text);
|
|
||||||
var apkUrls = [
|
|
||||||
...getLinksFromParsedHTML(
|
|
||||||
entryContent,
|
|
||||||
RegExp(
|
|
||||||
'^${standardUri.path.replaceAllMapped(RegExp(r'[.*+?^${}()|[\]\\]'), (x) {
|
|
||||||
return '\\${x[0]}';
|
|
||||||
})}/uploads/[^/]+/[^/]+\\.apk\$',
|
|
||||||
caseSensitive: false),
|
|
||||||
standardUri.origin),
|
|
||||||
// GitLab releases may contain links to externally hosted APKs
|
|
||||||
...getLinksFromParsedHTML(entryContent,
|
|
||||||
RegExp('/[^/]+\\.apk\$', caseSensitive: false), '')
|
|
||||||
.where((element) => Uri.parse(element).host != '')
|
|
||||||
];
|
|
||||||
var entryId = entry.querySelector('id')?.innerHtml;
|
|
||||||
var version =
|
|
||||||
entryId == null ? null : Uri.parse(entryId).pathSegments.last;
|
|
||||||
var releaseDateString = entry.querySelector('updated')?.innerHtml;
|
|
||||||
DateTime? releaseDate = releaseDateString != null
|
|
||||||
? DateTime.parse(releaseDateString)
|
|
||||||
: null;
|
|
||||||
if (version == null) {
|
|
||||||
throw NoVersionError();
|
|
||||||
}
|
|
||||||
return APKDetails(version, getApkUrlsFromUrls(apkUrls),
|
|
||||||
GitHub().getAppNames(standardUrl),
|
|
||||||
releaseDate: releaseDate);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
if (apkDetailsList.isEmpty) {
|
|
||||||
throw NoReleasesError(note: tr('gitlabSourceNote'));
|
|
||||||
}
|
|
||||||
if (fallbackToOlderReleases) {
|
if (fallbackToOlderReleases) {
|
||||||
if (additionalSettings['trackOnly'] != true) {
|
if (additionalSettings['trackOnly'] != true) {
|
||||||
apkDetailsList =
|
apkDetailsList =
|
||||||
apkDetailsList.where((e) => e.apkUrls.isNotEmpty).toList();
|
apkDetailsList.where((e) => e.apkUrls.isNotEmpty).toList();
|
||||||
}
|
}
|
||||||
if (apkDetailsList.isEmpty) {
|
if (apkDetailsList.isEmpty) {
|
||||||
throw NoReleasesError(note: tr('gitlabSourceNote'));
|
throw NoReleasesError();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return apkDetailsList.first;
|
return apkDetailsList.first;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -38,6 +38,7 @@ List<MapEntry<Locale, String>> supportedLocales = const [
|
|||||||
MapEntry(Locale('nl'), 'Nederlands'),
|
MapEntry(Locale('nl'), 'Nederlands'),
|
||||||
MapEntry(Locale('vi'), 'Tiếng Việt'),
|
MapEntry(Locale('vi'), 'Tiếng Việt'),
|
||||||
MapEntry(Locale('tr'), 'Türkçe'),
|
MapEntry(Locale('tr'), 'Türkçe'),
|
||||||
|
MapEntry(Locale('uk'), 'Українська'),
|
||||||
];
|
];
|
||||||
const fallbackLocale = Locale('en');
|
const fallbackLocale = Locale('en');
|
||||||
const localeDir = 'assets/translations';
|
const localeDir = 'assets/translations';
|
||||||
|
@ -4,6 +4,7 @@ import 'package:flutter/services.dart';
|
|||||||
import 'package:obtainium/components/generated_form_modal.dart';
|
import 'package:obtainium/components/generated_form_modal.dart';
|
||||||
import 'package:obtainium/custom_errors.dart';
|
import 'package:obtainium/custom_errors.dart';
|
||||||
import 'package:obtainium/main.dart';
|
import 'package:obtainium/main.dart';
|
||||||
|
import 'package:obtainium/pages/apps.dart';
|
||||||
import 'package:obtainium/pages/settings.dart';
|
import 'package:obtainium/pages/settings.dart';
|
||||||
import 'package:obtainium/providers/apps_provider.dart';
|
import 'package:obtainium/providers/apps_provider.dart';
|
||||||
import 'package:obtainium/providers/settings_provider.dart';
|
import 'package:obtainium/providers/settings_provider.dart';
|
||||||
@ -108,6 +109,7 @@ class _AppPageState extends State<AppPage> {
|
|||||||
infoLines =
|
infoLines =
|
||||||
'$infoLines\n${app?.app.apkUrls.length == 1 ? app?.app.apkUrls[0].key : plural('apk', app?.app.apkUrls.length ?? 0)}';
|
'$infoLines\n${app?.app.apkUrls.length == 1 ? app?.app.apkUrls[0].key : plural('apk', app?.app.apkUrls.length ?? 0)}';
|
||||||
}
|
}
|
||||||
|
var changeLogFn = app != null ? getChangeLogFn(context, app.app) : null;
|
||||||
return Column(
|
return Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
@ -125,13 +127,26 @@ class _AppPageState extends State<AppPage> {
|
|||||||
.textTheme
|
.textTheme
|
||||||
.bodyLarge!
|
.bodyLarge!
|
||||||
.copyWith(fontWeight: FontWeight.bold)),
|
.copyWith(fontWeight: FontWeight.bold)),
|
||||||
app?.app.releaseDate == null
|
changeLogFn != null || app?.app.releaseDate != null
|
||||||
? const SizedBox.shrink()
|
? GestureDetector(
|
||||||
: Text(
|
onTap: changeLogFn,
|
||||||
app!.app.releaseDate.toString(),
|
child: Text(
|
||||||
textAlign: TextAlign.center,
|
app?.app.releaseDate == null
|
||||||
style: Theme.of(context).textTheme.labelSmall,
|
? tr('changes')
|
||||||
),
|
: app!.app.releaseDate.toString(),
|
||||||
|
textAlign: TextAlign.center,
|
||||||
|
style:
|
||||||
|
Theme.of(context).textTheme.labelSmall!.copyWith(
|
||||||
|
decoration: changeLogFn != null
|
||||||
|
? TextDecoration.underline
|
||||||
|
: null,
|
||||||
|
fontStyle: changeLogFn != null
|
||||||
|
? FontStyle.italic
|
||||||
|
: null,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
: const SizedBox.shrink(),
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 8,
|
height: 8,
|
||||||
),
|
),
|
||||||
@ -361,6 +376,9 @@ class _AppPageState extends State<AppPage> {
|
|||||||
!areDownloadsRunning
|
!areDownloadsRunning
|
||||||
? () async {
|
? () async {
|
||||||
try {
|
try {
|
||||||
|
var successMessage = app?.app.installedVersion == null
|
||||||
|
? tr('installed')
|
||||||
|
: tr('appsUpdated');
|
||||||
HapticFeedback.heavyImpact();
|
HapticFeedback.heavyImpact();
|
||||||
var res = await appsProvider.downloadAndInstallLatestApps(
|
var res = await appsProvider.downloadAndInstallLatestApps(
|
||||||
app?.app.id != null ? [app!.app.id] : [],
|
app?.app.id != null ? [app!.app.id] : [],
|
||||||
@ -368,7 +386,7 @@ class _AppPageState extends State<AppPage> {
|
|||||||
);
|
);
|
||||||
if (res.isNotEmpty && !trackOnly) {
|
if (res.isNotEmpty && !trackOnly) {
|
||||||
// ignore: use_build_context_synchronously
|
// ignore: use_build_context_synchronously
|
||||||
showMessage(tr('appsUpdated'), context);
|
showMessage(successMessage, context);
|
||||||
}
|
}
|
||||||
if (res.isNotEmpty && mounted) {
|
if (res.isNotEmpty && mounted) {
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
|
@ -26,6 +26,92 @@ class AppsPage extends StatefulWidget {
|
|||||||
State<AppsPage> createState() => AppsPageState();
|
State<AppsPage> createState() => AppsPageState();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
showChangeLogDialog(BuildContext context, App app, String? changesUrl,
|
||||||
|
AppSource appSource, String changeLog) {
|
||||||
|
showDialog(
|
||||||
|
context: context,
|
||||||
|
builder: (BuildContext context) {
|
||||||
|
return GeneratedFormModal(
|
||||||
|
title: tr('changes'),
|
||||||
|
items: const [],
|
||||||
|
message: app.latestVersion,
|
||||||
|
additionalWidgets: [
|
||||||
|
changesUrl != null
|
||||||
|
? GestureDetector(
|
||||||
|
child: Text(
|
||||||
|
changesUrl,
|
||||||
|
style: const TextStyle(
|
||||||
|
decoration: TextDecoration.underline,
|
||||||
|
fontStyle: FontStyle.italic),
|
||||||
|
),
|
||||||
|
onTap: () {
|
||||||
|
launchUrlString(changesUrl,
|
||||||
|
mode: LaunchMode.externalApplication);
|
||||||
|
},
|
||||||
|
)
|
||||||
|
: const SizedBox.shrink(),
|
||||||
|
changesUrl != null
|
||||||
|
? const SizedBox(
|
||||||
|
height: 16,
|
||||||
|
)
|
||||||
|
: const SizedBox.shrink(),
|
||||||
|
appSource.changeLogIfAnyIsMarkDown
|
||||||
|
? SizedBox(
|
||||||
|
width: MediaQuery.of(context).size.width,
|
||||||
|
height: MediaQuery.of(context).size.height - 350,
|
||||||
|
child: Markdown(
|
||||||
|
data: changeLog,
|
||||||
|
onTapLink: (text, href, title) {
|
||||||
|
if (href != null) {
|
||||||
|
launchUrlString(
|
||||||
|
href.startsWith('http://') ||
|
||||||
|
href.startsWith('https://')
|
||||||
|
? href
|
||||||
|
: '${Uri.parse(app.url).origin}/$href',
|
||||||
|
mode: LaunchMode.externalApplication);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
extensionSet: md.ExtensionSet(
|
||||||
|
md.ExtensionSet.gitHubFlavored.blockSyntaxes,
|
||||||
|
[
|
||||||
|
md.EmojiSyntax(),
|
||||||
|
...md.ExtensionSet.gitHubFlavored.inlineSyntaxes
|
||||||
|
],
|
||||||
|
),
|
||||||
|
))
|
||||||
|
: Text(changeLog),
|
||||||
|
],
|
||||||
|
singleNullReturnButton: tr('ok'),
|
||||||
|
);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
getChangeLogFn(BuildContext context, App app) {
|
||||||
|
AppSource appSource =
|
||||||
|
SourceProvider().getSource(app.url, overrideSource: app.overrideSource);
|
||||||
|
String? changesUrl = appSource.changeLogPageFromStandardUrl(app.url);
|
||||||
|
String? changeLog = app.changeLog;
|
||||||
|
if (changeLog?.split('\n').length == 1) {
|
||||||
|
if (RegExp(
|
||||||
|
'(http|ftp|https)://([\\w_-]+(?:(?:\\.[\\w_-]+)+))([\\w.,@?^=%&:/~+#-]*[\\w@?^=%&/~+#-])?')
|
||||||
|
.hasMatch(changeLog!)) {
|
||||||
|
if (changesUrl == null) {
|
||||||
|
changesUrl = changeLog;
|
||||||
|
changeLog = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return (changeLog == null && changesUrl == null)
|
||||||
|
? null
|
||||||
|
: () {
|
||||||
|
if (changeLog != null) {
|
||||||
|
showChangeLogDialog(context, app, changesUrl, appSource, changeLog);
|
||||||
|
} else {
|
||||||
|
launchUrlString(changesUrl!, mode: LaunchMode.externalApplication);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
class AppsPageState extends State<AppsPage> {
|
class AppsPageState extends State<AppsPage> {
|
||||||
AppsFilter filter = AppsFilter();
|
AppsFilter filter = AppsFilter();
|
||||||
final AppsFilter neutralFilter = AppsFilter();
|
final AppsFilter neutralFilter = AppsFilter();
|
||||||
@ -262,66 +348,6 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
.where((a) => selectedAppIds.contains(a.id))
|
.where((a) => selectedAppIds.contains(a.id))
|
||||||
.toSet();
|
.toSet();
|
||||||
|
|
||||||
showChangeLogDialog(
|
|
||||||
String? changesUrl, AppSource appSource, String changeLog, int index) {
|
|
||||||
showDialog(
|
|
||||||
context: context,
|
|
||||||
builder: (BuildContext context) {
|
|
||||||
return GeneratedFormModal(
|
|
||||||
title: tr('changes'),
|
|
||||||
items: const [],
|
|
||||||
message: listedApps[index].app.latestVersion,
|
|
||||||
additionalWidgets: [
|
|
||||||
changesUrl != null
|
|
||||||
? GestureDetector(
|
|
||||||
child: Text(
|
|
||||||
changesUrl,
|
|
||||||
style: const TextStyle(
|
|
||||||
decoration: TextDecoration.underline,
|
|
||||||
fontStyle: FontStyle.italic),
|
|
||||||
),
|
|
||||||
onTap: () {
|
|
||||||
launchUrlString(changesUrl,
|
|
||||||
mode: LaunchMode.externalApplication);
|
|
||||||
},
|
|
||||||
)
|
|
||||||
: const SizedBox.shrink(),
|
|
||||||
changesUrl != null
|
|
||||||
? const SizedBox(
|
|
||||||
height: 16,
|
|
||||||
)
|
|
||||||
: const SizedBox.shrink(),
|
|
||||||
appSource.changeLogIfAnyIsMarkDown
|
|
||||||
? SizedBox(
|
|
||||||
width: MediaQuery.of(context).size.width,
|
|
||||||
height: MediaQuery.of(context).size.height - 350,
|
|
||||||
child: Markdown(
|
|
||||||
data: changeLog,
|
|
||||||
onTapLink: (text, href, title) {
|
|
||||||
if (href != null) {
|
|
||||||
launchUrlString(
|
|
||||||
href.startsWith('http://') ||
|
|
||||||
href.startsWith('https://')
|
|
||||||
? href
|
|
||||||
: '${Uri.parse(listedApps[index].app.url).origin}/$href',
|
|
||||||
mode: LaunchMode.externalApplication);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
extensionSet: md.ExtensionSet(
|
|
||||||
md.ExtensionSet.gitHubFlavored.blockSyntaxes,
|
|
||||||
[
|
|
||||||
md.EmojiSyntax(),
|
|
||||||
...md.ExtensionSet.gitHubFlavored.inlineSyntaxes
|
|
||||||
],
|
|
||||||
),
|
|
||||||
))
|
|
||||||
: Text(changeLog),
|
|
||||||
],
|
|
||||||
singleNullReturnButton: tr('ok'),
|
|
||||||
);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
getLoadingWidgets() {
|
getLoadingWidgets() {
|
||||||
return [
|
return [
|
||||||
if (listedApps.isEmpty)
|
if (listedApps.isEmpty)
|
||||||
@ -351,35 +377,6 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
getChangeLogFn(int appIndex) {
|
|
||||||
AppSource appSource = SourceProvider().getSource(
|
|
||||||
listedApps[appIndex].app.url,
|
|
||||||
overrideSource: listedApps[appIndex].app.overrideSource);
|
|
||||||
String? changesUrl =
|
|
||||||
appSource.changeLogPageFromStandardUrl(listedApps[appIndex].app.url);
|
|
||||||
String? changeLog = listedApps[appIndex].app.changeLog;
|
|
||||||
if (changeLog?.split('\n').length == 1) {
|
|
||||||
if (RegExp(
|
|
||||||
'(http|ftp|https)://([\\w_-]+(?:(?:\\.[\\w_-]+)+))([\\w.,@?^=%&:/~+#-]*[\\w@?^=%&/~+#-])?')
|
|
||||||
.hasMatch(changeLog!)) {
|
|
||||||
if (changesUrl == null) {
|
|
||||||
changesUrl = changeLog;
|
|
||||||
changeLog = null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return (changeLog == null && changesUrl == null)
|
|
||||||
? null
|
|
||||||
: () {
|
|
||||||
if (changeLog != null) {
|
|
||||||
showChangeLogDialog(changesUrl, appSource, changeLog, appIndex);
|
|
||||||
} else {
|
|
||||||
launchUrlString(changesUrl!,
|
|
||||||
mode: LaunchMode.externalApplication);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
getUpdateButton(int appIndex) {
|
getUpdateButton(int appIndex) {
|
||||||
return IconButton(
|
return IconButton(
|
||||||
visualDensity: VisualDensity.compact,
|
visualDensity: VisualDensity.compact,
|
||||||
@ -444,7 +441,7 @@ class AppsPageState extends State<AppsPage> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getSingleAppHorizTile(int index) {
|
getSingleAppHorizTile(int index) {
|
||||||
var showChangesFn = getChangeLogFn(index);
|
var showChangesFn = getChangeLogFn(context, listedApps[index].app);
|
||||||
var hasUpdate = listedApps[index].app.installedVersion != null &&
|
var hasUpdate = listedApps[index].app.installedVersion != null &&
|
||||||
listedApps[index].app.installedVersion !=
|
listedApps[index].app.installedVersion !=
|
||||||
listedApps[index].app.latestVersion;
|
listedApps[index].app.latestVersion;
|
||||||
|
@ -202,14 +202,18 @@ Future<String> checkPartialDownloadHash(String url, int bytesToGrab,
|
|||||||
Future<File> downloadFile(
|
Future<File> downloadFile(
|
||||||
String url, String fileNameNoExt, Function? onProgress, String destDir,
|
String url, String fileNameNoExt, Function? onProgress, String destDir,
|
||||||
{bool useExisting = true, Map<String, String>? headers}) async {
|
{bool useExisting = true, Map<String, String>? headers}) async {
|
||||||
|
// Send the initial request but cancel it as soon as you have the headers
|
||||||
|
var reqHeaders = headers ?? {};
|
||||||
var req = Request('GET', Uri.parse(url));
|
var req = Request('GET', Uri.parse(url));
|
||||||
if (headers != null) {
|
req.headers.addAll(reqHeaders);
|
||||||
req.headers.addAll(headers);
|
|
||||||
}
|
|
||||||
var client = http.Client();
|
var client = http.Client();
|
||||||
StreamedResponse response = await client.send(req);
|
StreamedResponse response = await client.send(req);
|
||||||
String ext =
|
var resHeaders = response.headers;
|
||||||
response.headers['content-disposition']?.split('.').last ?? 'apk';
|
|
||||||
|
// Use the headers to decide what the file extension is, and
|
||||||
|
// whether it supports partial downloads (range request), and
|
||||||
|
// what the total size of the file is (if provided)
|
||||||
|
String ext = resHeaders['content-disposition']?.split('.').last ?? 'apk';
|
||||||
if (ext.endsWith('"') || ext.endsWith("other")) {
|
if (ext.endsWith('"') || ext.endsWith("other")) {
|
||||||
ext = ext.substring(0, ext.length - 1);
|
ext = ext.substring(0, ext.length - 1);
|
||||||
}
|
}
|
||||||
@ -217,41 +221,107 @@ Future<File> downloadFile(
|
|||||||
ext = 'apk';
|
ext = 'apk';
|
||||||
}
|
}
|
||||||
File downloadedFile = File('$destDir/$fileNameNoExt.$ext');
|
File downloadedFile = File('$destDir/$fileNameNoExt.$ext');
|
||||||
if (!(downloadedFile.existsSync() && useExisting)) {
|
|
||||||
File tempDownloadedFile = File('${downloadedFile.path}.part');
|
bool rangeFeatureEnabled = false;
|
||||||
if (tempDownloadedFile.existsSync()) {
|
if (resHeaders['accept-ranges']?.isNotEmpty == true) {
|
||||||
tempDownloadedFile.deleteSync(recursive: true);
|
rangeFeatureEnabled =
|
||||||
}
|
resHeaders['accept-ranges']?.trim().toLowerCase() == 'bytes';
|
||||||
var length = response.contentLength;
|
}
|
||||||
var received = 0;
|
|
||||||
double? progress;
|
// If you have an existing file that is usable,
|
||||||
var sink = tempDownloadedFile.openWrite();
|
// decide whether you can use it (either return full or resume partial)
|
||||||
await response.stream.map((s) {
|
var fullContentLength = response.contentLength;
|
||||||
received += s.length;
|
if (useExisting && downloadedFile.existsSync()) {
|
||||||
progress = (length != null ? received / length * 100 : 30);
|
var length = downloadedFile.lengthSync();
|
||||||
if (onProgress != null) {
|
if (fullContentLength == null) {
|
||||||
onProgress(progress);
|
// Assume full
|
||||||
|
client.close();
|
||||||
|
return downloadedFile;
|
||||||
|
} else {
|
||||||
|
// Check if resume needed/possible
|
||||||
|
if (length == fullContentLength) {
|
||||||
|
client.close();
|
||||||
|
return downloadedFile;
|
||||||
}
|
}
|
||||||
return s;
|
if (length > fullContentLength) {
|
||||||
}).pipe(sink);
|
useExisting = false;
|
||||||
await sink.close();
|
}
|
||||||
progress = null;
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Download to a '.temp' file (to distinguish btn. complete/incomplete files)
|
||||||
|
File tempDownloadedFile = File('${downloadedFile.path}.part');
|
||||||
|
|
||||||
|
// If the range feature is not available (or you need to start a ranged req from 0),
|
||||||
|
// complete the already-started request, else cancel it and start a ranged request,
|
||||||
|
// and open the file for writing in the appropriate mode
|
||||||
|
var targetFileLength = useExisting && tempDownloadedFile.existsSync()
|
||||||
|
? tempDownloadedFile.lengthSync()
|
||||||
|
: null;
|
||||||
|
int rangeStart = targetFileLength ?? 0;
|
||||||
|
IOSink? sink;
|
||||||
|
if (rangeFeatureEnabled && fullContentLength != null && rangeStart > 0) {
|
||||||
|
client.close();
|
||||||
|
client = http.Client();
|
||||||
|
req = Request('GET', Uri.parse(url));
|
||||||
|
req.headers.addAll(reqHeaders);
|
||||||
|
req.headers.addAll({'range': 'bytes=$rangeStart-${fullContentLength - 1}'});
|
||||||
|
response = await client.send(req);
|
||||||
|
sink = tempDownloadedFile.openWrite(mode: FileMode.writeOnlyAppend);
|
||||||
|
} else if (tempDownloadedFile.existsSync()) {
|
||||||
|
tempDownloadedFile.deleteSync(recursive: true);
|
||||||
|
}
|
||||||
|
sink ??= tempDownloadedFile.openWrite(mode: FileMode.writeOnly);
|
||||||
|
|
||||||
|
// Perform the download
|
||||||
|
var received = 0;
|
||||||
|
double? progress;
|
||||||
|
if (rangeStart > 0 && fullContentLength != null) {
|
||||||
|
received = rangeStart;
|
||||||
|
}
|
||||||
|
await response.stream.map((s) {
|
||||||
|
received += s.length;
|
||||||
|
progress =
|
||||||
|
(fullContentLength != null ? (received / fullContentLength) * 100 : 30);
|
||||||
if (onProgress != null) {
|
if (onProgress != null) {
|
||||||
onProgress(progress);
|
onProgress(progress);
|
||||||
}
|
}
|
||||||
if (response.statusCode != 200) {
|
return s;
|
||||||
tempDownloadedFile.deleteSync(recursive: true);
|
}).pipe(sink);
|
||||||
throw response.reasonPhrase ?? tr('unexpectedError');
|
await sink.close();
|
||||||
}
|
progress = null;
|
||||||
if (tempDownloadedFile.existsSync()) {
|
if (onProgress != null) {
|
||||||
tempDownloadedFile.renameSync(downloadedFile.path);
|
onProgress(progress);
|
||||||
}
|
|
||||||
} else {
|
|
||||||
client.close();
|
|
||||||
}
|
}
|
||||||
|
if (response.statusCode < 200 || response.statusCode > 299) {
|
||||||
|
tempDownloadedFile.deleteSync(recursive: true);
|
||||||
|
throw response.reasonPhrase ?? tr('unexpectedError');
|
||||||
|
}
|
||||||
|
print(tempDownloadedFile.lengthSync());
|
||||||
|
print(fullContentLength);
|
||||||
|
if (tempDownloadedFile.existsSync()) {
|
||||||
|
tempDownloadedFile.renameSync(downloadedFile.path);
|
||||||
|
}
|
||||||
|
client.close();
|
||||||
return downloadedFile;
|
return downloadedFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Future<Map<String, String>> getHeaders(String url,
|
||||||
|
{Map<String, String>? headers}) async {
|
||||||
|
var req = http.Request('GET', Uri.parse(url));
|
||||||
|
if (headers != null) {
|
||||||
|
req.headers.addAll(headers);
|
||||||
|
}
|
||||||
|
var client = http.Client();
|
||||||
|
var response = await client.send(req);
|
||||||
|
if (response.statusCode < 200 || response.statusCode > 299) {
|
||||||
|
throw ObtainiumError(response.reasonPhrase ?? tr('unexpectedError'));
|
||||||
|
}
|
||||||
|
var returnHeaders = response.headers;
|
||||||
|
client.close();
|
||||||
|
return returnHeaders;
|
||||||
|
}
|
||||||
|
|
||||||
Future<PackageInfo?> getInstalledInfo(String? packageName,
|
Future<PackageInfo?> getInstalledInfo(String? packageName,
|
||||||
{bool printErr = true}) async {
|
{bool printErr = true}) async {
|
||||||
if (packageName != null) {
|
if (packageName != null) {
|
||||||
@ -493,13 +563,13 @@ class AppsProvider with ChangeNotifier {
|
|||||||
zipFile: File(filePath), destinationDir: Directory(destinationPath));
|
zipFile: File(filePath), destinationDir: Directory(destinationPath));
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> installXApkDir(DownloadedXApkDir dir,
|
Future<bool> installXApkDir(DownloadedXApkDir dir,
|
||||||
{bool needsBGWorkaround = false}) async {
|
{bool needsBGWorkaround = false}) async {
|
||||||
// We don't know which APKs in an XAPK are supported by the user's device
|
// We don't know which APKs in an XAPK are supported by the user's device
|
||||||
// So we try installing all of them and assume success if at least one installed
|
// So we try installing all of them and assume success if at least one installed
|
||||||
// If 0 APKs installed, throw the first install error encountered
|
// If 0 APKs installed, throw the first install error encountered
|
||||||
|
var somethingInstalled = false;
|
||||||
try {
|
try {
|
||||||
var somethingInstalled = false;
|
|
||||||
MultiAppMultiError errors = MultiAppMultiError();
|
MultiAppMultiError errors = MultiAppMultiError();
|
||||||
for (var file in dir.extracted
|
for (var file in dir.extracted
|
||||||
.listSync(recursive: true, followLinks: false)
|
.listSync(recursive: true, followLinks: false)
|
||||||
@ -526,6 +596,7 @@ class AppsProvider with ChangeNotifier {
|
|||||||
} finally {
|
} finally {
|
||||||
dir.extracted.delete(recursive: true);
|
dir.extracted.delete(recursive: true);
|
||||||
}
|
}
|
||||||
|
return somethingInstalled;
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<bool> installApk(DownloadedApk file,
|
Future<bool> installApk(DownloadedApk file,
|
||||||
@ -758,17 +829,18 @@ class AppsProvider with ChangeNotifier {
|
|||||||
notifyListeners();
|
notifyListeners();
|
||||||
try {
|
try {
|
||||||
if (!skipInstalls) {
|
if (!skipInstalls) {
|
||||||
|
bool sayInstalled = true;
|
||||||
if (downloadedFile != null) {
|
if (downloadedFile != null) {
|
||||||
if (willBeSilent && context == null) {
|
if (willBeSilent && context == null) {
|
||||||
installApk(downloadedFile, needsBGWorkaround: true);
|
installApk(downloadedFile, needsBGWorkaround: true);
|
||||||
} else {
|
} else {
|
||||||
await installApk(downloadedFile);
|
sayInstalled = await installApk(downloadedFile);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (willBeSilent && context == null) {
|
if (willBeSilent && context == null) {
|
||||||
installXApkDir(downloadedDir!, needsBGWorkaround: true);
|
installXApkDir(downloadedDir!, needsBGWorkaround: true);
|
||||||
} else {
|
} else {
|
||||||
await installXApkDir(downloadedDir!);
|
sayInstalled = await installXApkDir(downloadedDir!);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (willBeSilent && context == null) {
|
if (willBeSilent && context == null) {
|
||||||
@ -776,7 +848,9 @@ class AppsProvider with ChangeNotifier {
|
|||||||
[apps[id]!.app],
|
[apps[id]!.app],
|
||||||
id: id.hashCode));
|
id: id.hashCode));
|
||||||
}
|
}
|
||||||
installedIds.add(id);
|
if (sayInstalled) {
|
||||||
|
installedIds.add(id);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
apps[id]?.downloadProgress = null;
|
apps[id]?.downloadProgress = null;
|
||||||
|
44
pubspec.lock
44
pubspec.lock
@ -38,10 +38,10 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: app_links
|
name: app_links
|
||||||
sha256: "4e392b5eba997df356ca6021f28431ce1cfeb16758699553a94b13add874a3bb"
|
sha256: fd7fc1569870b4b0d90d17a9f36661a6ff92400fecb6e4adab4abe0f0488bb5f
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.5.0"
|
version: "4.0.0"
|
||||||
archive:
|
archive:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -70,10 +70,10 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: background_fetch
|
name: background_fetch
|
||||||
sha256: "1a7868d9bd165eb177f039ff8244cfa7952340b18f7caabf322b26e712b438a3"
|
sha256: eb3af263d390d7e68ecb90f2ae984d2bfd96dceb4c7b4f72418dd5383b49de0a
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.2.3"
|
version: "1.2.4"
|
||||||
boolean_selector:
|
boolean_selector:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -254,10 +254,10 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: file_picker
|
name: file_picker
|
||||||
sha256: "4e42aacde3b993c5947467ab640882c56947d9d27342a5b6f2895b23956954a6"
|
sha256: caa6bc229eab3e32eb2f37b53a5f9d22a6981474afd210c512a7546c1e1a04f6
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "6.1.1"
|
version: "6.2.0"
|
||||||
fixnum:
|
fixnum:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -307,10 +307,10 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: flutter_local_notifications
|
name: flutter_local_notifications
|
||||||
sha256: c18f1de98fe0bb9dd5ba91e1330d4febc8b6a7de6aae3ffe475ef423723e72f3
|
sha256: f9a05409385b77b06c18f200a41c7c2711ebf7415669350bb0f8474c07bd40d1
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "16.3.2"
|
version: "17.0.0"
|
||||||
flutter_local_notifications_linux:
|
flutter_local_notifications_linux:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -336,10 +336,10 @@ packages:
|
|||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: flutter_markdown
|
name: flutter_markdown
|
||||||
sha256: a64c5323ac83ed2b7940d2b6288d160aa1753ff271ba9d9b2a86770414aa3eab
|
sha256: cb44f7831b23a6bdd0f501718b0d2e8045cbc625a15f668af37ddb80314821db
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.6.20+1"
|
version: "0.6.21"
|
||||||
flutter_plugin_android_lifecycle:
|
flutter_plugin_android_lifecycle:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -474,10 +474,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: markdown
|
name: markdown
|
||||||
sha256: "1b134d9f8ff2da15cb298efe6cd8b7d2a78958c1b00384ebcbdf13fe340a6c90"
|
sha256: ef2a1298144e3f985cc736b22e0ccdaf188b5b3970648f2d9dc13efd1d9df051
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "7.2.1"
|
version: "7.2.2"
|
||||||
matcher:
|
matcher:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -783,10 +783,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: sqflite_common
|
name: sqflite_common
|
||||||
sha256: "28d8c66baee4968519fb8bd6cdbedad982d6e53359091f0b74544a9f32ec72d5"
|
sha256: "3da423ce7baf868be70e2c0976c28a1bb2f73644268b7ffa7d2e08eab71f16a4"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.5.3"
|
version: "2.5.4"
|
||||||
stack_trace:
|
stack_trace:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -943,10 +943,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: web
|
name: web
|
||||||
sha256: "1d9158c616048c38f712a6646e317a3426da10e884447626167240d45209cbad"
|
sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.5.0"
|
version: "0.5.1"
|
||||||
webview_flutter:
|
webview_flutter:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
@ -959,10 +959,10 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: webview_flutter_android
|
name: webview_flutter_android
|
||||||
sha256: "3e5f4e9d818086b0d01a66fb1ff9cc72ab0cc58c71980e3d3661c5685ea0efb0"
|
sha256: f038ee2fae73b509dde1bc9d2c5a50ca92054282de17631a9a3d515883740934
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.15.0"
|
version: "3.16.0"
|
||||||
webview_flutter_platform_interface:
|
webview_flutter_platform_interface:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
@ -975,18 +975,18 @@ packages:
|
|||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: webview_flutter_wkwebview
|
name: webview_flutter_wkwebview
|
||||||
sha256: "9bf168bccdf179ce90450b5f37e36fe263f591c9338828d6bf09b6f8d0f57f86"
|
sha256: f12f8d8a99784b863e8b85e4a9a5e3cf1839d6803d2c0c3e0533a8f3c5a992a7
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.12.0"
|
version: "3.13.0"
|
||||||
win32:
|
win32:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: win32
|
name: win32
|
||||||
sha256: "464f5674532865248444b4c3daca12bd9bf2d7c47f759ce2617986e7229494a8"
|
sha256: "8cb58b45c47dcb42ab3651533626161d6b67a2921917d8d429791f76972b3480"
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "5.2.0"
|
version: "5.3.0"
|
||||||
win32_registry:
|
win32_registry:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
# In Windows, build-name is used as the major, minor, and patch parts
|
# In Windows, build-name is used as the major, minor, and patch parts
|
||||||
# of the product and file versions while build-number is used as the build suffix.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 1.0.4+2254 # When changing this, update the tag in main() accordingly
|
version: 1.0.6+2256 # When changing this, update the tag in main() accordingly
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=3.0.0 <4.0.0'
|
sdk: '>=3.0.0 <4.0.0'
|
||||||
@ -38,7 +38,7 @@ dependencies:
|
|||||||
cupertino_icons: ^1.0.5
|
cupertino_icons: ^1.0.5
|
||||||
path_provider: ^2.0.11
|
path_provider: ^2.0.11
|
||||||
flutter_fgbg: ^0.3.0 # Try removing reliance on this
|
flutter_fgbg: ^0.3.0 # Try removing reliance on this
|
||||||
flutter_local_notifications: ^16.1.0
|
flutter_local_notifications: ^17.0.0
|
||||||
provider: ^6.0.3
|
provider: ^6.0.3
|
||||||
http: ^1.0.0
|
http: ^1.0.0
|
||||||
webview_flutter: ^4.0.0
|
webview_flutter: ^4.0.0
|
||||||
@ -66,7 +66,7 @@ dependencies:
|
|||||||
connectivity_plus: ^5.0.0
|
connectivity_plus: ^5.0.0
|
||||||
shared_storage: ^0.8.0
|
shared_storage: ^0.8.0
|
||||||
crypto: ^3.0.3
|
crypto: ^3.0.3
|
||||||
app_links: ^3.5.0
|
app_links: ^4.0.0
|
||||||
background_fetch: ^1.2.1
|
background_fetch: ^1.2.1
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
|
Reference in New Issue
Block a user