From 8716f3d8a5ebe12425c08a4f56f898724579be4b Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 20 May 2021 00:06:27 +1000 Subject: [PATCH] Add instruction for compiling translated strings before release --- RELEASE.md | 4 ++++ lib/l10n | 2 +- lib/main.dart | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 8d15f102..0593d05a 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -12,6 +12,10 @@ Add a file `key.properties` under the android/ directory Make sure that the build number is incremented every time (or it will be rejected by Play Store). +### Copy Translations + +Ensure that the translation files have been updated, and copied into the correct directory!! + ### Build Appbundle `flutter build appbundle` diff --git a/lib/l10n b/lib/l10n index e95cb254..0172ceec 160000 --- a/lib/l10n +++ b/lib/l10n @@ -1 +1 @@ -Subproject commit e95cb254a413f282e6c4f6ebd392adb6101c47dc +Subproject commit 0172ceec228779cbb10abc69d04f91678e26efd5 diff --git a/lib/main.dart b/lib/main.dart index e9c9a978..4d955f87 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -73,7 +73,7 @@ class InvenTreeApp extends StatelessWidget { ], supportedLocales: [ const Locale('de', ''), - const Locale('en', ''), // English, no country code + const Locale('en', ''), const Locale('es', ''), const Locale('fr', ''), const Locale('it', ''),