View Single Post
Old 03-25-2012, 11:49 PM   #348
ixtab
0x2A
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,903
Karma: 6677427
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
I'm totally dumbstruck.
So I tried to reproduce this, and guess what: you're right.

Before updating to the newest transifex state, the latest version here was "Compartilhar que você terminou a leitura deste livro". Now it is "Diga que leu esse livro", and this is also what is contained in the resource bundle.

However, the Kindle shows *yet another* version, namely "Compartilhe com os outros que você concluiu". I cannot for the life of me figure out where it comes from.

For the time being, all I can say is that the end actions sharing stuff seems to be some code involving Voodoo, combined with Santeria and Satanism

Seriously, I have no clue. I'm not going to test it for myself, but you could try a full factory reset and see if it changes anything.

Update: I just checked this with the german version. There, the translation on Transifex reads "Mitteilen, dass Sie dieses Buch durchgelesen haben", while the Kindle says "Veröffentlichen, dass Sie fertig sind". Since I did the translation myself, I am sure that we never translated it that way. As the "sharing" screen only appears after you registered your Kindle with Amazon (meaning that you were online at least once), I am now 99% sure that this is something that we cannot influence, but that Amazon is pushing these things to the device somehow(TM).

Update2: This is what is happening in the logs (with debugOn.sh) when you hit this "rating" page:
Code:
   120326:064816 cvm[1202]: D ACXManagerInterface:DebugInfo::pACXManagerImpl.startACX() called{ewcHostId=com.lab126.booklet.reader, readerArg={"pageBounds":{"text":null,"range":{"begin":"664609","end":"664649"}},"contentItem":{"asin":"4733f9d3-ee35-4271-8f4c-41b9947bb981","contentGuid":"XXX","title":"XXX","author":"XXX","publisherId":null},"readerSettings":{"fontSize":2,"lineSpacing":2,"fontFamily":"serif"},"navigation":{"position":"664549"},"contentMetadata":{"contentLocale":"de","isPageNumberingSupported":true,"cdeType":"EBOK","endOfBookPosition":"664549","startReadingPosition":"109","contentLanguage":null},"eventName":"onposition"}}
   120326:064816 cvm[1202]: D ACXManagerInterface:DebugInfo::Encoded arguments: app://com.lab126.EndActions?ewcHostId=com.lab126.booklet.reader&readerArg=%7b%22pageBounds%22%3a%7b%22text%22%3anull%2c%22range%22%3a%7b%22begin%22%3a%22664609%22%2c%22end%22%3a%22664649%22%7d%7d%2c%22contentItem%22%3a%7b%22asin%22%3a%224733f9d3-ee35-4271-8f4c-41b9947bb981%22%2c%22contentGuid%22%3a%22XXX%22%2c%22title%22%3a%22XXX%22%2c%22author%22%3a%22XXX%22%2c%22publisherId%22%3anull%7d%2c%22readerSettings%22%3a%7b%22fontSize%22%3a2%2c%22lineSpacing%22%3a2%2c%22fontFamily%22%3a%22serif%22%7d%2c%22navigation%22%3a%7b%22position%22%3a%22664549%22%7d%2c%22contentMetadata%22%3a%7b%22contentLocale%22%3a%22de%22%2c%22isPageNumberingSupported%22%3atrue%2c%22cdeType%22%3a%22EBOK%22%2c%22endOfBookPosition%22%3a%22664549%22%2c%22startReadingPosition%22%3a%22109%22%2c%22contentLanguage%22%3anull%7d%2c%22eventName%22%3a%22onposition%22%7d
Update 3:
Code:
[root@kindle local]# sqlite3 appreg.db .dump|grep -i endact
INSERT INTO "handlerIds" VALUES('com.lab126.EndActions');
INSERT INTO "properties" VALUES('com.lab126.EndActions','location','/opt/amazon/acw/endactions.acx');
INSERT INTO "properties" VALUES('com.lab126.EndActions','eventTypes','onposition onbookopen onrestore');
INSERT INTO "properties" VALUES('com.lab126.EndActions','uuid','2C7330F9-1547-4EEA-AE46-2BB199E8FB59');
INSERT INTO "properties" VALUES('com.lab126.EndActions','displayName','Before you go...');
INSERT INTO "properties" VALUES('com.lab126.EndActions','viewModes','windowed hidden');
INSERT INTO "properties" VALUES('com.lab126.EndActions','requiresRegistration','true');
INSERT INTO "properties" VALUES('com.lab126.EndActions','version','1.0');
INSERT INTO "properties" VALUES('com.lab126.EndActions','acxId','http://kindle.amazon.com/ns/widgets/EndActions');
INSERT INTO "associations" VALUES('com.lab126.EndActions','acx','MT:application/x-kindle-acx','false');
Finally, /opt/amazon/acw/endactions.acx is simply a zipped file containing a few HTML pages. It contains de, en-gb, es, fr, it, and pt localizations. And it contains exactly the strings we are seeing.

Last edited by ixtab; 03-26-2012 at 01:04 AM.
ixtab is offline   Reply With Quote