<commit_before>import UIKit

extension UIViewController {
    
    func wmf_showAlertWithError(_ error: NSError) {
        let alert = UIAlertController(title: error.localizedDescription, message: error.localizedRecoverySuggestion, preferredStyle: .alert)
        alert.addAction(UIAlertAction(title: "OK", style:.default, handler: nil))
        present(alert, animated: true, completion: nil)
    }
    
    func wmf_showAlertWithMessage(_ message: String) {
        let alert = UIAlertController(title: nil, message: message, preferredStyle: .alert)
        alert.addAction(UIAlertAction(title: "OK", style:.default, handler: nil))
        present(alert, animated: true, completion: nil)
    }
    
}
<commit_msg>use localized OK<commit_after>import UIKit

extension UIViewController {
    
    func wmf_showAlertWithError(_ error: NSError) {
        let alert = UIAlertController(title: error.localizedDescription, message: error.localizedRecoverySuggestion, preferredStyle: .alert)
        alert.addAction(UIAlertAction(title: localizedStringForKeyFallingBackOnEnglish("button-ok"), style:.default, handler: nil))
        present(alert, animated: true, completion: nil)
    }
    
    func wmf_showAlertWithMessage(_ message: String) {
        let alert = UIAlertController(title: nil, message: message, preferredStyle: .alert)
        alert.addAction(UIAlertAction(title: localizedStringForKeyFallingBackOnEnglish("button-ok"), style:.default, handler: nil))
        present(alert, animated: true, completion: nil)
    }
    
}

{'fraction_non_alphanumeric': 0.09915198956294846, 'fraction_numerical': 0.0, 'mean_word_length': 4.235494880546075, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7241303', 'n_tokens_mistral': 436, 'n_tokens_neox': 422, 'n_words': 98}