You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BotCommands-core/src/main/kotlin/io/github/freya022/botcommands/api/localization/context/AppLocalizationContext.kt
Copy file name to clipboardExpand all lines: BotCommands-core/src/main/kotlin/io/github/freya022/botcommands/api/localization/context/LocalizationContext.kt
Copy file name to clipboardExpand all lines: BotCommands-core/src/main/kotlin/io/github/freya022/botcommands/api/localization/context/TextLocalizationContext.kt
Copy file name to clipboardExpand all lines: BotCommands-core/src/main/kotlin/io/github/freya022/botcommands/internal/localization/LocalizationContextImpl.kt
+22-14Lines changed: 22 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -14,19 +14,25 @@ internal class LocalizationContextImpl(
@@ -83,6 +89,8 @@ internal class LocalizationContextImpl(
83
89
?: throwInternal("Found no localization instance for bundle '$localizationBundle' and locale '$discordLocale', the root bundle should have been checked")
Copy file name to clipboardExpand all lines: BotCommands-core/src/main/kotlin/io/github/freya022/botcommands/internal/localization/interaction/LocalizableInteractionImpl.kt
+6-8Lines changed: 6 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -34,13 +34,11 @@ internal class LocalizableInteractionImpl internal constructor(
34
34
privateval guildLocale:Locale by lazy { guildLocaleProvider.getLocale(deferrableCallback) }
Copy file name to clipboardExpand all lines: BotCommands-core/src/main/kotlin/io/github/freya022/botcommands/internal/localization/text/LocalizableTextCommandImpl.kt
+4-6Lines changed: 4 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,10 @@ internal class LocalizableTextCommandImpl internal constructor(
29
29
privateval locale:Locale by lazy { localeProvider.getLocale(event) }
Copy file name to clipboardExpand all lines: BotCommands-core/src/main/kotlin/io/github/freya022/botcommands/internal/parameters/resolvers/localization/LocalizationContextResolverFactories.kt
0 commit comments