Modification de l'affichage des commentaires
Some checks failed
gitea-openium/resgen.swift/pipeline/head There was a failure building this commit
gitea-openium/resgen.swift/pipeline/pr-master There was a failure building this commit

This commit is contained in:
2024-04-11 11:18:57 +02:00
parent d21ad9d1ea
commit 55264d61ad
3 changed files with 65 additions and 0 deletions

View File

@ -352,6 +352,8 @@ final class StringsFileGeneratorTests: XCTestCase {
/// Translation in fr :
/// Section Un - Definition Un
///
/// Comment :
/// This is a comment
var s1_def_one: String {
NSLocalizedString("s1_def_one", tableName: kStringsFileName, bundle: Bundle.main, value: "Section Un - Definition Un", comment: "This is a comment")
@ -359,6 +361,8 @@ final class StringsFileGeneratorTests: XCTestCase {
/// Translation in fr :
/// Section Un - Definition Deux
///
/// Comment :
/// This is a comment
var s1_def_two: String {
NSLocalizedString("s1_def_two", tableName: kStringsFileName, bundle: Bundle.main, value: "Section Un - Definition Deux", comment: "This is a comment")
@ -368,6 +372,8 @@ final class StringsFileGeneratorTests: XCTestCase {
/// Translation in fr :
/// Section Deux - Definition Un
///
/// Comment :
/// This is a comment
var s2_def_one: String {
NSLocalizedString("s2_def_one", tableName: kStringsFileName, bundle: Bundle.main, value: "Section Deux - Definition Un", comment: "This is a comment")
@ -375,6 +381,8 @@ final class StringsFileGeneratorTests: XCTestCase {
/// Translation in fr :
/// Section Deux - Definition Deux
///
/// Comment :
/// This is a comment
var s2_def_two: String {
NSLocalizedString("s2_def_two", tableName: kStringsFileName, bundle: Bundle.main, value: "Section Deux - Definition Deux", comment: "This is a comment")
@ -553,6 +561,8 @@ final class StringsFileGeneratorTests: XCTestCase {
/// Translation in fr :
/// Section Un - Definition Un
///
/// Comment :
/// This is a comment
static var s1_def_one: String {
NSLocalizedString("s1_def_one", tableName: kStringsFileName, bundle: Bundle.main, value: "Section Un - Definition Un", comment: "This is a comment")
@ -560,6 +570,8 @@ final class StringsFileGeneratorTests: XCTestCase {
/// Translation in fr :
/// Section Un - Definition Deux
///
/// Comment :
/// This is a comment
static var s1_def_two: String {
NSLocalizedString("s1_def_two", tableName: kStringsFileName, bundle: Bundle.main, value: "Section Un - Definition Deux", comment: "This is a comment")
@ -569,6 +581,8 @@ final class StringsFileGeneratorTests: XCTestCase {
/// Translation in fr :
/// Section Deux - Definition Un
///
/// Comment :
/// This is a comment
static var s2_def_one: String {
NSLocalizedString("s2_def_one", tableName: kStringsFileName, bundle: Bundle.main, value: "Section Deux - Definition Un", comment: "This is a comment")
@ -576,6 +590,8 @@ final class StringsFileGeneratorTests: XCTestCase {
/// Translation in fr :
/// Section Deux - Definition Deux
///
/// Comment :
/// This is a comment
static var s2_def_two: String {
NSLocalizedString("s2_def_two", tableName: kStringsFileName, bundle: Bundle.main, value: "Section Deux - Definition Deux", comment: "This is a comment")