From 6f98a79cb07e8c40843ddf7c19bd27697e3b4d87 Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Thu, 11 Jul 2024 14:23:04 +0530 Subject: [PATCH] [mob] Clean up --- .../kotlin/io/ente/photos/MainActivity.kt | 1 - mobile/lib/l10n/intl_cs.arb | 4 --- mobile/lib/l10n/intl_de.arb | 4 +-- mobile/lib/l10n/intl_en.arb | 5 --- mobile/lib/l10n/intl_es.arb | 6 +--- mobile/lib/l10n/intl_fr.arb | 6 +--- mobile/lib/l10n/intl_it.arb | 6 +--- mobile/lib/l10n/intl_ko.arb | 6 +--- mobile/lib/l10n/intl_nl.arb | 4 +-- mobile/lib/l10n/intl_no.arb | 6 +--- mobile/lib/l10n/intl_pl.arb | 1 - mobile/lib/l10n/intl_pt.arb | 4 +-- mobile/lib/l10n/intl_ru.arb | 6 +--- mobile/lib/l10n/intl_zh.arb | 4 +-- mobile/plugins/onnx_dart/README.md | 15 --------- mobile/plugins/onnx_dart/pubspec.yaml | 33 +------------------ 16 files changed, 11 insertions(+), 100 deletions(-) delete mode 100644 mobile/plugins/onnx_dart/README.md diff --git a/mobile/android/app/src/main/kotlin/io/ente/photos/MainActivity.kt b/mobile/android/app/src/main/kotlin/io/ente/photos/MainActivity.kt index 75edded083..8200954d3f 100644 --- a/mobile/android/app/src/main/kotlin/io/ente/photos/MainActivity.kt +++ b/mobile/android/app/src/main/kotlin/io/ente/photos/MainActivity.kt @@ -7,6 +7,5 @@ import io.flutter.plugins.GeneratedPluginRegistrant class MainActivity : FlutterFragmentActivity() { override fun configureFlutterEngine(flutterEngine: FlutterEngine) { GeneratedPluginRegistrant.registerWith(flutterEngine) - } } diff --git a/mobile/lib/l10n/intl_cs.arb b/mobile/lib/l10n/intl_cs.arb index 14d0c8c4f0..23550f6d12 100644 --- a/mobile/lib/l10n/intl_cs.arb +++ b/mobile/lib/l10n/intl_cs.arb @@ -28,8 +28,6 @@ "indexingIsPaused": "Indexing is paused, will automatically resume when device is ready", "reenterPassword": "Re-enter password", "mlFunctions": "ML functions", -"reenterPassword": "Re-enter password", - "reenterPin": "Re-enter PIN", "deviceLock": "Device lock", "pinLock": "PIN lock", @@ -43,6 +41,4 @@ "toEnableAppLockPleaseSetupDevicePasscodeOrScreen": "To enable app lock, please setup device passcode or screen lock in your system settings.", "tapToUnlock": "Tap to unlock", "tooManyIncorrectAttempts": "Too many incorrect attempts" - - } \ No newline at end of file diff --git a/mobile/lib/l10n/intl_de.arb b/mobile/lib/l10n/intl_de.arb index 1d3ab03721..2080fc5080 100644 --- a/mobile/lib/l10n/intl_de.arb +++ b/mobile/lib/l10n/intl_de.arb @@ -1266,7 +1266,7 @@ "tapToUnlock": "Tap to unlock", "tooManyIncorrectAttempts": "Too many incorrect attempts", "mlFunctions": "ML functions", -"useAsCover": "Als Titelbild festlegen", + "useAsCover": "Als Titelbild festlegen", "notPersonLabel": "Nicht {name}?", "@notPersonLabel": { "description": "Label to indicate that the person in the photo is not the person whose name is mentioned", @@ -1290,6 +1290,4 @@ "toEnableAppLockPleaseSetupDevicePasscodeOrScreen": "Um die App-Sperre zu aktivieren, konfigurieren Sie bitte den Gerätepasscode oder die Bildschirmsperre in Ihren Systemeinstellungen.", "tapToUnlock": "Zum Entsperren antippen", "tooManyIncorrectAttempts": "Zu viele fehlerhafte Versuche" - - } \ No newline at end of file diff --git a/mobile/lib/l10n/intl_en.arb b/mobile/lib/l10n/intl_en.arb index 4526c3d420..5a8dce66f9 100644 --- a/mobile/lib/l10n/intl_en.arb +++ b/mobile/lib/l10n/intl_en.arb @@ -1263,9 +1263,7 @@ } } }, - "mlFunctions": "ML functions", - "reenterPassword": "Re-enter password", "reenterPin": "Re-enter PIN", "deviceLock": "Device lock", @@ -1279,7 +1277,4 @@ "toEnableAppLockPleaseSetupDevicePasscodeOrScreen": "To enable app lock, please setup device passcode or screen lock in your system settings.", "tapToUnlock": "Tap to unlock", "tooManyIncorrectAttempts": "Too many incorrect attempts" - - - } \ No newline at end of file diff --git a/mobile/lib/l10n/intl_es.arb b/mobile/lib/l10n/intl_es.arb index fa567a63fa..e5154733c6 100644 --- a/mobile/lib/l10n/intl_es.arb +++ b/mobile/lib/l10n/intl_es.arb @@ -1254,8 +1254,7 @@ "reviewSuggestions": "Revisar sugerencias", "reenterPassword": "Re-enter password", "mlFunctions": "ML functions", -"reenterPassword": "Re-enter password", - + "reenterPassword": "Re-enter password", "reenterPin": "Re-enter PIN", "deviceLock": "Device lock", "pinLock": "PIN lock", @@ -1268,7 +1267,4 @@ "toEnableAppLockPleaseSetupDevicePasscodeOrScreen": "To enable app lock, please setup device passcode or screen lock in your system settings.", "tapToUnlock": "Tap to unlock", "tooManyIncorrectAttempts": "Too many incorrect attempts" - - - } \ No newline at end of file diff --git a/mobile/lib/l10n/intl_fr.arb b/mobile/lib/l10n/intl_fr.arb index a4e5894749..2069ad0a5e 100644 --- a/mobile/lib/l10n/intl_fr.arb +++ b/mobile/lib/l10n/intl_fr.arb @@ -1171,8 +1171,7 @@ "indexingIsPaused": "Indexing is paused, will automatically resume when device is ready", "reenterPassword": "Re-enter password", "mlFunctions": "ML functions", -"reenterPassword": "Re-enter password", - + "reenterPassword": "Re-enter password", "reenterPin": "Re-enter PIN", "deviceLock": "Device lock", "pinLock": "PIN lock", @@ -1185,7 +1184,4 @@ "toEnableAppLockPleaseSetupDevicePasscodeOrScreen": "To enable app lock, please setup device passcode or screen lock in your system settings.", "tapToUnlock": "Tap to unlock", "tooManyIncorrectAttempts": "Too many incorrect attempts" - - - } \ No newline at end of file diff --git a/mobile/lib/l10n/intl_it.arb b/mobile/lib/l10n/intl_it.arb index 46b118b97f..a78573bcab 100644 --- a/mobile/lib/l10n/intl_it.arb +++ b/mobile/lib/l10n/intl_it.arb @@ -1133,8 +1133,7 @@ "indexingIsPaused": "Indexing is paused, will automatically resume when device is ready", "reenterPassword": "Re-enter password", "mlFunctions": "ML functions", -"reenterPassword": "Re-enter password", - + "reenterPassword": "Re-enter password", "reenterPin": "Re-enter PIN", "deviceLock": "Device lock", "pinLock": "PIN lock", @@ -1147,7 +1146,4 @@ "toEnableAppLockPleaseSetupDevicePasscodeOrScreen": "To enable app lock, please setup device passcode or screen lock in your system settings.", "tapToUnlock": "Tap to unlock", "tooManyIncorrectAttempts": "Too many incorrect attempts" - - - } \ No newline at end of file diff --git a/mobile/lib/l10n/intl_ko.arb b/mobile/lib/l10n/intl_ko.arb index 92f64e2471..5c3ee67a53 100644 --- a/mobile/lib/l10n/intl_ko.arb +++ b/mobile/lib/l10n/intl_ko.arb @@ -28,8 +28,7 @@ "indexingIsPaused": "Indexing is paused, will automatically resume when device is ready", "reenterPassword": "Re-enter password", "mlFunctions": "ML functions", -"reenterPassword": "Re-enter password", - + "reenterPassword": "Re-enter password", "reenterPin": "Re-enter PIN", "deviceLock": "Device lock", "pinLock": "PIN lock", @@ -43,7 +42,4 @@ "toEnableAppLockPleaseSetupDevicePasscodeOrScreen": "To enable app lock, please setup device passcode or screen lock in your system settings.", "tapToUnlock": "Tap to unlock", "tooManyIncorrectAttempts": "Too many incorrect attempts" - - - } \ No newline at end of file diff --git a/mobile/lib/l10n/intl_nl.arb b/mobile/lib/l10n/intl_nl.arb index 5cb3013251..9af8c52156 100644 --- a/mobile/lib/l10n/intl_nl.arb +++ b/mobile/lib/l10n/intl_nl.arb @@ -1257,7 +1257,7 @@ "tapToUnlock": "Tap to unlock", "tooManyIncorrectAttempts": "Too many incorrect attempts", "mlFunctions": "ML functions", -"savingEdits": "Bewerken opslaan...", + "savingEdits": "Bewerken opslaan...", "autoPair": "Automatisch koppelen", "pairWithPin": "Koppelen met PIN", "faceRecognition": "Gezichtsherkenning", @@ -1295,6 +1295,4 @@ "toEnableAppLockPleaseSetupDevicePasscodeOrScreen": "Om vergrendelscherm in te schakelen, moet u een toegangscode of schermvergrendeling instellen in uw systeeminstellingen.", "tapToUnlock": "Tik om te ontgrendelen", "tooManyIncorrectAttempts": "Te veel onjuiste pogingen" - - } \ No newline at end of file diff --git a/mobile/lib/l10n/intl_no.arb b/mobile/lib/l10n/intl_no.arb index 1fb375af20..86c2cea9c6 100644 --- a/mobile/lib/l10n/intl_no.arb +++ b/mobile/lib/l10n/intl_no.arb @@ -42,8 +42,7 @@ "indexingIsPaused": "Indexing is paused, will automatically resume when device is ready", "reenterPassword": "Re-enter password", "mlFunctions": "ML functions", -"reenterPassword": "Re-enter password", - + "reenterPassword": "Re-enter password", "reenterPin": "Re-enter PIN", "deviceLock": "Device lock", "pinLock": "PIN lock", @@ -57,7 +56,4 @@ "toEnableAppLockPleaseSetupDevicePasscodeOrScreen": "To enable app lock, please setup device passcode or screen lock in your system settings.", "tapToUnlock": "Tap to unlock", "tooManyIncorrectAttempts": "Too many incorrect attempts" - - - } \ No newline at end of file diff --git a/mobile/lib/l10n/intl_pl.arb b/mobile/lib/l10n/intl_pl.arb index 6e815169b7..533db7e36e 100644 --- a/mobile/lib/l10n/intl_pl.arb +++ b/mobile/lib/l10n/intl_pl.arb @@ -142,5 +142,4 @@ "toEnableAppLockPleaseSetupDevicePasscodeOrScreen": "To enable app lock, please setup device passcode or screen lock in your system settings.", "tapToUnlock": "Tap to unlock", "tooManyIncorrectAttempts": "Too many incorrect attempts" - } \ No newline at end of file diff --git a/mobile/lib/l10n/intl_pt.arb b/mobile/lib/l10n/intl_pt.arb index db1dee85ff..4eb1b8933a 100644 --- a/mobile/lib/l10n/intl_pt.arb +++ b/mobile/lib/l10n/intl_pt.arb @@ -1266,7 +1266,7 @@ "tapToUnlock": "Tap to unlock", "tooManyIncorrectAttempts": "Too many incorrect attempts", "mlFunctions": "ML functions", -"useAsCover": "Usar como capa", + "useAsCover": "Usar como capa", "notPersonLabel": "Não é {name}?", "@notPersonLabel": { "description": "Label to indicate that the person in the photo is not the person whose name is mentioned", @@ -1290,6 +1290,4 @@ "toEnableAppLockPleaseSetupDevicePasscodeOrScreen": "Para ativar o bloqueio de app, por favor ative um método de autenticação nas configurações do sistema do seu dispositivo.", "tapToUnlock": "Toque para desbloquear", "tooManyIncorrectAttempts": "Muitas tentativas incorretas" - - } \ No newline at end of file diff --git a/mobile/lib/l10n/intl_ru.arb b/mobile/lib/l10n/intl_ru.arb index 3dba12488b..bc6e2196b7 100644 --- a/mobile/lib/l10n/intl_ru.arb +++ b/mobile/lib/l10n/intl_ru.arb @@ -1253,8 +1253,7 @@ "whatsNew": "Что нового", "reenterPassword": "Re-enter password", "mlFunctions": "ML functions", -"reenterPassword": "Re-enter password", - + "reenterPassword": "Re-enter password", "reenterPin": "Re-enter PIN", "deviceLock": "Device lock", "pinLock": "PIN lock", @@ -1267,7 +1266,4 @@ "toEnableAppLockPleaseSetupDevicePasscodeOrScreen": "To enable app lock, please setup device passcode or screen lock in your system settings.", "tapToUnlock": "Tap to unlock", "tooManyIncorrectAttempts": "Too many incorrect attempts" - - - } \ No newline at end of file diff --git a/mobile/lib/l10n/intl_zh.arb b/mobile/lib/l10n/intl_zh.arb index 3ce9c62702..5bfd97ccec 100644 --- a/mobile/lib/l10n/intl_zh.arb +++ b/mobile/lib/l10n/intl_zh.arb @@ -1266,7 +1266,7 @@ "tapToUnlock": "Tap to unlock", "tooManyIncorrectAttempts": "Too many incorrect attempts", "mlFunctions": "ML functions", -"useAsCover": "用作封面", + "useAsCover": "用作封面", "notPersonLabel": "不是 {name}?", "@notPersonLabel": { "description": "Label to indicate that the person in the photo is not the person whose name is mentioned", @@ -1290,6 +1290,4 @@ "toEnableAppLockPleaseSetupDevicePasscodeOrScreen": "要启用应用锁,请在系统设置中设置设备密码或屏幕锁定。", "tapToUnlock": "点击解锁", "tooManyIncorrectAttempts": "错误尝试次数过多" - - } \ No newline at end of file diff --git a/mobile/plugins/onnx_dart/README.md b/mobile/plugins/onnx_dart/README.md deleted file mode 100644 index c4b8097695..0000000000 --- a/mobile/plugins/onnx_dart/README.md +++ /dev/null @@ -1,15 +0,0 @@ -# onnx_dart - -A new Flutter plugin project. - -## Getting Started - -This project is a starting point for a Flutter -[plug-in package](https://flutter.dev/developing-packages/), -a specialized package that includes platform-specific implementation code for -Android and/or iOS. - -For help getting started with Flutter development, view the -[online documentation](https://flutter.dev/docs), which offers tutorials, -samples, guidance on mobile development, and a full API reference. - diff --git a/mobile/plugins/onnx_dart/pubspec.yaml b/mobile/plugins/onnx_dart/pubspec.yaml index 63baff5a48..fe7dd8c484 100644 --- a/mobile/plugins/onnx_dart/pubspec.yaml +++ b/mobile/plugins/onnx_dart/pubspec.yaml @@ -1,7 +1,7 @@ name: onnx_dart description: "A new Flutter plugin project." version: 0.0.1 -homepage: +homepage: http://ente.io environment: sdk: '>=3.4.3 <4.0.0' @@ -38,34 +38,3 @@ flutter: android: package: io.ente.photos.onnx_dart pluginClass: OnnxDartPlugin - - # To add assets to your plugin package, add an assets section, like this: - # assets: - # - images/a_dot_burr.jpeg - # - images/a_dot_ham.jpeg - # - # For details regarding assets in packages, see - # https://flutter.dev/assets-and-images/#from-packages - # - # An image asset can refer to one or more resolution-specific "variants", see - # https://flutter.dev/assets-and-images/#resolution-aware - - # To add custom fonts to your plugin package, add a fonts section here, - # in this "flutter" section. Each entry in this list should have a - # "family" key with the font family name, and a "fonts" key with a - # list giving the asset and other descriptors for the font. For - # example: - # fonts: - # - family: Schyler - # fonts: - # - asset: fonts/Schyler-Regular.ttf - # - asset: fonts/Schyler-Italic.ttf - # style: italic - # - family: Trajan Pro - # fonts: - # - asset: fonts/TrajanPro.ttf - # - asset: fonts/TrajanPro_Bold.ttf - # weight: 700 - # - # For details regarding fonts in packages, see - # https://flutter.dev/custom-fonts/#from-packages