Bug 244686 - gui wizard that generates source lookup scripts
Summary: gui wizard that generates source lookup scripts
Status: RESOLVED FIXED
Alias: None
Product: lokalize
Classification: Applications
Component: general (show other bugs)
Version: 1.0
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Nick Shaforostoff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-15 02:31 UTC by Cristian Ciupitu
Modified: 2016-02-21 23:11 UTC (History)
3 users (show)

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 Cristian Ciupitu 2010-07-15 02:31:59 UTC
Version:           1.0 (KDE 4.3) (using KDE 4.4.4) 
OS:                Linux

Lokalize should be able to open source files without requiring me to install some additional scripts.

Reproducible: Always

Steps to Reproduce:
1. Open a PO file.
2. Select a message.
3. Try to open a source file to see the context in which a message is being used.



Actual Results:  
Cannot open source files: no scripts to do so are currently loaded. Refer to the Lokalize handbook for script examples and how to plug them into your project.

Expected Results:  
The source file should be opened with an editor at the line were the message appears.

It would be nice if by default it could work with the most popular editors, e.g. Kate, KWrite, gVim, Emacs, KDevelop.
I'm using kdesdk-4.4.5-1.fc13.x86_64.
Comment 1 Kevin Kofler 2010-07-15 02:59:28 UTC
Isn't it possible to somehow install those scripts by default?
Comment 2 Jarosław Staniek 2014-08-14 18:12:38 UTC
upvoting++

4 years and this top usability issue isn't addressed. Unfortunate given localization is a widely performed action by KDE contributors. Guys, eat your own dogfood...

It's also generally bad habit to keep program silent when it fails in important action, without logs error, messages and warnings (I even enabled lokalize logs in KDebugDialog). Or I am wrong and there's a way to debug it without gdb?
Comment 3 Nick Shaforostoff 2016-02-21 23:11:53 UTC
Git commit 70c340bfb316767e81ce6058bd19305913e924d7 by Nick Shaforostoff.
Committed on 21/02/2016 at 23:07.
Pushed by shaforo into branch 'master'.

CHANGELOG: handle source file links found in po files nicely: either open lxr.kde.org lookup or search files locally
Related: bug 204276

M  +86   -3    src/editortab.cpp
M  +4    -0    src/lokalize.notifyrc
M  +115  -0    src/project/project.cpp
M  +9    -0    src/project/project.h
M  +3    -0    src/project/projectlocal.kcfg
M  +1    -1    src/tm/jobs.cpp

http://commits.kde.org/lokalize/70c340bfb316767e81ce6058bd19305913e924d7