diff --git a/README.md b/README.md index 224e167..3214787 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,40 @@ -# shooter_app +# SDK Kovinar -A new Flutter project. +Flutter app for the SDK Kovinar shooting club: target photo scoring (on-device TFLite detection), +live camera streams / spectator mode, training calendar with reminders, and club contacts. -## Getting Started +- Android package: `si.sdkkovinar.app` +- Version: set in `pubspec.yaml` (`version: x.y.z+build`, bump the build number for every Play upload) -This project is a starting point for a Flutter application. +## Development -A few resources to get you started if this is your first Flutter project: +```sh +flutter pub get +flutter run +``` -- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) -- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) +## Club contacts -For help getting started with Flutter development, view the -[online documentation](https://docs.flutter.dev/), which offers tutorials, -samples, guidance on mobile development, and a full API reference. +Contacts ship encrypted in `assets/club.enc` and unlock with the club code. +Edit the plain data in `tool/club_data.json` (gitignored, never commit) and re-encrypt: + +```sh +dart run tool/encrypt_club_data.dart +``` + +## Release (Google Play) + +1. Create `android/key.properties` (gitignored) pointing at the upload keystore: + + ```properties + storePassword=... + keyPassword=... + keyAlias=upload + storeFile=/absolute/path/to/upload-keystore.jks + ``` + + Release builds fail on purpose if this file is missing, so a debug-signed build can't be uploaded. +2. Bump `version` in `pubspec.yaml`. +3. `flutter build appbundle --release` → upload `build/app/outputs/bundle/release/app-release.aab`. + +Keep a backup of the upload keystore and its passwords. diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 9139909..d4fdef7 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -19,7 +19,7 @@ android { namespace = "si.sdkkovinar.app" compileSdk = flutter.compileSdkVersion - ndkVersion = "27.0.12077973" // ✅ Keep only this line + ndkVersion = "27.0.12077973" compileOptions { sourceCompatibility = JavaVersion.VERSION_11 @@ -52,19 +52,19 @@ android { buildTypes { release { - // Falls back to debug key only when key.properties is missing (local testing). - signingConfig = if (keystorePropertiesFile.exists()) { - signingConfigs.getByName("release") - } else { - signingConfigs.getByName("debug") - } + signingConfig = signingConfigs.getByName("release") isMinifyEnabled = false isShrinkResources = false } } } - +// Never ship a debug-signed release (Play rejects it): fail release builds without the upload key. +gradle.taskGraph.whenReady { + if (!keystorePropertiesFile.exists() && allTasks.any { it.name.contains("Release") }) { + throw GradleException("android/key.properties missing — release builds need the upload keystore.") + } +} dependencies { coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4") diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index f7fb9db..928005f 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -8,7 +8,6 @@ - @@ -19,8 +18,7 @@ android:enableOnBackInvokedCallback="true" android:usesCleartextTraffic="true" android:icon="@mipmap/ic_launcher" - android:networkSecurityConfig="@xml/network_security_config" - android:localeConfig="@xml/locales_config"> + android:networkSecurityConfig="@xml/network_security_config"> - - - - - diff --git a/assets/targets/Target21.jpg b/assets/targets/Target21.jpg deleted file mode 100644 index 37060e4..0000000 Binary files a/assets/targets/Target21.jpg and /dev/null differ diff --git a/assets/targets/Target31.jpg b/assets/targets/Target31.jpg deleted file mode 100644 index bccef2b..0000000 Binary files a/assets/targets/Target31.jpg and /dev/null differ diff --git a/assets/targets/Target32.jpg b/assets/targets/Target32.jpg deleted file mode 100644 index cd085a5..0000000 Binary files a/assets/targets/Target32.jpg and /dev/null differ diff --git a/assets/targets/Target33.jpg b/assets/targets/Target33.jpg deleted file mode 100644 index d8706fa..0000000 Binary files a/assets/targets/Target33.jpg and /dev/null differ diff --git a/assets/targets/Target34.jpg b/assets/targets/Target34.jpg deleted file mode 100644 index 7a56e9e..0000000 Binary files a/assets/targets/Target34.jpg and /dev/null differ diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index f63d51a..468a907 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -13,7 +13,7 @@ CFBundleInfoDictionaryVersion 6.0 CFBundleName - shooter_app + SDK Kovinar CFBundlePackageType APPL CFBundleShortVersionString diff --git a/lib/screens/book_screen.dart b/lib/screens/book_screen.dart index 4c4429a..09efaf2 100644 --- a/lib/screens/book_screen.dart +++ b/lib/screens/book_screen.dart @@ -248,8 +248,7 @@ class _BookScreenState extends State with WidgetsBindingObserver { _load(); } - String get _locale => - AppSettings.instance.language == 'Slovenian' ? 'sl_SI' : 'en_US'; + String get _locale => AppSettings.instance.dateLocale; @override Widget build(BuildContext context) { @@ -1058,7 +1057,7 @@ class _Toggle extends StatelessWidget { } /// One figure on a history card: small uppercase label over a bold number, -/// with an optional coloured note underneath. +/// with an optional coloured note underneath (its row is kept even when empty). class _CardFigure extends StatelessWidget { final String label; final String value; @@ -1087,13 +1086,16 @@ class _CardFigure extends StatelessWidget { style: TextStyle( fontSize: 20, fontWeight: FontWeight.w800, + fontFeatures: const [FontFeature.tabularFigures()], color: surf.textPrimary)), - if (note != null) - Text(note!, - style: TextStyle( - fontSize: 12, - fontWeight: FontWeight.w700, - color: noteColor)), + // The note row is always there (blank without a note), so label and + // number line up across figures whether or not they have a note. + Text(note ?? ' ', + style: TextStyle( + fontSize: 12, + fontWeight: FontWeight.w700, + fontFeatures: const [FontFeature.tabularFigures()], + color: noteColor)), ], ), ); diff --git a/lib/screens/calendar_screen.dart b/lib/screens/calendar_screen.dart index 0cda949..dcd3a10 100644 --- a/lib/screens/calendar_screen.dart +++ b/lib/screens/calendar_screen.dart @@ -1,7 +1,6 @@ import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; import 'package:intl/intl.dart'; -import 'package:intl/date_symbol_data_local.dart'; import 'package:shared_preferences/shared_preferences.dart'; import 'package:url_launcher/url_launcher.dart'; import '../models/contact.dart'; @@ -41,7 +40,6 @@ class _CalendarScreenState extends State { @override void initState() { super.initState(); - initializeDateFormatting('sl_SI', null); _backgroundColor = AppSettings.instance.backgroundColor; _loadBulletColor(); _loadLanguage(); @@ -54,7 +52,7 @@ class _CalendarScreenState extends State { Future _loadLanguage() async { final prefs = await SharedPreferences.getInstance(); setState( - () => _selectedLanguage = prefs.getString('language') ?? 'English'); + () => _selectedLanguage = prefs.getString('language') ?? 'Slovenian'); } Future _loadSelectedTargetColor() async { @@ -644,7 +642,7 @@ class _CalendarScreenState extends State { } Widget _buildDateBlock(DateTime date, int daysFromToday, Color color) { - final locale = _selectedLanguage == 'Slovenian' ? 'sl_SI' : 'en_US'; + final locale = AppSettings.dateLocaleFor(_selectedLanguage); final relative = daysFromToday == 1 ? _t('Tomorrow') : _t('in {n} days').replaceAll('{n}', '$daysFromToday'); @@ -694,7 +692,7 @@ class _CalendarScreenState extends State { Widget _buildCalendarView(Color accentColor) { final now = DateTime.now(); final today = DateTime(now.year, now.month, now.day); - final locale = _selectedLanguage == 'Slovenian' ? 'sl_SI' : 'en_US'; + final locale = AppSettings.dateLocaleFor(_selectedLanguage); final isLight = _isLightBackground(); final textPrimary = isLight ? Colors.black87 : Colors.white; final textSecondary = isLight ? Colors.grey[700]! : Colors.grey[400]!; diff --git a/lib/screens/camera_screen.dart b/lib/screens/camera_screen.dart index fc093ea..cad73bf 100644 --- a/lib/screens/camera_screen.dart +++ b/lib/screens/camera_screen.dart @@ -54,7 +54,7 @@ class _CameraScreenState extends State { Future _loadLanguage() async { final prefs = await SharedPreferences.getInstance(); setState(() { - _selectedLanguage = prefs.getString('language') ?? 'English'; + _selectedLanguage = prefs.getString('language') ?? 'Slovenian'; }); } diff --git a/lib/screens/preview_screen.dart b/lib/screens/preview_screen.dart index d0ca3dd..46d02ea 100644 --- a/lib/screens/preview_screen.dart +++ b/lib/screens/preview_screen.dart @@ -128,7 +128,7 @@ class _PreviewScreenState extends State { Future _loadLanguage() async { final prefs = await SharedPreferences.getInstance(); setState(() { - _selectedLanguage = prefs.getString('language') ?? 'English'; + _selectedLanguage = prefs.getString('language') ?? 'Slovenian'; }); } @@ -767,16 +767,17 @@ class _PreviewScreenState extends State { for (var folder in folders) { final name = folder.path.split('/').last; - // Check for both English and Slovenian names - if (name.startsWith('Training') || name.startsWith('Trening')) { - final num = int.tryParse( - name.replaceAll('Training ', '').replaceAll('Trening ', '')); - if (num != null && num >= trainingCount) trainingCount = num + 1; + // Numbering continues across languages (English, Slovenian, German names) + final training = RegExp(r'^(?:Training|Trening) (\d+)$').firstMatch(name); + if (training != null) { + final num = int.parse(training.group(1)!); + if (num >= trainingCount) trainingCount = num + 1; } - if (name.startsWith('Tournament') || name.startsWith('Tekmovanje')) { - final num = int.tryParse( - name.replaceAll('Tournament ', '').replaceAll('Tekmovanje ', '')); - if (num != null && num >= tournamentCount) tournamentCount = num + 1; + final tournament = + RegExp(r'^(?:Tournament|Tekmovanje|Wettkampf) (\d+)$').firstMatch(name); + if (tournament != null) { + final num = int.parse(tournament.group(1)!); + if (num >= tournamentCount) tournamentCount = num + 1; } } diff --git a/lib/screens/session_screen.dart b/lib/screens/session_screen.dart index ef79daa..c90312a 100644 --- a/lib/screens/session_screen.dart +++ b/lib/screens/session_screen.dart @@ -148,6 +148,7 @@ class _SessionScreenState extends State { /// "1 target" / "5 targets", with Slovenian dual and plural forms. String targetCount(int n) { final s = AppSettings.instance; + if (s.language == 'German') return n == 1 ? '1 Scheibe' : '$n Scheiben'; if (s.language != 'Slovenian') return n == 1 ? '1 target' : '$n targets'; final mod = n % 100; final word = mod == 1 ? 'tarča' : mod == 2 ? 'tarči' : (mod == 3 || mod == 4) ? 'tarče' : 'tarč'; @@ -157,6 +158,7 @@ String targetCount(int n) { /// "1 shot" / "5 shots", with Slovenian dual and plural forms. String shotCount(int n) { final s = AppSettings.instance; + if (s.language == 'German') return n == 1 ? '1 Schuss' : '$n Schüsse'; if (s.language != 'Slovenian') return n == 1 ? '1 shot' : '$n shots'; final mod = n % 100; final word = mod == 1 ? 'strel' : mod == 2 ? 'strela' : (mod == 3 || mod == 4) ? 'streli' : 'strelov'; diff --git a/lib/screens/settings_screen.dart b/lib/screens/settings_screen.dart index d51777d..2904e47 100644 --- a/lib/screens/settings_screen.dart +++ b/lib/screens/settings_screen.dart @@ -1,6 +1,7 @@ import 'package:flutter/material.dart'; import 'package:package_info_plus/package_info_plus.dart'; import '../services/app_settings.dart'; +import '../utils/translations.dart'; import '../services/notification_service.dart'; import '../theme/app_theme.dart'; import '../utils/target_colors.dart'; @@ -32,7 +33,6 @@ class SettingsScreen extends StatelessWidget { GroupCard(children: [ SettingsTile( title: t(language['name']!), - subtitle: s.followSystemLanguage ? t('Automatic (phone language)') : null, onTap: () => _pickLanguage(context), ), ]), @@ -211,19 +211,11 @@ class SettingsScreen extends StatelessWidget { mainAxisSize: MainAxisSize.min, children: [ _SheetTitle(s.t('Select Language')), - SheetOption( - label: '${s.t('Automatic (phone language)')} · ${s.t(AppSettings.systemLanguage)}', - selected: s.followSystemLanguage, - selectedColor: s.bulletColor, - onTap: () { - s.useSystemLanguage(); - Navigator.pop(sheet); - }, - ), + // Each language in its own name, so it can be found from any language for (final lang in AppSettings.languages) SheetOption( - label: s.t(lang['name']!), - selected: !s.followSystemLanguage && lang['name'] == s.language, + label: AppTranslations.translate(lang['name']!, lang['name']!), + selected: lang['name'] == s.language, selectedColor: s.bulletColor, onTap: () { s.setLanguage(lang['name']!); diff --git a/lib/screens/stream_screen.dart b/lib/screens/stream_screen.dart index c184802..f20242d 100644 --- a/lib/screens/stream_screen.dart +++ b/lib/screens/stream_screen.dart @@ -104,7 +104,7 @@ class _CameraStreamScreenState extends State final reloadOn = prefs.getBool('timerReloadEnabled') ?? false; final waitOn = prefs.getBool('timerWaitEnabled') ?? false; setState(() { - _selectedLanguage = prefs.getString('language') ?? 'English'; + _selectedLanguage = prefs.getString('language') ?? 'Slovenian'; // Older versions allowed up to 10 _numberOfBullets = (prefs.getInt('bulletCount') ?? AppSettings.maxBullets) .clamp(AppSettings.minBullets, AppSettings.maxBullets); diff --git a/lib/screens/target_view.dart b/lib/screens/target_view.dart index dbc0d53..36d6695 100644 --- a/lib/screens/target_view.dart +++ b/lib/screens/target_view.dart @@ -71,7 +71,7 @@ class _TargetViewScreenState extends State { Future _loadLanguage() async { final prefs = await SharedPreferences.getInstance(); setState(() { - _selectedLanguage = prefs.getString('language') ?? 'English'; + _selectedLanguage = prefs.getString('language') ?? 'Slovenian'; }); } diff --git a/lib/services/app_settings.dart b/lib/services/app_settings.dart index fbd2a46..b5fb162 100644 --- a/lib/services/app_settings.dart +++ b/lib/services/app_settings.dart @@ -27,7 +27,9 @@ class AppSettings extends ChangeNotifier { static const List> languages = [ {'name': 'English', 'flag': '🇬🇧'}, {'name': 'Slovenian', 'flag': '🇸🇮'}, + {'name': 'German', 'flag': '🇩🇪'}, ]; + static const String defaultLanguage = 'Slovenian'; static const Map bulletColors = { 'Blue': Colors.blue, @@ -47,16 +49,18 @@ class AppSettings extends ChangeNotifier { 'Grey': Colors.grey, }; + // 13 was dropped earlier; 21 and 31–34 were Christmas / Easter themes + static const Set removedTargets = {13, 21, 31, 32, 33, 34}; + static final List targets = [ defaultTarget, for (int i = 1; i <= 35; i++) - if (i != 13) 'assets/targets/Target$i.jpg', // 13 was removed + if (!removedTargets.contains(i)) 'assets/targets/Target$i.jpg', ]; late SharedPreferences _prefs; - String _language = 'English'; - bool _followSystemLanguage = false; + String _language = defaultLanguage; String _bulletColorName = 'Blue'; String _selectedTarget = defaultTarget; int _reminderHours = 1; @@ -67,11 +71,14 @@ class AppSettings extends ChangeNotifier { List? _clubContacts; // null until the club code is entered String get language => _language; - bool get followSystemLanguage => _followSystemLanguage; - // Phone language (or Android 13+ per-app language) mapped to our two languages - static String get systemLanguage => - WidgetsBinding.instance.platformDispatcher.locale.languageCode == 'sl' ? 'Slovenian' : 'English'; + /// intl locale for dates (month and day names) in [language]. + static String dateLocaleFor(String language) => switch (language) { + 'Slovenian' => 'sl_SI', + 'German' => 'de_DE', + _ => 'en_US', + }; + String get dateLocale => dateLocaleFor(_language); String get bulletColorName => _bulletColorName; Color get bulletColor => bulletColors[_bulletColorName] ?? Colors.blue; String get selectedTarget => _selectedTarget; @@ -96,12 +103,12 @@ class AppSettings extends ChangeNotifier { Future load() async { _prefs = await SharedPreferences.getInstance(); - // New installs follow the phone; an explicit earlier choice stays as it is + // New installs start in Slovenian. Whoever had "automatic" keeps the language + // it last resolved to (saved under the same key). final saved = _prefs.getString('language'); - _followSystemLanguage = _prefs.getBool('languageFollowsSystem') ?? saved == null; - _language = _followSystemLanguage ? systemLanguage : saved!; + _language = languages.any((l) => l['name'] == saved) ? saved! : defaultLanguage; await _prefs.setString('language', _language); // other screens read this key - WidgetsBinding.instance.platformDispatcher.onLocaleChanged = _onSystemLocaleChanged; + await _prefs.remove('languageFollowsSystem'); final color = _prefs.getString('bulletColor') ?? 'Blue'; _bulletColorName = bulletColors.containsKey(color) ? color : 'Blue'; @@ -141,22 +148,8 @@ class AppSettings extends ChangeNotifier { Future setLanguage(String value) async { _language = value; - _followSystemLanguage = false; notifyListeners(); await _prefs.setString('language', value); - await _prefs.setBool('languageFollowsSystem', false); - } - - Future useSystemLanguage() async { - _followSystemLanguage = true; - _language = systemLanguage; - notifyListeners(); - await _prefs.setString('language', _language); - await _prefs.setBool('languageFollowsSystem', true); - } - - void _onSystemLocaleChanged() { - if (_followSystemLanguage && systemLanguage != _language) useSystemLanguage(); } Future setBulletColor(String name) async { diff --git a/lib/services/notification_service.dart b/lib/services/notification_service.dart index 6b7a178..699b107 100644 --- a/lib/services/notification_service.dart +++ b/lib/services/notification_service.dart @@ -63,33 +63,9 @@ class NotificationService { AndroidFlutterLocalNotificationsPlugin>(); await androidPlugin?.createNotificationChannel(_channel); await requestPermissions(); - await _requestExactAlarmsOnce(); } catch (_) {} } - // Android 12+ needs "Alarms & reminders" access for on-time delivery. - // Ask once; without it we fall back to inexact alarms. - Future _requestExactAlarmsOnce() async { - final android = _plugin.resolvePlatformSpecificImplementation< - AndroidFlutterLocalNotificationsPlugin>(); - if (android == null) return; - if (await android.canScheduleExactNotifications() ?? true) return; - - final prefs = await SharedPreferences.getInstance(); - if (prefs.getBool('exactAlarmAsked') ?? false) return; - await prefs.setBool('exactAlarmAsked', true); - await android.requestExactAlarmsPermission(); - } - - Future _scheduleMode() async { - final android = _plugin.resolvePlatformSpecificImplementation< - AndroidFlutterLocalNotificationsPlugin>(); - final canExact = await android?.canScheduleExactNotifications() ?? true; - return canExact - ? AndroidScheduleMode.exactAllowWhileIdle - : AndroidScheduleMode.inexactAllowWhileIdle; - } - /// Fetches the calendar and reschedules all reminders. Call on app start /// and whenever notification settings change. Future rescheduleFromCalendar() async { @@ -140,9 +116,8 @@ class NotificationService { final notifyDezuranje = prefs.getBool('notifyDezuranje') ?? true; final notifySestanek = prefs.getBool('notifySestanek') ?? true; final notifyTekma = prefs.getBool('notifyTekma') ?? true; - final isSlovenian = (prefs.getString('language') ?? 'English') == 'Slovenian'; + final language = prefs.getString('language') ?? 'Slovenian'; final now = DateTime.now(); - final mode = await _scheduleMode(); await _plugin.cancelAll(); @@ -166,23 +141,32 @@ class NotificationService { await _scheduleNotification( id: notifId++, title: event.summary ?? 'Event', - body: isSlovenian - ? (hours == 1 ? 'Začne se čez 1 uro' : 'Začne se čez $hours ur') - : (hours == 1 ? 'Starts in 1 hour' : 'Starts in $hours hours'), + body: _startsIn(hours, language), scheduledDate: notifyAt, - mode: mode, ); } } } catch (_) {} } + static String _startsIn(int hours, String language) { + switch (language) { + case 'Slovenian': + final mod = hours % 100; + final unit = mod == 1 ? 'uro' : mod == 2 ? 'uri' : (mod == 3 || mod == 4) ? 'ure' : 'ur'; + return 'Začne se čez $hours $unit'; + case 'German': + return hours == 1 ? 'Beginnt in 1 Stunde' : 'Beginnt in $hours Stunden'; + default: + return hours == 1 ? 'Starts in 1 hour' : 'Starts in $hours hours'; + } + } + Future _scheduleNotification({ required int id, required String title, required String body, required DateTime scheduledDate, - required AndroidScheduleMode mode, }) async { final tzDate = tz.TZDateTime.from(scheduledDate, tz.local); await _plugin.zonedSchedule( @@ -191,7 +175,8 @@ class NotificationService { body, tzDate, _notifDetails, - androidScheduleMode: mode, + // Inexact: avoids the SCHEDULE_EXACT_ALARM permission (Play policy). + androidScheduleMode: AndroidScheduleMode.inexactAllowWhileIdle, uiLocalNotificationDateInterpretation: UILocalNotificationDateInterpretation.absoluteTime, ); diff --git a/lib/utils/target_colors.dart b/lib/utils/target_colors.dart index b1f6ece..95beb4e 100644 --- a/lib/utils/target_colors.dart +++ b/lib/utils/target_colors.dart @@ -22,7 +22,6 @@ class TargetColors { 'assets/targets/Target18.jpg': Color(0xFF050608), // Very dark gray 'assets/targets/Target19.jpg': Color(0xFFF68527), // Warm orange 'assets/targets/Target20.jpg': Color(0xFFA9D9EF), // Light blue - 'assets/targets/Target21.jpg': Color(0xFFDA6868), // Muted red 'assets/targets/Target22.jpg': Color(0xFFFBFAF6), // Off-white 'assets/targets/Target23.jpg': Color(0xFF000000), // Black 'assets/targets/Target24.jpg': Color(0xFF646462), // Grey @@ -32,10 +31,6 @@ class TargetColors { 'assets/targets/Target28.jpg': Color(0xFFFFFFFF), // White 'assets/targets/Target29.jpg': Color(0xFF180E27), // Dark purple 'assets/targets/Target30.jpg': Color(0xFFFDFDFB), // Off-white - 'assets/targets/Target31.jpg': Color(0xFFC52736), // Red - 'assets/targets/Target32.jpg': Color(0xFFFCF3EE), // Light cream - 'assets/targets/Target33.jpg': Color(0xFFFCFCF3), // Very light off-white - 'assets/targets/Target34.jpg': Color(0xFFFFFFFD), // Almost white 'assets/targets/Target35.jpg': Color(0xFFFFC5C4), // Light salmon }; diff --git a/lib/utils/translations.dart b/lib/utils/translations.dart index 0c56d3c..04a74ae 100644 --- a/lib/utils/translations.dart +++ b/lib/utils/translations.dart @@ -4,1011 +4,1226 @@ class AppTranslations { 'Language': { 'English': 'Language', 'Slovenian': 'Jezik', + 'German': 'Sprache', }, 'Select Language': { 'English': 'Select Language', 'Slovenian': 'Izberi jezik', + 'German': 'Sprache wählen', }, 'English': { 'English': 'English', 'Slovenian': 'Angleščina', + 'German': 'Englisch', }, 'Slovenian': { 'English': 'Slovenian', 'Slovenian': 'Slovenščina', + 'German': 'Slowenisch', + }, + 'German': { + 'English': 'German', + 'Slovenian': 'Nemščina', + 'German': 'Deutsch', }, // Appearance Settings 'Appearance': { 'English': 'Appearance', 'Slovenian': 'Videz', + 'German': 'Darstellung', }, 'Bullet': { 'English': 'Bullet', 'Slovenian': 'Zadetek', + 'German': 'Treffer', }, // Target selection 'Default Target': { 'English': 'Default Target', 'Slovenian': 'Privzeta tarča', + 'German': 'Standardscheibe', }, 'Target1': { 'English': 'Leaf Wreath', 'Slovenian': 'Lovorov venec', + 'German': 'Lorbeerkranz', }, 'Target2': { 'English': 'Spring Meadow', 'Slovenian': 'Pomladni travnik', + 'German': 'Frühlingswiese', }, 'Target3': { 'English': 'Stone', 'Slovenian': 'Kamen', + 'German': 'Stein', }, 'Target4': { 'English': 'Royal Red', 'Slovenian': 'Kraljevsko rdeča', + 'German': 'Königsrot', }, 'Target5': { 'English': 'Flames', 'Slovenian': 'Plameni', + 'German': 'Flammen', }, 'Target6': { 'English': 'Classic Beige', 'Slovenian': 'Klasična bež', + 'German': 'Klassisch Beige', }, 'Target7': { 'English': 'Sunny Yellow', 'Slovenian': 'Sončno rumena', + 'German': 'Sonnengelb', }, 'Target8': { 'English': 'Wave', 'Slovenian': 'Val', + 'German': 'Welle', }, 'Target9': { 'English': 'Frost', 'Slovenian': 'Ivje', + 'German': 'Raureif', }, 'Target10': { 'English': 'Military', 'Slovenian': 'Vojaška', + 'German': 'Militär', }, 'Target11': { 'English': 'Galaxy', 'Slovenian': 'Galaksija', + 'German': 'Galaxie', }, 'Target12': { 'English': 'Olive Branch', 'Slovenian': 'Oljčna vejica', + 'German': 'Olivenzweig', }, 'Target14': { 'English': 'Rainbow', 'Slovenian': 'Mavrica', + 'German': 'Regenbogen', }, 'Target15': { 'English': 'Tribal', 'Slovenian': 'Plemenska', + 'German': 'Tribal', }, 'Target16': { 'English': 'Inferno', 'Slovenian': 'Inferno', + 'German': 'Inferno', }, 'Target17': { 'English': 'Navy Gold', 'Slovenian': 'Modro-zlata', + 'German': 'Marineblau-Gold', }, 'Target18': { 'English': 'Ice Crystal', 'Slovenian': 'Ledeni kristal', + 'German': 'Eiskristall', }, 'Target19': { 'English': 'Orange', 'Slovenian': 'Oranžna', + 'German': 'Orange', }, 'Target20': { 'English': 'Sky Blue', 'Slovenian': 'Nebesno modra', - }, - 'Target21': { - 'English': 'Christmas Wreath', - 'Slovenian': 'Božični venec', + 'German': 'Himmelblau', }, 'Target22': { 'English': 'Paint Splash', 'Slovenian': 'Barvni pljusk', + 'German': 'Farbklecks', }, 'Target23': { 'English': 'Monochrome', 'Slovenian': 'Črno-bela', + 'German': 'Schwarz-Weiß', }, 'Target24': { 'English': 'Graphite', 'Slovenian': 'Grafit', + 'German': 'Graphit', }, 'Target25': { 'English': 'Graffiti', 'Slovenian': 'Grafiti', + 'German': 'Graffiti', }, 'Target26': { 'English': 'Binary', 'Slovenian': 'Binarna', + 'German': 'Binär', }, 'Target27': { 'English': 'Confetti', 'Slovenian': 'Konfeti', + 'German': 'Konfetti', }, 'Target28': { 'English': 'Shards', 'Slovenian': 'Črepinje', + 'German': 'Scherben', }, 'Target29': { 'English': 'Neon', 'Slovenian': 'Neon', + 'German': 'Neon', }, 'Target30': { 'English': 'Ink Splatter', 'Slovenian': 'Packe črnila', - }, - 'Target31': { - 'English': 'Christmas Red', - 'Slovenian': 'Božično rdeča', - }, - 'Target32': { - 'English': 'Holly', - 'Slovenian': 'Bodika', - }, - 'Target33': { - 'English': 'Easter', - 'Slovenian': 'Velikonočna', - }, - 'Target34': { - 'English': 'Easter Bunny', - 'Slovenian': 'Velikonočni zajček', + 'German': 'Tintenkleckse', }, 'Target35': { 'English': 'Hearts', 'Slovenian': 'Srčki', + 'German': 'Herzen', }, // Camera settings 'Camera Settings': { 'English': 'Camera Settings', 'Slovenian': 'Nastavitve kamere', + 'German': 'Kameraeinstellungen', }, 'Camera': { 'English': 'Camera', 'Slovenian': 'Kamera', + 'German': 'Kamera', }, 'Save': { 'English': 'Save', 'Slovenian': 'Shrani', + 'German': 'Speichern', }, 'Reset to Default': { 'English': 'Reset to Default', 'Slovenian': 'Ponastavi na privzeto', + 'German': 'Auf Standard zurücksetzen', }, 'Cancel': { 'English': 'Cancel', 'Slovenian': 'Prekliči', + 'German': 'Abbrechen', }, // Color names 'Blue': { 'English': 'Blue', 'Slovenian': 'Modra', + 'German': 'Blau', }, 'Green': { 'English': 'Green', 'Slovenian': 'Zelena', + 'German': 'Grün', }, 'Yellow': { 'English': 'Yellow', 'Slovenian': 'Rumena', + 'German': 'Gelb', }, 'Purple': { 'English': 'Purple', 'Slovenian': 'Vijolična', + 'German': 'Lila', }, 'Cyan': { 'English': 'Cyan', 'Slovenian': 'Cian', + 'German': 'Cyan', }, 'Teal': { 'English': 'Teal', 'Slovenian': 'Modrozelena', + 'German': 'Blaugrün', }, 'Indigo': { 'English': 'Indigo', 'Slovenian': 'Indigo', + 'German': 'Indigo', }, 'Pink': { 'English': 'Pink', 'Slovenian': 'Rožnata', + 'German': 'Rosa', }, 'Lime': { 'English': 'Lime', 'Slovenian': 'Limona', + 'German': 'Limette', }, 'Mint': { 'English': 'Mint', 'Slovenian': 'Meta', + 'German': 'Mint', }, 'Orange': { 'English': 'Orange', 'Slovenian': 'Oranžna', + 'German': 'Orange', }, 'Violet': { 'English': 'Violet', 'Slovenian': 'Vijolična', + 'German': 'Violett', }, 'Amber': { 'English': 'Amber', 'Slovenian': 'Jantarna', + 'German': 'Bernstein', }, 'Brown': { 'English': 'Brown', 'Slovenian': 'Rjava', + 'German': 'Braun', }, 'Grey': { 'English': 'Grey', 'Slovenian': 'Siva', + 'German': 'Grau', }, // Calendar Screen 'Retry': { 'English': 'Retry', 'Slovenian': 'Poskusi znova', + 'German': 'Erneut versuchen', }, 'No upcoming events': { 'English': 'No upcoming events', 'Slovenian': 'Ni prihajajočih dogodkov', + 'German': 'Keine anstehenden Termine', }, 'Pull down to refresh': { 'English': 'Pull down to refresh', 'Slovenian': 'Potegni navzdol za osvežitev', + 'German': 'Zum Aktualisieren nach unten ziehen', }, 'Today': { 'English': 'Today', 'Slovenian': 'Danes', + 'German': 'Heute', }, 'TODAY': { 'English': 'TODAY', 'Slovenian': 'DANES', + 'German': 'HEUTE', }, 'UPCOMING': { 'English': 'UPCOMING', 'Slovenian': 'PRIHAJAJOČE', + 'German': 'DEMNÄCHST', }, 'No events today': { 'English': 'No events today', 'Slovenian': 'Danes ni dogodkov', + 'German': 'Heute keine Termine', }, 'Tomorrow': { 'English': 'Tomorrow', 'Slovenian': 'Jutri', + 'German': 'Morgen', }, 'in {n} days': { 'English': 'in {n} days', 'Slovenian': 'čez {n} dni', + 'German': 'in {n} Tagen', }, 'Untitled Event': { 'English': 'Untitled Event', 'Slovenian': 'Brez naslova', + 'German': 'Ohne Titel', }, 'All day': { 'English': 'All day', 'Slovenian': 'Cel dan', + 'German': 'Ganztägig', }, 'DUTY': { 'English': 'DUTY', 'Slovenian': 'DEŽURSTVO', + 'German': 'DIENST', }, // Preview Screen 'Bullet Score': { 'English': 'Bullet Score', 'Slovenian': 'Ocena zadetka', + 'German': 'Trefferwertung', }, 'Save Target Data': { 'English': 'Save Target Data', 'Slovenian': 'Shrani podatke tarče', + 'German': 'Scheibendaten speichern', }, 'Training': { 'English': 'Training', 'Slovenian': 'Trening', + 'German': 'Training', }, 'Tournament': { 'English': 'Tournament', 'Slovenian': 'Tekmovanje', + 'German': 'Wettkampf', }, 'New folder': { 'English': 'New folder', 'Slovenian': 'Nova mapa', + 'German': 'Neuer Ordner', }, 'Detection Preview': { 'English': 'Detection Preview', 'Slovenian': 'Predogled zaznave', + 'German': 'Erkennungsvorschau', }, 'Show Camera Detections': { 'English': 'Show Camera Detections', 'Slovenian': 'Prikaži zaznave kamere', + 'German': 'Kameraerkennungen anzeigen', }, 'Show Mapped Target': { 'English': 'Show Mapped Target', 'Slovenian': 'Prikaži preslikano tarčo', + 'German': 'Zugeordnete Scheibe anzeigen', }, // Book Screen 'Folder Settings': { 'English': 'Folder Settings', 'Slovenian': 'Nastavitve mape', + 'German': 'Ordnereinstellungen', }, 'Confirm Deletion': { 'English': 'Confirm Deletion', 'Slovenian': 'Potrdi brisanje', + 'German': 'Löschen bestätigen', }, 'Yes, delete': { 'English': 'Yes, delete', 'Slovenian': 'Da, izbriši', + 'German': 'Ja, löschen', }, 'No targets in this folder': { 'English': 'No targets in this folder', 'Slovenian': 'V tej mapi ni tarč', + 'German': 'Keine Scheiben in diesem Ordner', }, 'Target': { 'English': 'Target', 'Slovenian': 'Tarča', + 'German': 'Scheibe', }, 'Close': { 'English': 'Close', 'Slovenian': 'Zapri', + 'German': 'Schließen', }, 'No saved target data found': { 'English': 'No saved target data found', 'Slovenian': 'Ni shranjenih podatkov tarče', + 'German': 'Keine gespeicherten Scheibendaten', }, '🏆 Tournament': { 'English': '🏆 Tournament', 'Slovenian': '🏆 Tekmovanje', + 'German': '🏆 Wettkampf', }, '🎯 Training': { 'English': '🎯 Training', 'Slovenian': '🎯 Trening', + 'German': '🎯 Training', }, // Navigation Menu 'Book': { 'English': 'Book', 'Slovenian': 'Knjiga', + 'German': 'Buch', }, 'Shooting': { 'English': 'Shooting', 'Slovenian': 'Streljanje', + 'German': 'Schießen', }, 'Calendar': { 'English': 'Calendar', 'Slovenian': 'Koledar', + 'German': 'Kalender', }, 'Settings': { 'English': 'Settings', 'Slovenian': 'Nastavitve', + 'German': 'Einstellungen', }, 'Scan': { 'English': 'Scan', 'Slovenian': 'Skeniraj', + 'German': 'Scannen', }, // Camera Screen 'Align the target inside the square': { 'English': 'Align the target inside the square', 'Slovenian': 'Poravnaj tarčo znotraj kvadrata', + 'German': 'Scheibe im Quadrat ausrichten', }, 'Select the number of bullets': { 'English': 'Select the number of bullets', 'Slovenian': 'Izberi število zadetkov', + 'German': 'Anzahl der Schüsse wählen', }, // Book Screen - Preview 'Total score': { 'English': 'Total score', 'Slovenian': 'Rezultat:', + 'German': 'Ergebnis', }, // Stream Screen (Camera View) 'None': { 'English': 'None', 'Slovenian': 'Brez', + 'German': 'Keiner', }, 'Greyscale': { 'English': 'Greyscale', 'Slovenian': 'Sivine', + 'German': 'Graustufen', }, 'Invert': { 'English': 'Invert', 'Slovenian': 'Inverz', + 'German': 'Invertieren', }, 'Unable to load camera stream': { 'English': 'Unable to load camera stream', 'Slovenian': 'Ni mogoče naložiti kamere', + 'German': 'Kamerabild kann nicht geladen werden', }, // Live Detection Screen 'bullets': { 'English': 'bullets', 'Slovenian': 'zadetkov', + 'German': 'Schüsse', }, // Delete confirmations 'Are you sure you want to delete this file?': { 'English': 'Are you sure you want to delete this file?', 'Slovenian': 'Ali ste prepričani, da želite izbrisati to datoteko?', + 'German': 'Möchtest du diese Datei wirklich löschen?', }, 'Are you sure you want to delete this target?': { 'English': 'Are you sure you want to delete this target?', 'Slovenian': 'Ali ste prepričani, da želite izbrisati to tarčo?', + 'German': 'Möchtest du diese Scheibe wirklich löschen?', }, 'Delete Target': { 'English': 'Delete Target', 'Slovenian': 'Izbriši tarčo', + 'German': 'Scheibe löschen', }, 'Are you sure you want to delete the folder': { 'English': 'Are you sure you want to delete the folder', 'Slovenian': 'Ali ste prepričani, da želite izbrisati mapo', + 'German': 'Möchtest du den Ordner', }, 'and all of its contents?': { 'English': 'and all of its contents?', 'Slovenian': 'in vso njeno vsebino?', + 'German': 'und seinen gesamten Inhalt wirklich löschen?', }, // Help dialog translations 'Help': { 'English': 'Help', 'Slovenian': 'Pomoč', + 'German': 'Hilfe', }, 'Pinch to zoom on the camera stream': { 'English': 'Pinch to zoom on the camera stream.', 'Slovenian': 'Z dvema prstoma povečaš sliko kamere.', + 'German': 'Mit zwei Fingern ins Kamerabild zoomen.', }, 'Align the target inside the square frame.': { 'English': 'Align the target inside the square frame.', 'Slovenian': 'Poravnaj tarčo znotraj kvadratnega okvirja.', + 'German': 'Richte die Scheibe im quadratischen Rahmen aus.', }, 'Camera button: take a photo. Bullets are detected and you can check and save the result.': { 'English': 'Camera button: take a photo. Bullets are detected and you can check and save the result.', 'Slovenian': 'Gumb kamere: posnemi tarčo. Zadetki se zaznajo, rezultat pa lahko preveriš in shraniš.', + 'German': 'Kamerataste: Foto aufnehmen. Die Treffer werden erkannt, das Ergebnis kannst du prüfen und speichern.', }, 'Number bottom left: shots per target (1–5).': { 'English': 'Number bottom left: shots per target (1–5).', 'Slovenian': 'Številka spodaj levo: število strelov na tarčo (1–5).', + 'German': 'Zahl unten links: Schüsse pro Scheibe (1–5).', }, 'Settings icon: exposure, zoom and flashlight.': { 'English': 'Settings icon: exposure, zoom and flashlight.', 'Slovenian': 'Ikona nastavitev: osvetlitev, povečava in svetilka.', + 'German': 'Einstellungssymbol: Belichtung, Zoom und Taschenlampe.', }, 'Timer icon: set shoot, reload and wait times. While the timer runs, tap it to stop.': { 'English': 'Timer icon: set shoot, reload and wait times. While the timer runs, tap it to stop.', 'Slovenian': 'Ikona časovnika: nastavi čas streljanja, polnjenja in čakanja. Ko časovnik teče, ga s tapom ustaviš.', + 'German': 'Timersymbol: Schuss-, Nachlade- und Wartezeit einstellen. Während der Timer läuft, tippst du darauf, um ihn zu stoppen.', }, 'Play / pause / stop in the middle: control the timer.': { 'English': 'Play / pause / stop in the middle: control the timer.', 'Slovenian': 'Predvajaj / premor / ustavi na sredini: upravljanje časovnika.', + 'German': 'Start / Pause / Stopp in der Mitte: Timer steuern.', }, 'Circle icon: shot counter. Tap + after each shot; when the target is full you get a "Change target!" warning.': { 'English': 'Circle icon: shot counter. Tap + after each shot; when the target is full you get a "Change target!" warning.', 'Slovenian': 'Ikona kroga: števec strelov. Po vsakem strelu tapni +; ko je tarča polna, se prikaže opozorilo za menjavo tarče.', + 'German': 'Kreissymbol: Schusszähler. Tippe nach jedem Schuss auf +; ist die Scheibe voll, erscheint der Hinweis „Scheibe wechseln!“.', }, 'Settings icon: brightness, contrast, filters and rotation, saved for each camera.': { 'English': 'Settings icon: brightness, contrast, filters and rotation, saved for each camera.', 'Slovenian': 'Ikona nastavitev: svetlost, kontrast, filtri in vrtenje, shranjeno za vsako kamero.', + 'German': 'Einstellungssymbol: Helligkeit, Kontrast, Filter und Drehung, für jede Kamera gespeichert.', }, // Brightness & Contrast dialog translations 'Brightness': { 'English': 'Brightness', 'Slovenian': 'Svetlost', + 'German': 'Helligkeit', }, 'Contrast': { 'English': 'Contrast', 'Slovenian': 'Kontrast', + 'German': 'Kontrast', }, 'Reset': { 'English': 'Reset', 'Slovenian': 'Ponastavi', + 'German': 'Zurücksetzen', }, 'Done': { 'English': 'Done', 'Slovenian': 'Končano', + 'German': 'Fertig', }, // Calendar Screen - New translations 'Contacts': { 'English': 'Contacts', 'Slovenian': 'Stiki', + 'German': 'Kontakte', }, 'Could not launch phone call: ': { 'English': 'Could not launch phone call: ', 'Slovenian': 'Ne morem zagnati klica: ', + 'German': 'Anruf konnte nicht gestartet werden: ', }, 'COMPETITION': { 'English': 'COMPETITION', 'Slovenian': 'TEKMOVANJE', + 'German': 'WETTKAMPF', }, 'MEETING': { 'English': 'MEETING', 'Slovenian': 'SESTANEK', + 'German': 'SITZUNG', }, 'Phone': { 'English': 'Phone', 'Slovenian': 'Telefon', + 'German': 'Telefon', }, 'Email': { 'English': 'Email', 'Slovenian': 'Elektronska pošta', + 'German': 'E-Mail', }, 'copied to clipboard': { 'English': 'copied to clipboard', 'Slovenian': 'kopirano v odložišče', + 'German': 'in die Zwischenablage kopiert', }, 'Spectate': { 'English': 'Spectate', 'Slovenian': 'Opazuj', + 'German': 'Zuschauen', }, 'Select Cameras': { 'English': 'Select Cameras', 'Slovenian': 'Izberi kamere', + 'German': 'Kameras wählen', }, 'Please ensure:': { 'English': 'Please ensure:', 'Slovenian': 'Prepričaj se:', + 'German': 'Bitte prüfen:', }, 'WiFi is enabled': { 'English': 'WiFi is enabled', 'Slovenian': 'WiFi je vključen', + 'German': 'WLAN ist eingeschaltet', }, 'Cameras and PC are switched on': { 'English': 'Cameras and PC are switched on', 'Slovenian': 'Kamere in računalnik so vklopljeni', + 'German': 'Kameras und PC sind eingeschaltet', }, 'Reload': { 'English': 'Reload', 'Slovenian': 'Ponovno naloži', + 'German': 'Neu laden', }, // Analytics 'Select': { 'English': 'Select', 'Slovenian': 'Izberi', + 'German': 'Auswählen', }, 'Score': { 'English': 'Score', 'Slovenian': 'Rezultat', + 'German': 'Ergebnis', }, 'Targets': { 'English': 'Targets', 'Slovenian': 'Tarče', + 'German': 'Scheiben', }, 'Shots': { 'English': 'Shots', 'Slovenian': 'Streli', + 'German': 'Schüsse', }, 'Points': { 'English': 'Points', 'Slovenian': 'Točke', + 'German': 'Punkte', }, // Timer Dialog 'Shooting Timer': { 'English': 'Shooting Timer', 'Slovenian': 'Časovnik streljanja', + 'German': 'Schießtimer', }, 'Shoot only': { 'English': 'Shoot only', 'Slovenian': 'Samo strel', + 'German': 'Nur Schuss', }, 'Shoot time': { 'English': 'Shoot time', 'Slovenian': 'Čas strela', + 'German': 'Schusszeit', }, 'Reload time': { 'English': 'Reload time', 'Slovenian': 'Čas polnjenja', + 'German': 'Nachladezeit', }, 'Wait time': { 'English': 'Wait time', 'Slovenian': 'Čas čakanja', + 'German': 'Wartezeit', }, 'Single shot': { 'English': 'Single shot', 'Slovenian': 'En strel', + 'German': 'Einzelschuss', }, 'Full target': { 'English': 'Full target', 'Slovenian': 'Polna tarča', + 'German': 'Volle Scheibe', }, 'Change target!': { 'English': 'Change target!', 'Slovenian': 'Zamenjaj tarčo!', + 'German': 'Scheibe wechseln!', }, 'Change target sign': { 'English': 'Change target sign', 'Slovenian': 'Znak zamenjave tarče', + 'German': 'Hinweis „Scheibe wechseln“', }, 'left': { 'English': 'left', 'Slovenian': 'ostalo', + 'German': 'übrig', }, // Notifications 'Notifications': { 'English': 'Notifications', 'Slovenian': 'Obvestila', + 'German': 'Benachrichtigungen', }, 'Event Reminders': { 'English': 'Event Reminders', 'Slovenian': 'Opomniki za dogodke', + 'German': 'Terminerinnerungen', }, 'hour': { 'English': 'hour', 'Slovenian': 'ura', + 'German': 'Stunde', }, 'hours': { 'English': 'hours', 'Slovenian': 'ur', + 'German': 'Stunden', }, 'Dežuranje': { 'English': 'Duty shifts', 'Slovenian': 'Dežuranje', + 'German': 'Dienste', }, 'Sestanek': { 'English': 'Meetings', 'Slovenian': 'Sestanki', + 'German': 'Sitzungen', }, 'Tekma': { 'English': 'Competitions', 'Slovenian': 'Tekme', + 'German': 'Wettkämpfe', }, // Settings (v1.2 redesign) 'Bullet color': { 'English': 'Bullet color', 'Slovenian': 'Barva zadetkov', + 'German': 'Trefferfarbe', }, 'Remind me': { 'English': 'Remind me', 'Slovenian': 'Opomni me', + 'German': 'Erinnern', }, '{n} h before': { 'English': '{n} h before', 'Slovenian': '{n} h prej', + 'German': '{n} Std. vorher', }, 'Cameras': { 'English': 'Cameras', 'Slovenian': 'Kamere', + 'German': 'Kameras', }, '{n} cameras': { 'English': '{n} cameras', 'Slovenian': '{n} kamer', + 'German': '{n} Kameras', }, 'Set all cameras from one IP': { 'English': 'Set all cameras from one IP', 'Slovenian': 'Nastavi vse kamere z enim IP', + 'German': 'Alle Kameras über eine IP einrichten', }, 'Ports {from}–{to}': { 'English': 'Ports {from}–{to}', 'Slovenian': 'Vrata {from}–{to}', + 'German': 'Ports {from}–{to}', }, // Club access 'Club': { 'English': 'Club', 'Slovenian': 'Klub', + 'German': 'Verein', }, 'Club code': { 'English': 'Club code', 'Slovenian': 'Klubska koda', + 'German': 'Vereinscode', }, 'Unlocks calendar and contacts': { 'English': 'Unlocks calendar and contacts', 'Slovenian': 'Odklene koledar in kontakte', + 'German': 'Schaltet Kalender und Kontakte frei', }, 'Member access': { 'English': 'Member access', 'Slovenian': 'Članski dostop', + 'German': 'Mitgliederzugang', }, 'Calendar and contacts unlocked': { 'English': 'Calendar and contacts unlocked', 'Slovenian': 'Koledar in kontakti odklenjeni', + 'German': 'Kalender und Kontakte freigeschaltet', }, 'Remove': { 'English': 'Remove', 'Slovenian': 'Odstrani', + 'German': 'Entfernen', }, 'Remove club access from this phone?': { 'English': 'Remove club access from this phone?', 'Slovenian': 'Odstranim članski dostop s tega telefona?', + 'German': 'Mitgliederzugang von diesem Telefon entfernen?', }, 'Club access unlocked': { 'English': 'Club access unlocked', 'Slovenian': 'Članski dostop odklenjen', + 'German': 'Mitgliederzugang freigeschaltet', }, 'Wrong club code': { 'English': 'Wrong club code', 'Slovenian': 'Napačna klubska koda', + 'German': 'Falscher Vereinscode', }, 'Unlock': { 'English': 'Unlock', 'Slovenian': 'Odkleni', + 'German': 'Freischalten', }, 'Total': { 'English': 'Total', 'Slovenian': 'Skupaj', + 'German': 'Gesamt', }, 'No training selected': { 'English': 'No training selected', 'Slovenian': 'Ni izbranega treninga', + 'German': 'Kein Training ausgewählt', }, 'Save to folder': { 'English': 'Save to folder', 'Slovenian': 'Shrani v mapo', + 'German': 'In Ordner speichern', }, 'All': { 'English': 'All', 'Slovenian': 'Vse', + 'German': 'Alle', }, 'Statistics': { 'English': 'Statistics', 'Slovenian': 'Statistika', + 'German': 'Statistik', }, 'Average target': { 'English': 'Average target', 'Slovenian': 'Povprečna tarča', + 'German': 'Schnitt pro Scheibe', }, 'Average per shot': { 'English': 'Average per shot', 'Slovenian': 'Povprečje na strel', + 'German': 'Schnitt pro Schuss', }, 'shots': { 'English': 'shots', 'Slovenian': 'strelov', + 'German': 'Schüsse', }, 'Sessions': { 'English': 'Trainings & tournaments', 'Slovenian': 'Treningi in tekme', + 'German': 'Trainings und Wettkämpfe', }, 'Trainings': { 'English': 'Trainings', 'Slovenian': 'Treningi', + 'German': 'Trainings', }, 'Sort by Date': { 'English': 'By date', 'Slovenian': 'Po datumu', + 'German': 'Nach Datum', }, 'Sort by Score': { 'English': 'By score', 'Slovenian': 'Po rezultatu', + 'German': 'Nach Ergebnis', }, 'Tournaments': { 'English': 'Tournaments', 'Slovenian': 'Tekmovanja', + 'German': 'Wettkämpfe', }, 'last': { 'English': 'last', 'Slovenian': 'zadnji', + 'German': 'letzte', }, 'Progress': { 'English': 'Progress', 'Slovenian': 'Napredek', + 'German': 'Fortschritt', }, 'History': { 'English': 'History', 'Slovenian': 'Zgodovina', + 'German': 'Verlauf', }, 'Edit': { 'English': 'Edit', 'Slovenian': 'Uredi', + 'German': 'Bearbeiten', }, 'Delete': { 'English': 'Delete', 'Slovenian': 'Izbriši', + 'German': 'Löschen', }, 'A folder with this name already exists': { 'English': 'A folder with this name already exists', 'Slovenian': 'Mapa s tem imenom že obstaja', + 'German': 'Ein Ordner mit diesem Namen existiert bereits', }, 'Details': { 'English': 'Details', 'Slovenian': 'Podrobnosti', + 'German': 'Details', }, 'shot': { 'English': 'shot', 'Slovenian': 'strel', + 'German': 'Schuss', }, 'Best results': { 'English': 'Best results', 'Slovenian': 'Najboljši rezultati', + 'German': 'Beste Ergebnisse', }, 'Saved targets and your statistics will appear here': { 'English': 'Saved targets and your statistics will appear here', 'Slovenian': 'Tukaj se bodo prikazale shranjene tarče in tvoja statistika', + 'German': 'Hier erscheinen gespeicherte Scheiben und deine Statistik', }, 'Trainings / Tournaments: choose which sessions the statistics count.': { 'English': 'Trainings / Tournaments: choose which sessions the statistics count.', 'Slovenian': 'Treningi / Tekmovanja: izberi, katere seje šteje statistika.', + 'German': 'Trainings / Wettkämpfe: wähle, welche Einheiten die Statistik zählt.', }, 'Shots 1–5: statistics only compare targets with the same number of shots. Grey numbers have no targets yet.': { 'English': 'Shots 1–5: statistics only compare targets with the same number of shots. Grey numbers have no targets yet.', 'Slovenian': 'Streli 1–5: statistika primerja le tarče z enakim številom strelov. Sive številke še nimajo tarč.', + 'German': 'Schüsse 1–5: Die Statistik vergleicht nur Scheiben mit gleicher Schusszahl. Graue Zahlen haben noch keine Scheiben.', }, 'Tap a session to see all its targets with the selected number of shots on one target.': { 'English': 'Tap a session to see all its targets with the selected number of shots on one target.', 'Slovenian': 'Tapni sejo za prikaz vseh njenih tarč z izbranim številom strelov na eni tarči.', + 'German': 'Tippe auf eine Einheit, um alle ihre Scheiben mit der gewählten Schusszahl auf einer Scheibe zu sehen.', }, 'Three dots on the right or long press: session details, single targets, rename and delete.': { 'English': 'Three dots on the right or long press: session details, single targets, rename and delete.', 'Slovenian': 'Tri pike na desni ali dolg pritisk: podrobnosti seje, posamezne tarče, preimenovanje in brisanje.', + 'German': 'Drei Punkte rechts oder lange drücken: Details, einzelne Scheiben, umbenennen und löschen.', }, // Knjiga form sections 'Shot average': { 'English': 'Shot average', 'Slovenian': 'Povprečje strela', + 'German': 'Schussdurchschnitt', }, 'Number of points': { 'English': 'Number of points', 'Slovenian': 'Število točk', + 'German': 'Punktzahl', }, 'Graph: shot average (left axis) and number of points (right axis). Month shows each session of a month, Year one point per month; the arrows go back through earlier months or years. Tap or drag on it to see the values.': { 'English': 'Graph: shot average (left axis) and number of points (right axis). Month shows each session of a month, Year one point per month; the arrows go back through earlier months or years. Tap or drag on it to see the values.', 'Slovenian': 'Graf: povprečje strela (leva os) in število točk (desna os). Mesec prikaže vsako sejo meseca, Leto eno točko na mesec; s puščicami greš nazaj po mesecih ali letih. Tapni ali povleci po njem za vrednosti.', + 'German': 'Diagramm: Schussdurchschnitt (linke Achse) und Punktzahl (rechte Achse). Monat zeigt jede Einheit eines Monats, Jahr einen Punkt pro Monat; mit den Pfeilen gehst du zu früheren Monaten oder Jahren. Tippe oder ziehe darauf, um die Werte zu sehen.', }, 'Period (next to History): this month, last 3 months, this year, all or your own dates. The top card and the list both use it.': { 'English': 'Period (next to History): this month, last 3 months, this year, all or your own dates. The top card and the list both use it.', 'Slovenian': 'Obdobje (zraven Zgodovine): ta mesec, zadnji 3 meseci, to leto, vse ali svoji datumi. Uporabljata ga zgornja kartica in seznam.', + 'German': 'Zeitraum (neben Verlauf): dieser Monat, letzte 3 Monate, dieses Jahr, alles oder eigene Daten. Die obere Karte und die Liste verwenden ihn beide.', }, 'Period': { 'English': 'Period', 'Slovenian': 'Obdobje', + 'German': 'Zeitraum', }, 'This month': { 'English': 'This month', 'Slovenian': 'Ta mesec', + 'German': 'Dieser Monat', }, 'Last 3 months': { 'English': 'Last 3 months', 'Slovenian': 'Zadnji 3 meseci', + 'German': 'Letzte 3 Monate', }, 'This year': { 'English': 'This year', 'Slovenian': 'To leto', + 'German': 'Dieses Jahr', }, 'Custom range': { 'English': 'Custom range', 'Slovenian': 'Po meri', + 'German': 'Eigener Zeitraum', }, 'No sessions in this period': { 'English': 'No sessions in this period', 'Slovenian': 'V tem obdobju ni sej', + 'German': 'Keine Einheiten in diesem Zeitraum', }, 'Month': { 'English': 'Month', 'Slovenian': 'Mesec', + 'German': 'Monat', }, 'Best training / tournament in the top card: tap to open its targets.': { 'English': 'Best training / tournament in the top card: tap to open its targets.', 'Slovenian': 'Najboljši trening / tekmovanje v zgornji kartici: tapni za prikaz njegovih tarč.', + 'German': 'Bestes Training / bester Wettkampf in der oberen Karte: tippen, um die Scheiben zu öffnen.', }, 'vs earlier': { 'English': 'vs earlier', 'Slovenian': 'glede na prej', + 'German': 'ggü. vorher', }, 'Best training': { 'English': 'Best training', 'Slovenian': 'Najboljši trening', + 'German': 'Bestes Training', }, 'Best tournament': { 'English': 'Best tournament', 'Slovenian': 'Najboljše tekmovanje', + 'German': 'Bester Wettkampf', }, 'Arrow under the average: your last 5 sessions compared with the 5 before them.': { 'English': 'Arrow under the average: your last 5 sessions compared with the 5 before them.', 'Slovenian': 'Puščica pod povprečjem: tvojih zadnjih 5 sej v primerjavi s 5 pred njimi.', + 'German': 'Pfeil unter dem Durchschnitt: deine letzten 5 Einheiten im Vergleich zu den 5 davor.', }, 'Sort icon: tap to switch between date order and best average per shot. The coloured number shows how far a session is from your average.': { 'English': 'Sort icon: tap to switch between date order and best average per shot. The coloured number shows how far a session is from your average.', 'Slovenian': 'Ikona razvrščanja: tapni za preklop med vrstnim redom po datumu in po najboljšem povprečju na strel. Barvna številka pokaže, koliko seja odstopa od tvojega povprečja.', + 'German': 'Sortiersymbol: tippen, um zwischen Datum und bestem Durchschnitt pro Schuss zu wechseln. Die farbige Zahl zeigt, wie weit eine Einheit von deinem Durchschnitt abweicht.', }, 'Year': { 'English': 'Year', 'Slovenian': 'Leto', + 'German': 'Jahr', }, 'High contrast': { 'English': 'High contrast', 'Slovenian': 'Visok kontrast', + 'German': 'Hoher Kontrast', }, 'Rotate': { 'English': 'Rotate', 'Slovenian': 'Zasukaj', + 'German': 'Drehen', }, 'Saved for this camera': { 'English': 'saved for this camera', 'Slovenian': 'shranjeno za to kamero', + 'German': 'für diese Kamera gespeichert', }, 'Image Settings': { 'English': 'Image Settings', 'Slovenian': 'Nastavitve slike', + 'German': 'Bildeinstellungen', }, 'Where are we shooting?': { 'English': 'Where are we shooting?', 'Slovenian': 'Kje streljamo?', + 'German': 'Wo schießen wir?', }, 'Not set up': { 'English': 'Not set up', 'Slovenian': 'Ni nastavljeno', + 'German': 'Nicht eingerichtet', }, 'Locations': { 'English': 'Locations', 'Slovenian': 'Strelišča', + 'German': 'Schießstände', }, 'Location': { 'English': 'Location', 'Slovenian': 'Strelišče', + 'German': 'Schießstand', }, 'Add location': { 'English': 'Add location', 'Slovenian': 'Dodaj strelišče', + 'German': 'Schießstand hinzufügen', }, 'Added with the club code': { 'English': 'Added with the club code', 'Slovenian': 'Dodano s klubsko kodo', + 'German': 'Mit dem Vereinscode hinzugefügt', }, 'Positions': { 'English': 'Positions', 'Slovenian': 'Pozicije', + 'German': 'Positionen', }, 'Number of positions': { 'English': 'Number of positions', 'Slovenian': 'Število pozicij', + 'German': 'Anzahl der Positionen', }, 'e.g. Home': { 'English': 'e.g. Home', 'Slovenian': 'npr. Doma', + 'German': 'z. B. Zuhause', }, 'This location already exists': { 'English': 'This location already exists', 'Slovenian': 'To strelišče že obstaja', + 'German': 'Diesen Schießstand gibt es bereits', }, 'Exposure': { 'English': 'Exposure', 'Slovenian': 'Osvetlitev', + 'German': 'Belichtung', }, 'Zoom': { 'English': 'Zoom', 'Slovenian': 'Povečava', + 'German': 'Zoom', }, 'Flashlight': { 'English': 'Flashlight', 'Slovenian': 'Svetilka', - }, - 'Automatic (phone language)': { - 'English': 'Automatic (phone language)', - 'Slovenian': 'Samodejno (jezik telefona)', + 'German': 'Taschenlampe', }, 'Member access is currently available only for SDK Kovinar Muta. Support for other clubs may be added in the future.': { 'English': 'Member access is currently available only for SDK Kovinar Muta. Support for other clubs may be added in the future.', 'Slovenian': 'Članski dostop je trenutno na voljo samo za SDK Kovinar Muta. V prihodnje bo morda podprt tudi za druge klube.', + 'German': 'Der Mitgliederzugang ist derzeit nur für SDK Kovinar Muta verfügbar. Andere Vereine werden eventuell später unterstützt.', }, 'Average': { 'English': 'Average', 'Slovenian': 'Povprečje', + 'German': 'Schnitt', }, 'Sum': { 'English': 'Sum', 'Slovenian': 'Skupek', + 'German': 'Summe', }, }; diff --git a/lib/widgets/progress_chart.dart b/lib/widgets/progress_chart.dart index 572dde1..8482c01 100644 --- a/lib/widgets/progress_chart.dart +++ b/lib/widgets/progress_chart.dart @@ -1,4 +1,5 @@ import 'dart:math'; +import 'package:flutter/foundation.dart' show listEquals; import 'package:flutter/material.dart'; enum ChartAxis { left, right, none } @@ -42,12 +43,37 @@ class ProgressChart extends StatefulWidget { class _ProgressChartState extends State { int? _selected; - void _select(Offset position, Size size) { + // Other data (another month/year, filter): the old selection means nothing there + @override + void didUpdateWidget(ProgressChart old) { + super.didUpdateWidget(old); + final same = listEquals(old.labels, widget.labels) && + old.series.length == widget.series.length && + [ + for (var i = 0; i < widget.series.length; i++) + listEquals(old.series[i].values, widget.series[i].values) + ].every((e) => e); + if (!same) _selected = null; + } + + int? _indexAt(Offset position, Size size) { final n = widget.labels.length; - if (n == 0) return; + if (n == 0) return null; final plot = _ChartPainter.plotRect(size); final x = (position.dx - plot.left) / plot.width; - setState(() => _selected = (x * (n - 1)).round().clamp(0, n - 1)); + return (x * (n - 1)).round().clamp(0, n - 1); + } + + void _select(Offset position, Size size) { + final i = _indexAt(position, size); + if (i != null && i != _selected) setState(() => _selected = i); + } + + // Tapping the selected point again hides the tooltip + void _toggle(Offset position, Size size) { + final i = _indexAt(position, size); + if (i == null) return; + setState(() => _selected = i == _selected ? null : i); } @override @@ -60,7 +86,7 @@ class _ProgressChartState extends State { final size = Size(constraints.maxWidth, 190); return GestureDetector( behavior: HitTestBehavior.opaque, - onTapDown: (d) => _select(d.localPosition, size), + onTapDown: (d) => _toggle(d.localPosition, size), onHorizontalDragUpdate: (d) => _select(d.localPosition, size), child: CustomPaint( size: size, diff --git a/pubspec.yaml b/pubspec.yaml index ca6d7e3..fc42de9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ -name: test1 -description: A new Flutter project. +name: sdk_kovinar +description: SDK Kovinar club app — target scoring, camera streams, training calendar and contacts. publish_to: 'none' # This prevents publishing to pub.dev version: 1.3.0+6 diff --git a/store/make_graphics.py b/store/make_graphics.py new file mode 100644 index 0000000..e44eaa6 --- /dev/null +++ b/store/make_graphics.py @@ -0,0 +1,145 @@ +#!/usr/bin/env python3 +"""Builds the Google Play graphics from the raw emulator screenshots. + + python3 store/make_graphics.py + +Needs chromium and ImageMagick (magick). Reads store/screenshots/raw/*.png, +writes store/out/: phone screenshots (1080x1920), feature graphic (1024x500) +and the 512x512 icon. Edit SLIDES to change captions or order. +""" +import html +import pathlib +import subprocess +import tempfile + +ROOT = pathlib.Path(__file__).resolve().parent +RAW = ROOT / "screenshots" / "raw" +OUT = ROOT / "out" +ICON = ROOT.parent / "assets" / "Icon.png" +ACCENT = "#00BCD4" # the app's default hit colour (Cian) + +# (raw screenshot, headline, subline, blur everything above this y in px or None) +SLIDES = [ + ("03_knjiga_leto.png", "Spremljaj svoj napredek", + "Povprečje, rekordi in graf napredka", None), + ("04_seja.png", "Vsi streli na eni tarči", + "Cel trening na enem pogledu", None), + ("10_kamera_ziva.png", "Tarča v živo z IP kamero", + "Spremljaj zadetke na telefonu, brez hoje do tarče", None), + ("11_kamera_telefon.png", "Fotografiraj tarčo", + "Poravnaj jo v kvadrat, zadetke prešteje aplikacija", None), + ("08_po_meri.png", "Tarča po tvojem okusu", + "Izberi slog tarče in barvo zadetkov", None), + ("07_tarca.png", "Več kot ducat tarč", + "Od klasične do plamenov in valov", None), + ("05_tekmovanja.png", "Treningi in tekmovanja", + "Ločena statistika za vadbo in tekme", None), + ("06_barva_zadetkov.png", "Zadetki v tvoji barvi", + "15 barv, da so zadetki vedno dobro vidni", 1596), +] + +BASE_CSS = """ +* { margin: 0; padding: 0; box-sizing: border-box; } +html, body { width: %(w)dpx; height: %(h)dpx; overflow: hidden; } +body { + font-family: 'Noto Sans', 'Liberation Sans', sans-serif; + color: #fff; + background: + radial-gradient(ellipse 80%% 50%% at 50%% 0%%, rgba(0,188,212,.28), transparent 70%%), + linear-gradient(180deg, #1d2427 0%%, #121416 100%%); +} +.phone { + border-radius: 64px; padding: 14px; background: #0b0b0c; + box-shadow: 0 0 0 3px #3a3f44, 0 40px 80px rgba(0,0,0,.55); +} +.phone img { display: block; border-radius: 52px; width: 100%%; } +""" + + +def chromium_png(page: str, w: int, h: int, out: pathlib.Path, tmp: pathlib.Path): + src = tmp / (out.stem + ".html") + src.write_text(page, encoding="utf-8") + subprocess.run( + ["chromium", "--headless=new", "--disable-gpu", "--hide-scrollbars", + "--force-device-scale-factor=1", f"--window-size={w},{h}", + f"--screenshot={out}", "--default-background-color=00000000", + src.as_uri()], + check=True, capture_output=True) + # Play wants opaque PNG/JPEG + subprocess.run(["magick", str(out), "-background", "#121416", "-alpha", + "remove", "-alpha", "off", str(out)], check=True) + + +def prepared(name: str, blur_above, tmp: pathlib.Path) -> pathlib.Path: + """The raw shot, optionally with everything above y blurred (hides the club section).""" + src = RAW / name + if blur_above is None: + return src + out = tmp / name + subprocess.run( + ["magick", str(src), "(", "+clone", "-crop", f"1080x{blur_above}+0+0", + "+repage", "-blur", "0x28", ")", "-geometry", "+0+0", "-composite", + str(out)], check=True) + return out + + +def slide(img: pathlib.Path, title: str, sub: str) -> str: + css = BASE_CSS % {"w": 1080, "h": 1920} + f""" + .cap {{ text-align: center; padding: 100px 70px 0; }} + .cap h1 {{ font-size: 76px; font-weight: 800; line-height: 1.1; letter-spacing: -1px; }} + .cap h1::after {{ content: ''; display: block; width: 90px; height: 8px; + border-radius: 4px; background: {ACCENT}; margin: 34px auto 0; }} + .cap p {{ margin-top: 30px; font-size: 38px; line-height: 1.35; color: #c4ccd0; }} + .phone {{ position: absolute; left: 50%; top: 470px; width: 630px; + transform: translateX(-50%); }} + """ + return f""" +

{html.escape(title)}

{html.escape(sub)}

+
""" + + +def feature(img: pathlib.Path, icon: pathlib.Path) -> str: + css = BASE_CSS % {"w": 1024, "h": 500} + f""" + body {{ background: + radial-gradient(circle at 78% 55%, rgba(30,144,255,.35), transparent 55%), + radial-gradient(ellipse at 0% 0%, rgba(0,188,212,.25), transparent 60%), + linear-gradient(120deg, #1d2427, #101214); }} + .left {{ position: absolute; left: 64px; top: 0; bottom: 0; width: 560px; + display: flex; flex-direction: column; justify-content: center; }} + .logo {{ width: 96px; height: 96px; border-radius: 24px; background: #fff; + padding: 10px; margin-bottom: 26px; }} + .logo img {{ width: 100%; height: 100%; }} + h1 {{ font-size: 66px; font-weight: 800; letter-spacing: -1px; line-height: 1; }} + h1 span {{ color: {ACCENT}; }} + p {{ margin-top: 18px; font-size: 27px; line-height: 1.35; color: #c4ccd0; }} + .phone {{ position: absolute; right: 70px; top: 46px; width: 290px; + border-radius: 40px; padding: 8px; transform: rotate(6deg); }} + .phone img {{ border-radius: 32px; }} + """ + return f""" +
+

SDK Kovinar

+

Strelski dnevnik: rezultati, napredek in tarče po tvoji meri.

+
""" + + +def main(): + OUT.mkdir(exist_ok=True) + with tempfile.TemporaryDirectory() as t: + tmp = pathlib.Path(t) + for i, (name, title, sub, blur) in enumerate(SLIDES, 1): + img = prepared(name, blur, tmp) + out = OUT / f"phone_{i:02d}_{pathlib.Path(name).stem}.png" + chromium_png(slide(img, title, sub), 1080, 1920, out, tmp) + print("wrote", out.relative_to(ROOT.parent)) + out = OUT / "feature_graphic.png" + chromium_png(feature(RAW / "09_val_modra.png", ICON), 1024, 500, out, tmp) + print("wrote", out.relative_to(ROOT.parent)) + icon = OUT / "icon_512.png" + subprocess.run(["magick", str(ICON), "-resize", "512x512", "-background", + "white", "-alpha", "remove", "-alpha", "off", str(icon)], check=True) + print("wrote", icon.relative_to(ROOT.parent)) + + +if __name__ == "__main__": + main() diff --git a/store/out/feature_graphic.png b/store/out/feature_graphic.png new file mode 100644 index 0000000..9cae7fe Binary files /dev/null and b/store/out/feature_graphic.png differ diff --git a/store/out/icon_512.png b/store/out/icon_512.png new file mode 100644 index 0000000..490b89a Binary files /dev/null and b/store/out/icon_512.png differ diff --git a/store/out/phone_01_03_knjiga_leto.png b/store/out/phone_01_03_knjiga_leto.png new file mode 100644 index 0000000..fe50717 Binary files /dev/null and b/store/out/phone_01_03_knjiga_leto.png differ diff --git a/store/out/phone_02_04_seja.png b/store/out/phone_02_04_seja.png new file mode 100644 index 0000000..0c829e0 Binary files /dev/null and b/store/out/phone_02_04_seja.png differ diff --git a/store/out/phone_03_10_kamera_ziva.png b/store/out/phone_03_10_kamera_ziva.png new file mode 100644 index 0000000..237da90 Binary files /dev/null and b/store/out/phone_03_10_kamera_ziva.png differ diff --git a/store/out/phone_04_11_kamera_telefon.png b/store/out/phone_04_11_kamera_telefon.png new file mode 100644 index 0000000..9cda0b7 Binary files /dev/null and b/store/out/phone_04_11_kamera_telefon.png differ diff --git a/store/out/phone_05_08_po_meri.png b/store/out/phone_05_08_po_meri.png new file mode 100644 index 0000000..6b2daec Binary files /dev/null and b/store/out/phone_05_08_po_meri.png differ diff --git a/store/out/phone_06_07_tarca.png b/store/out/phone_06_07_tarca.png new file mode 100644 index 0000000..b9aa738 Binary files /dev/null and b/store/out/phone_06_07_tarca.png differ diff --git a/store/out/phone_07_05_tekmovanja.png b/store/out/phone_07_05_tekmovanja.png new file mode 100644 index 0000000..2fd61bc Binary files /dev/null and b/store/out/phone_07_05_tekmovanja.png differ diff --git a/store/out/phone_08_06_barva_zadetkov.png b/store/out/phone_08_06_barva_zadetkov.png new file mode 100644 index 0000000..f4b385c Binary files /dev/null and b/store/out/phone_08_06_barva_zadetkov.png differ diff --git a/store/screenshots/raw/01_streljanje.png b/store/screenshots/raw/01_streljanje.png new file mode 100644 index 0000000..6e74adc Binary files /dev/null and b/store/screenshots/raw/01_streljanje.png differ diff --git a/store/screenshots/raw/02_knjiga_mesec.png b/store/screenshots/raw/02_knjiga_mesec.png new file mode 100644 index 0000000..e32cc98 Binary files /dev/null and b/store/screenshots/raw/02_knjiga_mesec.png differ diff --git a/store/screenshots/raw/03_knjiga_leto.png b/store/screenshots/raw/03_knjiga_leto.png new file mode 100644 index 0000000..93e26ea Binary files /dev/null and b/store/screenshots/raw/03_knjiga_leto.png differ diff --git a/store/screenshots/raw/04_seja.png b/store/screenshots/raw/04_seja.png new file mode 100644 index 0000000..9cef455 Binary files /dev/null and b/store/screenshots/raw/04_seja.png differ diff --git a/store/screenshots/raw/05_tekmovanja.png b/store/screenshots/raw/05_tekmovanja.png new file mode 100644 index 0000000..38c937b Binary files /dev/null and b/store/screenshots/raw/05_tekmovanja.png differ diff --git a/store/screenshots/raw/06_barva_zadetkov.png b/store/screenshots/raw/06_barva_zadetkov.png new file mode 100644 index 0000000..bf69b7c Binary files /dev/null and b/store/screenshots/raw/06_barva_zadetkov.png differ diff --git a/store/screenshots/raw/07_tarca.png b/store/screenshots/raw/07_tarca.png new file mode 100644 index 0000000..ba941bf Binary files /dev/null and b/store/screenshots/raw/07_tarca.png differ diff --git a/store/screenshots/raw/08_po_meri.png b/store/screenshots/raw/08_po_meri.png new file mode 100644 index 0000000..7282cea Binary files /dev/null and b/store/screenshots/raw/08_po_meri.png differ diff --git a/store/screenshots/raw/09_val_modra.png b/store/screenshots/raw/09_val_modra.png new file mode 100644 index 0000000..4657c6e Binary files /dev/null and b/store/screenshots/raw/09_val_modra.png differ diff --git a/store/screenshots/raw/10_kamera_ziva.png b/store/screenshots/raw/10_kamera_ziva.png new file mode 100644 index 0000000..30c2020 Binary files /dev/null and b/store/screenshots/raw/10_kamera_ziva.png differ diff --git a/store/screenshots/raw/11_kamera_telefon.png b/store/screenshots/raw/11_kamera_telefon.png new file mode 100644 index 0000000..fb9b131 Binary files /dev/null and b/store/screenshots/raw/11_kamera_telefon.png differ diff --git a/tool/encrypt_club_data.dart b/tool/encrypt_club_data.dart index cd6bbde..1bdab33 100644 --- a/tool/encrypt_club_data.dart +++ b/tool/encrypt_club_data.dart @@ -7,7 +7,7 @@ // Re-run after editing contacts or to change the club code, then rebuild the app. import 'dart:convert'; import 'dart:io'; -import 'package:test1/services/club_crypto.dart'; +import 'package:sdk_kovinar/services/club_crypto.dart'; const _input = 'tool/club_data.json'; const _output = 'assets/club.enc';