mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
Increase inputPhraseLengthLimit option's maximum
Those who use GoldenDict to translate long text with Google Translate or pronounce it with a text-to-speech engine (see a discussion in comments under #1313) may still want to limit the input phrase length. But they might prefer a limit greater than the current maximum - ten thousand symbols. Ten million minus one symbols should be generous enough. I don't want to increase the maximum further to avoid excessive widening of spinboxes in the Preferences UI. Besides, a ten megabyte input phrase freezes GoldenDict's UI with high CPU usage for a minute on my system.
This commit is contained in:
parent
dea11ca080
commit
aba8997438
|
@ -1800,7 +1800,7 @@ from mouse-over, selection, clipboard or command line</string>
|
|||
<string>Input phrases longer than this size will be ignored</string>
|
||||
</property>
|
||||
<property name="maximum">
|
||||
<number>10000</number>
|
||||
<number>9999999</number>
|
||||
</property>
|
||||
<property name="singleStep">
|
||||
<number>10</number>
|
||||
|
|
Loading…
Reference in a new issue