https://bugs.kde.org/show_bug.cgi?id=472605

--- Comment #2 from Freek de Kruijf <freekdekru...@kde.nl> ---
(In reply to NSLW from comment #1)
> Created attachment 160600 [details]
> test-case-bug-472605
> 
> I cannot reproduce your issue. Could you:
> 1) unpack the attached test case in "/home/freek/vertalingen" without
> creating any sub directory
> 2) open test-case-trunk.lokalize
> 3) open kstars.pot in the "Project Overview" tab
> 4) translate an entry
> 5) save

I started lokalize in ~/vertalingen with "lokalize --project
test-case-trunk.lokalize", translated the two first items and closed lokalize.
I got the following output:

freek@ltfdtum:~/vertalingen> lokalize --project test-case-trunk.lokalize
org.kde.lokalize: db "default139962976560832" opened 2 "nl"
org.kde.lokalize: db "standaard139962976560832" opened 83 "nl"
QStatusBar::insertWidget: Index out of range (5), appending widget
org.kde.lokalize: db "kde4-nl139962976560832" opened 0 "nl"
org.kde.lokalize: db "standaard139962976560832" opened 0 "nl"
org.kde.lokalize: indexed
"/home/freek/vertalingen/svn2/trunkkf5/nl/messages/kstars/kstars.po" for word
completion in 3 msecs
org.kde.lokalize: "Your names" "Freek de Kruijf" "Your names"
org.kde.lokalize: string: "Freek de Kruijf" searching for placeables in "Your
names"
org.kde.lokalize: 1 "Freek de Kruijf"
org.kde.lokalize: "Your emails" "freekdekru...@kde.nl" "Your emails"
org.kde.lokalize: string: "freekdekru...@kde.nl" searching for placeables in
"Your emails"
org.kde.lokalize: 1 "freekdekru...@kde.nl"
QFile::remove: Empty or null file name
QFile::remove: Empty or null file name
org.kde.lokalize: MainWindow destroyed
freek@ltfdtum:~/vertalingen> ls
"/home/freek/vertalingen/svn2/branchkf5/nl/messages/kstars"
kstars.po
freek@ltfdtum:~/vertalingen> ls
"/home/freek/vertalingen/svn2/trunkkf5/nl/messages/kstars"
kstars.po
freek@ltfdtum:~/vertalingen>

As you can see I do get a file in .../svn2/branchkf5/nl/messages/kstars

Could the content of ~/.config/lokalizerc play a role in this problem?


> 6) see if you have any file under
> "/home/freek/vertalingen/svn2/branchkf5/nl/messages/kstars"

So, yes!

> The above works as expected (i.e. not creating any strange file) on my
> machine, and I modeled it after yours KF5trunk.lokalize.
> 
> BTW, what does following command return?
> "ls /home/freek/vertalingen/svn/branchkf5/templates/messages/kstars"

freek@ltfdtum:~/vertalingen> LC_ALL=C ls
/home/freek/vertalingen/svn/branchkf5/templates/messages/kstars
ls: cannot access
'/home/freek/vertalingen/svn/branchkf5/templates/messages/kstars': No such file
or directory

This is because I have the following content in KF5trunk.lokalize:

[General]
#BranchDir=svn/branchkf5/nl
GlossaryTbx=/home/freek/vertalingen/svn/trunkkf5/nl/woordenlijst.tbx
LangCode=nl
LanguageSource=Project
MailingList=kde-i18n...@kde.org
PoBaseDir=/home/freek/vertalingen/svn/trunkkf5/nl
PotBaseDir=svn/trunkkf5/templates
ProjectID=kde4-nl
TargetLangCode=nl

[RegExps]
WordWrap=76


> Would you be able to compile Lokalize with a patch yourself, if we wouldn't
> manage to sort out this bug any other way?

I can try.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to