UI & Data persistence for Send Special Keys menu

This commit is contained in:
True Zhuanjia committed 2024-07-23 23:52:20 +08:00
1 parent 458daddf38
commit eb6adea47c
6 files changed
+424 -3

No files matched your search

@@ -0,0 +1,17 @@
//
// SwiftLocalizationHelper.swift
// Moonlight-ZWM
//
// Created by ZWM on 2024/7/23.
// Copyright © 2024 Moonlight Game Streaming Project. All rights reserved.
//
import Foundation
class SwiftLocalizationHelper {
static func localizedString(forKey key: String, _ args: CVarArg...) -> String {
let format = NSLocalizedString(key, tableName: "Localizable", bundle: .main, value: "", comment: "")
return String(format: format, arguments: args)
}
}