From cd3cddda9d55711a20a351ebbe0bf56a8eeacf12 Mon Sep 17 00:00:00 2001 From: Ekaterina Tuzova Date: Wed, 23 Dec 2015 19:02:49 +0300 Subject: [PATCH] PY-6691 Use sentence case for all fields of the "New Setup Script" dialog --- .../python/packaging/setupPy/CreateSetupPyAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/src/com/jetbrains/python/packaging/setupPy/CreateSetupPyAction.java b/python/src/com/jetbrains/python/packaging/setupPy/CreateSetupPyAction.java index 95ebfa53136b..9a06104bbd21 100644 --- a/python/src/com/jetbrains/python/packaging/setupPy/CreateSetupPyAction.java +++ b/python/src/com/jetbrains/python/packaging/setupPy/CreateSetupPyAction.java @@ -76,7 +76,7 @@ public class CreateSetupPyAction extends CreateFromTemplateAction { defaults.add("Package_name", project.getName()); final PropertiesComponent properties = PropertiesComponent.getInstance(); defaults.add("Author", properties.getOrInit(AUTHOR_PROPERTY, SystemProperties.getUserName())); - defaults.add("Author_Email", properties.getOrInit(EMAIL_PROPERTY, "")); + defaults.add("Author_email", properties.getOrInit(EMAIL_PROPERTY, "")); defaults.addPredefined("PackageList", getPackageList(dataContext)); defaults.addPredefined("PackageDirs", getPackageDirs(dataContext)); } @@ -129,7 +129,7 @@ public class CreateSetupPyAction extends CreateFromTemplateAction { if (author != null) { propertiesComponent.setValue(AUTHOR_PROPERTY, author); } - final String authorEmail = properties.getProperty("Author_Email"); + final String authorEmail = properties.getProperty("Author_email"); if (authorEmail != null) { propertiesComponent.setValue(EMAIL_PROPERTY, authorEmail); }