Skip to content

Commit d811938

Browse files
committed
Update "Add Detail Formatter" messages
- Use "..." suffix for a label of a button that opens a dialog - Make "Add Type/Primitive" dialogs more similar
1 parent f7ab749 commit d811938

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/DebugUIMessages.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ public class DebugUIMessages extends NLS {
310310
public static String DetailFormatterDialog_Detail_formatter__code_snippet__1;
311311
public static String DetailFormatterDialog_17;
312312
public static String DetailFormatterPrimitiveSelect;
313+
public static String DetailFormatterPrimitiveSelectionTitle;
313314
public static String DetailFormatterPrimitiveSelectionLabel;
314315

315316
public static String No_type_with_the_given_name_found_in_the_workspace__1;

org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/DebugUIMessages.properties

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,14 +249,15 @@ DetailFormatterDialog_Could_not_open_type_selection_dialog_for_detail_formatters
249249
DetailFormatterDialog_Select_type_8=Select Type
250250
DetailFormatterDialog_Select_type_9=Browse Type
251251
DetailFormatterDialog_Select_type_10=In order to browse a type, a project needs to be present and accessible.
252-
DetailFormatterDialog_Select_a_type_to_format_when_displaying_its_detail_9=&Select a type to format when displaying its detail:
252+
DetailFormatterDialog_Select_a_type_to_format_when_displaying_its_detail_9=&Select a type to format when displaying its details:
253253
DetailFormatterDialog_Edit_Detail_Formatter_1=Edit Detail Formatter
254254
DetailFormatterDialog_Add_Detail_Formatter_2=Add Detail Formatter
255255
DetailFormatterDialog_Associated_code_must_not_be_empty_3=Detail formatter code snippet must not be empty
256256
DetailFormatterDialog_Detail_formatter__code_snippet__1=Detail formatter &code snippet:
257257
DetailFormatterDialog_17=Detail formatter &code snippet ({0} for code assist):
258-
DetailFormatterPrimitiveSelect=Select primitives
259-
DetailFormatterPrimitiveSelectionLabel=Choose a primitive
258+
DetailFormatterPrimitiveSelect=Select &Primitive...
259+
DetailFormatterPrimitiveSelectionTitle=Select Primitive
260+
DetailFormatterPrimitiveSelectionLabel=&Select a primitive or an array of primitives to format when displaying its details:
260261

261262
No_type_with_the_given_name_found_in_the_workspace__1=No type with the given name found in the workspace.
262263
JavaDetailFormattersManager_Detail_formatter_error___1=Detail formatter error:

org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/DetailFormatterDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ private void selectType() {
351351
private void selectPrimitiveType() {
352352
Shell shell = getShell();
353353
ListDialog listDialog = new ListDialog(shell);
354-
listDialog.setTitle(DebugUIMessages.DetailFormatterDialog_Select_type_8);
354+
listDialog.setTitle(DebugUIMessages.DetailFormatterPrimitiveSelectionTitle);
355355
listDialog.setMessage(DebugUIMessages.DetailFormatterPrimitiveSelectionLabel);
356356
listDialog.setInput(getPrimitiveTypes().toArray());
357357
listDialog.setContentProvider(ArrayContentProvider.getInstance());

0 commit comments

Comments
 (0)