From ad409f938c0695088ecc4cfd87e6ab01890a9564 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Fri, 2 Dec 2022 18:44:17 +0100 Subject: [PATCH] Created the Localizable strings file and defined the strings for the Login view in it. --- BeReal.xcodeproj/project.pbxproj | 4 ++++ BeReal/Localizable.strings | 14 ++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 BeReal/Localizable.strings diff --git a/BeReal.xcodeproj/project.pbxproj b/BeReal.xcodeproj/project.pbxproj index 79033fb..f48ad62 100644 --- a/BeReal.xcodeproj/project.pbxproj +++ b/BeReal.xcodeproj/project.pbxproj @@ -17,6 +17,7 @@ 02AE650C29363DC1005A4AF3 /* BeRealUITestsLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02AE650B29363DC1005A4AF3 /* BeRealUITestsLaunchTests.swift */; }; 02FFFD7829395D8C00306533 /* LoginForm.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02FFFD7729395D8C00306533 /* LoginForm.swift */; }; 02FFFD7B29395DD200306533 /* String+Constants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 02FFFD7A29395DD200306533 /* String+Constants.swift */; }; + 4694AA9C293A6C2300D54903 /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 4694AA9B293A6C2300D54903 /* Localizable.strings */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -50,6 +51,7 @@ 02AE650B29363DC1005A4AF3 /* BeRealUITestsLaunchTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BeRealUITestsLaunchTests.swift; sourceTree = ""; }; 02FFFD7729395D8C00306533 /* LoginForm.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoginForm.swift; sourceTree = ""; }; 02FFFD7A29395DD200306533 /* String+Constants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "String+Constants.swift"; sourceTree = ""; }; + 4694AA9B293A6C2300D54903 /* Localizable.strings */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; path = Localizable.strings; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -123,6 +125,7 @@ 02AE64F029363DBF005A4AF3 /* ContentView.swift */, 02AE64F229363DC1005A4AF3 /* Assets.xcassets */, 02AE64F429363DC1005A4AF3 /* Preview Content */, + 4694AA9B293A6C2300D54903 /* Localizable.strings */, ); path = BeReal; sourceTree = ""; @@ -274,6 +277,7 @@ buildActionMask = 2147483647; files = ( 02AE64F629363DC1005A4AF3 /* Preview Assets.xcassets in Resources */, + 4694AA9C293A6C2300D54903 /* Localizable.strings in Resources */, 02AE64F329363DC1005A4AF3 /* Assets.xcassets in Resources */, ); runOnlyForDeploymentPostprocessing = 0; diff --git a/BeReal/Localizable.strings b/BeReal/Localizable.strings new file mode 100644 index 0000000..546b3bb --- /dev/null +++ b/BeReal/Localizable.strings @@ -0,0 +1,14 @@ +/* + Localizable.strings + BeReal + + Created by Javier Cicchelli on 02/12/2022. + Copyright © 2022 Röck+Cöde. All rights reserved. +*/ + +// Login view + +"login.title.text" = "My files"; +"login.text_field.username.placeholder" = "Username"; +"login.text_field.password.placeholder" = "Password"; +"login.button.log_in.text" = "Log in";