mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-18 07:36:43 +02:00
Compare commits
8 Commits
v0.9.3-bet
...
v0.9.4-bet
Author | SHA1 | Date | |
---|---|---|---|
12f70951c2 | |||
c1d56f89f0 | |||
4dfd29f5de | |||
226cfa25e0 | |||
4e0c655538 | |||
45a23e9025 | |||
1e5aa0999a | |||
beeec356e5 |
@ -15,7 +15,8 @@ Currently supported App sources:
|
|||||||
- [Signal](https://signal.org/)
|
- [Signal](https://signal.org/)
|
||||||
- [SourceForge](https://sourceforge.net/)
|
- [SourceForge](https://sourceforge.net/)
|
||||||
- [APKMirror](https://apkmirror.com/) (Track-Only)
|
- [APKMirror](https://apkmirror.com/) (Track-Only)
|
||||||
- Third Party F-Droid Repos (URLs ending with `/fdroid/repo`)
|
- Third Party F-Droid Repos
|
||||||
|
- Any URLs ending with `/fdroid/<word>`, where `<word>` can be anything - most often `repo`
|
||||||
- [Steam](https://store.steampowered.com/mobile)
|
- [Steam](https://store.steampowered.com/mobile)
|
||||||
|
|
||||||
## Limitations
|
## Limitations
|
||||||
|
@ -188,27 +188,27 @@
|
|||||||
"steam": "Steam",
|
"steam": "Steam",
|
||||||
"steamMobile": "Steam Mobile",
|
"steamMobile": "Steam Mobile",
|
||||||
"steamChat": "Steam Chat",
|
"steamChat": "Steam Chat",
|
||||||
"install": "Install",
|
"install": "Installieren",
|
||||||
"markInstalled": "Mark Installed",
|
"markInstalled": "Als Installiert markieren",
|
||||||
"update": "Update",
|
"update": "Aktualisieren",
|
||||||
"markUpdated": "Mark Updated",
|
"markUpdated": "Als Aktuell markieren",
|
||||||
"additionalOptions": "Additional Options",
|
"additionalOptions": "Zusätzliche Optionen",
|
||||||
"disableVersionDetection": "Disable Version Detection",
|
"disableVersionDetection": "Versionsermittlung deaktivieren",
|
||||||
"noVersionDetectionExplanation": "This option should only be used for Apps where version detection does not work correctly.",
|
"noVersionDetectionExplanation": "Diese Option sollte nur für Apps verwendet werden, bei denen die Versionserkennung nicht korrekt funktioniert.",
|
||||||
"downloadingX": "Downloading {}",
|
"downloadingX": "Lade {} herunter",
|
||||||
"downloadNotifDescription": "Notifies the user of the progress in downloading an App",
|
"downloadNotifDescription": "Benachrichtigt den Nutzer über den Fortschritt beim Herunterladen einer App",
|
||||||
"noAPKFound": "No APK found",
|
"noAPKFound": "Keine APK gefunden",
|
||||||
"noVersionDetection": "No version detection",
|
"noVersionDetection": "Keine Versionserkennung",
|
||||||
"categorize": "Categorize",
|
"categorize": "Kategorisieren",
|
||||||
"categories": "Categories",
|
"categories": "Kategorien",
|
||||||
"category": "Category",
|
"category": "Kategorie",
|
||||||
"noCategory": "No Category",
|
"noCategory": "Keine Kategorie",
|
||||||
"noCategories": "No Categories",
|
"noCategories": "Keine Kategorien",
|
||||||
"deleteCategoriesQuestion": "Delete Categories?",
|
"deleteCategoriesQuestion": "Kategorien löschen?",
|
||||||
"categoryDeleteWarning": "All Apps in deleted categories will be set to uncategorized.",
|
"categoryDeleteWarning": "Alle Apps in gelöschten Kategorien werden auf nicht kategorisiert gesetzt.",
|
||||||
"addCategory": "Add Category",
|
"addCategory": "Kategorie hinzufügen",
|
||||||
"label": "Label",
|
"label": "Bezeichnung",
|
||||||
"language": "Language",
|
"language": "Sprache",
|
||||||
"tooManyRequestsTryAgainInMinutes": {
|
"tooManyRequestsTryAgainInMinutes": {
|
||||||
"one": "Zu viele Anfragen (Rate begrenzt) - versuchen Sie es in {} Minute erneut",
|
"one": "Zu viele Anfragen (Rate begrenzt) - versuchen Sie es in {} Minute erneut",
|
||||||
"other": "Zu viele Anfragen (Rate begrenzt) - versuchen Sie es in {} Minuten erneut"
|
"other": "Zu viele Anfragen (Rate begrenzt) - versuchen Sie es in {} Minuten erneut"
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
"invalidRegEx": "無効な正規表現",
|
"invalidRegEx": "無効な正規表現",
|
||||||
"noDescription": "説明はありません",
|
"noDescription": "説明はありません",
|
||||||
"cancel": "キャンセル",
|
"cancel": "キャンセル",
|
||||||
"continue": "続ける",
|
"continue": "続行",
|
||||||
"requiredInBrackets": "(必須)",
|
"requiredInBrackets": "(必須)",
|
||||||
"dropdownNoOptsError": "エラー: ドロップダウンには、少なくとも1つのオプションが必要です",
|
"dropdownNoOptsError": "エラー: ドロップダウンには、少なくとも1つのオプションが必要です",
|
||||||
"colour": "カラー",
|
"colour": "カラー",
|
||||||
@ -64,7 +64,7 @@
|
|||||||
"notInstalled": "未インストール",
|
"notInstalled": "未インストール",
|
||||||
"estimateInBrackets": "(推定)",
|
"estimateInBrackets": "(推定)",
|
||||||
"selectAll": "すべて選択",
|
"selectAll": "すべて選択",
|
||||||
"deselectN": "{}件を選択解除",
|
"deselectN": "{}件の選択を解除",
|
||||||
"xWillBeRemovedButRemainInstalled": "{}はObtainiumから削除されますが、デバイスにはインストールされたままです。",
|
"xWillBeRemovedButRemainInstalled": "{}はObtainiumから削除されますが、デバイスにはインストールされたままです。",
|
||||||
"removeSelectedAppsQuestion": "選択したアプリを削除しますか?",
|
"removeSelectedAppsQuestion": "選択したアプリを削除しますか?",
|
||||||
"removeSelectedApps": "選択したアプリを削除する",
|
"removeSelectedApps": "選択したアプリを削除する",
|
||||||
@ -135,7 +135,7 @@
|
|||||||
"appearance": "外観",
|
"appearance": "外観",
|
||||||
"showWebInAppView": "アプリビューにソースウェブページを表示する",
|
"showWebInAppView": "アプリビューにソースウェブページを表示する",
|
||||||
"pinUpdates": "アップデートがあるアプリをトップに固定する",
|
"pinUpdates": "アップデートがあるアプリをトップに固定する",
|
||||||
"updates": "更新",
|
"updates": "アップデート",
|
||||||
"sourceSpecific": "Github アクセストークン",
|
"sourceSpecific": "Github アクセストークン",
|
||||||
"appSource": "アプリのソース",
|
"appSource": "アプリのソース",
|
||||||
"noLogs": "ログはありません",
|
"noLogs": "ログはありません",
|
||||||
@ -144,7 +144,7 @@
|
|||||||
"share": "共有",
|
"share": "共有",
|
||||||
"appNotFound": "アプリが見つかりません",
|
"appNotFound": "アプリが見つかりません",
|
||||||
"obtainiumExportHyphenatedLowercase": "obtainium-エクスポート",
|
"obtainiumExportHyphenatedLowercase": "obtainium-エクスポート",
|
||||||
"pickAnAPK": "APKを選ぶ",
|
"pickAnAPK": "APKを選択",
|
||||||
"appHasMoreThanOnePackage": "{}は複数のパッケージが存在します: ",
|
"appHasMoreThanOnePackage": "{}は複数のパッケージが存在します: ",
|
||||||
"deviceSupportsXArch": "お使いのデバイスは{} CPUアーキテクチャに対応しています。",
|
"deviceSupportsXArch": "お使いのデバイスは{} CPUアーキテクチャに対応しています。",
|
||||||
"deviceSupportsFollowingArchs": "お使いのデバイスは、以下のCPUアーキテクチャをサポートしています:",
|
"deviceSupportsFollowingArchs": "お使いのデバイスは、以下のCPUアーキテクチャをサポートしています:",
|
||||||
@ -203,12 +203,12 @@
|
|||||||
"categories": "カテゴリ",
|
"categories": "カテゴリ",
|
||||||
"category": "カテゴリ",
|
"category": "カテゴリ",
|
||||||
"noCategory": "カテゴリなし",
|
"noCategory": "カテゴリなし",
|
||||||
"noCategories": "No Categories",
|
"noCategories": "カテゴリなし",
|
||||||
"deleteCategoriesQuestion": "Delete Categories?",
|
"deleteCategoriesQuestion": "カテゴリを削除しますか?",
|
||||||
"categoryDeleteWarning": "All Apps in deleted categories will be set to uncategorized.",
|
"categoryDeleteWarning": "削除されたカテゴリ内のアプリは未分類に設定されます。",
|
||||||
"addCategory": "カテゴリを追加",
|
"addCategory": "カテゴリを追加",
|
||||||
"label": "ラベル",
|
"label": "ラベル",
|
||||||
"language": "Language",
|
"language": "言語",
|
||||||
"tooManyRequestsTryAgainInMinutes": {
|
"tooManyRequestsTryAgainInMinutes": {
|
||||||
"one": "リクエストが多すぎます(レート制限)- {}分後に再試行してください",
|
"one": "リクエストが多すぎます(レート制限)- {}分後に再試行してください",
|
||||||
"other": "リクエストが多すぎます(レート制限)- {}分後に再試行してください"
|
"other": "リクエストが多すぎます(レート制限)- {}分後に再試行してください"
|
||||||
|
@ -22,7 +22,7 @@ class FDroidRepo extends AppSource {
|
|||||||
@override
|
@override
|
||||||
String standardizeURL(String url) {
|
String standardizeURL(String url) {
|
||||||
RegExp standardUrlRegExp =
|
RegExp standardUrlRegExp =
|
||||||
RegExp('^https?://.+/fdroid/(repo(/|\\?)|repo\$)');
|
RegExp('^https?://.+/fdroid/([^/]+(/|\\?)|[^/]+\$)');
|
||||||
RegExpMatch? match = standardUrlRegExp.firstMatch(url.toLowerCase());
|
RegExpMatch? match = standardUrlRegExp.firstMatch(url.toLowerCase());
|
||||||
if (match == null) {
|
if (match == null) {
|
||||||
throw InvalidURLError(name);
|
throw InvalidURLError(name);
|
||||||
|
@ -21,7 +21,7 @@ import 'package:easy_localization/src/easy_localization_controller.dart';
|
|||||||
// ignore: implementation_imports
|
// ignore: implementation_imports
|
||||||
import 'package:easy_localization/src/localization.dart';
|
import 'package:easy_localization/src/localization.dart';
|
||||||
|
|
||||||
const String currentVersion = '0.9.3';
|
const String currentVersion = '0.9.4';
|
||||||
const String currentReleaseTag =
|
const String currentReleaseTag =
|
||||||
'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES
|
'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES
|
||||||
|
|
||||||
@ -43,12 +43,16 @@ final globalNavigatorKey = GlobalKey<NavigatorState>();
|
|||||||
Future<void> loadTranslations() async {
|
Future<void> loadTranslations() async {
|
||||||
// See easy_localization/issues/210
|
// See easy_localization/issues/210
|
||||||
await EasyLocalizationController.initEasyLocation();
|
await EasyLocalizationController.initEasyLocation();
|
||||||
|
var s = SettingsProvider();
|
||||||
|
await s.initializeSettings();
|
||||||
|
var forceLocale = s.forcedLocale;
|
||||||
final controller = EasyLocalizationController(
|
final controller = EasyLocalizationController(
|
||||||
saveLocale: true,
|
saveLocale: true,
|
||||||
|
forceLocale: forceLocale != null ? Locale(forceLocale) : null,
|
||||||
fallbackLocale: fallbackLocale,
|
fallbackLocale: fallbackLocale,
|
||||||
supportedLocales: supportedLocales,
|
supportedLocales: supportedLocales,
|
||||||
assetLoader: const RootBundleAssetLoader(),
|
assetLoader: const RootBundleAssetLoader(),
|
||||||
useOnlyLangCode: false,
|
useOnlyLangCode: true,
|
||||||
useFallbackTranslations: true,
|
useFallbackTranslations: true,
|
||||||
path: localeDir,
|
path: localeDir,
|
||||||
onLoadError: (FlutterError e) {
|
onLoadError: (FlutterError e) {
|
||||||
@ -160,6 +164,7 @@ void main() async {
|
|||||||
supportedLocales: supportedLocales,
|
supportedLocales: supportedLocales,
|
||||||
path: localeDir,
|
path: localeDir,
|
||||||
fallbackLocale: fallbackLocale,
|
fallbackLocale: fallbackLocale,
|
||||||
|
useOnlyLangCode: true,
|
||||||
child: const Obtainium()),
|
child: const Obtainium()),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
@ -145,8 +145,11 @@ class _SettingsPageState extends State<SettingsPage> {
|
|||||||
],
|
],
|
||||||
onChanged: (value) {
|
onChanged: (value) {
|
||||||
settingsProvider.forcedLocale = value;
|
settingsProvider.forcedLocale = value;
|
||||||
context.setLocale(Locale(settingsProvider.forcedLocale ??
|
if (value != null) {
|
||||||
context.fallbackLocale!.languageCode));
|
context.setLocale(Locale(value));
|
||||||
|
} else {
|
||||||
|
context.resetLocale();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
var intervalDropdown = DropdownButtonFormField(
|
var intervalDropdown = DropdownButtonFormField(
|
||||||
|
@ -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: 0.9.3+91 # When changing this, update the tag in main() accordingly
|
version: 0.9.4+92 # When changing this, update the tag in main() accordingly
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: '>=2.18.2 <3.0.0'
|
sdk: '>=2.18.2 <3.0.0'
|
||||||
|
Reference in New Issue
Block a user