create ... fixes: sentence capitalization

This commit is contained in:
Dmitry Avdeev
2014-12-06 12:48:06 +03:00
parent bdf912b7b4
commit 127db13c12
14 changed files with 19 additions and 19 deletions

View File

@@ -38,7 +38,7 @@ public class CreateGetterSetterPropertyFromUsageFix extends CreatePropertyFromUs
protected boolean isAvailableImpl(int offset) {
boolean available = super.isAvailableImpl(offset);
if (available) {
setText("Create Property");
setText("Create property");
}
return available;
}

View File

@@ -1,4 +1,4 @@
// "Create Property" "true"
// "Create property" "true"
class Calculator {
int i;

View File

@@ -1,4 +1,4 @@
// "Create Property" "true"
// "Create property" "true"
class Calculator {
private int i;

View File

@@ -1,4 +1,4 @@
// "Create Property" "false"
// "Create property" "false"
class Calculator {
int i;
public void printError() {

View File

@@ -1,4 +1,4 @@
// "Create Property" "true"
// "Create property" "true"
class Calculator {
int i;
public void printError() {

View File

@@ -1,4 +1,4 @@
// "Create Property" "true"
// "Create property" "true"
class Calculator {
public void printError() {
set<caret>I(0);

View File

@@ -212,7 +212,7 @@ dynamic.toolwindow.property.filter=Property Filter
dynamic.tool.window.id=Dynamic Properties
create.from.usage.family.name=Create From Usage
create.field.from.usage=Create Field ''{0}''
create.field.from.usage=Create field ''{0}''
create.method.from.usage=Create method ''{0}''
create.variable.from.usage=Create Variable ''{0}''
add.dynamic.element=Add dynamic element

View File

@@ -22,7 +22,7 @@ import org.jetbrains.plugins.groovy.codeInspection.untypedUnresolvedAccess.GrUnr
*/
class CreateFieldFromUsageTest extends GrIntentionTestCase {
CreateFieldFromUsageTest() {
super('Create Field', GrUnresolvedAccessInspection)
super('Create field', GrUnresolvedAccessInspection)
}
void testSimpleRef() {

View File

@@ -56,13 +56,13 @@ public class JavaFXQuickfixTest extends LightCodeInsightFixtureTestCase {
}
public void testCreateField() throws Exception {
doTest("Create Field 'btn'", ".java");
doTest("Create field 'btn'", ".java");
}
public void testCreateFieldEmptyName() throws Exception {
String path = getTestName(true) + ".fxml";
final IntentionAction intention =
myFixture.getAvailableIntention("Create Field 'btn'", path, getTestName(false) + ".java");
myFixture.getAvailableIntention("Create field 'btn'", path, getTestName(false) + ".java");
assertNull(intention);
}

View File

@@ -71,7 +71,7 @@ public class JavaFXUnresolvedFxIdReferenceInspectionTest extends AbstractJavaFXQ
@Override
protected String getHint(String tagName) {
return "Create Field '" + tagName + "'";
return "Create field '" + tagName + "'";
}
@NotNull

View File

@@ -33,7 +33,7 @@ unused.property.suppress.for.file=Suppress for whole file
action.I18nize.text=Internationali_ze...
# suppress inspection "UnusedProperty"
action.I18nize.description=Replace Java string literal or JSP text with internationalized expression
create.property.quickfix.text=Create Property
create.property.quickfix.text=Create property
unescape=Unescape
trail.spaces.property.inspection.display.name=Trailing Spaces in Property

View File

@@ -4105,7 +4105,7 @@ inspection.rails.i18n.translate.call.wrong.arguments=I18n#translate call should
inspection.rails.i18n.wrong.key.format=Value ''{0}'' is not a correct i18n property key
inspection.rails.i18n.key.not.found=Value for key ''{0}'' cannot be found in any locale
inspection.rails.i18n.key.not.defined=Value for key ''{0}'' is not defined in some locales
inspection.rails.i18n.create.property=Create Property
inspection.rails.i18n.create.property=Create property
inspection.rails.i18n.wrong.property=Wrong property name
inspection.rails.i18n.locale.contains.property=Locale ''{0}'' already contains property key ''{1}''
inspection.rails.i18n.create.missing.property=Create Missing Property
@@ -19597,7 +19597,7 @@ inspection.rails.i18n.translate.call.wrong.arguments=I18n#translate call should
inspection.rails.i18n.wrong.key.format=Value ''{0}'' is not a correct i18n property key
inspection.rails.i18n.key.not.found=Value for key ''{0}'' cannot be found in any locale
inspection.rails.i18n.key.not.defined=Value for key ''{0}'' is not defined in some locales
inspection.rails.i18n.create.property=Create Property
inspection.rails.i18n.create.property=Create property
inspection.rails.i18n.wrong.property=Wrong property name
inspection.rails.i18n.locale.contains.property=Locale ''{0}'' already contains property key ''{1}''
inspection.rails.i18n.create.missing.property=Create Missing Property

View File

@@ -149,7 +149,7 @@ ant.element.role.ant.project.name=Ant project name
ant.element.role.user.task=User task
ant.element.role.macrodef.element=Macrodef element
ant.element.role.scriptdef.element=Scriptdef element
ant.intention.create.property.family.name=Create Property
ant.intention.create.property.family.name=Create property
#0 - property name
ant.intention.create.property.text=Add property definition ''{0}''
ant.file.structure.narrow.down.the.list.on.typing.checkbox=&Narrow down the list on typing

View File

@@ -92,7 +92,7 @@ create.method.from.usage.text=Create method ''{0}''
create.abstract.method.from.usage.text=Create Abstract Method ''{0}''
create.parameter.from.usage.family=Create Parameter from Usage
create.parameter.from.usage.text=Create Parameter ''{0}''
create.property.from.usage.family=Create Property From Usage
create.property.from.usage.family=Create property From Usage
create.getter=Create Getter
create.setter=Create Setter
defer.final.assignment.with.temp.family=Defer final assignment with temp
@@ -199,9 +199,9 @@ convert.method.to.constructor=Make method constructor
create.class.text=Create class {0}
create.interface.text=Create interface {0}
create.package.text=Create Package {0}
create.field.text=Create Field {0}
create.property.text=Create Property {0}
create.package.text=Create package {0}
create.field.text=Create field {0}
create.property.text=Create property {0}
add.constructor.parameter.name=Add constructor parameter
remove.suppression.action.name=Remove ''{0}'' suppression
remove.suppression.action.family=Remove suppression