Bug 252965 - improve glossary usability, add more error checking and reporting
Summary: improve glossary usability, add more error checking and reporting
Status: RESOLVED FIXED
Alias: None
Product: lokalize
Classification: Applications
Component: glossary (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Nick Shaforostoff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-01 21:38 UTC by Dimitrios Glentadakis
Modified: 2011-09-02 21:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitrios Glentadakis 2010-10-01 21:38:38 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

When i right click on glossary i dont have the list with my words added before, and i cant add new one. This i think that happened when i change my computer and i took the .lokalize/ folder from the old hard disk.

Reproducible: Always

Steps to Reproduce:
Open glossary

Actual Results:  
an empty window

Expected Results:  
My list or add new words

Video when i open the glossary
http://www.mediafire.com/file/ra5hn4snf2d2dla/glossary.ogv   (2.9 mb)
Comment 1 Nick Shaforostoff 2010-11-26 17:23:16 UTC
thank you for the video, it shows me poor usability of the glossary window, i'll try to improve it
Comment 2 Nick Shaforostoff 2010-11-30 17:28:51 UTC
SVN commit 1202377 by shaforo:

*give proper parent to the dialogs (this will possibly solve 189135)
*check if the project is loaded before adding a term to glossary(bug 252965)
 if not, suggest user to create or open one.
*react on project id change: open a tm for it
*write target lang code in the .lokalize file even if it == system locale

CCBUG:189135
CCBUG:252965
CCMAIL:kde-18n-doc@kde.org

to kde-18n-doc@kde.org:
this commit adds one string needed to explain that creation or opening of some lokalize project (.lokalize) is needed.



 M  +1 -1      cataloglistview/cataloglistview.cpp  
 M  +13 -4     editortab.cpp  
 M  +5 -4      editorview.cpp  
 M  +41 -4     glossary/glossary.cpp  
 M  +2 -6      glossary/glossary.h  
 M  +13 -11    glossary/glossarywindow.cpp  
 M  +1 -1      glossary/glossarywindow.h  
 M  +7 -13     lokalizemainwindow.cpp  
 M  +3 -2      main.cpp  
 M  +51 -16    prefs/prefs.cpp  
 M  +12 -5     prefs/prefs.h  
 M  +35 -13    project/project.cpp  
 M  +11 -2     project/project.h  
 M  +5 -2      project/projectbase.kcfg  
 M  +2 -2      project/projecttab.cpp  
 M  +1 -1      tm/dbfilesmodel.h  
 M  +2 -1      tm/tmmanager.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1202377
Comment 3 Dimitrios Glentadakis 2011-01-10 20:36:52 UTC
Right now i discovered thazt the glossary file is the terms.tbx. I dont have this file, so i found another terms.tbx of another language, and i added to the path that should be. Since, the glossary works fine. The problem is that with the creation of the project i did nt have any terms.tbx created. I lost my old glossary when i changed my computer because i did nt saved it, i did a backup only to the ~/.kde4/share/apps/lokalize folder !

I try to create a new project but it does nt creat a terms.tbx file.
Comment 4 Nick Shaforostoff 2011-02-08 15:13:06 UTC
which version is it? can you try it now with KDE 4.6?
Comment 5 Dimitrios Glentadakis 2011-02-08 19:29:01 UTC
I have the version 1.1 of lokalize with kde 4.5.5
Unefortunately there are not yet availiable packages for Mandriva, i will install the version 4.6 when Mandriva will provide packages.
Comment 6 Dimitrios Glentadakis 2011-09-02 21:08:29 UTC
I cannot reproduced it in 4.6.5 (mageia)
Thanks
Comment 7 Nick Shaforostoff 2011-09-02 21:10:37 UTC
thank you for providing a detailed bug report )))