提交 e9680900 编写于 作者: S Serge Rider 提交者: GitHub

Merge pull request #5355 from riednyko/#88_edit_editor_format

dbeaver-corp/dbeaver-i18n#88

Former-commit-id: 64aa1e54
......@@ -3843,7 +3843,7 @@ public class ResultSetViewer extends Viewer
private class TransformComplexTypesToggleAction extends Action {
TransformComplexTypesToggleAction()
{
super("Structurize complex types", AS_CHECK_BOX);
super(ResultSetMessages.actions_name_structurize_complex_types, AS_CHECK_BOX);
setToolTipText("Visualize complex types (arrays, structures, maps) in results grid as separate columns");
}
......@@ -3872,7 +3872,7 @@ public class ResultSetViewer extends Viewer
private class ColorizeDataTypesToggleAction extends Action {
ColorizeDataTypesToggleAction()
{
super("Colorize Data Types", AS_CHECK_BOX);
super(ResultSetMessages.actions_name_colorize_data_types, AS_CHECK_BOX);
setToolTipText("Set different foreground color for data types");
}
......@@ -3927,7 +3927,7 @@ public class ResultSetViewer extends Viewer
private final DBDAttributeBinding attribute;
private final Object value;
SetRowColorAction(DBDAttributeBinding attr, Object value) {
super("Color by " + attr.getName());
super(NLS.bind(ResultSetMessages.actions_name_color_by, attr.getName()));
this.attribute = attr;
this.value = value;
}
......@@ -3998,7 +3998,7 @@ public class ResultSetViewer extends Viewer
}
CustomizeColorsAction(DBDAttributeBinding curAttribute, ResultSetRow row) {
super("Row colors ...");
super(ResultSetMessages.actions_name_row_colors); //$NON-NLS-1$
this.curAttribute = curAttribute;
this.row = row;
}
......
......@@ -112,7 +112,11 @@ public class ResultSetMessages extends NLS {
public static String sql_editor_resultset_filter_panel_control_no_data;
public static String sql_editor_resultset_filter_panel_control_execute_to_see_reslut;
public static String actions_spreadsheet_copy_special;
public static String actions_name_color_by;
public static String actions_name_colorize_data_types;
public static String actions_name_row_colors;
public static String actions_name_structurize_complex_types;
public static String actions_spreadsheet_copy_special;
// Data managers (FIXME: model_jdbc_ is a legacy prefix)
public static String model_jdbc_bad_content_value_;
......
......@@ -92,6 +92,10 @@ sql_editor_resultset_filter_panel_control_no_data = No Data
sql_editor_resultset_filter_panel_control_execute_to_see_reslut = Execute query {0} or script {1} to see results
## SQL editor resultset filter panel ##
actions_name_color_by=Color by {0}
actions_name_colorize_data_types=Colorize Data Types
actions_name_row_colors=Row colors ...
actions_name_structurize_complex_types=Structurize complex types
actions_spreadsheet_copy_special = Advanced copy ...
model_jdbc_bad_content_value_ = Bad content value:
......
......@@ -51,7 +51,11 @@ controls_resultset_ref_menu_associations=<\u0412\u043D\u0435\u0448\u043D\u0438\u
controls_rs_pump_job_name=\u0427\u0442\u0435\u043D\u0438\u0435 \u0434\u0430\u043D\u043D\u044B\u0445
controls_rs_pump_job_context_name=\u0427\u0442\u0435\u043D\u0438\u0435 \u0434\u0430\u043D\u043D\u044B\u0445 \u0438\u0437 "{0}"
actions_name_color_by=\u0426\u0432\u0435\u0442 {0}
actions_spreadsheet_copy_special=\u041A\u043E\u043F\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u043C\u0438 ...
actions_name_colorize_data_types=\u0420\u0430\u0441\u043A\u0440\u0430\u0441\u0438\u0442\u044C \u0442\u0438\u043F\u044B \u0434\u0430\u043D\u043D\u044B\u0445
actions_name_row_colors=\u0426\u0432\u0435\u0442\u0430 \u0441\u0442\u0440\u043E\u043A ...
actions_name_structurize_complex_types=\u0421\u0442\u0440\u0443\u043A\u0442\u0443\u0440-\u0438\u0435 \u0441\u043B\u043E\u0436\u043D\u044B\u0445 \u0442\u0438\u043F\u043E\u0432
## SQL editor resultset filter panel ##
sql_editor_resultset_filter_panel_text_enter_sql_to_filter = \u0412\u0432\u0435\u0434\u0438\u0442\u0435 SQL \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0447\u0442\u043E\u0431\u044B \u043E\u0442\u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432\u0430\u0442\u044C \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册