mirror of
				https://github.com/ImranR98/Obtainium.git
				synced 2025-11-03 23:03:29 +01:00 
			
		
		
		
	Fixed some strings
This commit is contained in:
		@@ -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.8.8';
 | 
					const String currentVersion = '0.8.9';
 | 
				
			||||||
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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -85,7 +85,7 @@ Future<void> bgUpdateCheck(int taskId, Map<String, dynamic>? params) async {
 | 
				
			|||||||
      if (e is RateLimitError || e is SocketException) {
 | 
					      if (e is RateLimitError || e is SocketException) {
 | 
				
			||||||
        var remainingMinutes = e is RateLimitError ? e.remainingMinutes : 15;
 | 
					        var remainingMinutes = e is RateLimitError ? e.remainingMinutes : 15;
 | 
				
			||||||
        logs.add(plural('bgUpdateGotErrorRetryInMinutes', remainingMinutes,
 | 
					        logs.add(plural('bgUpdateGotErrorRetryInMinutes', remainingMinutes,
 | 
				
			||||||
            args: [e.runtimeType.toString()]));
 | 
					            args: [e.runtimeType.toString(), remainingMinutes.toString()]));
 | 
				
			||||||
        AndroidAlarmManager.oneShot(Duration(minutes: remainingMinutes),
 | 
					        AndroidAlarmManager.oneShot(Duration(minutes: remainingMinutes),
 | 
				
			||||||
            Random().nextInt(pow(2, 31) as int), bgUpdateCheck, params: {
 | 
					            Random().nextInt(pow(2, 31) as int), bgUpdateCheck, params: {
 | 
				
			||||||
          'ignoreAfterMicroseconds': nextIgnoreAfter.microsecondsSinceEpoch
 | 
					          'ignoreAfterMicroseconds': nextIgnoreAfter.microsecondsSinceEpoch
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -36,7 +36,7 @@ class UpdateNotification extends ObtainiumNotification {
 | 
				
			|||||||
        : updates.length == 1
 | 
					        : updates.length == 1
 | 
				
			||||||
            ? tr('xHasAnUpdate', args: [updates[0].name])
 | 
					            ? tr('xHasAnUpdate', args: [updates[0].name])
 | 
				
			||||||
            : plural('xAndNMoreUpdatesAvailable', updates.length - 1,
 | 
					            : plural('xAndNMoreUpdatesAvailable', updates.length - 1,
 | 
				
			||||||
                args: [updates[0].name]);
 | 
					                args: [updates[0].name, (updates.length - 1).toString()]);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -48,7 +48,7 @@ class SilentUpdateNotification extends ObtainiumNotification {
 | 
				
			|||||||
        ? tr('xWasUpdatedToY',
 | 
					        ? tr('xWasUpdatedToY',
 | 
				
			||||||
            args: [updates[0].name, updates[0].latestVersion])
 | 
					            args: [updates[0].name, updates[0].latestVersion])
 | 
				
			||||||
        : plural('xAndNMoreUpdatesInstalled', updates.length - 1,
 | 
					        : plural('xAndNMoreUpdatesInstalled', updates.length - 1,
 | 
				
			||||||
            args: [updates[0].name]);
 | 
					            args: [updates[0].name, (updates.length - 1).toString()]);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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.8.8+71 # When changing this, update the tag in main() accordingly
 | 
					version: 0.8.9+72 # 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