View Single Post
Old 06-26-2011, 01:31 PM   #2266
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
VICTORSJG

I think I know why standard-menu-actions arn't translated.

The code in principle would return translated titles,
but in 505_bootstrap.js
Code:
	// Init 505 specific lang files
			try {
				var code = PARAMS.Core.io.getFileContent(langPath505 + "lang.js", null);
				if (code !== null) {
					var lang505 = new Function("Core,loadAddons,langPath505", code);
					lang505(PARAMS.Core, PARAMS.loadAddons, langPath505);
langPath505 is called after Core and Addons.
But in core_ui_menu.js createListOfStandardNodes is called in on PreInit, and thus before the translation takes place.

Next step is to find a way to fix this.

Edit: Fixed by kartu in Revison:cb32dd439a

Last edited by Mark Nord; 06-27-2011 at 02:53 PM.
Mark Nord is offline   Reply With Quote