Quickopen dialog

kitts kitts.mailinglists at gmail.com
Tue Oct 2 09:22:34 UTC 2007


On Tuesday 02 Oct 2007 12:53:26 am Jens Dagerbo wrote:
> > > You are right! As "general audience" i do not know what that
> > > "Translation Unit" means! ;-) Does it just mean any string int he code
> > > that is meant to be translated for localization?
> >
> > Just to educate you: Translation unit usually means a file in C++ and
> > also other languages. Its just an arbitrary amount of code that is to be
> > translated from the source language into the binary for (or interpreted
> > in the case of script languages). Its OTOH also used in the background
> > of translating texts (real-world as well as program-texts), at least
> > thats what wikipedia told me :)
>
> Unless I'm completely mistaken, a "translation unit" in C/C++ refers to all
> the "visible code" from one file context, that is it consists of the file
> being compiled _and all files included from that file_.
>
> I assume the "translation unit" setting in the suggested dialog would
> include information from all the header files as well, in which case I
> think the name is quite fitting. It isn't quite language-agnostic though.

Thank you both for the information. Everyday i learn something new! :-) But i 
would be worried about using terms like that in the GUI. I would rather that 
it clearly states something like "Current file and all included headers"
-- 
Cheers!
kitts




More information about the KDevelop-devel mailing list