Bug #912

Ctrl-F2 fails if there is a tab inside a C string

Added by Iñaki Zabala over 9 years ago. Updated about 9 years ago.

Status:ApprovedStart date:10/28/2014
Priority:NormalDue date:
Assignee:Iñaki Zabala% Done:

0%

Category:IDESpent time:-
Target version:-

Description

If there is a tab char inside a C string, syncronize translation files fails from that string so no more t_(" ") strings will be added to the .t file from that C string.

For example:

File demo.cpp

...
str = t_("First sentence"); // "First sentence" goes to .t file
str = "There is a tab ' ' here";
str = t_("Second sentence"); // "Second sentence" and the rest from here does not go to .t file
...

History

#1 Updated by Iñaki Zabala over 9 years ago

  • Category changed from Core to IDE

#2 Updated by Miroslav Fidler over 9 years ago

  • Assignee changed from Miroslav Fidler to Iñaki Zabala

Not sure I quite understand this. Tab (I mean ASCII 9 byte, not \n escape) in string is AFAIK illegal in C/C++. Thus the file is ill-formed and it is only logicall that it is not parsed...

What am I missing?

#3 Updated by Miroslav Fidler about 9 years ago

  • Status changed from New to Approved

Also available in: Atom PDF