Add I18n map support.

This commit is contained in:
Paulo Gustavo Veiga 2012-07-19 10:34:10 -03:00
parent f2cdc96a96
commit ed2b9190ba
2 changed files with 39 additions and 17 deletions

View File

@ -1,20 +1,20 @@
<map name="usage" version="tango"> <map name="usage" version="tango">
<topic central="true" text="How to Start ?" id="1" fontStyle=";;#eeeeee;;;" bgColor="#0a0a08"> <topic central="true" text="${messages.getMessage("TUTORIAL.HOW_TO_START",$noArgs,$locale)}" id="1" fontStyle=";;#eeeeee;;;" bgColor="#0a0a08">
<icon id="sign_help"/> <icon id="sign_help"/>
<topic position="171,-40" order="0" text="Topics Properties" id="11" fontStyle=";;#444444;;;" bgColor="#250be3" <topic position="171,-40" order="0" text="${messages.getMessage("TUTORIAL.TOPIC_PROPERTIES",$noArgs,$locale)}" id="11" fontStyle=";;#444444;;;" bgColor="#250be3"
brColor="#080559"> brColor="#080559">
<icon id="sign_cancel"/> <icon id="sign_cancel"/>
<topic position="295,-92" order="1" text="${messages.getMessage("TUTORIAL.ADD_NOTES",$noArgs,$locale)}" id="31"> <topic position="295,-92" order="1" text="${messages.getMessage("TUTORIAL.ADD_NOTES",$noArgs,$locale)}" id="31">
<note><![CDATA[This is a simple note !.]]></note> <note><![CDATA[${messages.getMessage("SAMPLE_NOTE",$noArgs,$locale)}]]></note>
</topic> </topic>
<topic position="321,-118" order="0" text="Add Links to Web Pages" id="7" fontStyle=";;#444444;;;"> <topic position="321,-118" order="0" text="${messages.getMessage("TUTORIAL.ADD_LINKS_WEBPAGES",$noArgs,$locale)}" id="7" fontStyle=";;#444444;;;">
<link url="http://www.google.com" type="url"/> <link url="http://www.google.com" type="url"/>
</topic> </topic>
<topic position="310,-14" order="3" text="${messages.getMessage("TUTORIAL.MULTIPLE_TEXT_STYLES",$noArgs,$locale)}" <topic position="310,-14" order="3" text="${messages.getMessage("TUTORIAL.MULTIPLE_TEXT_STYLES",$noArgs,$locale)}"
id="32"> id="32">
<topic position="402,-40" order="0" text="Color" id="33" fontStyle=";;#ff0000;;;"/> <topic position="402,-40" order="0" text="${messages.getMessage("TUTORIAL.FONT_COLOR",$noArgs,$locale)}" id="33" fontStyle=";;#ff0000;;;"/>
<topic position="402,-13" order="1" text="Style" id="35" fontStyle=";;;bold;italic;"/> <topic position="402,-13" order="1" text="${messages.getMessage("TUTORIAL.FONT_STYLE",$noArgs,$locale)}" id="35" fontStyle=";;;bold;italic;"/>
<topic position="400,12" order="2" text="Type" id="36" fontStyle="Times;6;;;;"/> <topic position="400,12" order="2" text="${messages.getMessage("TUTORIAL.FONT_TYPE",$noArgs,$locale)}" id="36" fontStyle="Times;6;;;;"/>
</topic> </topic>
<topic position="302,38" order="4" text="${messages.getMessage("TUTORIAL.DIFFERENT_SHAPES",$noArgs,$locale)}" shape="rectagle" id="8" <topic position="302,38" order="4" text="${messages.getMessage("TUTORIAL.DIFFERENT_SHAPES",$noArgs,$locale)}" shape="rectagle" id="8"
fontStyle=";;#444444;;;"/> fontStyle=";;#444444;;;"/>
@ -22,7 +22,7 @@
<icon id="face_wink"/> <icon id="face_wink"/>
</topic> </topic>
</topic> </topic>
<topic position="-188,-66" order="1" text="Edition Using Keyboard" id="22" fontStyle=";;#444444;;;" <topic position="-188,-66" order="1" text="${messages.getMessage("TUTORIAL.EDITION_USING_KEYBOARD",$noArgs,$locale)}" id="22" fontStyle=";;#444444;;;"
bgColor="#add1f7"> bgColor="#add1f7">
<icon id="hard_keyboard"/> <icon id="hard_keyboard"/>
<topic position="-348,-119" order="0" id="26" fontStyle=";;#444444;;;"> <topic position="-348,-119" order="0" id="26" fontStyle=";;#444444;;;">
@ -38,12 +38,12 @@
fontStyle=";;#444444;;;"/> fontStyle=";;#444444;;;"/>
<topic position="-355,-8" order="4" text="${messages.getMessage("TUTORIAL.MORE_KEY_TIPS",$noArgs,$locale)}" id="50"/> <topic position="-355,-8" order="4" text="${messages.getMessage("TUTORIAL.MORE_KEY_TIPS",$noArgs,$locale)}" id="50"/>
</topic> </topic>
<topic position="134,92" order="2" text="Sharing" id="6" fontStyle=";;#444444;;;" bgColor="#edabff"> <topic position="134,92" order="2" text="${messages.getMessage("TUTORIAL.SHARING",$noArgs,$locale)}" id="6" fontStyle=";;#444444;;;" bgColor="#edabff">
<topic position="253,65" order="0" text="Invite Friends to Collaborate" id="9" fontStyle=";;#444444;;;"/> <topic position="253,65" order="0" text="${messages.getMessage("TUTORIAL.INVITE_FRIEND",$noArgs,$locale)}" id="9" fontStyle=";;#444444;;;"/>
<topic position="226,92" order="1" text="Embed in Blogs" id="10" fontStyle=";;#444444;;;"/> <topic position="226,92" order="1" text="${messages.getMessage("TUTORIAL.EMBED_IN_BLOGS",$noArgs,$locale)}" id="10" fontStyle=";;#444444;;;"/>
<topic position="257,119" order="2" text="Public your mindmap as public" id="15" fontStyle=";;#444444;;;"/> <topic position="257,119" order="2" text="${messages.getMessage("TUTORIAL.PUBLISH_YOUR_MAPS",$noArgs,$locale)}" id="15" fontStyle=";;#444444;;;"/>
</topic> </topic>
<topic position="-178,71" order="3" text="Edition Using Mouse" id="2" fontStyle=";;#444444;;;" <topic position="-178,71" order="3" text="${messages.getMessage("TUTORIAL.EDITION_USING_MOUSE",$noArgs,$locale)}" id="2" fontStyle=";;#444444;;;"
bgColor="#d9b518"> bgColor="#d9b518">
<icon id="hard_mouse"/> <icon id="hard_mouse"/>
<topic position="-327,22" order="0" id="4" fontStyle=";;#444444;;;"> <topic position="-327,22" order="0" id="4" fontStyle=";;#444444;;;">
@ -55,7 +55,7 @@
<topic position="-327,92" order="2" id="5" fontStyle=";;#444444;;;"> <topic position="-327,92" order="2" id="5" fontStyle=";;#444444;;;">
<text><![CDATA[${messages.getMessage("TUTORIAL.DRAG_AND_DROP_TO_POSITION",$noArgs,$locale)}]]></text> <text><![CDATA[${messages.getMessage("TUTORIAL.DRAG_AND_DROP_TO_POSITION",$noArgs,$locale)}]]></text>
</topic> </topic>
<topic position="-336,123" order="3" text="Use the Toolbar Functions " id="27"/> <topic position="-336,123" order="3" text="${messages.getMessage("TUTORIAL.USER_THE_TOOLBAR",$noArgs,$locale)}" id="27"/>
</topic> </topic>
</topic> </topic>
<relationship srcTopicId="22" destTopicId="2" lineType="3" endArrow="true" startArrow="false"/> <relationship srcTopicId="22" destTopicId="2" lineType="3" endArrow="true" startArrow="false"/>

View File

@ -211,16 +211,38 @@ MULTIPLE_LINES=Add multiple text lines
TERM_OF_USE=Terms and Conditions TERM_OF_USE=Terms and Conditions
# Properties used on the tutorial mindmap .... # Properties used on the tutorial mindmap ....
TUTORIAL.MULTIPLE_TEXT_STYLES=Multitple Text Styles TUTORIAL.MULTIPLE_TEXT_STYLES=Multiple Text Styles
TUTORIAL.DIFFERENT_SHAPES=Different Shapes TUTORIAL.DIFFERENT_SHAPES=Different Shapes
TUTORIAL.FANCY_ICONS=Fancy Icons TUTORIAL.FANCY_ICONS=Fancy Icons
TUTORIAL.MOVE_WITH_ARROWS=Move Between Topics\nWith The Arrows TUTORIAL.MOVE_WITH_ARROWS=Move Between Topics With The Arrows
TUTORIAL.START_TYPING_TO_EDIT_TEXT=Start Typing to Edit Text TUTORIAL.START_TYPING_TO_EDIT_TEXT=Start Typing to Edit Text
TUTORIAL.CTRL_TO_ADD_CHILD=Press Ctrl/Meta+Enter to Add Child Topic TUTORIAL.CTRL_TO_ADD_CHILD=Press Ctrl/Meta+Enter to Add Child Topic
TUTORIAL.ENTER_TO_ADD_SIBLING=Press Enter to Add a Sibling Topic TUTORIAL.ENTER_TO_ADD_SIBLING=Press Enter to Add a Sibling Topic
TUTORIAL.MORE_KEY_TIPS=More ... ?. Click on shortcuts above TUTORIAL.MORE_KEY_TIPS=More ?. Click on shortcuts above
TUTORIAL.DOUBLE_CLICK_TO_ADD=Double Click on the Canvas to Create Topics TUTORIAL.DOUBLE_CLICK_TO_ADD=Double Click on the Canvas to Create Topics
TUTORIAL.DRAG_AND_DROP_TO_POSITION=Drag and Drop Topics Position TUTORIAL.DRAG_AND_DROP_TO_POSITION=Drag and Drop Topics Position
TUTORIAL.DOUBLE_CLICK_TO_EDIT_TEXT=Double Click on a Topic to Edit the Text TUTORIAL.DOUBLE_CLICK_TO_EDIT_TEXT=Double Click on a Topic to Edit the Text
TUTORIAL.ADD_NOTES=Add Notes TUTORIAL.ADD_NOTES=Add Notes
TUTORIAL.USER_THE_TOOLBAR=Use the Toolbar
TUTORIAL.PUBLISH_YOUR_MAPS=Publish your mindmap
TUTORIAL.EMBED_IN_BLOGS=Embed in Blogs
TUTORIAL.INVITE_FRIEND=Invite Friends to Collaborate
TUTORIAL.SHARING=Sharing
TUTORIAL.EDITION_USING_MOUSE=Edition Using Mouse
TUTORIAL.EDITION_USING_KEYBOARD=Edition Using Keyboard
TUTORIAL.ADD_LINKS_WEBPAGES=Add Links to Web Pages
TUTORIAL.TOPIC_PROPERTIES=Topics Properties
TUTORIAL.HOW_TO_START=How to Start ?
TUTORIAL.FONT_COLOR=Color
TUTORIAL.FONT_STYLE=Styles
TUTORIAL.FONT_TYPE=Type
TUTORIAL.SAMPLE_NOTE=This is a simple note !.