Req Clean unused strings.
#11
I agree, a big benefit would be if all known strings would get contextual and usage comments. But that's the one huuuuuge task everybody is scared of, because you have to check for every string where and how it's used in the code.

Quote:For that I think searching like str("g_localizeStrings.Get(183)") on the whole xbmc code directory is fine.
As Martijn said - this won't work reliably. It'll probably find 50% of the strings used. Some string IDs are generated programmatically (like some stereoscopic ones) or are passed as variable to some other function (dialogs, ...) which then will do the translation.
Reply


Messages In This Thread
Clean unused strings. - by queeup - 2015-04-06, 17:44
RE: Clean unused strings. - by queeup - 2015-04-11, 16:11
RE: Clean unused strings. - by Ned Scott - 2015-04-17, 07:58
RE: Clean unused strings. - by queeup - 2015-04-19, 15:03
RE: Clean unused strings. - by da-anda - 2015-04-19, 17:35
RE: Clean unused strings. - by ronie - 2015-04-19, 19:04
RE: Clean unused strings. - by takoi - 2015-04-19, 22:00
RE: Clean unused strings. - by queeup - 2015-04-19, 22:55
Re: RE: Clean unused strings. - by Martijn - 2015-04-20, 02:10
RE: Clean unused strings. - by queeup - 2015-04-20, 10:53
RE: Clean unused strings. - by da-anda - 2015-04-20, 10:58
RE: Clean unused strings. - by da-anda - 2015-04-20, 10:55
RE: Clean unused strings. - by takoi - 2015-04-20, 11:18
RE: Clean unused strings. - by queeup - 2015-04-20, 11:03
RE: Clean unused strings. - by queeup - 2015-04-20, 12:06
Logout Mark Read Team Forum Stats Members Help
Clean unused strings.0