This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 101890 - I18N - CSS editor options words not from bundle and not localizable
Summary: I18N - CSS editor options words not from bundle and not localizable
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-04-20 02:45 UTC by Ken Frank
Modified: 2008-04-28 13:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2007-04-20 02:45:15 UTC
In the options window -> fonts and colors --  Syntax panel:
these language dropdown items not from bundle file (or if from bundle file not
loclizable like other items in the dropdown:

text/javasrcipt, text/x-ruby-comment, text/css, text/string, text/x-ruby-double, etc

also, for some of these, the category words are also not localizable and in
bundle like is the case for other languages:

text/x-string - s_p, s_string
text/x-css - all entries like css_comment
text/javascript - all like js_comment
Comment 1 Torbjorn Norbye 2007-04-20 03:07:02 UTC
I've handled the Ruby ones (text/x-ruby-comment, text/x-ruby-string-quoted, text/x-ruby-string-
single).

IDE: [4/19/07 7:05 PM] Committing started
Checking in layer.xml;
/cvs/scripting/ruby/editing/src/org/netbeans/modules/ruby/layer.xml,v  <--  layer.xml
new revision: 1.2; previous revision: 1.1
done
Checking in Bundle.properties;
/cvs/scripting/ruby/editing/src/org/netbeans/modules/ruby/Bundle.properties,v  <--  
Bundle.properties
new revision: 1.4; previous revision: 1.3
done
IDE: [4/19/07 7:06 PM] Committing finished
IDE: [4/19/07 7:06 PM] Diffing Files finished
Comment 2 Daniel Prusa 2007-05-10 15:43:54 UTC
Fixed also for text/x-string, text/x-css and text/javascript.
Comment 3 Ken Frank 2007-05-24 20:49:22 UTC
for the dropdown listing, for css, it still says text/css

its in bundle file of org-netbeans-modules-languages
and 
org-netbeans-modules-css
with value of CSS but its not showing with CSS in the dropdown
but with text/css


ken.frank@sun.com
Comment 4 Daniel Prusa 2007-07-09 15:54:43 UTC
text/css mime type is not related to languages/css module since it registers mime type text/x-css and it is properly
localized. The problem might be in web/css module, Marku, can you look at it, please?

There is another problem. When text/css is selected in Options/Fonts & Colors/Syntax, there is no code preview displayed
and no token names at all. Furthermore, selecting text/css breaks Options functionality. If you switch to another
language, there is still no preview and tokens. It is required to close and reopen Options to get it to work again.
Comment 5 Marek Fukala 2007-07-09 16:19:18 UTC
I have already fix the text/css problem in editor color options last week. See issue #106502 please & use a fresh build.
Comment 6 Ken Frank 2007-07-21 18:58:03 UTC
v