-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
src/rider/main/kotlin/com/jetbrains/rider/settings/ConfigurationSenseBundle.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package com.jetbrains.rider.settings | ||
|
||
import com.intellij.DynamicBundle | ||
import org.jetbrains.annotations.Nls | ||
import org.jetbrains.annotations.NonNls | ||
import org.jetbrains.annotations.PropertyKey | ||
|
||
class ConfigurationSenseBundle : DynamicBundle(BUNDLE) { | ||
companion object { | ||
@NonNls | ||
private const val BUNDLE = "messages.ConfigurationSenseBundle" | ||
private val INSTANCE: ConfigurationSenseBundle = ConfigurationSenseBundle() | ||
|
||
@Nls | ||
fun message( | ||
@PropertyKey(resourceBundle = BUNDLE) key: String, | ||
vararg params: Any | ||
): String { | ||
return INSTANCE.getMessage(key, *params) | ||
} | ||
} | ||
} |
6 changes: 5 additions & 1 deletion
6
src/rider/main/kotlin/com/jetbrains/rider/settings/ConfigurationSensePluginOptionsPage.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/rider/main/resources/messages/ConfigurationSenseBundle.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
configurable.name.configurationsense.title=Structured Logging |