Skip to content

Commit

Permalink
Merge pull request #29 from transifex/stelios/feature/expose_txsource…
Browse files Browse the repository at this point in the history
…string_properties

Expose TXSourceString properties
  • Loading branch information
stelabouras authored Jun 23, 2021
2 parents 18b36f5 + 31692c9 commit de472a7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Sources/Transifex/SourceString.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ import Foundation
/// properties of the struct while also being able to be used both by Swift and Objective-C applications.
public final class TXSourceString: NSObject {
/// The key that was generated by the `txGenerateKey()` method
let key: String
public let key: String
/// The source string
let sourceString: String
public let sourceString: String
/// An optional developer comment
let developerComment: String?
public let developerComment: String?
/// A list of relative file paths where this string is located.
let occurrences: [String]
public let occurrences: [String]
/// A list of tags accompanying this source string
let tags: [String]?
public let tags: [String]?
/// A limit provided by the developer that should be respected by translators when translating the
/// source string, 0 means no limit.
let characterLimit: Int
public let characterLimit: Int
/// A list of strings providing more context to the source string
let context: [String]?
public let context: [String]?

/// Public and designated constructor.
///
Expand Down

0 comments on commit de472a7

Please sign in to comment.