Skip to content

Commit

Permalink
Localize panel collapse/expand tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthak committed Jan 24, 2013
1 parent 743d268 commit f0a7b40
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions locale/en_US/ViewerStrings.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ aboutCloseBtn=Close
close=Close
minimize=Minimize

# -- Panel Strings --
#
panelExpandTooltip=Click to expand the panel
panelCollapseTooltip=Click to collapse the panel

# --- general locale specifics
locateExampleValueX=-77.03655
locateExampleValueY=38.89767
Expand Down
4 changes: 2 additions & 2 deletions src/com/esri/viewer/utils/PanelBox.as
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public class PanelBox extends DividedBox
private var alphas:Array = [ 1, 1 ];
private var ratios:Array = [ 0, 255 ];

private var expandPanelTooltip:String = "Click to expand the panel";
private var collapsePanelTooltip:String = "Click to collapse the panel";
private var expandPanelTooltip:String = LocalizationUtil.getDefaultString("panelExpandTooltip");
private var collapsePanelTooltip:String = LocalizationUtil.getDefaultString("panelCollapseTooltip");

private var _buttonIndexToSelection:Dictionary = new Dictionary();

Expand Down

0 comments on commit f0a7b40

Please sign in to comment.