mirror of
https://github.com/bitfireAT/davx5-ose.git
synced 2026-03-06 16:18:50 -05:00
15 lines
290 B
Ruby
Executable File
15 lines
290 B
Ruby
Executable File
#!/usr/bin/ruby
|
|
|
|
require 'json'
|
|
|
|
contributors = {}
|
|
|
|
transifex = JSON.parse(STDIN.read, :symbolize_names => true)
|
|
for t in transifex
|
|
lang = t[:language_code]
|
|
people = t[:translators]
|
|
contributors[lang] = people.sort_by { |nick| nick.downcase }
|
|
end
|
|
|
|
puts contributors.sort.to_h.to_json
|