Compare commits

..

20 Commits

Author SHA1 Message Date
Imran
5be2c9b51d Merge pull request #1826 from ImranR98/dev
- Improved APKPure compatibility by prioritizing APK when available (over XAPK)
- Auto-select direct APK source for URLs ending in '.apk' (#1820)
- Handle install failures more gracefully on apps page (#1782)
- Enabled ZH-TW and EO languages
- Added "allow insecure request" option (#1825)
2024-09-08 04:00:49 -04:00
Imran Remtulla
d801994fed Added "allow insecure request" option (#1825) 2024-09-08 03:58:51 -04:00
Imran Remtulla
19bb9a0331 Update packages + Flutter, increment version 2024-09-08 03:27:20 -04:00
Imran Remtulla
b8dc6f9a53 Dart fix 2024-09-08 03:25:52 -04:00
Imran Remtulla
3a7ba00486 Merge remote-tracking branch 'origin/main' into dev 2024-09-08 03:24:26 -04:00
Imran Remtulla
86416df7dd Enabled ZH-TW and EO languages 2024-09-08 03:23:29 -04:00
Imran
704f209e4d Merge pull request #1824 from DwainZwerg/patch-1
Update de.json
2024-09-08 03:14:40 -04:00
Imran Remtulla
e1bed6f0cf Handle install failures more gracefully on apps page (#1782) 2024-09-08 03:11:49 -04:00
Imran Remtulla
61c88596f0 Bugfix 2024-09-08 02:54:43 -04:00
Imran Remtulla
a07c51a04a Merge remote-tracking branch 'origin/main' into dev 2024-09-08 02:51:22 -04:00
Imran Remtulla
0e46a83843 Auto-select direct APK source for URLs ending in '.apk' (#1820) 2024-09-08 02:51:11 -04:00
DwainZwerg
1a4b9658c3 Update de.json
see https://github.com/ImranR98/Obtainium/pull/1783#issuecomment-2310350237
2024-09-08 08:48:54 +02:00
Imran
9b922abe48 Merge pull request #1815 from pgmtx/add-esperanto
Add Esperanto translation
2024-09-08 02:40:57 -04:00
Imran
6f0f883d88 Merge pull request #1807 from Kevinr99089/main
Fr: Rollback import export change
2024-09-08 02:40:48 -04:00
Imran
aafcc4d96e Merge pull request #1803 from gidano/Updated_hu
Updated hu.json
2024-09-08 02:40:39 -04:00
Imran Remtulla
e019c8027b Improved APKPure compatibility by prioritizing APK when available (over XAPK) 2024-09-05 13:10:02 -04:00
pgmtx
b6acb43055 Finished proofreading 2024-08-28 23:06:33 +02:00
pgmtx
d9f6e3328e Created eo.json file and added first translations 2024-08-27 19:43:07 +02:00
Kévin
0e50132e13 Rollback import export change
- The changes made to "Import and Export", translated as "Sauvegarder et Restaurer" have been cancelled because some of the text goes beyond the box.
- Back to "Importer et Exporter" by correcting past errors.
2024-08-22 16:26:10 +02:00
gidano
c74e8456d2 Updated hu.json 2024-08-20 08:35:30 +02:00
51 changed files with 555 additions and 95 deletions

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "Dijeli sa AppVerifier-om, zatim se vratite kada ste spremni.",
"wiki": "Pomoć/Wiki",
"crowdsourcedConfigsLabel": "Konfiguracije aplikacije obezbeđene pomoću velikog broja ljudi (crowdsourcing) (koristite na svoju odgovornost)",
"allowInsecure": "Allow insecure HTTP requests",
"removeAppQuestion": {
"one": "Želite li ukloniti aplikaciju?",
"other": "Želite li ukloniti aplikacije?"

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "Sdílejte do aplikace AppVerifier a po dokončení se sem vraťte.",
"wiki": "Nápověda/Wiki",
"crowdsourcedConfigsLabel": "Konfigurace aplikací s využitím crowdsourcingu (použití na vlastní nebezpečí)",
"allowInsecure": "Povolení nezabezpečených požadavků HTTP",
"removeAppQuestion": {
"one": "Odstranit Apku?",
"other": "Odstranit Apky?"

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "Del til AppVerifier, og vend tilbage hertil, når du er klar.",
"wiki": "Hjælp/Wiki",
"crowdsourcedConfigsLabel": "Crowdsourcede app-konfigurationer (brug på egen risiko)",
"allowInsecure": "Tillad usikre HTTP-anmodninger",
"removeAppQuestion": {
"one": "Fjern app?",
"other": "Fjern apps?"

View File

@@ -250,7 +250,7 @@
"enableBackgroundUpdates": "Hintergrundaktualisierungen aktivieren",
"backgroundUpdateReqsExplanation": "Die Hintergrundaktualisierung ist möglicherweise nicht für alle Apps möglich.",
"backgroundUpdateLimitsExplanation": "Der Erfolg einer Hintergrundinstallation kann nur festgestellt werden, wenn Obtainium geöffnet wird.",
"verifyLatestTag": "Überprüfe das „latest“ Tag",
"verifyLatestTag": "„Latest“-Tag überprüfen",
"intermediateLinkRegex": "Filter für einen „Zwischen“-Link, der zuerst besucht werden soll",
"filterByLinkText": "Links durch Linktext filtern",
"intermediateLinkNotFound": "„Zwischen“-Link nicht gefunden",
@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "Geben Sie die Daten an AppVerifier weiter und kehren Sie dann hierher zurück, wenn Sie fertig sind.",
"wiki": "Hilfe/Wiki",
"crowdsourcedConfigsLabel": "Crowdsourced App-Konfigurationen (Verwendung auf eigene Gefahr)",
"allowInsecure": "Unsichere HTTP-Anfragen zulassen",
"removeAppQuestion": {
"one": "App entfernen?",
"other": "Apps entfernen?"

View File

@@ -0,0 +1,378 @@
{
"invalidURLForSource": "Nevalida apo-URL {}",
"noReleaseFound": "Ne eblas trovi taŭgan eldonon",
"noVersionFound": "Ne eblas determini la eldonversion",
"urlMatchesNoSource": "La URL ne konformas al konata fonto",
"cantInstallOlderVersion": "Ne eblas instali malnovan version de la Apo",
"appIdMismatch": "La identigilo de la elŝutita pakaĵo ne konformas al la identigilo de la ekzistanta apo",
"functionNotImplemented": "Tiu klaso ne fasonadas tiun funkcion",
"placeholder": "Rezervilo",
"someErrors": "Eraroj okazis",
"unexpectedError": "Neatendita eraro",
"ok": "Okej",
"and": "kaj",
"githubPATLabel": "Github persona atingoĵetono (pliigas la kvantolimon)",
"includePrereleases": "Inkluzivi la pra-eldonojn",
"fallbackToOlderReleases": "Reveno al malnovaj versioj",
"filterReleaseTitlesByRegEx": "Filtri la eldontitoljn per regula esprimo",
"invalidRegEx": "Nevalida regula esprimo",
"noDescription": "Neniu priskribo",
"cancel": "Nuligi",
"continue": "Daŭrigi",
"requiredInBrackets": "(Neprigata)",
"dropdownNoOptsError": "ERARO: LA MALVOLVANTA LISTO DEVAS HAVI ALMENAŬ UNU OPCION",
"colour": "Koloro",
"standard": "Norma",
"custom": "Agordita",
"useMaterialYou": "Uzi Material You",
"githubStarredRepos": "Stelaj GitHub-deponejoj",
"uname": "Uzantnomo",
"wrongArgNum": "Malĝusta nombro da provizitaj argumentoj",
"xIsTrackOnly": "{} estas nur sekvitaj",
"source": "Fonto",
"app": "Apo",
"appsFromSourceAreTrackOnly": "Apoj el tiu fonto estas 'Nur sekvitaj'.",
"youPickedTrackOnly": "Vi selektis la opcion 'Nur sekvitaj'.",
"trackOnlyAppDescription": "La apo estas sekvota por ĝisdatigoj, sed Obtainium ne povos elŝuti aŭ instali ĝin.",
"cancelled": "Nuligita",
"appAlreadyAdded": "Jam aldonita apo",
"alreadyUpToDateQuestion": "Ĉu la apo estas ĝisdata?",
"addApp": "Aldoni apon",
"appSourceURL": "URL de la apofonto",
"error": "Eraro",
"add": "Aldoni",
"searchSomeSourcesLabel": "Serĉi (nur kelkaj fontoj)",
"search": "Serĉi",
"additionalOptsFor": "Kromaj opcioj por {}",
"supportedSources": "Taskiĝata fontoj",
"trackOnlyInBrackets": "(Nur sekvita)",
"searchableInBrackets": "(Serĉebla)",
"appsString": "Apoj",
"noApps": "Neniu apo",
"noAppsForFilter": "Neniu apo por filtri",
"byX": "Laŭ {}",
"percentProgress": "Progreso: {}%",
"pleaseWait": "Bonvolu atendi",
"updateAvailable": "Havebla ĝisdatigo",
"notInstalled": "Neinstalita",
"pseudoVersion": "Pseŭdoversio",
"selectAll": "Selekti ĉion",
"deselectX": "Malselekti {}",
"xWillBeRemovedButRemainInstalled": "{} estas farigota de Obtainium sed restos instalata en la disponaĵo.",
"removeSelectedAppsQuestion": "Farigi la selektitajn apojn?",
"removeSelectedApps": "Farigi la selektitajn apojn",
"updateX": "Ĝisdatigi {}",
"installX": "Instali {}",
"markXTrackOnlyAsUpdated": "Marki {}\n(Nur sekvita)\nkiel ĝisdata",
"changeX": "Ŝanĝi {}",
"installUpdateApps": "Instali/ĝisdatigi apojn",
"installUpdateSelectedApps": "Instali/ĝisdatigi la selektitajn apojn",
"markXSelectedAppsAsUpdated": "Marki la {} selektitajn apojn kiel ĝisdataj?",
"no": "Ne",
"yes": "Jes",
"markSelectedAppsUpdated": "Marki la selektitajn apojn kiel ĝisdataj",
"pinToTop": "Alpingli supre",
"unpinFromTop": "Malalpingli el supro",
"resetInstallStatusForSelectedAppsQuestion": "Rekomenci la instaladostaton de la selektitaj apoj?",
"installStatusOfXWillBeResetExplanation": "Instaladostato de ĉiuj selektitaj apoj estas rekomencota.\n\nTio povas utili kiam la versio de la montrata application en Obtainium estas malĝusta kaŭze de malsukcesaj ĝidatigoj aŭ aliaj problemoj.",
"customLinkMessage": "Tiuj ligiloj funkcias en disponaĵoj kun Obtainium instalita",
"shareAppConfigLinks": "Diskonigi la apo-agordojn kiel HTML ligilo",
"shareSelectedAppURLs": "Diskonigi la selektitajn apo-URLjn",
"resetInstallStatus": "Rekomenci la instaladostaton de la apoj",
"more": "Pli",
"removeOutdatedFilter": "Forigi la filtron de malmodernaj apoj",
"showOutdatedOnly": "Nur montri malmodernajn apojn",
"filter": "Filtro",
"filterApps": "Filtri la apojn",
"appName": "Aponomo",
"author": "Aŭtoro",
"upToDateApps": "Ĝisdataj apoj",
"nonInstalledApps": "Neinstalita apoj",
"importExport": "Importi/Eksporti",
"settings": "Agordoj",
"exportedTo": "Eksportita en {}",
"obtainiumExport": "Eksporti Obtainium-n",
"invalidInput": "Nevalida enigo",
"importedX": "Importita {}",
"obtainiumImport": "Importi Obtainium-n",
"importFromURLList": "Eksporti el URL-listo",
"searchQuery": "Informmendo de serĉo",
"appURLList": "Listo de URLj de la apo",
"line": "Horizontalo",
"searchX": "Serĉi {}",
"noResults": "Neniu rezulto",
"importX": "Importi {}",
"importedAppsIdDisclaimer": "La importitaj apoj povas montriĝi malĝuste kiel \"Neinstalitaj\".\nPor solvi tion, reinstalu ilin per Obtainium.\nTiu ne afekcios la apodatumoj.\n\nAkefcias nur la URL-ajn lak triajn importmetodojn.",
"importErrors": "Eraroj de importado",
"importedXOfYApps": "{} apoj el {} importitaj.",
"followingURLsHadErrors": "La sekvantaj URLj havis erarojn:",
"selectURL": "Selekti URLn",
"selectURLs": "Selekti URLjn",
"pick": "Elekti",
"theme": "Temo",
"dark": "Malhela",
"light": "Hela",
"followSystem": "Konformi al sistemo",
"followSystemThemeExplanation": "Konformi al sistemtemo nur eblas kun triaj aplikaĵoj.",
"useBlackTheme": "Uzi puran nigran temon",
"appSortBy": "Klasi apojn laŭ",
"authorName": "Aŭtoro/Nomo",
"nameAuthor": "Nomo/Aŭtoro",
"asAdded": "Aldondato",
"appSortOrder": "Ordo de la apoklasifiko",
"ascending": "Kreskanta",
"descending": "Malkreskanta",
"bgUpdateCheckInterval": "Serĉo-intertempo de fonaj ĝisdatigoj",
"neverManualOnly": "Neniam - Nur Malaŭtomata",
"appearance": "Aspekto",
"showWebInAppView": "Montri la fonta retpaĝo en la langeto 'Apoj'",
"pinUpdates": "Alpingli ĝisatigojn en la supro de la langeto 'Apoj'",
"updates": "Ĝisdatigoj",
"sourceSpecific": "Fontspecifa",
"appSource": "Apofonto",
"noLogs": "Neniu protokolo",
"appLogs": "Apoprotokoloj",
"close": "Fermi",
"share": "Diskonigi",
"appNotFound": "Netrovebla apo",
"obtainiumExportHyphenatedLowercase": "eksporto-obtainium",
"pickAnAPK": "Selektu APKn",
"appHasMoreThanOnePackage": "{} havas pli ol unu pakaĵon:",
"deviceSupportsXArch": "Via disponaĵo taskiĝas la CPU-arkitekturon {}.",
"deviceSupportsFollowingArchs": "Via disponaĵo taskiĝas la sekvantajn CPU-arkitekturojn:",
"warning": "Avertu",
"sourceIsXButPackageFromYPrompt": "La apofonto estas '{}' sed la pakaĵo de ĝisdatigo devenas de '{}'. Daŭrigi?",
"updatesAvailable": "Haveblaj ĝisdatigoj",
"updatesAvailableNotifDescription": "Sciigas al la uzanto, ke ĝisdatigoj haveblas por unu aŭ pluraj apoj sekvitaj fare de Obtainium.",
"noNewUpdates": "Neniu nova ĝisdatigo.",
"xHasAnUpdate": "{} havas ĝisdatigon.",
"appsUpdated": "Ĝisdataj apoj",
"appsNotUpdated": "Malsukcesis ĝisdatigi aplikaĵojn",
"appsUpdatedNotifDescription": "Sciigas al la uzanto, ke ĝisdatigoj de unu aŭ pluraj apoj estas instalitaj fone.",
"xWasUpdatedToY": "{} estas ĝidatigita en {}.",
"xWasNotUpdatedToY": "Malsukcesas ĝisdatigi de {} en {}.",
"errorCheckingUpdates": "Eraro serĉante ĝisdatigojn",
"errorCheckingUpdatesNotifDescription": "Sciigas al la uzanto, kiam la serĉo de fonaj ĝisdatigoj malsukcesas.",
"appsRemoved": "Forigitaj Apoj",
"appsRemovedNotifDescription": "Sciigas al la uzanto, ke unu aŭ pluraj apoj estas forigitaj kaŭze de eraroj dum ilia ŝarĝado.",
"xWasRemovedDueToErrorY": "{} estas forigita kaŭze de tiu eraro: {}",
"completeAppInstallation": "Kompleta instalado de la apo",
"obtainiumMustBeOpenToInstallApps": "Obtainium devas esti malfermita por instali apojn",
"completeAppInstallationNotifDescription": "Petas la uzanton reiri en Obtainium por fini la instaladon de apo",
"checkingForUpdates": "Serĉante ĝisdatigojn",
"checkingForUpdatesNotifDescription": "Dumtempa sciigo kiu aperas dum la serĉo de ĝisdatigoj",
"pleaseAllowInstallPerm": "Bonvolu permesi al Obtainium instali apojn",
"trackOnly": "Nur sekvita",
"errorWithHttpStatusCode": "Eraro {}",
"versionCorrectionDisabled": "Versiokorekto malaktivigita (ŝajnas, ke la kromaĵo ne funkcias)",
"unknown": "Nekonata",
"none": "Nenio",
"never": "Neniam",
"latestVersionX": "Lasta versio: {}",
"installedVersionX": "Instalita versio: {}",
"lastUpdateCheckX": "Lasta serĉo de ĝisdatigoj: {}",
"remove": "Forigi",
"yesMarkUpdated": "Jes, marki kiel ĝisdata",
"fdroid": "Oficiala F-Droid",
"appIdOrName": "Identigilo aŭ nomo de la apo",
"appId": "Identigilo de la apo",
"appWithIdOrNameNotFound": "Neniu apo estas trovita kun tiu identigilo aŭ nomo",
"reposHaveMultipleApps": "Deponejoj povas enhavi plurajn apojn",
"fdroidThirdPartyRepo": "Tria deponejo de F-Droid",
"steamMobile": "Telefona Steam",
"steamChat": "Steam Babilejo",
"install": "Instali",
"markInstalled": "Marki kiel instalita",
"update": "Ĝisdatigi",
"markUpdated": "Marki kiel ĝisdata",
"additionalOptions": "Kromaj opcioj",
"disableVersionDetection": "Malaktivigi la versiodetekto",
"noVersionDetectionExplanation": "Tiu opcio devas esti uzata nur por apoj, kie la versiodetekto ne funkcias ĝuste.",
"downloadingX": "Elŝutante {}",
"downloadX": "Elŝuti {}",
"downloadedX": "Elŝutita {}",
"releaseAsset": "Aktiva versio",
"downloadNotifDescription": "Sciigas al la uzanto pri la progreso de apo-elŝuton",
"noAPKFound": "Neniu trovita APK",
"noVersionDetection": "Neniu versiodetekto",
"categorize": "Kategorii",
"categories": "Kategorioj",
"category": "Kategorio",
"noCategory": "Neniu kategorio",
"noCategories": "Neniuj kategorioj",
"deleteCategoriesQuestion": "Forigi la kategoriojn?",
"categoryDeleteWarning": "Ĉiuj apoj el forigitaj kategorioj iĝos nekategoriitaj.",
"addCategory": "Aldoni kategorion",
"label": "Etikedo",
"language": "Lingvo",
"copiedToClipboard": "Kopiita en la tondujo",
"storagePermissionDenied": "Permeso de stoko malkonsentita",
"selectedCategorizeWarning": "Tio substituos ĉiujn difinitajn kategoriojn de la selektitaj apoj.",
"filterAPKsByRegEx": "Filtri APKj per regula esprimo",
"removeFromObtainium": "Forigi el Obtainium",
"uninstallFromDevice": "Malinstali el la disponaĵo",
"onlyWorksWithNonVersionDetectApps": "Funkcias nur por apoj kun malaktiva versiodetekto.",
"releaseDateAsVersion": "Uzi eldondato kiel versioĉeno",
"releaseDateAsVersionExplanation": "Tiu opcio devas esti uzata nur por apoj, por kiu la versiodetekto ne funkcias ĝuste, sed eldondato estas havebla.",
"changes": "Modifoj",
"releaseDate": "Eldondato",
"importFromURLsInFile": "Importi el URLj en dosiero (kiel OPML)",
"versionDetectionExplanation": "Akordigi la versioĉeno laŭ la versio detektita fare de la operaciumo",
"versionDetection": "Versiodetekto",
"standardVersionDetection": "Norma versiodetekto",
"groupByCategory": "Grupigi per kategorio",
"autoApkFilterByArch": "Provi filtri APKj per CPU-arkitekturo se ebla",
"overrideSource": "Substitui la fonton",
"dontShowAgain": "Ne plu montri",
"dontShowTrackOnlyWarnings": "Ne plu montri 'Nur sekvita' avertojn",
"dontShowAPKOriginWarnings": "Ne plu montri avertojn pri APK-origino",
"moveNonInstalledAppsToBottom": "Movi neinstalatajn apojn al malsupro de la langeto Apoj",
"gitlabPATLabel": "GitLab persona atingoĵetono",
"about": "Pri",
"requiresCredentialsInSettings": "{} bezonas kromajn informojn (en Agordoj)",
"checkOnStart": "Serĉi ĝisdatigojn starte",
"tryInferAppIdFromCode": "Provi dedukti la identigilon de la apo el la fontkodo",
"removeOnExternalUninstall": "Aŭtomate forigi ekstere malinstalitajn apojn",
"pickHighestVersionCode": "Aŭtomate selekti la plej ĵusan version el APK-kodo",
"checkUpdateOnDetailPage": "Serĉi ĝisdatigojn dum la malfermo de la detala apopaĝo",
"disablePageTransitions": "Malaktivigi la animaciojn de paĝotransiro",
"reversePageTransitions": "Inversigi la animaciojn de paĝotransiro",
"minStarCount": "Minimuma nombro da steloj",
"addInfoBelow": "Aldonu ĉi tiu informo ĉi-suba.",
"addInfoInSettings": "Aldonu tiu informo en la agordoj.",
"githubSourceNote": "La kvantolimo de GitHub povas esti evitata danke al API-ŝlosilo.",
"sortByLastLinkSegment": "Klasi laŭ la lasta segmento de la ligilo",
"filterReleaseNotesByRegEx": "Filtri versionotojn per regula esprimo",
"customLinkFilterRegex": "Filtro de APK-ligilo agordita per regula esprimo (defaŭlte '.apk$')",
"appsPossiblyUpdated": "Provitaj apoĝisdatigoj",
"appsPossiblyUpdatedNotifDescription": "Sciigas al la uzanto, ke ĝisdatigoj de unu aŭ pluraj apoj eble estas aplikitaj fone",
"xWasPossiblyUpdatedToY": "{} povas esti ĝisdata kiel {}.",
"enableBackgroundUpdates": "Aktivigi fonajn ĝisdatigojn",
"backgroundUpdateReqsExplanation": "Fonaj ĝisdatigoj ne eblas por ĉiuj apoj.",
"backgroundUpdateLimitsExplanation": "La sukceso de fona instalado povas esti nur determinata dum la malfermo de Obtainium.",
"verifyLatestTag": "Inspekti la etikedon 'latest'",
"intermediateLinkRegex": "Filtri por 'pera' vizitota ligilo",
"filterByLinkText": "Filtri ligilojn laŭ ligiloteksto",
"intermediateLinkNotFound": "Netrovebla pera ligilo",
"intermediateLink": "Pera ligilo",
"exemptFromBackgroundUpdates": "Escepti el la fonaj ĝisdatigoj (se aktiva)",
"bgUpdatesOnWiFiOnly": "Malaktivigi fonajn ĝisdatigojn se sen vifio",
"autoSelectHighestVersionCode": "Aŭtomate selekti la plej ĵusan version de la APK-kodo",
"versionExtractionRegEx": "Ekstrakti la versioĉenon per regula esprimo",
"trimVersionString": "Mallongigi la versioĉenon per regula esprimo",
"matchGroupToUseForX": "Konformecogrupo uzota por \"{}\"",
"matchGroupToUse": "Grupo de konformeco uzota por la eltiraĵo de la versio per regula esprimo",
"highlightTouchTargets": "Emfazi malpi evidentajn klavojn",
"pickExportDir": "Selekti la dosierujon de eksporto",
"autoExportOnChanges": "Aŭtomate eksporti dum modifoj",
"includeSettings": "Inkluzivi la agordojn",
"filterVersionsByRegEx": "Filtri versiojn per regula esprimo",
"trySelectingSuggestedVersionCode": "Provi selekti la sugestitan version fare de la APK-kodo",
"dontSortReleasesList": "Konservi la ordo de la API-versio",
"reverseSort": "Inversigi klasifikon",
"takeFirstLink": "Uzi la unuan ligilon",
"skipSort": "Salti la klasifikon",
"debugMenu": "Menu de eraroserĉado",
"bgTaskStarted": "Fona tasko startita - inspektu la protokolojn.",
"runBgCheckNow": "Ruli la serĉo de fonaj ĝisdatigoj nun",
"versionExtractWholePage": "Apliki eltiraĵon de la versioĉeno per regula esprimo al la tuta paĝo",
"installing": "Instalante",
"skipUpdateNotifications": "Salti la sciigojn de ĝisdatigo",
"updatesAvailableNotifChannel": "Haveblaj ĝisdatigoj",
"appsUpdatedNotifChannel": "Ĝisdataj aplikaĵoj",
"appsPossiblyUpdatedNotifChannel": "Provitaj apoĝisdatigoj",
"errorCheckingUpdatesNotifChannel": "Eraro serĉante ĝisdatigojn",
"appsRemovedNotifChannel": "Forigitaj aplikaĵoj",
"downloadingXNotifChannel": "Elŝutante {}",
"completeAppInstallationNotifChannel": "Kompleta apo instalado",
"checkingForUpdatesNotifChannel": "Serĉante ĝisdatigojn",
"onlyCheckInstalledOrTrackOnlyApps": "Nur serĉi la ĝisdatigojn de instalitaj kaj 'nur sekvitaj' apoj",
"supportFixedAPKURL": "Taskiĝo de la fiksaj APK URLj",
"selectX": "Selekti {}",
"parallelDownloads": "Permesi dumajn elŝutojn",
"useShizuku": "Uzi Shizuku aŭ Sui por instali",
"shizukuBinderNotFound": "La servo Shizuku estas netrovebla",
"shizukuOld": "Malnova versio de Shizuku (<11) - bonvolu ĝisdatigi ĝin",
"shizukuOldAndroidWithADB": "Shizuku funkcias en Android < 8.1 kun ADB - bonvolu ĝisdatigi Android aŭ uzu Sui anstataŭe",
"shizukuPretendToBeGooglePlay": "Determini Google Play kiel instalfonto (se Shizuku estas uzata)",
"useSystemFont": "Uzi la sistema tiparo",
"useVersionCodeAsOSVersion": "Uzi versiokodo de la apo kiel versio detektita fare de la operaciumo",
"requestHeader": "Titolo de la informmendo",
"useLatestAssetDateAsReleaseDate": "Uzi la lastan publikigitan elementon kiel eldondato",
"defaultPseudoVersioningMethod": "Defaŭlta metodo de fikcia versio",
"partialAPKHash": "Parta APKa haketo",
"APKLinkHash": "Haketo de la APKa ligilo",
"directAPKLink": "Rekta APKa ligilo",
"pseudoVersionInUse": "Pseŭdoversio estas uzata",
"installed": "Instalita",
"latest": "Lasta versio",
"invertRegEx": "Inversigi la regula esprimo",
"note": "Noto",
"selfHostedNote": "La malvolvanta listo \"{}\" povas esti uzata por aliri al memgastigataj/agordata instancoj el ajna fonto.",
"badDownload": "La APK ne povis esti analizita (neakordigebla aŭ nekompleta elŝuto)",
"beforeNewInstallsShareToAppVerifier": "Diskonigi novajn aplikaĵojn kun AppVerifier (se havebla)",
"appVerifierInstructionToast": "Diskonigu kun AppVerifier, poste revenu ĉi tie kiam preta.",
"wiki": "Helpo/Vikio",
"crowdsourcedConfigsLabel": "Komunumaj apo-agordoj (uzu kun singardo)",
"allowInsecure": "Allow insecure HTTP requests",
"removeAppQuestion": {
"one": "Forigi la aplikaĵon?",
"other": "Forigi la aplikaĵojn?"
},
"tooManyRequestsTryAgainInMinutes": {
"one": "Tro da informmendoj (limigita kvanto) - reprovu en {} minuto",
"other": "Tro da informmendoj (limigita kvanto) - reprovu en {} minutoj"
},
"bgUpdateGotErrorRetryInMinutes": {
"one": "La serĉo de fonaj ĝisdatigoj renkontis al {}, nova programota provo en {} minuto",
"other": "La serĉo de fonaj ĝisdatigoj renkontis al {}, nova programota provo en {} minutoj"
},
"bgCheckFoundUpdatesWillNotifyIfNeeded": {
"one": "La serĉo de fonaj ĝisdatigoj trovis {} ĝisdatigon - la uzanto estas sciigota se necesa",
"other": "La serĉo de fonaj ĝisdatigoj trovis {} ĝisdatigojn - la uzanto estas sciigota se necesa"
},
"apps": {
"one": "{} Apo",
"other": "{} Apoj"
},
"url": {
"one": "{} URL",
"other": "{} URLj"
},
"minute": {
"one": "{} Minuto",
"other": "{} Minutoj"
},
"hour": {
"one": "{} Horo",
"other": "{} Horoj"
},
"day": {
"one": "{} Tago",
"other": "{} Tagoj"
},
"clearedNLogsBeforeXAfterY": {
"one": "Purigis {n} protokolon (antaŭe = {before}, malantaŭe = {after})",
"other": "Purigis {n} protokolojn (antaŭe = {before}, malantaŭe = {after})"
},
"xAndNMoreUpdatesAvailable": {
"one": "{} kaj 1 alia apo havas ĝisdatigojn.",
"other": "{} kaj {} aliaj apoj havas ĝisdatigojn."
},
"xAndNMoreUpdatesInstalled": {
"one": "{} kaj 1 alia apo ĝisdatiĝis.",
"other": "{} kaj {} aliaj apoj ĝisdatiĝis."
},
"xAndNMoreUpdatesFailed": {
"one": "Ne eblas ĝisdatigi {} kaj 1 alian apon.",
"other": "Ne eblas ĝisdatigi {} et {} aliajn apojn."
},
"xAndNMoreUpdatesPossiblyInstalled": {
"one": "{} kaj 1 alia apo eble ĝisdatiĝis.",
"other": "{} kaj {} aliaj apoj eble ĝisdatiĝis."
},
"apk": {
"one": "{} APK",
"other": "{} APKj"
}
}

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "Share to AppVerifier, then return here when ready.",
"wiki": "Help/Wiki",
"crowdsourcedConfigsLabel": "Crowdsourced App Configurations (use at your own risk)",
"allowInsecure": "Allow insecure HTTP requests",
"removeAppQuestion": {
"one": "Remove App?",
"other": "Remove Apps?"

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "Comparta con AppVerifier y vuelva aquí cuando esté listo.",
"wiki": "Ayuda/Wiki",
"crowdsourcedConfigsLabel": "Crowdsourced App Configurations (uso bajo su propia responsabilidad)",
"allowInsecure": "Permitir peticiones HTTP inseguras",
"removeAppQuestion": {
"one": "¿Eliminar aplicación?",
"other": "¿Eliminar aplicaciones?"

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "در AppVerifier به اشتراک بگذارید، سپس پس از آماده شدن به اینجا برگردید.",
"wiki": "راهنما/ویکی",
"crowdsourcedConfigsLabel": "تنظیمات برنامه Crowdsourced (با مسئولیت خود استفاده کنید)",
"allowInsecure": "Allow insecure HTTP requests",
"removeAppQuestion": {
"one": "برنامه حذف شود؟",
"other": "برنامه ها حذف شوند؟"

View File

@@ -88,23 +88,23 @@
"author": "Auteur",
"upToDateApps": "Applications à jour",
"nonInstalledApps": "Applications non installées",
"importExport": "Sauvegarder/Restaurer",
"importExport": "Importer/Exporter",
"settings": "Paramètres",
"exportedTo": "Sauvegardé vers {}",
"obtainiumExport": "Sauvegarder Obtainium",
"exportedTo": "Exporté vers {}",
"obtainiumExport": "Exporter Obtainium",
"invalidInput": "Entrée invalide",
"importedX": "Restauré {}",
"obtainiumImport": "Restaurer Obtainium",
"importFromURLList": "Restaurer depuis une liste d'URL",
"importedX": "Importé {}",
"obtainiumImport": "Importer sur Obtainium",
"importFromURLList": "Importer depuis une liste d'URL",
"searchQuery": "Requête de recherche",
"appURLList": "Liste d'URL de l'application",
"line": "Ligne",
"searchX": "Rechercher {}",
"noResults": "Aucun résultat",
"importX": "Restauré {}",
"importX": "Importation de {}",
"importedAppsIdDisclaimer": "Les applications importées peuvent s'afficher de manière incorrecte comme étant \"Non installées\".\nPour résoudre ce problème, réinstallez-les via Obtainium.\nCela n'affectera pas les données des applications.\n\nN'affecte que les méthodes d'importation d'URL et par des tiers.",
"importErrors": "Erreurs lors de la restauration",
"importedXOfYApps": "{} applications sur {} ont été restaurées.",
"importErrors": "Erreurs lors de l'importation",
"importedXOfYApps": "{} applications sur {} ont été importés.",
"followingURLsHadErrors": "Les URL suivants comportent des erreurs :",
"selectURL": "Sélectionner l'URL",
"selectURLs": "Sélectionner les URL",
@@ -263,8 +263,8 @@
"matchGroupToUseForX": "Groupe de correspondance à utiliser pour \"{}\"",
"matchGroupToUse": "Groupe de correspondance à utiliser pour l'extraction de la version par Expression régulière",
"highlightTouchTargets": "Mettre en évidence les touches moins évidentes",
"pickExportDir": "Selectionner le dossier pour l'exportation",
"autoExportOnChanges": "Exportation automatique lors de modification",
"pickExportDir": "Selectionner le dossier d'exportation",
"autoExportOnChanges": "Exporter automatiquement lors de modifications",
"includeSettings": "Inclure les paramètres",
"filterVersionsByRegEx": "Filtrer les versions par expression régulière",
"trySelectingSuggestedVersionCode": "Essayer de sélectionner la version suggérée du code APK",
@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "Partagez avec AppVerifier, puis revenez ici lorsque tout est prêt.",
"wiki": "Aide/Wiki",
"crowdsourcedConfigsLabel": "Configurations d'applications par la communauté (à utiliser à vos risques et périls)",
"allowInsecure": "Autoriser les requêtes HTTP non sécurisées",
"removeAppQuestion": {
"one": "Supprimer l'application?",
"other": "Supprimer les applications?"

View File

@@ -259,7 +259,7 @@
"bgUpdatesOnWiFiOnly": "Tiltsa le a háttérben frissítéseket, ha nincs Wi-Fi-n",
"autoSelectHighestVersionCode": "A legmagasabb verziószámú APK auto. kiválasztása",
"versionExtractionRegEx": "Verzió kibontása reguláris kifejezéssel",
"trimVersionString": "Trim Version String RegEx-szel",
"trimVersionString": "A verzió sztring levágása RegEx segítségével",
"matchGroupToUseForX": "A \"{}\" csoporthoz használandó csoport egyeztetése",
"matchGroupToUse": "Párosítsa a csoportot a használathoz",
"highlightTouchTargets": "Emelje ki a kevésbé nyilvánvaló érintési célokat",
@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "Ossza meg az AppVerifierrel, majd térjen vissza ide, ha kész.",
"wiki": "Súgó/Wiki",
"crowdsourcedConfigsLabel": "Crowdsourced App Configurations (használat saját felelősségre)",
"allowInsecure": "Bizonytalan HTTP-kérések engedélyezése",
"removeAppQuestion": {
"one": "Eltávolítja az alkalmazást?",
"other": "Eltávolítja az alkalmazásokat?"

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "Condividete con AppVerifier, quindi tornate qui quando siete pronti.",
"wiki": "Aiuto/Wiki",
"crowdsourcedConfigsLabel": "Configurazioni di app in crowdsourcing (uso a proprio rischio)",
"allowInsecure": "Consentire le richieste HTTP non sicure",
"removeAppQuestion": {
"one": "Rimuovere l'app?",
"other": "Rimuovere le app?"

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "AppVerifierに共有し、準備ができたらここに戻ってください。",
"wiki": "ヘルプ/ウィキ",
"crowdsourcedConfigsLabel": "クラウドソーシングによるアプリの設定(利用は自己責任で)",
"allowInsecure": "安全でないHTTPリクエストを許可する",
"removeAppQuestion": {
"one": "アプリを削除しますか?",
"other": "アプリを削除しますか?"

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "Deel het met AppVerifier en keer daarna hier terug.",
"wiki": "Help/Wiki",
"crowdsourcedConfigsLabel": "Crowdsourced App-configuraties (gebruik op eigen risico)",
"allowInsecure": "Onveilige HTTP-verzoeken toestaan",
"removeAppQuestion": {
"one": "App verwijderen?",
"other": "Apps verwijderen?"

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "Udostępnij w AppVerifier, a następnie wróć tutaj, gdy będziesz gotowy.",
"wiki": "Pomoc/Wiki",
"crowdsourcedConfigsLabel": "Konfiguracje aplikacji pochodzące z crowdsourcingu (korzystanie na własne ryzyko)",
"allowInsecure": "Zezwalaj na niezabezpieczone żądania HTTP",
"removeAppQuestion": {
"one": "Usunąć aplikację?",
"few": "Usunąć aplikacje?",

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "Partilhe com o AppVerifier e, em seguida, regresse aqui quando estiver pronto.",
"wiki": "Ajuda/Wiki",
"crowdsourcedConfigsLabel": "Configurações de aplicações de crowdsourcing (utilização por sua conta e risco)",
"allowInsecure": "Permitir pedidos HTTP inseguros",
"removeAppQuestion": {
"one": "Remover aplicativo?",
"other": "Remover aplicativos?"

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "Поделитесь с AppVerifier, а затем вернитесь сюда, когда будете готовы.",
"wiki": "Помощь/Вики",
"crowdsourcedConfigsLabel": "Конфигурации приложений на основе краудсорсинга (используйте на свой страх и риск)",
"allowInsecure": "Разрешить небезопасные HTTP-запросы",
"removeAppQuestion": {
"one": "Удалить приложение?",
"other": "Удалить приложения?"

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "Dela till AppVerifier och återvänd sedan hit när du är klar.",
"wiki": "Hjälp/Wiki",
"crowdsourcedConfigsLabel": "Crowdsourcade appkonfigurationer (använd på egen risk)",
"allowInsecure": "Tillåt osäkra HTTP-förfrågningar",
"removeAppQuestion": {
"one": "Ta Bort App?",
"other": "Ta Bort Appar?"

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "AppVerifier ile paylaşın, hazır olduğunuzda buraya dönün.",
"wiki": "Yardım/Wiki",
"crowdsourcedConfigsLabel": "Kitle Kaynaklı Uygulama Yapılandırmaları (riski size ait olmak üzere kullanın)",
"allowInsecure": "Güvensiz HTTP isteklerine izin ver",
"removeAppQuestion": {
"one": "Uygulamayı Kaldır?",
"other": "Uygulamaları Kaldır?"

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "Надішліть на AppVerifier, а потім поверніться сюди, коли будете готові.",
"wiki": "Довідка/Вікі",
"crowdsourcedConfigsLabel": "Краудсорсингові конфігурації додатків (використовуйте на свій страх і ризик)",
"allowInsecure": "Дозволити незахищені HTTP-запити",
"removeAppQuestion": {
"one": "Видалити застосунок?",
"other": "Видалити застосунки?"

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "Chia sẻ lên AppVerifier, sau đó quay lại đây khi sẵn sàng.",
"wiki": "Trợ giúp/Wiki",
"crowdsourcedConfigsLabel": "Crowdsourced App Configurations (use at your own risk)",
"allowInsecure": "Allow insecure HTTP requests",
"removeAppQuestion": {
"one": "Gỡ ứng dụng?",
"other": "Gỡ ứng dụng?"

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "分享至 AppVerifier然後準備好時回到此處。",
"wiki": "幫助/維基",
"crowdsourcedConfigsLabel": "群眾外包的應用程式設定(使用風險自負)",
"allowInsecure": "Allow insecure HTTP requests",
"removeAppQuestion": {
"one": "移除應用程式?",
"other": "移除應用程式?"

View File

@@ -314,6 +314,7 @@
"appVerifierInstructionToast": "分享至 AppVerifier完成后返回此处。",
"wiki": "帮助/Wiki",
"crowdsourcedConfigsLabel": "众包应用程序配置(使用风险自负)",
"allowInsecure": "允许不安全的 HTTP 请求",
"removeAppQuestion": {
"one": "是否删除应用?",
"other": "是否删除应用?"

View File

@@ -10,7 +10,7 @@ class APKCombo extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
RegExp standardUrlRegEx = RegExp(
'^https?://(www\\.)?${getSourceRegex(hosts)}/+[^/]+/+[^/]+',
caseSensitive: false);

View File

@@ -32,7 +32,7 @@ class APKMirror extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
RegExp standardUrlRegEx = RegExp(
'^https?://(www\\.)?${getSourceRegex(hosts)}/apk/[^/]+/[^/]+',
caseSensitive: false);

View File

@@ -29,7 +29,7 @@ class APKPure extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
RegExp standardUrlRegExB = RegExp(
'^https?://m.${getSourceRegex(hosts)}(/+[^/]{2})?/+[^/]+/+[^/]+',
caseSensitive: false);
@@ -109,11 +109,16 @@ class APKPure extends AppSource {
'')
?.group(0)
?.trim();
String? type = apkInfo
?.querySelector('div.info-top span.tag')
?.text
.trim() ??
'APK';
var types = apkInfo
?.querySelectorAll('div.info-top span.tag')
.map((e) => e.text.trim())
.map((t) => t == 'APKs' ? 'APK' : t) ??
[];
String type = types.isEmpty
? 'APK'
: types.length == 1
? types.first
: types.last;
String? dateString = apkInfo
?.querySelector('div.info-bottom span.time')
?.text

View File

@@ -14,7 +14,7 @@ class Aptoide extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
RegExp standardUrlRegEx = RegExp(
'^https?://([^\\.]+\\.){2,}${getSourceRegex(hosts)}',
caseSensitive: false);

View File

@@ -16,7 +16,7 @@ class Codeberg extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
RegExp standardUrlRegEx = RegExp(
'^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+/[^/]+',
caseSensitive: false);

View File

@@ -1,12 +1,12 @@
import 'package:easy_localization/easy_localization.dart';
import 'package:obtainium/app_sources/html.dart';
import 'package:obtainium/custom_errors.dart';
import 'package:obtainium/providers/source_provider.dart';
class DirectAPKLink extends AppSource {
HTML html = HTML();
DirectAPKLink() {
neverAutoSelect = true;
name = tr('directAPKLink');
additionalSourceAppSpecificSettingFormItems = html
.additionalSourceAppSpecificSettingFormItems
@@ -24,6 +24,19 @@ class DirectAPKLink extends AppSource {
];
}
@override
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
if (!forSelection) {
return url;
}
RegExp standardUrlRegExA = RegExp('.+\\.apk\$', caseSensitive: false);
var match = standardUrlRegExA.firstMatch(url);
if (match == null) {
throw InvalidURLError(name);
}
return match.group(0)!;
}
@override
Future<Map<String, String>?> getRequestHeaders(
Map<String, dynamic> additionalSettings,

View File

@@ -38,7 +38,7 @@ class FDroid extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
RegExp standardUrlRegExB = RegExp(
'^https?://(www\\.)?${getSourceRegex(hosts)}/+[^/]+/+packages/+[^/]+',
caseSensitive: false);

View File

@@ -43,7 +43,7 @@ class FDroidRepo extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
var standardUri = Uri.parse(url);
var pathSegments = standardUri.pathSegments;
if (pathSegments.isNotEmpty && pathSegments.last == 'index.xml') {

View File

@@ -154,7 +154,7 @@ class GitHub extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
RegExp standardUrlRegEx = RegExp(
'^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+/[^/]+',
caseSensitive: false);

View File

@@ -52,7 +52,7 @@ class GitLab extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
RegExp standardUrlRegEx = RegExp(
'^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+/[^/]+',
caseSensitive: false);

View File

@@ -288,7 +288,7 @@ class HTML extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
return url;
}
@@ -350,7 +350,8 @@ class HTML extends AppSource {
? rel.hashCode.toString()
: (await checkPartialDownloadHashDynamic(rel,
headers: await getRequestHeaders(additionalSettings,
forAPKDownload: true)))
forAPKDownload: true),
allowInsecure: additionalSettings['allowInsecure'] == true))
.toString();
return APKDetails(version, [rel].map((e) => MapEntry(e, e)).toList(),
AppNames(uri.host, tr('app')));

View File

@@ -12,7 +12,7 @@ class HuaweiAppGallery extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
RegExp standardUrlRegEx = RegExp(
'^https?://(www\\.)?${getSourceRegex(hosts)}(/#)?/(app|appdl)/[^/]+',
caseSensitive: false);

View File

@@ -14,7 +14,7 @@ class IzzyOnDroid extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
RegExp standardUrlRegExA = RegExp(
'^https?://android.${getSourceRegex(hosts)}/repo/apk/[^/]+',
caseSensitive: false);

View File

@@ -10,7 +10,7 @@ class Mullvad extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
RegExp standardUrlRegEx = RegExp(
'^https?://(www\\.)?${getSourceRegex(hosts)}',
caseSensitive: false);

View File

@@ -10,7 +10,7 @@ class NeutronCode extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
RegExp standardUrlRegEx = RegExp(
'^https?://(www\\.)?${getSourceRegex(hosts)}/downloads/file/[^/]+',
caseSensitive: false);

View File

@@ -9,7 +9,7 @@ class Signal extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
return 'https://${hosts[0]}';
}

View File

@@ -9,7 +9,7 @@ class SourceForge extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
var sourceRegex = getSourceRegex(hosts);
RegExp standardUrlRegExC =
RegExp('^https?://(www\\.)?$sourceRegex/p/.+', caseSensitive: false);

View File

@@ -20,7 +20,7 @@ class SourceHut extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
RegExp standardUrlRegEx = RegExp(
'^https?://(www\\.)?${getSourceRegex(hosts)}/[^/]+/[^/]+',
caseSensitive: false);

View File

@@ -20,7 +20,7 @@ class SteamMobile extends AppSource {
final apks = {'steam': tr('steamMobile'), 'steam-chat-app': tr('steamChat')};
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
return 'https://${hosts[0]}';
}

View File

@@ -11,7 +11,7 @@ class TelegramApp extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
return 'https://${hosts[0]}';
}

View File

@@ -14,7 +14,7 @@ class Uptodown extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
RegExp standardUrlRegEx = RegExp(
'^https?://([^\\.]+\\.){2,}${getSourceRegex(hosts)}',
caseSensitive: false);

View File

@@ -21,7 +21,7 @@ class VLC extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
return 'https://${hosts[0]}';
}

View File

@@ -10,7 +10,7 @@ class WhatsApp extends AppSource {
}
@override
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
return 'https://${hosts[0]}';
}

View File

@@ -23,6 +23,7 @@ import 'package:easy_localization/src/localization.dart';
List<MapEntry<Locale, String>> supportedLocales = const [
MapEntry(Locale('en'), 'English'),
MapEntry(Locale('zh'), '简体中文'),
MapEntry(Locale('zh_Hant_TW'), '臺灣話'),
MapEntry(Locale('it'), 'Italiano'),
MapEntry(Locale('ja'), '日本語'),
MapEntry(Locale('hu'), 'Magyar'),
@@ -41,6 +42,8 @@ List<MapEntry<Locale, String>> supportedLocales = const [
MapEntry(Locale('tr'), 'Türkçe'),
MapEntry(Locale('uk'), 'Українська'),
MapEntry(Locale('da'), 'Dansk'),
MapEntry(Locale('en', 'EO'),
'Esperanto'), // https://github.com/aissat/easy_localization/issues/220#issuecomment-846035493
];
const fallbackLocale = Locale('en');
const localeDir = 'assets/translations';
@@ -245,15 +248,17 @@ class _ObtainiumState extends State<Obtainium> {
colorScheme: settingsProvider.theme == ThemeSettings.dark
? darkColorScheme
: lightColorScheme,
fontFamily:
settingsProvider.useSystemFont ? 'SystemFont' : 'Wix-Madefor-Display'),
fontFamily: settingsProvider.useSystemFont
? 'SystemFont'
: 'Wix-Madefor-Display'),
darkTheme: ThemeData(
useMaterial3: true,
colorScheme: settingsProvider.theme == ThemeSettings.light
? lightColorScheme
: darkColorScheme,
fontFamily:
settingsProvider.useSystemFont ? 'SystemFont' : 'Wix-Madefor-Display'),
fontFamily: settingsProvider.useSystemFont
? 'SystemFont'
: 'Wix-Madefor-Display'),
home: Shortcuts(shortcuts: <LogicalKeySet, Intent>{
LogicalKeySet(LogicalKeyboardKey.select): const ActivateIntent(),
}, child: const HomePage()));

View File

@@ -17,6 +17,7 @@ import 'package:device_info_plus/device_info_plus.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:http/io_client.dart';
import 'package:obtainium/components/generated_form.dart';
import 'package:obtainium/components/generated_form_modal.dart';
import 'package:obtainium/custom_errors.dart';
@@ -146,17 +147,23 @@ Future<File> downloadFileWithRetry(String url, String fileName,
bool fileNameHasExt, Function? onProgress, String destDir,
{bool useExisting = true,
Map<String, String>? headers,
int retries = 3}) async {
int retries = 3,
bool allowInsecure = false}) async {
try {
return await downloadFile(
url, fileName, fileNameHasExt, onProgress, destDir,
useExisting: useExisting, headers: headers);
useExisting: useExisting,
headers: headers,
allowInsecure: allowInsecure);
} catch (e) {
if (retries > 0 && e is ClientException) {
await Future.delayed(const Duration(seconds: 5));
return await downloadFileWithRetry(
url, fileName, fileNameHasExt, onProgress, destDir,
useExisting: useExisting, headers: headers, retries: (retries - 1));
useExisting: useExisting,
headers: headers,
retries: (retries - 1),
allowInsecure: allowInsecure);
} else {
rethrow;
}
@@ -173,11 +180,14 @@ String hashListOfLists(List<List<int>> data) {
Future<String> checkPartialDownloadHashDynamic(String url,
{int startingSize = 1024,
int lowerLimit = 128,
Map<String, String>? headers}) async {
Map<String, String>? headers,
bool allowInsecure = false}) async {
for (int i = startingSize; i >= lowerLimit; i -= 256) {
List<String> ab = await Future.wait([
checkPartialDownloadHash(url, i, headers: headers),
checkPartialDownloadHash(url, i, headers: headers)
checkPartialDownloadHash(url, i,
headers: headers, allowInsecure: allowInsecure),
checkPartialDownloadHash(url, i,
headers: headers, allowInsecure: allowInsecure)
]);
if (ab[0] == ab[1]) {
return ab[0];
@@ -187,13 +197,13 @@ Future<String> checkPartialDownloadHashDynamic(String url,
}
Future<String> checkPartialDownloadHash(String url, int bytesToGrab,
{Map<String, String>? headers}) async {
{Map<String, String>? headers, bool allowInsecure = false}) async {
var req = Request('GET', Uri.parse(url));
if (headers != null) {
req.headers.addAll(headers);
}
req.headers[HttpHeaders.rangeHeader] = 'bytes=0-$bytesToGrab';
var client = http.Client();
var client = IOClient(createHttpClient(allowInsecure));
var response = await client.send(req);
if (response.statusCode < 200 || response.statusCode > 299) {
throw ObtainiumError(response.reasonPhrase ?? tr('unexpectedError'));
@@ -204,12 +214,14 @@ Future<String> checkPartialDownloadHash(String url, int bytesToGrab,
Future<File> downloadFile(String url, String fileName, bool fileNameHasExt,
Function? onProgress, String destDir,
{bool useExisting = true, Map<String, String>? headers}) async {
{bool useExisting = true,
Map<String, String>? headers,
bool allowInsecure = false}) 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));
req.headers.addAll(reqHeaders);
var client = http.Client();
var client = IOClient(createHttpClient(allowInsecure));
StreamedResponse response = await client.send(req);
var resHeaders = response.headers;
@@ -275,7 +287,7 @@ Future<File> downloadFile(String url, String fileName, bool fileNameHasExt,
IOSink? sink;
if (rangeFeatureEnabled && fullContentLength != null && rangeStart > 0) {
client.close();
client = http.Client();
client = IOClient(createHttpClient(allowInsecure));
req = Request('GET', Uri.parse(url));
req.headers.addAll(reqHeaders);
req.headers.addAll({'range': 'bytes=$rangeStart-${fullContentLength - 1}'});
@@ -318,12 +330,12 @@ Future<File> downloadFile(String url, String fileName, bool fileNameHasExt,
}
Future<Map<String, String>> getHeaders(String url,
{Map<String, String>? headers}) async {
{Map<String, String>? headers, bool allowInsecure = false}) async {
var req = http.Request('GET', Uri.parse(url));
if (headers != null) {
req.headers.addAll(headers);
}
var client = http.Client();
var client = IOClient(createHttpClient(allowInsecure));
var response = await client.send(req);
if (response.statusCode < 200 || response.statusCode > 299) {
throw ObtainiumError(response.reasonPhrase ?? tr('unexpectedError'));
@@ -468,7 +480,9 @@ class AppsProvider with ChangeNotifier {
notificationsProvider?.notify(notif);
}
prevProg = prog;
}, APKDir.path, useExisting: useExisting);
}, APKDir.path,
useExisting: useExisting,
allowInsecure: app.additionalSettings['allowInsecure'] == true);
// Set to 90 for remaining steps, will make null in 'finally'
if (apps[app.id] != null) {
apps[app.id]!.downloadProgress = -1;
@@ -967,11 +981,16 @@ class AppsProvider with ChangeNotifier {
}
for (var res in downloadResults) {
if (!errors.appIdNames.containsKey(res['id'])) {
try {
await installFn(
res['id'] as String,
res['willBeSilent'] as bool,
res['downloadedFile'] as DownloadedApk?,
res['downloadedDir'] as DownloadedXApkDir?);
} catch (e) {
var id = res['id'] as String;
errors.add(id, e, appName: apps[id]?.name);
}
}
}
@@ -1031,7 +1050,8 @@ class AppsProvider with ChangeNotifier {
.getRequestHeaders(app.additionalSettings,
forAPKDownload:
fileUrl.key.endsWith('.apk') ? true : false),
useExisting: false);
useExisting: false,
allowInsecure: app.additionalSettings['allowInsecure'] == true);
notificationsProvider
.notify(DownloadedNotification(fileUrl.key, fileUrl.value));
} catch (e) {

View File

@@ -2,11 +2,13 @@
// AppSource is an abstract class with a concrete implementation for each source
import 'dart:convert';
import 'dart:io';
import 'package:device_info_plus/device_info_plus.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:html/dom.dart';
import 'package:http/http.dart';
import 'package:http/io_client.dart';
import 'package:obtainium/app_sources/apkmirror.dart';
import 'package:obtainium/app_sources/apkpure.dart';
import 'package:obtainium/app_sources/aptoide.dart';
@@ -399,6 +401,15 @@ getSourceRegex(List<String> hosts) {
return '(${hosts.join('|').replaceAll('.', '\\.')})';
}
HttpClient createHttpClient(bool insecure) {
final client = HttpClient();
if (insecure) {
client.badCertificateCallback =
(X509Certificate cert, String host, int port) => true;
}
return client;
}
abstract class AppSource {
List<String> hosts = [];
bool hostChanged = false;
@@ -462,7 +473,9 @@ abstract class AppSource {
if (requestHeaders != null) {
req.headers.addAll(requestHeaders);
}
return Response.fromStream(await Client().send(req));
return Response.fromStream(await IOClient(
createHttpClient(additionalSettings['allowInsecure'] == true))
.send(req));
} else {
return get(Uri.parse(url));
}
@@ -472,7 +485,7 @@ abstract class AppSource {
//
}
String sourceSpecificStandardizeURL(String url) {
String sourceSpecificStandardizeURL(String url, {bool forSelection = false}) {
throw NotImplementedError();
}
@@ -538,6 +551,10 @@ abstract class AppSource {
GeneratedFormSwitch('shizukuPretendToBeGooglePlay',
label: tr('shizukuPretendToBeGooglePlay'), defaultValue: false)
],
[
GeneratedFormSwitch('allowInsecure',
label: tr('allowInsecure'), defaultValue: false)
],
[
GeneratedFormSwitch('exemptFromBackgroundUpdates',
label: tr('exemptFromBackgroundUpdates'))
@@ -809,7 +826,7 @@ class SourceProvider {
for (var s in sources.where(
(element) => element.hosts.isEmpty && !element.neverAutoSelect)) {
try {
s.sourceSpecificStandardizeURL(url);
s.sourceSpecificStandardizeURL(url, forSelection: true);
source = s;
break;
} catch (e) {

View File

@@ -47,10 +47,10 @@ packages:
dependency: "direct main"
description:
name: app_links
sha256: "4acba851087b25136e8f6e32a53bd4536eb3bec69947ddb66e7b9a5792ceb0c7"
sha256: ad1a6d598e7e39b46a34f746f9a8b011ee147e4c275d407fa457e7a62f84dd99
url: "https://pub.dev"
source: hosted
version: "6.2.0"
version: "6.3.2"
app_links_linux:
dependency: transitive
description:
@@ -103,10 +103,10 @@ packages:
dependency: "direct main"
description:
name: background_fetch
sha256: b5c298c911bc2ce41152668bc72eb0488f0665d75bc6d1e69e7d8367763eddcd
sha256: f910c1c7c67a55f242daf78e9e9835d26eb01d39fc7f5d77f57dd84d009a6bab
url: "https://pub.dev"
source: hosted
version: "1.3.5"
version: "1.3.6"
boolean_selector:
dependency: transitive
description:
@@ -311,10 +311,10 @@ packages:
dependency: transitive
description:
name: flex_seed_scheme
sha256: cc08c81879ecfd2ab840664ce4770980da0b8a319e35f51bcf763849b7f7596b
sha256: "7d97ba5c20f0e5cb1e3e2c17c865e1f797d129de31fc1f75d2dcce9470d6373c"
url: "https://pub.dev"
source: hosted
version: "3.1.2"
version: "3.3.0"
flutter:
dependency: "direct main"
description: flutter
@@ -441,10 +441,10 @@ packages:
dependency: transitive
description:
name: flutter_plugin_android_lifecycle
sha256: "9d98bd47ef9d34e803d438f17fd32b116d31009f534a6fa5ce3a1167f189a6de"
sha256: "9ee02950848f61c4129af3d6ec84a1cfc0e47931abc746b03e7a3bc3e8ff6eda"
url: "https://pub.dev"
source: hosted
version: "2.0.21"
version: "2.0.22"
flutter_test:
dependency: "direct dev"
description: flutter
@@ -611,10 +611,10 @@ packages:
dependency: transitive
description:
name: mime
sha256: "2e123074287cc9fd6c09de8336dae606d1ddb88d9ac47358826db698c176a1f2"
sha256: "801fd0b26f14a4a58ccb09d5892c3fbdeff209594300a542492cf13fba9d247a"
url: "https://pub.dev"
source: hosted
version: "1.0.5"
version: "1.0.6"
nested:
dependency: transitive
description:
@@ -715,10 +715,10 @@ packages:
dependency: transitive
description:
name: permission_handler_html
sha256: d220eb8476b466d58b161e10b3001d93999010a26228a3fb89c4280db1249546
sha256: af26edbbb1f2674af65a8f4b56e1a6f526156bc273d0e65dd8075fab51c78851
url: "https://pub.dev"
source: hosted
version: "0.1.3+1"
version: "0.1.3+2"
permission_handler_platform_interface:
dependency: transitive
description:
@@ -827,10 +827,10 @@ packages:
dependency: transitive
description:
name: shared_preferences_android
sha256: a7e8467e9181cef109f601e3f65765685786c1a738a83d7fbbde377589c0d974
sha256: "480ba4345773f56acda9abf5f50bd966f581dac5d514e5fc4a18c62976bbba7e"
url: "https://pub.dev"
source: hosted
version: "2.3.1"
version: "2.3.2"
shared_preferences_foundation:
dependency: transitive
description:
@@ -1001,10 +1001,10 @@ packages:
dependency: transitive
description:
name: url_launcher_android
sha256: f0c73347dfcfa5b3db8bc06e1502668265d39c08f310c29bff4e28eea9699f79
sha256: e35a698ac302dd68e41f73250bd9517fe3ab5fa4f18fe4647a0872db61bacbab
url: "https://pub.dev"
source: hosted
version: "6.3.9"
version: "6.3.10"
url_launcher_ios:
dependency: transitive
description:
@@ -1057,10 +1057,10 @@ packages:
dependency: transitive
description:
name: uuid
sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90"
sha256: f33d6bb662f0e4f79dcd7ada2e6170f3b3a2530c28fc41f49a411ddedd576a77
url: "https://pub.dev"
source: hosted
version: "4.4.2"
version: "4.5.0"
vector_math:
dependency: transitive
description:
@@ -1073,10 +1073,10 @@ packages:
dependency: transitive
description:
name: vm_service
sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc
sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d"
url: "https://pub.dev"
source: hosted
version: "14.2.4"
version: "14.2.5"
web:
dependency: transitive
description:
@@ -1089,18 +1089,18 @@ packages:
dependency: "direct main"
description:
name: webview_flutter
sha256: "6869c8786d179f929144b4a1f86e09ac0eddfe475984951ea6c634774c16b522"
sha256: ec81f57aa1611f8ebecf1d2259da4ef052281cb5ad624131c93546c79ccc7736
url: "https://pub.dev"
source: hosted
version: "4.8.0"
version: "4.9.0"
webview_flutter_android:
dependency: transitive
description:
name: webview_flutter_android
sha256: c66651fba15f9d7ddd31daec42da8d6bce46c85610a7127e3ebcb39a4395c3c9
sha256: "6e64fcb1c19d92024da8f33503aaeeda35825d77142c01d0ea2aa32edc79fdc8"
url: "https://pub.dev"
source: hosted
version: "3.16.6"
version: "3.16.7"
webview_flutter_platform_interface:
dependency: transitive
description:

View File

@@ -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
# 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.
version: 1.1.20+2277
version: 1.1.21+2278
environment:
sdk: '>=3.0.0 <4.0.0'