Export to GitHub

qdevelop - issue #321

translation causes compilation error


Posted on Oct 31, 2008 by Happy Giraffe

What steps will reproduce the problem? 1. use locale pt_BR 2. create new Dialog 3. try to compile

What is the expected output? What do you see instead? Correct compilation

What version of the product are you using? On what operating system? 0.25

Please provide any additional information below. I'm responsible for kde i18n pt_BR, if you need help contact me ( boaglio @ kde dot org

Comment #1

Posted on Nov 2, 2008 by Quick Bear

This is most probably caused by wrong QDevelop localisation. All items must not be translated in TS file because it seems that all strings are inside tr() macro. I already wrote to the author cca one year ago when I had the same problem in Czech locale. He didn't fix it in sources but only left some strings untranslated (traslation is empty string - it means original string is used)... :-(

Comment #2

Posted on Nov 2, 2008 by Happy Giraffe

Please let me fix that, QDevelop is a great tool and deserves a good translation. Send the ts or po file to me ( boaglio @ kde dot org ).

Comment #3

Posted on Nov 2, 2008 by Quick Bear

Unfortunately I'm not a project member. You can download files from SVN http://qdevelop.googlecode.com/svn/trunk and then send fixed translation to author (contact is on http://qdevelop.org) BTW: My opinion is that this project is going to be orphaned because there are no bug fixes last few months, almost no changes in SVN and finally Trolltech/Nokia released first preview on Qt Creator aka Green House which will be at least as good as QDevelop :-D

Comment #4

Posted on Jan 18, 2009 by Massive Panda

Why so pessimistic? Nokia's Creator isn't as good as QDevelop is and I'm afraid for some reasons will not. I'm doing several improvements of QDevelop independently here: https://code.launchpad.net/~qdevelop-experimental/qdevelop/divius Everyone is free to join, maybe our work will help official developers.

Comment #5

Posted on Jan 30, 2009 by Massive Panda

What is the situation with this issue? Can somebody reproduce it? What was the error message?

Comment #6

Posted on Feb 8, 2009 by Massive Panda

I cannot see any reason for this to happen. If you provide any information I'll reopen this bug. Maybe it has something to do with issue 266?

Comment #7

Posted on Feb 8, 2009 by Happy Giraffe

The problem is both file and object name have accent from translation, which causes a compilation error. If you change the translated word of [dialog]: "diálogo" to "dialogo" (translated without accent), it should work fine.

Comment #8

Posted on Feb 8, 2009 by Massive Panda

Please provide exact steps to reproduce this problem from the very beginning. I cannot find the place which causes an error.

Comment #9

Posted on Feb 8, 2009 by Happy Giraffe

1- Start QDevelop. 2- Go to Menu Project -> New Project 3- Fill the blanks: Project name: test 4- Replace the names: Dialog file-name: diálogo (this comes automatically from pt translation) Object name: diálogo (this comes automatically from pt translation) 5 - Click OK to create the project. 6 - Hit F7 to try to compile.

I have this env:

LANG=pt_BR LC_CTYPE=pt_BR.UTF8

Comment #10

Posted on Feb 10, 2009 by Massive Panda

Fixed in r387. Please test.

Status: Fixed

Labels:
Type-Defect Priority-Medium