Normalize unicode file names (converts UTF-8 NFD to NFC).
Required by macOS clients through AFP/NFS/SMB.
Tested on Synology DSM 6.2 with built-in Python 2.7.12.
#!/usr/bin/swift | |
import Foundation | |
var baseLanguage = "fr" | |
var managedLanguages = ["fr": "🇫🇷"] | |
let languageFolderPath = "AppFrameworks/Localization/Localization/Resources" | |
guard CommandLine.arguments.count > 2 else { | |
print("❌ - No argument received, please put the Lokalise [1:Project ID] and your [2:API Token] as args") | |
exit(1) |
// | |
// TimingFunction.swift | |
// | |
// Created by tcldr on 04/11/2018. | |
// https://github.com/tcldr | |
// Copyright © 2018 tcldr. | |
// | |
// Permission is hereby granted, free of charge, | |
// to any person obtaining a copy of this software and | |
// associated documentation files (the "Software"), to |
I've moved this gist to https://github.com/phynet/iOS-Schemes please check it there ;)