Closed
Bug 235811
Opened 22 years ago
Closed 20 years ago
Can not or Should not localize caps.properties ? (en-US/communicator/security/caps.properties in en-US.jar)
Categories
(Mozilla Localizations :: Other, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 232182
People
(Reporter: matsuba, Unassigned)
Details
Attachments
(2 files)
User-Agent:
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.7b) Gecko/20040225 Firefox/0.8.0+
In japanese language pack, localize japanese caps.properties.
( en-US/communicator/security/caps.properties in en-US.jar )
Reproducible: Always
Steps to Reproduce:
1.Start Firefox
Example:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2004-02-21-08-trunk/
firefox-i686-pc-linux-gnu.tar.gz
2.Tools -> JavaScript console start
3.go http://www.google.co.jp/
4.Error display in JavaScript Console.
<*************>
<*** en-US ***>
<*************>
Error: uncaught exception: [Exception... "Node was not found" code: "8"
nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location:
"chrome://browser/content/bookmarks/bookmarksMenu.js Line: 32"]
<*************>
<*** ja-JP ***>
<*************>
エラー: uncaught exception: [Exception... "Node was not found" code: "8"
nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location:
"chrome://browser/content/bookmarks/bookmarksMenu.js Line: 32"]
5. When you click "Reload current Page" button, Error display in JavaScript Console.
<*************>
<*** en-US ***>
<*************>
Error: [Exception... "'Permission denied to get property
XULElement.selectedIndex' when calling method:
[nsIAutoCompletePopup::selectedIndex]" nsresult: "0x8057001e
(NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: http://www.google.co.jp/
:: <TOP_LEVEL> :: line 14" data: no]
Source File: http://www.google.co.jp/
Line: 14
Error: [Exception... "'Permission denied to get property
XULElement.selectedIndex' when calling method:
[nsIAutoCompletePopup::selectedIndex]" nsresult: "0x8057001e
(NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: http://www.google.co.jp/
:: sf :: line 8" data: no]
Source File: http://www.google.co.jp/
Line: 8
<*************>
<*** ja-JP ***>
<*************>
Display unreadable message.
When selecting error message in JavaScript Console and right-clicking,
the pop-up "copy" can not copy.
Actual Results:
see above.
Expected Results:
Display readable message in JavaScript Console.
When selecting error message in JavaScript Console and right-clicking,
the pop-up "copy" can copy.
as mentioned in bug 214050 comment #9, file a separate bug.
Comment 3•22 years ago
|
||
this belongs in caps.
Assignee: firefox → caillon
Component: General → Security: CAPS
Product: Firefox → Browser
Version: unspecified → Trunk
Comment 4•22 years ago
|
||
Actually, this is already fine on the caps backend. I misunderstood the report.
This is probably a localization bug. Over to there.
Assignee: caillon → nobody
Component: Security: CAPS → Other
Product: Browser → Mozilla Localizations
Version: Trunk → unspecified
Attachment is caps.properties in ja-JP.jar.
I think this bug is not japanese localization.
Comment 6•20 years ago
|
||
Confirming this. And I also think that scrambled error messages in the JavaScript console are a major problem. Note that this isn't only a problem with the Japanese localization. Entering |javascript:alert(Components.classes)| in the address bar in a ru-RU Firefox 1.5 creates the following message in the JavaScript console:
Ошибка: uncaught exception: ^W0?@5I5=> ?>;CG0BL A2>9AB2>: UnnamedClass.classes
Here also caps.properties has been translated. However, exception messages in Unicode aren't supported (try |javascript:throw "тест"|) and this is the result. Either processing of Unicode exceptions should be fixed or caps.properties shouldn't be localized (maybe other files as well).
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 7•20 years ago
|
||
This problem isn't limited to Linux, seeing it on Windows as well - changing OS field to All.
OS: Linux → All
Comment 8•20 years ago
|
||
Is it dupe of Bug 232182?
Comment 9•20 years ago
|
||
Yes, it's a dupe of bug 232182.
*** This bug has been marked as a duplicate of 232182 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•