mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 06:42:05 +01:00
Localize Close
This commit is contained in:
@@ -63,6 +63,7 @@ import androidx.compose.ui.text.style.TextOverflow
|
||||
import androidx.compose.ui.unit.Dp
|
||||
import androidx.compose.ui.unit.dp
|
||||
import androidx.compose.ui.unit.sp
|
||||
import ca.gosyer.ui.base.resources.stringResource
|
||||
|
||||
@Composable
|
||||
fun Toolbar(
|
||||
@@ -119,7 +120,7 @@ fun Toolbar(
|
||||
Row(Modifier.animateContentSize()) {
|
||||
actions()
|
||||
if (closable) {
|
||||
TextActionIcon(onClick = onClose, "Close", Icons.Rounded.Close)
|
||||
TextActionIcon(onClick = onClose, stringResource("action_close"), Icons.Rounded.Close)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
<string name="action_remove_favorite">Unfavorite</string>
|
||||
<string name="action_refresh_manga">Refresh</string>
|
||||
<string name="action_retry">Retry</string>
|
||||
<string name="action_close">Close</string>
|
||||
|
||||
<!-- Locations -->
|
||||
<string name="location_library">Library</string>
|
||||
|
||||
Reference in New Issue
Block a user