Skip to content

Commit

Permalink
Fixed issue #224.
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsschmidt1337 committed Apr 2, 2016
1 parent e2896c1 commit f133b92
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1696,7 +1696,7 @@ private ToolItem createToolItemMiscClick(String label) {
{
Button btn_RoundSelection = new Button(toolItem_MiscClick, SWT.NONE);
this.btn_RoundSelection[0] = btn_RoundSelection;
btn_RoundSelection.setToolTipText(I18n.E3D_Round);
btn_RoundSelection.setToolTipText(I18n.E3D_Round + I18n.E3D_ControlClickModify);
btn_RoundSelection.setImage(ResourceManager.getImage("icon16_round.png")); //$NON-NLS-1$
}
{
Expand Down Expand Up @@ -2833,7 +2833,7 @@ private void addColorButton(ToolItem toolItem_Colours, GColour gColour, final in
Object[] messageArguments = {num, View.getLDConfigColourName(num)};
MessageFormat formatter = new MessageFormat(""); //$NON-NLS-1$
formatter.setLocale(MyLanguage.LOCALE);
formatter.applyPattern(I18n.EDITORTEXT_Colour1);
formatter.applyPattern(I18n.EDITORTEXT_Colour1 + I18n.E3D_ControlClickModify);

btn_Col.setToolTipText(formatter.format(messageArguments));
} else {
Expand All @@ -2846,7 +2846,7 @@ private void addColorButton(ToolItem toolItem_Colours, GColour gColour, final in
Object[] messageArguments = {colourBuilder.toString()};
MessageFormat formatter = new MessageFormat(""); //$NON-NLS-1$
formatter.setLocale(MyLanguage.LOCALE);
formatter.applyPattern(I18n.EDITORTEXT_Colour2);
formatter.applyPattern(I18n.EDITORTEXT_Colour2 + I18n.E3D_ControlClickModify);

btn_Col.setToolTipText(formatter.format(messageArguments));
}
Expand All @@ -2872,7 +2872,7 @@ public void widgetSelected(SelectionEvent e) {
Object[] messageArguments = {num, View.getLDConfigColourName(num)};
MessageFormat formatter = new MessageFormat(""); //$NON-NLS-1$
formatter.setLocale(MyLanguage.LOCALE);
formatter.applyPattern(I18n.EDITORTEXT_Colour1);
formatter.applyPattern(I18n.EDITORTEXT_Colour1 + I18n.E3D_ControlClickModify);

btn_Col.setToolTipText(formatter.format(messageArguments));
} else {
Expand All @@ -2885,7 +2885,7 @@ public void widgetSelected(SelectionEvent e) {
Object[] messageArguments = {colourBuilder.toString()};
MessageFormat formatter = new MessageFormat(""); //$NON-NLS-1$
formatter.setLocale(MyLanguage.LOCALE);
formatter.applyPattern(I18n.EDITORTEXT_Colour2);
formatter.applyPattern(I18n.EDITORTEXT_Colour2 + I18n.E3D_ControlClickModify);

btn_Col.setToolTipText(formatter.format(messageArguments));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ protected Control createContents(Composite parent) {
{
Button btn_RoundSelection = new Button(toolItem_Debug, SWT.NONE);
this.btn_RoundSelection[0] = btn_RoundSelection;
KeyStateManager.addTooltipText(btn_RoundSelection, I18n.EDITORTEXT_Round, TextTask.EDITORTEXT_ROUND);
KeyStateManager.addTooltipText(btn_RoundSelection, I18n.EDITORTEXT_Round + I18n.E3D_ControlClickModify, TextTask.EDITORTEXT_ROUND);
btn_RoundSelection.setImage(ResourceManager.getImage("icon16_round.png")); //$NON-NLS-1$
}

Expand Down Expand Up @@ -457,7 +457,7 @@ private void addColorButton(ToolItem toolItem_Colours, GColour gColour, final in
Object[] messageArguments = {num, View.getLDConfigColourName(num)};
MessageFormat formatter = new MessageFormat(""); //$NON-NLS-1$
formatter.setLocale(MyLanguage.LOCALE);
formatter.applyPattern(I18n.EDITORTEXT_Colour1);
formatter.applyPattern(I18n.EDITORTEXT_Colour1 + I18n.E3D_ControlClickModify);

btn_Col.setToolTipText(formatter.format(messageArguments));
} else {
Expand All @@ -471,7 +471,7 @@ private void addColorButton(ToolItem toolItem_Colours, GColour gColour, final in
Object[] messageArguments = {colourBuilder.toString()};
MessageFormat formatter = new MessageFormat(""); //$NON-NLS-1$
formatter.setLocale(MyLanguage.LOCALE);
formatter.applyPattern(I18n.EDITORTEXT_Colour2);
formatter.applyPattern(I18n.EDITORTEXT_Colour2 + I18n.E3D_ControlClickModify);

btn_Col.setToolTipText(formatter.format(messageArguments));
}
Expand All @@ -496,7 +496,7 @@ public void widgetSelected(SelectionEvent e) {
Object[] messageArguments = {num, View.getLDConfigColourName(num)};
MessageFormat formatter = new MessageFormat(""); //$NON-NLS-1$
formatter.setLocale(MyLanguage.LOCALE);
formatter.applyPattern(I18n.EDITORTEXT_Colour1);
formatter.applyPattern(I18n.EDITORTEXT_Colour1 + I18n.E3D_ControlClickModify);

btn_Col.setToolTipText(formatter.format(messageArguments));
} else {
Expand All @@ -509,7 +509,7 @@ public void widgetSelected(SelectionEvent e) {
Object[] messageArguments = {colourBuilder.toString()};
MessageFormat formatter = new MessageFormat(""); //$NON-NLS-1$
formatter.setLocale(MyLanguage.LOCALE);
formatter.applyPattern(I18n.EDITORTEXT_Colour2);
formatter.applyPattern(I18n.EDITORTEXT_Colour2 + I18n.E3D_ControlClickModify);

btn_Col.setToolTipText(formatter.format(messageArguments));

Expand Down

0 comments on commit f133b92

Please sign in to comment.