We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdbb183 commit ebcd7d5Copy full SHA for ebcd7d5
Flow.Launcher.Infrastructure/PinyinAlphabet.cs
@@ -77,7 +77,7 @@ private void LoadDoublePinyinTable()
77
public bool ShouldTranslate(string stringToTranslate)
78
{
79
// If a string has Chinese characters, we don't need to translate it to pinyin.
80
- return !WordsHelper.HasChinese(stringToTranslate);
+ return _settings.ShouldUsePinyin && !WordsHelper.HasChinese(stringToTranslate);
81
}
82
83
public (string translation, TranslationMapping map) Translate(string content)
0 commit comments