~cytrogen/fluent-reader-mobile

64c6aee08a7eb702d04aa60cec7131eda0e35820 — Bruce Liu 4 years ago e5f5ada
add german language support
M ios/.gitignore => ios/.gitignore +1 -0
@@ 24,6 24,7 @@ Flutter/flutter_assets/
Flutter/flutter_export_environment.sh
ServiceDefinitions.json
Runner/GeneratedPluginRegistrant.*
build

# Exceptions to above rules.
!default.mode1v3

M ios/Runner.xcodeproj/project.pbxproj => ios/Runner.xcodeproj/project.pbxproj +6 -3
@@ 35,6 35,7 @@
		324ACECE25C909AD00CD3591 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/LaunchScreen.strings; sourceTree = "<group>"; };
		32561D9E25BE823400DBD252 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = "<group>"; };
		3271990C25BBF9C8008EA00E /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/LaunchScreen.strings"; sourceTree = "<group>"; };
		32AC73DE263AED42001F500B /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/LaunchScreen.strings; sourceTree = "<group>"; };
		3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
		40360520B75D3E668845C254 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
		6462689146C9FF38DFEA397D /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };


@@ 177,6 178,7 @@
				Base,
				"zh-Hans",
				es,
				de,
			);
			mainGroup = 97C146E51CF9000F007C117D;
			productRefGroup = 97C146EF1CF9000F007C117D /* Products */;


@@ 299,6 301,7 @@
				97C147001CF9000F007C117D /* Base */,
				3271990C25BBF9C8008EA00E /* zh-Hans */,
				324ACECE25C909AD00CD3591 /* es */,
				32AC73DE263AED42001F500B /* de */,
			);
			name = LaunchScreen.storyboard;
			sourceTree = "<group>";


@@ 364,7 367,7 @@
				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
				CLANG_ENABLE_MODULES = YES;
				CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
				CODE_SIGN_IDENTITY = "iPhone Developer";
				CODE_SIGN_IDENTITY = "Apple Development";
				CODE_SIGN_STYLE = Automatic;
				CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
				DEVELOPMENT_TEAM = EM8VE646TZ;


@@ 508,7 511,7 @@
				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
				CLANG_ENABLE_MODULES = YES;
				CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
				CODE_SIGN_IDENTITY = "iPhone Developer";
				CODE_SIGN_IDENTITY = "Apple Development";
				CODE_SIGN_STYLE = Automatic;
				CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
				DEVELOPMENT_TEAM = EM8VE646TZ;


@@ 544,7 547,7 @@
				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
				CLANG_ENABLE_MODULES = YES;
				CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
				CODE_SIGN_IDENTITY = "iPhone Developer";
				CODE_SIGN_IDENTITY = "Apple Development";
				CODE_SIGN_STYLE = Automatic;
				CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
				DEVELOPMENT_TEAM = EM8VE646TZ;

M ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata => ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +1 -1
@@ 2,6 2,6 @@
<Workspace
   version = "1.0">
   <FileRef
      location = "group:Runner.xcodeproj">
      location = "self:">
   </FileRef>
</Workspace>

A ios/Runner/de.lproj/LaunchScreen.strings => ios/Runner/de.lproj/LaunchScreen.strings +1 -0
@@ 0,0 1,1 @@


M lib/main.dart => lib/main.dart +1 -0
@@ 110,6 110,7 @@ class MyApp extends StatelessWidget {
          ],
          locale: globalModel.locale,
          supportedLocales: [
            const Locale("de"),
            const Locale("en"),
            const Locale("es"),
            const Locale("zh"),

M lib/pages/settings/general_page.dart => lib/pages/settings/general_page.dart +1 -0
@@ 131,6 131,7 @@ class _GeneralPageState extends State<GeneralPage> {
        final localeItems = ListTileGroup.fromOptions(
          [
            Tuple2(S.of(context).followSystem, null),
            const Tuple2("Deutsch", Locale("de")),
            const Tuple2("English", Locale("en")),
            const Tuple2("Español", Locale("es")),
            const Tuple2("中文(简体)", Locale("zh")),