Created the Localizable strings file and defined the strings for the Login view in it.

This commit is contained in:
Javier Cicchelli 2022-12-02 18:44:17 +01:00
parent a3a44a90b0
commit ad409f938c
2 changed files with 18 additions and 0 deletions

View File

@ -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 = "<group>"; };
02FFFD7729395D8C00306533 /* LoginForm.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoginForm.swift; sourceTree = "<group>"; };
02FFFD7A29395DD200306533 /* String+Constants.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "String+Constants.swift"; sourceTree = "<group>"; };
4694AA9B293A6C2300D54903 /* Localizable.strings */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; path = Localizable.strings; sourceTree = "<group>"; };
/* 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 = "<group>";
@ -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;

View File

@ -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";