Fix architecture generation and add enum key of each string in R2String
Some checks failed
gitea-openium/resgen.swift/pipeline/head There was a failure building this commit

This commit is contained in:
2023-05-12 11:33:36 +02:00
parent 188178fe6a
commit 1e073af5df
15 changed files with 57 additions and 23 deletions

View File

@ -1,4 +1,4 @@
// Generated by ResgenSwift.Color 1.0
// Generated by ResgenSwift.Color 1.2
import SwiftUI
@ -18,4 +18,4 @@ extension ColorYolo {
var blue_light_dark: Color {
Color("blue_light_dark")
}
}
}

View File

@ -1,4 +1,4 @@
// Generated by ResgenSwift.Color 1.0
// Generated by ResgenSwift.Color 1.2
import UIKit
@ -18,4 +18,4 @@ extension UIColorYolo {
@objc var blue_light_dark: UIColor {
UIColor(named: "blue_light_dark")!
}
}
}

View File

@ -1,4 +1,4 @@
// Generated by ResgenSwift.Fonts 1.0
// Generated by ResgenSwift.Fonts 1.2
import SwiftUI
@ -58,4 +58,4 @@ extension FontYolo {
func LatoHairlineItalic(withSize size: CGFloat) -> Font {
Font.custom(FontName.LatoHairlineItalic.rawValue, size: size)
}
}
}

View File

@ -1,4 +1,4 @@
// Generated by ResgenSwift.Fonts 1.0
// Generated by ResgenSwift.Fonts 1.2
import UIKit
@ -58,4 +58,4 @@ extension UIFontYolo {
func LatoHairlineItalic(withSize size: CGFloat) -> UIFont {
UIFont(name: FontName.LatoHairlineItalic.rawValue, size: size)!
}
}
}

View File

@ -1,4 +1,4 @@
// Generated by ResgenSwift.Images 1.0
// Generated by ResgenSwift.Images 1.2
// Images from sampleImages
import SwiftUI
@ -28,4 +28,4 @@ extension ImageYolo {
var ic_close_article: Image {
Image("ic_close_article")
}
}
}

View File

@ -1,4 +1,4 @@
// Generated by ResgenSwift.Images 1.0
// Generated by ResgenSwift.Images 1.2
// Images from sampleImages
import UIKit
@ -28,4 +28,4 @@ extension UIImage {
var ic_close_article: UIImage {
UIImage(named: "ic_close_article")!
}
}
}

View File

@ -1,4 +1,4 @@
// Generated by ResgenSwift.Strings.Stringium 1.0
// Generated by ResgenSwift.Strings.Stringium 1.2
import UIKit
@ -6,6 +6,15 @@ fileprivate let kStringsFileName = "sampleStrings"
extension String {
enum Key: String {
case param_lang = "param_lang"
case generic_back = "generic_back"
case generic_loading_data = "generic_loading_data"
case generic_welcome_firstname_format = "generic_welcome_firstname_format"
case test_equal_symbol = "test_equal_symbol"
case placeholders_test_one = "placeholders_test_one"
}
// MARK: - Webservice
/// Translation in en :
@ -61,4 +70,4 @@ extension String {
func placeholders_test_one(arg0: String, arg1: String, arg2: Int) -> String {
String(format: self.placeholders_test_one, arg0, arg1, arg2)
}
}
}

View File

@ -1,6 +1,6 @@
/**
* Apple Strings File
* Generated by ResgenSwift 1.0
* Generated by ResgenSwift 1.2
* Language: en-us
*/

View File

@ -1,6 +1,6 @@
/**
* Apple Strings File
* Generated by ResgenSwift 1.0
* Generated by ResgenSwift 1.2
* Language: en
*/

View File

@ -1,6 +1,6 @@
/**
* Apple Strings File
* Generated by ResgenSwift 1.0
* Generated by ResgenSwift 1.2
* Language: fr
*/

View File

@ -1,4 +1,4 @@
// Generated by ResgenSwift.Strings.Tags 1.0
// Generated by ResgenSwift.Strings.Tags 1.2
import UIKit
@ -17,4 +17,4 @@ extension Tags {
var screen_two: String {
"Ecran deux"
}
}
}