提交 8be3a079 编写于 作者: A Anastasiya Volkova

dbeaver-corp/dbeaver-i18n#166 EditTaskConfigurationDialog in...

dbeaver-corp/dbeaver-i18n#166 EditTaskConfigurationDialog in org.jkiss.dbeaver.tasks.ui.wizard localized
上级 7b954698
......@@ -22,6 +22,16 @@ import org.eclipse.osgi.util.NLS;
public class TaskUIMessages extends NLS {
static final String BUNDLE_NAME = "org.jkiss.dbeaver.tasks.ui.internal.TaskUIMessages"; //$NON-NLS-1$
public static String edit_task_config_dialog_title_edit_task;
public static String edit_task_config_dialog_title_create_task;
public static String edit_task_config_dialog_label_type;
public static String edit_task_config_dialog_label_name;
public static String edit_task_config_dialog_label_descr;
public static String edit_task_variabl_dialog_title_task_variables;
public static String edit_task_variabl_dialog_column_variable;
public static String edit_task_variabl_dialog_column_value;
public static String task_config_wizard_group_task_label;
public static String task_config_wizard_button_save_task;
public static String task_config_wizard_link_open_tasks_view;
......@@ -47,10 +57,6 @@ public class TaskUIMessages extends NLS {
public static String task_config_wizard_stub_title_create_task;
public static String task_config_wizard_stub_page_name_void;
public static String edit_task_variabl_dialog_title_task_variables;
public static String edit_task_variabl_dialog_column_variable;
public static String edit_task_variabl_dialog_column_value;
public static String db_tasks_selector_dialog;
public static String db_tasks_tree_text_tasks_type;
......
edit_task_config_dialog_title_edit_task = Edit task
edit_task_config_dialog_title_create_task = Create task
edit_task_config_dialog_label_type = Type
edit_task_config_dialog_label_name = Name
edit_task_config_dialog_label_descr = Description
edit_task_variabl_dialog_title_task_variables = Task variables
edit_task_variabl_dialog_column_variable = Variable
edit_task_variabl_dialog_column_value = Value
......@@ -50,4 +56,4 @@ db_tasks_tree_column_controller_add_descr_task_type = Task type
db_tasks_tree_column_controller_add_name_category = Category
db_tasks_tree_column_controller_add_descr_category = Task category
db_tasks_tree_column_controller_add_name_project = Project
db_tasks_tree_column_controller_add_descr_project = Task container project
db_tasks_tree_column_controller_add_descr_project = Task project
edit_task_config_dialog_title_edit_task = EAufgabe bearbeiten
edit_task_config_dialog_title_create_task = Aufgabe erstellen
edit_task_config_dialog_label_type = Typ
edit_task_config_dialog_label_name = Name
edit_task_config_dialog_label_descr = Beschreibung
edit_task_variabl_dialog_title_task_variables = Aufgabenvariablen
edit_task_variabl_dialog_column_variable = Variable
edit_task_variabl_dialog_column_value = Wert
......
edit_task_config_dialog_title_edit_task = Editar tarea
edit_task_config_dialog_title_create_task = Crear tarea
edit_task_config_dialog_label_type = Tipo
edit_task_config_dialog_label_name = Nombre
edit_task_config_dialog_label_descr = Descripti\u00f3n
edit_task_variabl_dialog_title_task_variables = Variables de tarea
edit_task_variabl_dialog_column_variable = Variable
edit_task_variabl_dialog_column_value = Valor
......
edit_task_config_dialog_title_edit_task = Modifier la t\u00e2che
edit_task_config_dialog_title_create_task = Cr\u00e9er la t\u00e2che
edit_task_config_dialog_label_type = Type
edit_task_config_dialog_label_name = Nom
edit_task_config_dialog_label_descr = Description
edit_task_variabl_dialog_title_task_variables = Variables de t\u00e2che
edit_task_variabl_dialog_column_variable = Variable
edit_task_variabl_dialog_column_value = Valeur
......
edit_task_config_dialog_title_edit_task = Modifica attivit\u00e0
edit_task_config_dialog_title_create_task = Crea attivit\u00e0
edit_task_config_dialog_label_type = Tipo
edit_task_config_dialog_label_name = Nome
edit_task_config_dialog_label_descr = Descrizione
edit_task_variabl_dialog_title_task_variables = Variabili dell'attivit\u00e0
edit_task_variabl_dialog_column_variable = Variabile
edit_task_variabl_dialog_column_value = Valore
......
edit_task_config_dialog_title_edit_task = \u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c\u0020\u0437\u0430\u0434\u0430\u0447\u0443
edit_task_config_dialog_title_create_task = \u0421\u043e\u0437\u0434\u0430\u0442\u044c\u0020\u0437\u0430\u0434\u0430\u0447\u0443
edit_task_config_dialog_label_type = \u0422\u0438\u043f
edit_task_config_dialog_label_name = \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435
edit_task_config_dialog_label_descr = \u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435
edit_task_variabl_dialog_title_task_variables = \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u0020\u0437\u0430\u0434\u0430\u0447\u0438
edit_task_variabl_dialog_column_variable = \u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f
edit_task_variabl_dialog_column_value = \u0417\u043d\u0430\u0447\u0435\u043d\u0438\u0435
......
......@@ -34,6 +34,7 @@ import org.jkiss.dbeaver.model.task.DBTTaskManager;
import org.jkiss.dbeaver.model.task.DBTTaskType;
import org.jkiss.dbeaver.registry.task.TaskImpl;
import org.jkiss.dbeaver.runtime.DBWorkbench;
import org.jkiss.dbeaver.tasks.ui.internal.TaskUIMessages;
import org.jkiss.dbeaver.ui.UIUtils;
import org.jkiss.dbeaver.ui.dialogs.BaseDialog;
import org.jkiss.utils.CommonUtils;
......@@ -61,7 +62,7 @@ public class EditTaskConfigurationDialog extends BaseDialog
public EditTaskConfigurationDialog(Shell parentShell, @NotNull DBTTask task)
{
super(parentShell,
"Edit task [" + task.getName() + "]",
TaskUIMessages.edit_task_config_dialog_title_edit_task + " [" + task.getName() + "]",
task.getType().getIcon() == null ? DBIcon.TREE_TASK: task.getType().getIcon());
this.task = (TaskImpl) task;
this.project = task.getProject();
......@@ -71,7 +72,7 @@ public class EditTaskConfigurationDialog extends BaseDialog
public EditTaskConfigurationDialog(Shell parentShell, @NotNull DBPProject project, @NotNull DBTTaskType taskType)
{
super(parentShell, "Create task", DBIcon.TREE_TASK);
super(parentShell, TaskUIMessages.edit_task_config_dialog_title_create_task, DBIcon.TREE_TASK);
this.task = null;
this.project = project;
this.taskType = taskType;
......@@ -96,10 +97,10 @@ public class EditTaskConfigurationDialog extends BaseDialog
updateButtons();
};
UIUtils.createLabelText(formPanel, "Type", taskType.getCategory().getName() + " / " + taskType.getName(), SWT.BORDER | SWT.READ_ONLY);
UIUtils.createLabelText(formPanel, TaskUIMessages.edit_task_config_dialog_label_type, taskType.getCategory().getName() + " / " + taskType.getName(), SWT.BORDER | SWT.READ_ONLY);
boolean taskSaved = task != null && !CommonUtils.isEmpty(task.getId());
taskLabelCombo = UIUtils.createLabelCombo(formPanel, "Name", "", SWT.BORDER | (taskSaved ? SWT.READ_ONLY : SWT.NONE));
taskLabelCombo = UIUtils.createLabelCombo(formPanel, TaskUIMessages.edit_task_config_dialog_label_name, "", SWT.BORDER | (taskSaved ? SWT.READ_ONLY : SWT.NONE));
((GridData)taskLabelCombo.getLayoutData()).widthHint = 300;
if (task != null) {
taskLabelCombo.setText(task.getName());
......@@ -138,7 +139,7 @@ public class EditTaskConfigurationDialog extends BaseDialog
// UIUtils.createLabelText(formPanel, "ID", task.getId(), SWT.BORDER | SWT.READ_ONLY);
// }
taskDescriptionText = UIUtils.createLabelText(formPanel, "Description", task == null ? "" : CommonUtils.notEmpty(task.getDescription()), SWT.BORDER | SWT.MULTI | SWT.V_SCROLL);
taskDescriptionText = UIUtils.createLabelText(formPanel, TaskUIMessages.edit_task_config_dialog_label_descr, task == null ? "" : CommonUtils.notEmpty(task.getDescription()), SWT.BORDER | SWT.MULTI | SWT.V_SCROLL);
((GridData)taskDescriptionText.getLayoutData()).heightHint = taskDescriptionText.getLineHeight() * 5;
taskDescriptionText.addModifyListener(modifyListener);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册