From 3798c341d524eb474763d4ccfc8a49e8bf106aa7 Mon Sep 17 00:00:00 2001 From: fzerorubigd Date: Tue, 21 Apr 2015 09:42:13 +0430 Subject: [PATCH] add persian language to switch lang rule refs #28 --- thefuck/rules/switch_lang.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thefuck/rules/switch_lang.py b/thefuck/rules/switch_lang.py index aa75e5f2..1c35f769 100644 --- a/thefuck/rules/switch_lang.py +++ b/thefuck/rules/switch_lang.py @@ -2,7 +2,7 @@ target_layout = '''qwertyuiop[]asdfghjkl;'zxcvbnm,./QWERTYUIOP{}ASDFGHJKL:"ZXCVBNM<>?''' -source_layouts = [u'''йцукенгшщзхъфывапролджэячсмитьбю.ЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ,'''] +source_layouts = [u'''йцукенгшщзхъфывапролджэячсмитьбю.ЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ,''', u'''ضصثقفغعهخحجچشسیبلاتنمکگظطزرذدپو./ًٌٍَُِّْ][}{ؤئيإأآة»«:؛كٓژٰ‌ٔء><؟'''] def _get_matched_layout(command):