Skip to content

Commit

Permalink
update langcodes and improve listview lazyloading by adding a sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
xulihang committed Dec 26, 2018
1 parent 3eabb80 commit 143567b
Show file tree
Hide file tree
Showing 16 changed files with 64 additions and 1,192 deletions.
81 changes: 41 additions & 40 deletions BasicCAT/BasicCAT.b4j
Original file line number Diff line number Diff line change
Expand Up @@ -169,50 +169,50 @@ Library8=jrandomaccessfile
Library9=jb4xencryption
Module1=FileChooserUtils
Module10=preTranslateDialog
Module11=idmlFilter
Module12=xliffFilter
Module13=dictWebView
Module14=InputTextAreaBox
Module15=searchAndReplaceDialog
Module16=Utils
Module17=FontPicker
Module18=SRX
Module19=ITP
Module11=Utils
Module12=PDF2TXT
Module13=pdfbox
Module14=git
Module15=idmlFilter
Module16=xliffFilter
Module17=dictWebView
Module18=InputTextAreaBox
Module19=searchAndReplaceDialog
Module2=Project
Module20=TermEditor
Module21=TermManager
Module22=HistoryViewer
Module23=HistoryRecord
Module24=TMManager
Module25=Previewer
Module26=ClientKVS
Module27=MT
Module28=statistics
Module29=LanguageTool
Module20=FontPicker
Module21=SRX
Module22=ITP
Module23=TermEditor
Module24=TermManager
Module25=HistoryViewer
Module26=HistoryRecord
Module27=TMManager
Module28=Previewer
Module29=ClientKVS
Module3=segmentation
Module30=confirmReviewDialog
Module31=LanguagePairSelector
Module32=git
Module33=idmlUtils
Module34=editDistance
Module35=PDF2TXT
Module36=InputBox
Module37=MTParamsFiller
Module38=Preferences
Module39=importDialog
Module30=MT
Module31=statistics
Module32=LanguageTool
Module33=confirmReviewDialog
Module34=LanguagePairSelector
Module35=idmlUtils
Module36=editDistance
Module37=InputBox
Module38=MTParamsFiller
Module39=Preferences
Module4=CustomListView
Module40=XMLUtils
Module41=progressDialog
Module42=filterGenericUtils
Module43=TMX
Module44=TBX
Module45=Xml2Map
Module46=CallSubUtils
Module47=FileUtils
Module48=viewSegment
Module49=SearchView
Module40=importDialog
Module41=XMLUtils
Module42=progressDialog
Module43=filterGenericUtils
Module44=TMX
Module45=TBX
Module46=Xml2Map
Module47=CallSubUtils
Module48=FileUtils
Module49=viewSegment
Module5=txtFilter
Module50=pdfbox
Module50=SearchView
Module51=serverLauncher
Module52=Map2Xml
Module53=icu4j
Expand Down Expand Up @@ -1253,6 +1253,7 @@ End Sub

Sub checkVisibleRange
Try
Sleep(50)
Dim currentVisibleRange As Range
currentVisibleRange=getVisibleRange(editorLV)
'If previousRange.lastIndex<>currentVisibleRange.lastIndex Or previousRange.firstIndex<>currentVisibleRange.firstIndex Then
Expand Down
2 changes: 1 addition & 1 deletion BasicCAT/BasicCAT.b4j.meta
Original file line number Diff line number Diff line change
Expand Up @@ -182,4 +182,4 @@ ModuleClosedNodes7=
ModuleClosedNodes8=
ModuleClosedNodes9=
SelectedBuild=0
VisibleModules=1,2,3,4,5,6,7,8,9,10,35,50,32
VisibleModules=1,2,3,4,5,6,7,8,9,10
44 changes: 22 additions & 22 deletions BasicCAT/Files/langcodes.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
basiccat language name yandex google mymemory bing youdao tencent niutrans sogou baidu
de Germany
fi Finnish fin
el Greek
da Danish dan
cs Czech
ca Catalan
fr French fra
it Italian
sv Swedish swe
pt Portuguese
nl Dutch
en English
pl Polish
es Spanish spa
ja Japanese jp
ko Korean kr kor
zh_wyw Ancient Chinese wyw
ru Russian
zh default Chinese zh-Hans zh-CHS zh-CHS
zh_CN Simplified Chinese zh zh-CN zh zh-Hans zh-CHS zh zh zh-CHS zh
zh_TW Traditional Chinese zh zh-TW zh zh-Hant zh-CHS zh cht zh-CHT cht
basiccat language name yandex google mymemory bing youdao tencent niutrans sogouDeepI sogou baidu
de Germany
fi Finnish fin
el Greek
da Danish dan
cs Czech
ca Catalan
fr French fra
it Italian
sv Swedish swe
pt Portuguese
nl Dutch
en English
pl Polish
es Spanish spa
ja Japanese jp
ko Korean kr kor
zh_wyw Ancient Chinese wyw
ru Russian
zh default Chinese zh-Hans zh-CHS zh-CHS zh-CHS
zh-CN Simplified Chinese zh zh-CN zh zh-Hans zh-CHS zh zh zh-CHS zh-CHS zh
zh-TW Traditional Chinese zh zh-TW zh zh-Hant zh-CHS zh cht zh-CHT zh-CHT cht
20 changes: 0 additions & 20 deletions BasicCAT/deprecatedCode/TMBackend/ConnectedDB.bas

This file was deleted.

181 changes: 0 additions & 181 deletions BasicCAT/deprecatedCode/TMBackend/KeyValueStore.bas

This file was deleted.

Loading

0 comments on commit 143567b

Please sign in to comment.