|
@@ -495,6 +495,7 @@ fun ColumnScope.ShowAllLocationsList(
|
|
|
var selectedTabIndex by rememberSaveable { mutableStateOf(0) }
|
|
|
val scope = rememberCoroutineScope()
|
|
|
var filterServersList: ArrayList<Server> = ArrayList<Server>()
|
|
|
+ val context = LocalContext.current
|
|
|
|
|
|
ScrollableTabRow(
|
|
|
selectedTabIndex = selectedIndex,
|
|
@@ -566,7 +567,8 @@ fun ColumnScope.ShowAllLocationsList(
|
|
|
selectedContentColor = Color.White,
|
|
|
unselectedContentColor = Color.White,
|
|
|
text = {
|
|
|
- val locationTabName = if (locationTab.name?.lowercase() == "servers") "Countries" else locationTab.name
|
|
|
+ val locationTabName = if (locationTab.name?.lowercase() == "servers") context.getString(R.string.countries)
|
|
|
+ else locationTab.name
|
|
|
Text(
|
|
|
text = locationTabName ?: "",
|
|
|
style = MaterialTheme.typography.customTypography2.labelMedium,
|