Made some changes to the OnlineTranslationTool. Now when text is redisplayed as links, is shows up with the declension marks.
This commit is contained in:
parent
ff130e6fb1
commit
d4dc004c2a
3 changed files with 70 additions and 75 deletions
|
@ -165,7 +165,8 @@ public class LocalTibetanScanner extends TibetanScanner
|
|||
|
||||
if (lastCompSil!=null)
|
||||
{
|
||||
w = new Word(lastCompWord, lastCompSil.getDefs());
|
||||
if (lastCompWord.equals(wordActual)) w = new Word(lastCompWord, lastCompSil.getDefs());
|
||||
else w = new Word(lastCompWord, wordActual, lastCompSil.getDefs());
|
||||
wordList.addLast(w);
|
||||
this.resetAll();
|
||||
|
||||
|
@ -202,7 +203,8 @@ public class LocalTibetanScanner extends TibetanScanner
|
|||
|
||||
while (lastCompSil!=null)
|
||||
{
|
||||
w = new Word(lastCompWord, lastCompSil.getDefs());
|
||||
if (lastCompWord.equals(wordActual)) w = new Word(lastCompWord, lastCompSil.getDefs());
|
||||
else w = new Word(lastCompWord, wordActual, lastCompSil.getDefs());
|
||||
wordList.addLast(w);
|
||||
this.resetAll();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue