Skip to content

Commit 20babfe

Browse files
committed
feat: Implement localization using flutter_localizations
1 parent 4854765 commit 20babfe

55 files changed

Lines changed: 2557 additions & 137 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@
395395
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
396396
GCC_WARN_UNUSED_FUNCTION = YES;
397397
GCC_WARN_UNUSED_VARIABLE = YES;
398-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
398+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
399399
MTL_ENABLE_DEBUG_INFO = NO;
400400
SDKROOT = iphoneos;
401401
SUPPORTED_PLATFORMS = iphoneos;
@@ -482,7 +482,7 @@
482482
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
483483
GCC_WARN_UNUSED_FUNCTION = YES;
484484
GCC_WARN_UNUSED_VARIABLE = YES;
485-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
485+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
486486
MTL_ENABLE_DEBUG_INFO = YES;
487487
ONLY_ACTIVE_ARCH = YES;
488488
SDKROOT = iphoneos;
@@ -531,7 +531,7 @@
531531
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
532532
GCC_WARN_UNUSED_FUNCTION = YES;
533533
GCC_WARN_UNUSED_VARIABLE = YES;
534-
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
534+
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
535535
MTL_ENABLE_DEBUG_INFO = NO;
536536
SDKROOT = iphoneos;
537537
SUPPORTED_PLATFORMS = iphoneos;

ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
2930
shouldUseLaunchSchemeArgsEnv = "YES">
3031
<MacroExpansion>
3132
<BuildableReference
@@ -43,11 +44,13 @@
4344
buildConfiguration = "Debug"
4445
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
4546
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
47+
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
4648
launchStyle = "0"
4749
useCustomWorkingDirectory = "NO"
4850
ignoresPersistentStateOnLaunch = "NO"
4951
debugDocumentVersioning = "YES"
5052
debugServiceExtension = "internal"
53+
enableGPUValidationMode = "1"
5154
allowLocationSimulation = "YES">
5255
<BuildableProductRunnable
5356
runnableDebuggingMode = "0">

lib/data/core/exception/exception_msg.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import 'package:flutter/cupertino.dart';
2-
import 'package:flutter_gen/gen_l10n/app_localization.dart';
2+
import 'package:projectunity/data/l10n/app_localization.dart';
33

44
import 'error_const.dart';
55

lib/data/core/extensions/context_extension.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import 'package:flutter/cupertino.dart';
22
import '../../../style/app_theme.dart';
33
import '../../../style/colors.dart';
4-
import 'package:flutter_gen/gen_l10n/app_localization.dart';
4+
import 'package:projectunity/data/l10n/app_localization.dart';
55

66
extension BuildContextExtension on BuildContext {
77
AppColorScheme get colorScheme => appColorSchemeOf(this);

lib/data/core/utils/date_formatter.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import 'package:flutter_gen/gen_l10n/app_localization.dart';
1+
import 'package:projectunity/data/l10n/app_localization.dart';
22
import 'package:intl/intl.dart';
33
import 'package:projectunity/data/core/extensions/date_time.dart';
44
import 'package:projectunity/data/core/extensions/string_extension.dart';

0 commit comments

Comments
 (0)