[Caminol10n] A few questions on the localization of Camino 2.0
Smokey Ardisson
alqahira at ardisson.org
Thu Jul 23 20:56:17 PDT 2009
Markus, all,
At 1:26 PM +0200 on 7/14/09, Markus Amalthea Magnuson wrote:
>I went over the list of untested files and ruled out the most obvious
>ones, I have also update the wiki entry to reflect this. Here are some
>that I am unsure of:
Thanks for looking, and sorry for taking so long to get to this list.
>global_locale_nsHelperAppDlg_properties.strings
>do we use this dialog code?
Not that I can tell; I think it's for the XUL dialogue that comes up
before you get the native Save dialogue in XUL apps.
>global_locale_printing_properties.strings
>we use our own (native) printing code, right?
Right; this is only for the XUL print dialogue (Windows/Linux).
>global_locale_xbl_properties.strings
>we do not use xbl since it's for xul, right?
XBL is used internally in Gecko (and, for instance, Flashblock uses
it) and externally by stupid websites doing stupid things
(deliberately breaking password autofill, for instance).
I assume broken XBL can trigger these errors, but I have no idea
*how* to trigger them. nsContentUtils.cpp is not very friendly. I
guess they show up if you have the "log errors to Console" pref set
(or use ChimericalConsole).
>global_locale_xslt_xslt_properties.strings
As above, should show up in the Console, but I'm not sure how to
trigger an XSLT error.
>global_locale_xul_properties.strings
>i am guessing this is only for xul too
Could be used by remote XUL, as well as any of the XUL in the content
area (about:config, etc.), I think.
>global-region_locale_region_properties.strings
>where do we get/use a list of regions?
That file's not a list of regions; it's additional strings used by
about:plugins (I'm guessing it's a separate file so that Netscape
could provide different URLs than Mozilla, way back when). The only
string that's really actually "localizable" is
"pluginStartupMessage", which I think we looked at before:
http://www.mozdev.org/pipermail/caminol10n/2009-July/002631.html
>pipnss_locale_nsserrors_properties.strings
>pipnss_locale_pipnss_properties.strings
>pipnss_locale_security_properties.strings
>these are used for everything certificate related, right?
Certificates and SSL stuff, yes; all should be used.
pipnss_locale_nsserrors_properties.strings is going to be the hardest
to test to see if it *works*; my guess is that we could test
"SSL_ERROR_SSL_DISABLED" and/or "SSL_ERROR_NO_CIPHERS_SUPPORTED" by
going to about:config and turning off SSL and all the ciphers
(security.enable_* and security.ssl*.*) and loading a secure website.
I think it'd generate an error page, but possibly a dialogue. (We'd
obviously want to try this using a fresh profile.)
pipnss_locale_pipnss_properties.strings can probably be tested by
exporting a cert from the Keychain, importing it to Camino, and
checking the "Software Security Device" prompts that follow (iirc,
importing a cert triggers initial setup for the Software Security
Device). We'll want to test this using a fresh profile, too.
pipnss_locale_security_properties.strings is actually called directly
by Camino code :-) We should be able to test "MixedContentMessage";
that's the only one of these dialogues I'm sure we show.
So, in summary:
--Not used--
global_locale_nsHelperAppDlg_properties.strings
global_locale_printing_properties.strings
--Probably used, unsure how to test--
global_locale_xbl_properties.strings
global_locale_xslt_xslt_properties.strings
global_locale_xul_properties.strings
--Used, can test--
global-region_locale_region_properties.strings
pipnss_locale_nsserrors_properties.strings
pipnss_locale_pipnss_properties.strings
pipnss_locale_security_properties.strings
I've updated the "Not used" files on the wiki page.
Smokey
--
Smokey Ardisson
alqahira at ardisson.org
http://www.ardisson.org/
------------------------------------------
"He is a fool who has forgotten what became of his ancestry
seven generations before him and who does not care what will
become of his progeny seven generations after him."
--Kazakh Proverb
More information about the Caminol10n
mailing list