Skip to content

Commit 7409b23

Browse files
authored
Release/1.0.5 (#214)
2 parents dffc14f + 2fd1a4a commit 7409b23

File tree

12 files changed

+44
-334
lines changed

12 files changed

+44
-334
lines changed

.swiftpm/xcode/xcshareddata/xcschemes/Lingua.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1420"
3+
LastUpgradeVersion = "1600"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

.swiftpm/xcode/xcshareddata/xcschemes/LinguaLib.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1500"
3+
LastUpgradeVersion = "1600"
44
version = "1.7">
55
<BuildAction
66
parallelizeBuildables = "YES"

.swiftpm/xcode/xcshareddata/xcschemes/LinguaTests.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1420"
3+
LastUpgradeVersion = "1600"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Lingua-App/Lingua/Lingua.xcodeproj/project.pbxproj

Lines changed: 25 additions & 323 deletions
Large diffs are not rendered by default.

Lingua-App/Lingua/Lingua.xcodeproj/xcshareddata/xcschemes/LinguaApp.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1420"
3+
LastUpgradeVersion = "1600"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Lingua-App/Lingua/Lingua/Resources/Assets.xcassets/lingua_menu_bar_icon.imageset/Contents.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@
88
"info" : {
99
"author" : "xcode",
1010
"version" : 1
11+
},
12+
"properties" : {
13+
"template-rendering-intent" : "template"
1114
}
1215
}

Lingua-App/Lingua/Lingua/Resources/Localization/Lingua.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ enum Lingua {
6262
static let inputProjectName = tr("ProjectForm", "input_project_name")
6363
/// Sheet ID *
6464
static let inputSheetId = tr("ProjectForm", "input_sheet_id")
65-
/// After you "Localize", you have to Add files to "%@"... in Xcode, if they are not added already
65+
/// After you "Localize", you have to Add files to "%@"... in Xcode, if they are not added already.\n\nNOTE: If you are using Xcode 16 and have structured your project using 'Folders' instead of 'Groups', this step is not necessary.
6666
static func iosLocalizationInfoMessage(_ param1: String) -> String {
6767
return tr("ProjectForm", "ios_localization_info_message", param1)
6868
}

Lingua-App/Lingua/Lingua/Resources/Localization/en.lproj/ProjectForm.strings

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
"localize_button" = "Localize";
1515
"swift_code_toggle_title" = "Generate Swift Code";
1616
"input_directory_button" = "Choose Directory";
17-
"ios_localization_info_message" = "After you \"Localize\", you have to Add files to \"%@\"... in Xcode, if they are not added already";
17+
"ios_localization_info_message" = "After you \"Localize\", you have to Add files to \"%@\"... in Xcode, if they are not added already.
18+
19+
NOTE: If you are using Xcode 16 and have structured your project using 'Folders' instead of 'Groups', this step is not necessary.";
1820
"api_key_help" = "Here are the steps to enable the Google Sheets API and create an API key:
1921

2022
* Go to the https://console.cloud.google.com/.

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,10 @@ Then in the configuration file created you need to provide your data, like below
149149

150150
The output directory property should be the path where you want the tool to create localization files.
151151

152-
* For iOS it can be any directory on your project. After you run the command, for the first time, you have to **`Add files to 'YourProject'`** in Xcode.
152+
* For iOS it can be any directory on your project.
153+
154+
After you run the command, for the first time, you have to **`Add files to 'YourProject'`** in Xcode.\
155+
**NOTE:** If you are using Xcode 16 and have structured your project using **Folders** instead of **Groups**, this step is not necessary.
153156

154157
* For Android, since the translation are placed in a specific project directory, the output directory it should look something like this: **`path/YourProject/app/src/main/res `**
155158

Sources/LinguaLib/Common/Extensions/String+Extension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Foundation
22

33
public extension String {
44
static let packageName = "Lingua"
5-
static let version = "1.0.4"
5+
static let version = "1.0.5"
66
static let swiftLocalizedName = "\(String.packageName).swift"
77
static let fileHeader = """
88
This file was generated with Lingua command line tool. Please do not change it!

0 commit comments

Comments
 (0)