Warning, /network/kdeconnect-ios/KDE Connect/KDE Connect/Texts/Contributors.swift is written in an unsupported language. File is not indexed.
0001 /*
0002 * SPDX-FileCopyrightText: 2022 Apollo Zhu <public-apollonian@outlook.com>
0003 *
0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0005 */
0006
0007 // Original header below:
0008 //
0009 // Contributors.swift
0010 // KDE Connect
0011 //
0012 // Created by Apollo Zhu on 5/13/22.
0013 //
0014
0015 import Foundation
0016 import struct SwiftUI.Text
0017
0018 enum Contributors {
0019 case maintainers
0020 case authors
0021
0022 /// sorted by KDE Identity Username, since name could be localized
0023 var identities: [Contributor] {
0024 switch self {
0025 case .maintainers:
0026 return [
0027 Contributor(name: NSLocalizedString("Lucas Wang", comment: ""), kde: "lucaswzx"),
0028 ]
0029 case .authors:
0030 return [
0031 Contributor(name: NSLocalizedString("Apollo Zhu",
0032 comment: "Please use 朱智语 in languages with these characters."),
0033 kde: "apollozhu"),
0034 Contributor(name: NSLocalizedString("Dan Stoian", comment: ""), kde: "danthedante"),
0035 Contributor(name: NSLocalizedString("Han Young", comment: ""), kde: "hanyoung"),
0036 Contributor(name: NSLocalizedString("James Rosson", comment: ""), kde: "jrosson"),
0037 Contributor(name: NSLocalizedString("Nicolás Alvarez", comment: ""), kde: "nalvarez"),
0038 Contributor(name: NSLocalizedString("Ruixuan Tu", comment: ""), kde: "ruixuantu"),
0039 Contributor(name: NSLocalizedString("Weixuan Xiao", comment: ""), kde: "wxiao"),
0040 Contributor(name: NSLocalizedString("Qiao YANG", comment: ""), kde: "yangqiao"),
0041 ]
0042 }
0043 }
0044 }
0045
0046 struct Contributor {
0047 let name: String
0048 let kde: String
0049 }