From bd9e6617827818fd043452c08c606f07b78014a0 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../modules/dbsearchengine2/dbseprefwidget.ui | 1039 ++++++++++++++++++++ 1 file changed, 1039 insertions(+) create mode 100644 kbabel/kbabeldict/modules/dbsearchengine2/dbseprefwidget.ui (limited to 'kbabel/kbabeldict/modules/dbsearchengine2/dbseprefwidget.ui') diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbseprefwidget.ui b/kbabel/kbabeldict/modules/dbsearchengine2/dbseprefwidget.ui new file mode 100644 index 00000000..c233265f --- /dev/null +++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbseprefwidget.ui @@ -0,0 +1,1039 @@ + +DBSearchEnginePref +Andrea Rizzi <rizzi@kde.org> + + + DBSEPrefWidget + + + + 0 + 0 + 414 + 426 + + + + DBSEPrefWidget + + + + unnamed + + + 11 + + + 6 + + + + TabWidget6 + + + + + + + Widget4 + + + Generic + + + + unnamed + + + 11 + + + 6 + + + + ButtonGroup2 + + + Search Mode + + + + unnamed + + + 11 + + + 6 + + + + allRB + + + Search in whole database (slow) + + + <qml>Scroll the whole database and return everything that matches +according to the rules defined in tabs <strong> Generic </strong> +and <strong>Match</strong> + + + + + slistRB + + + Search in list of "good keys" (best) + + + true + + + <qml>Search in a list of <em>good keys</em> (see <strong>Good keys</strong> tab) with rules defined in <strong>Search</strong> tab. +This is the best way to search because the <em>good keys</em> list probably contains all the keys that match with your query. However, it is smaller than the whole database. + + + + + rlistRB + + + Return the list of "good keys" (fast) + + + <qml>Returns the whole <em>good keys</em> list. Rules defined in <strong>Search</strong> tab are ignored. + + + + + + + caseSensitiveCB + + + Case sensitive + + + <qml>If it is checked the search will be case sensitive. It is ignored if you use <em>Return the list of "good keys"</em> search mode. + + + + + normalizeCB + + + Normalize white space + + + true + + + Remove white spaces at the beginning and at the end of the phrase. +It also substitutes groups of more than one space character with only one space character. + + + + + removeContextCB + + + Remove context comment + + + true + + + Remove, if exists, the _:comment + + + + + Layout11 + + + + unnamed + + + 0 + + + 6 + + + + TextLabel3 + + + Character to be ignored: + + + + + ignoreLE + + + + 7 + 5 + 0 + 0 + + + + + 0 + 20 + + + + + + + + Spacer1 + + + Vertical + + + Expanding + + + + + + + Widget5 + + + Search + + + + unnamed + + + 11 + + + 6 + + + + ButtonGroup1 + + + Matching Method + + + + unnamed + + + 11 + + + 6 + + + + Spacer4 + + + Horizontal + + + Fixed + + + + 20 + 20 + + + + + + Spacer6 + + + Horizontal + + + Fixed + + + + 20 + 20 + + + + + + containedCB + + + Query is contained + + + Match if query is contained in database string + + + + + containsCB + + + Query contains + + + Match if query contains the database string + + + + + normalTextRB + + + Normal text + + + true + + + Consider the search string as normal text. + + + + + equalCB + + + Equal + + + true + + + false + + + Match if query and database string are equal + + + + + Spacer7 + + + Horizontal + + + Fixed + + + + 20 + 20 + + + + + + RegExpRB + + + Regular expression + + + Consider the search string as a regular expression + + + + + + + GroupBox3 + + + Word Substitution + + + <qml>If you use one or two <em>word substitution</em> each time you search a phrase with less than the specified number of words, the search engine will also search for all phrases that differ from the original one in one or two words.<p> +<strong>Example:</strong><br> +If you search for <em>My name is Andrea</em> and you have activated <em>one word substitution</em> you may also find phrases like <em>My name is Joe</em> or <em>Your name is Andrea</em>. + + + + unnamed + + + 11 + + + 6 + + + + Spacer8 + + + Horizontal + + + Fixed + + + + 20 + 20 + + + + + + oneWordSubCB + + + Use one word substitution + + + true + + + false + + + + + Spacer9 + + + Horizontal + + + Fixed + + + + 20 + 20 + + + + + + TextLabel1 + + + Max number of words in the query: + + + + + twoWordSubSB + + + false + + + 14 + + + 10 + + + + + twoWordSubCB + + + false + + + Use two word substitution + + + true + + + + + TextLabel2 + + + Max number of words in the query: + + + + + Layout7 + + + + unnamed + + + 0 + + + 6 + + + + TextLabel5_3 + + + [A-Za-z0-9_% + + + AlignVCenter|AlignRight + + + + + + + regExpLE + + + + + TextLabel6_2 + + + ] + + + + + + + TextLabel4 + + + Local characters for regular expressions: + + + + + oneWordSubSB + + + 200 + + + 2 + + + 40 + + + + + + + Spacer1_2 + + + Vertical + + + Expanding + + + + + + + Widget6 + + + Database + + + + unnamed + + + 11 + + + 6 + + + + TextLabel7_2 + + + Database folder: + + + + + dirInput + + + + + autoAddCB_2 + + + true + + + Auto add entry to database + + + true + + + Automatically add an entry to the database if a new translation is notified by someone (may be kbabel) + + + + + Layout3 + + + + unnamed + + + 0 + + + 6 + + + + TextLabel1_4 + + + Auto added entry author: + + + + + authorLE + + + <qml>Put here the name and email address that you want to use as <em>last translator</em> filed when you auto-add entry to the database (e.g. when you modify a translation with kbabel).<p> + + + + + + + scanFilePB + + + Scan Single PO File + + + + + scanPB_2 + + + Scan Folder + + + + + scanrecPB + + + Scan Folder && Subfolders + + + + + Layout5 + + + + unnamed + + + 0 + + + 6 + + + + filenameLB + + + Scanning file: + + + + + entriesLB + + + Entries added: + + + + + + + Layout4 + + + + unnamed + + + 0 + + + 6 + + + + processPB + + + Panel + + + Sunken + + + true + + + false + + + + + TextLabel1_3 + + + Total progress: + + + + + TextLabel3_3 + + + Processing file: + + + + + totalPB + + + Panel + + + Sunken + + + true + + + + + loadingPB + + + Panel + + + Sunken + + + true + + + + + TextLabel2_3 + + + Loading file: + + + + + + + exportPB + + + false + + + Export... + + + + + statPB + + + false + + + Statistics + + + + + repeatPB + + + Repeated Strings + + + + + + + tab + + + Good Keys + + + + unnamed + + + 11 + + + 6 + + + + GroupBox4 + + + Generic + + + <qml>Here you can define how to fill the <em>good keys list</em>.<p> +You can set the minimum number of words of the query that a key must have to be inserted in the <em>good keys list</em>.<p> +You can also set the minimum number of words of the key that the query must have to insert the key in the list.<p> +These two numbers are the percentage of the total number of words. If the result of this percentage is less than one, the engine will set it to one.<p> +Finally you can set the maximum number of entries in the list. + + + + unnamed + + + 11 + + + 6 + + + + TextLabel3_2 + + + Minimum number of words of the key also in the query (%): + + + RichText + + + + + thresholdSL + + + 100 + + + 50 + + + Horizontal + + + + + SpinBox5 + + + % + + + 100 + + + 50 + + + + + TextLabel2_2 + + + Minimum number of query words in the key (%): + + + + + maxSB + + + 5000 + + + 30 + + + + + SpinBox6 + + + % + + + 100 + + + 50 + + + + + TextLabel4_2 + + + Max list length: + + + + + thresholdOrigSL + + + 100 + + + 50 + + + Horizontal + + + + + + + GroupBox3_2 + + + Frequent Words + + + + unnamed + + + 11 + + + 6 + + + + TextLabel1_2 + + + Discard words more frequent than: + + + + + freqSB + + + /10000 + + + 10000 + + + 1 + + + 100 + + + + + nothingCB + + + Frequent words are considered as in every key + + + + + + + Spacer3 + + + Vertical + + + Expanding + + + + + + + + + + thresholdSL + valueChanged(int) + SpinBox5 + setValue(int) + + + thresholdOrigSL + valueChanged(int) + SpinBox6 + setValue(int) + + + SpinBox5 + valueChanged(int) + thresholdSL + setValue(int) + + + SpinBox6 + valueChanged(int) + thresholdOrigSL + setValue(int) + + + + klocale.h + kseparator.h + + + -- cgit v1.2.1