Skip to content

Commit

Permalink
Sort locales in generated strings comment, so it is stable
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlokhorst committed Nov 3, 2024
1 parent b4ac04c commit 796710b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/RswiftGenerators/StringsTable+Generator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ private struct StringWithParams {
}

let locales = values.compactMap { $0.0.localeDescription }
results.append("Locales: \(locales.joined(separator: ", "))")
results.append("Locales: \(locales.sorted().joined(separator: ", "))")
}

return results
Expand Down

0 comments on commit 796710b

Please sign in to comment.