mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-06 05:10:22 +07:00
create ... fixes: sentence capitalization
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create Property" "true"
|
||||
// "Create property" "true"
|
||||
class Calculator {
|
||||
int i;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create Property" "true"
|
||||
// "Create property" "true"
|
||||
class Calculator {
|
||||
private int i;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create Property" "false"
|
||||
// "Create property" "false"
|
||||
class Calculator {
|
||||
int i;
|
||||
public void printError() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create Property" "true"
|
||||
// "Create property" "true"
|
||||
class Calculator {
|
||||
int i;
|
||||
public void printError() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Create Property" "true"
|
||||
// "Create property" "true"
|
||||
class Calculator {
|
||||
public void printError() {
|
||||
set<caret>I(0);
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ public class JavaFXUnresolvedFxIdReferenceInspectionTest extends AbstractJavaFXQ
|
||||
|
||||
@Override
|
||||
protected String getHint(String tagName) {
|
||||
return "Create Field '" + tagName + "'";
|
||||
return "Create field '" + tagName + "'";
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user