diff --git a/bundles/com.e1c.v8codestyle.md.ui/src/com/e1c/v8codestyle/md/ui/CommonModuleTypeDtNewWizardPage.java b/bundles/com.e1c.v8codestyle.md.ui/src/com/e1c/v8codestyle/md/ui/CommonModuleTypeDtNewWizardPage.java index 5e18c3e5..5b370ad5 100644 --- a/bundles/com.e1c.v8codestyle.md.ui/src/com/e1c/v8codestyle/md/ui/CommonModuleTypeDtNewWizardPage.java +++ b/bundles/com.e1c.v8codestyle.md.ui/src/com/e1c/v8codestyle/md/ui/CommonModuleTypeDtNewWizardPage.java @@ -260,7 +260,7 @@ public class CommonModuleTypeDtNewWizardPage { return type.getTitle(); } - return type.getTitle() + " +(" + suffix + ")"; //$NON-NLS-1$ //$NON-NLS-2$ + return type.getTitle() + " (" + suffix + ")"; //$NON-NLS-1$ //$NON-NLS-2$ } return super.getText(element); } diff --git a/bundles/com.e1c.v8codestyle.md.ui/src/com/e1c/v8codestyle/md/ui/messages.properties b/bundles/com.e1c.v8codestyle.md.ui/src/com/e1c/v8codestyle/md/ui/messages.properties index 28758c5b..af9ce939 100644 --- a/bundles/com.e1c.v8codestyle.md.ui/src/com/e1c/v8codestyle/md/ui/messages.properties +++ b/bundles/com.e1c.v8codestyle.md.ui/src/com/e1c/v8codestyle/md/ui/messages.properties @@ -1,3 +1,4 @@ +#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) ############################################################################### # Copyright (C) 2021, 1C-Soft LLC and others. # @@ -10,7 +11,11 @@ # Contributors: # 1C-Soft LLC - initial API and implementation ############################################################################### -CommonModuleTypeDtNewWizardPage_Choose_valid_common_module_type_from_list=Choose valid common module type from list -CommonModuleTypeDtNewWizardPage_Select_common_module_type=Select common module type -CommonModuleTypeDtNewWizardPage_Select_type=Select type -CommonModuleTypeDtNewWizardPage_Select_type_from_list=Select type from list + +CommonModuleTypeDtNewWizardPage_Choose_valid_common_module_type_from_list = Choose valid common module type from list + +CommonModuleTypeDtNewWizardPage_Select_common_module_type = Select common module type + +CommonModuleTypeDtNewWizardPage_Select_type = Select type (name suffix) + +CommonModuleTypeDtNewWizardPage_Select_type_from_list = Select type from list diff --git a/bundles/com.e1c.v8codestyle.md.ui/src/com/e1c/v8codestyle/md/ui/messages_ru.properties b/bundles/com.e1c.v8codestyle.md.ui/src/com/e1c/v8codestyle/md/ui/messages_ru.properties index 0f4142da..6c83f52e 100644 --- a/bundles/com.e1c.v8codestyle.md.ui/src/com/e1c/v8codestyle/md/ui/messages_ru.properties +++ b/bundles/com.e1c.v8codestyle.md.ui/src/com/e1c/v8codestyle/md/ui/messages_ru.properties @@ -1,3 +1,4 @@ +#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) ############################################################################### # Copyright (C) 2021, 1C-Soft LLC and others. # @@ -12,10 +13,10 @@ ############################################################################### #Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) -CommonModuleTypeDtNewWizardPage_Choose_valid_common_module_type_from_list = Выберите подходящий тип общего моделя из списка +CommonModuleTypeDtNewWizardPage_Choose_valid_common_module_type_from_list = Выберите подходящий тип общего модуля из списка CommonModuleTypeDtNewWizardPage_Select_common_module_type = Выберите тип общего модуля -CommonModuleTypeDtNewWizardPage_Select_type = Выберите тип +CommonModuleTypeDtNewWizardPage_Select_type = Выберите тип (суффикс имени) CommonModuleTypeDtNewWizardPage_Select_type_from_list = Выберите тип из списка diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/CommonModuleTypes.java b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/CommonModuleTypes.java index cad25978..ba42d100 100644 --- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/CommonModuleTypes.java +++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/CommonModuleTypes.java @@ -207,21 +207,42 @@ public enum CommonModuleTypes this.featureValues = featureValues; } + /** + * Gets the localizable title of the type. + * + * @return the title, cannot return {@code null}. + */ public String getTitle() { return title; } - public String[] getNameSuffixs() + /** + * Gets the dually-named name suffixes where first is English script variant and second is Russian script variant. + * + * @return the name suffixes, cannot return {@code null}. + */ + public String[] getNameSuffixes() { return nameSuffix; } + /** + * Gets the name suffix for the specific script variant of the project. + * + * @param scriptVariant the script variant, cannot be {@code null}. + * @return the name suffix, cannot return {@code null}. + */ public String getNameSuffix(ScriptVariant scriptVariant) { return nameSuffix[scriptVariant.getValue()]; } + /** + * Gets the feature values for the type of common module. + * + * @return the feature values, cannot return {@code null}. + */ public Map getFeatureValues() { return featureValues; diff --git a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/messages_ru.properties b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/messages_ru.properties index ec955bf9..963bdd9a 100644 --- a/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/messages_ru.properties +++ b/bundles/com.e1c.v8codestyle.md/src/com/e1c/v8codestyle/md/messages_ru.properties @@ -1,3 +1,4 @@ +#Generated by ResourceBundle Editor (http://essiembre.github.io/eclipse-rbe/) ############################################################################### # Copyright (C) 2021, 1C-Soft LLC and others. # @@ -26,7 +27,7 @@ CommonModuleTypes_Client_module = Клиентский модуль CommonModuleTypes_Server_Cached_module = Серверный модуль с повторным использованием возвращаемых значений -CommonModuleTypes_Server_Full_access_module = Серверный модуль с привелегированным режимом исполнения +CommonModuleTypes_Server_Full_access_module = Серверный модуль с привилегированным режимом исполнения CommonModuleTypes_Server_Localization_module = Серверный модуль, реализующий национальную специфику