Correct grammar of greeting configuration options
Change-Id: I47038ebe24e23addd88132764e06ca14ac4d12c8
diff --git a/src/main/java/com/googlesource/gerrit/plugins/cookbook/Module.java b/src/main/java/com/googlesource/gerrit/plugins/cookbook/Module.java
index 0418772..ae04cdc 100644
--- a/src/main/java/com/googlesource/gerrit/plugins/cookbook/Module.java
+++ b/src/main/java/com/googlesource/gerrit/plugins/cookbook/Module.java
@@ -45,16 +45,16 @@
private void configurePluginParameters() {
bind(ProjectConfigEntry.class)
- .annotatedWith(Exports.named("enabled-hello"))
+ .annotatedWith(Exports.named("enable-hello"))
.toInstance(new ProjectConfigEntry("Enable Greeting", true));
bind(ProjectConfigEntry.class)
- .annotatedWith(Exports.named("enabled-goodby"))
- .toInstance(new ProjectConfigEntry("Enable Say Good By",
+ .annotatedWith(Exports.named("enable-goodbye"))
+ .toInstance(new ProjectConfigEntry("Enable Say Goodbye",
InheritableBoolean.TRUE,
InheritableBoolean.class, true));
bind(ProjectConfigEntry.class)
- .annotatedWith(Exports.named("default-greet"))
- .toInstance(new ProjectConfigEntry("Default Greet",
+ .annotatedWith(Exports.named("default-greeting"))
+ .toInstance(new ProjectConfigEntry("Default Greeting",
"Hey dude, how are you?", true));
bind(ProjectConfigEntry.class)
.annotatedWith(Exports.named("language"))