diff --git a/feature/eventmap/src/commonMain/composeResources/values-ja/strings.xml b/feature/eventmap/src/commonMain/composeResources/values-ja/strings.xml index 8f3723939..7c30e3a4b 100644 --- a/feature/eventmap/src/commonMain/composeResources/values-ja/strings.xml +++ b/feature/eventmap/src/commonMain/composeResources/values-ja/strings.xml @@ -1,4 +1,4 @@ - !!Please remove this resource when you add string resource!! + イベントマップ diff --git a/feature/eventmap/src/commonMain/composeResources/values/strings.xml b/feature/eventmap/src/commonMain/composeResources/values/strings.xml index 8f3723939..0f652497f 100644 --- a/feature/eventmap/src/commonMain/composeResources/values/strings.xml +++ b/feature/eventmap/src/commonMain/composeResources/values/strings.xml @@ -1,4 +1,4 @@ - !!Please remove this resource when you add string resource!! + EventMap diff --git a/feature/eventmap/src/commonMain/kotlin/io/github/droidkaigi/confsched/eventmap/EventMapScreen.kt b/feature/eventmap/src/commonMain/kotlin/io/github/droidkaigi/confsched/eventmap/EventMapScreen.kt index bb08bb669..fde263c2c 100644 --- a/feature/eventmap/src/commonMain/kotlin/io/github/droidkaigi/confsched/eventmap/EventMapScreen.kt +++ b/feature/eventmap/src/commonMain/kotlin/io/github/droidkaigi/confsched/eventmap/EventMapScreen.kt @@ -30,6 +30,7 @@ import androidx.navigation.NavGraph.Companion.findStartDestination import androidx.navigation.NavGraphBuilder import androidx.navigation.compose.composable import co.touchlab.kermit.Logger +import conference_app_2024.feature.eventmap.generated.resources.eventmap import io.github.droidkaigi.confsched.compose.rememberEventEmitter import io.github.droidkaigi.confsched.eventmap.component.EventMapItem import io.github.droidkaigi.confsched.eventmap.component.EventMapTab @@ -40,6 +41,7 @@ import io.github.droidkaigi.confsched.ui.handleOnClickIfNotNavigating import io.github.droidkaigi.confsched.ui.rememberUserMessageStateHolder import kotlinx.collections.immutable.PersistentList import kotlinx.collections.immutable.persistentListOf +import org.jetbrains.compose.resources.stringResource import org.jetbrains.compose.ui.tooling.preview.Preview const val eventMapScreenRoute = "eventMap" @@ -130,7 +132,7 @@ fun EventMapScreen( if (scrollBehavior != null) { LargeTopAppBar( title = { - Text(text = "イベントマップ") + Text(text = stringResource(EventMapRes.string.eventmap)) }, navigationIcon = { IconButton(