[
https://issues.jboss.org/browse/JBIDE-9203?page=com.atlassian.jira.plugin...
]
Yahor Radtsevich commented on JBIDE-9203:
-----------------------------------------
How it should work, IMO:
# If the selected text does not contain any spaces and newlines, we should not expand the
selection.
# If the selected text contains new lines, tabs, etc., these characters should be replaced
by appropriate special symbols ('\n', '\t', ...).
# If there are any other special symbols or non ASCII characters, it should be taken into
account too.
Plain text value for translation is chosen wrongly when translating
.jsp page via Externalize Selected String
-------------------------------------------------------------------------------------------------------------
Key: JBIDE-9203
URL:
https://issues.jboss.org/browse/JBIDE-9203
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.3.0.M2
Environment: Linux 32bit, Sun JDK 1.6.0_25,
jbdevstudio-product-linux-gtk-5.0.0.v201106172137N-H681-M2.
Reporter: Vlado Pakan
Assignee: Denis Maliarevich
Fix For: 3.3.x
Attachments: externalizestringdialog.png, externalizestringresult.png,
propertiesfile.png
1. Create JSF kick start project
2. Open hello.jsp page
3. Insert "Plain" text as shown on picture below and choose Externalize
selected string toolbar button
In the Externalize String dialog is set text "Plain" as Property value but
together with special characters <EOL>
!externalizestringdialog.png!
4. Choose next>, next>, OK. (Use default values)
hello.jsp page look like this. <EOL> characters around "Plain" text were
removed/replaced with reference to .properties file:
!externalizestringresult.png!
hello.properties has wrong contnent:
!propertiesfile.png!
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira