mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-09-27 22:51:44 +02:00
Update Ghostgram features
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
public func sgTranslationLangFix(_ language: String) -> String {
|
||||
if language.hasPrefix("de-") {
|
||||
return "de"
|
||||
} else if language.hasPrefix("zh-") {
|
||||
return "zh"
|
||||
} else {
|
||||
return language
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user