Add missing string resources
This commit is contained in:
parent
f9826a6456
commit
554b921b1e
@ -242,6 +242,7 @@
|
|||||||
<string name="edit_favorites_dialog_pinned_unsorted">Pinned – automatically sorted</string>
|
<string name="edit_favorites_dialog_pinned_unsorted">Pinned – automatically sorted</string>
|
||||||
<!-- Edit favorites, title for items that are pinned and have been sorted by the user -->
|
<!-- Edit favorites, title for items that are pinned and have been sorted by the user -->
|
||||||
<string name="edit_favorites_dialog_pinned_sorted">Pinned – manually sorted</string>
|
<string name="edit_favorites_dialog_pinned_sorted">Pinned – manually sorted</string>
|
||||||
|
<string name="edit_favorites_dialog_empty_section">Drag items here</string>
|
||||||
<!-- Nextcloud login flow, URL-->
|
<!-- Nextcloud login flow, URL-->
|
||||||
<string name="nextcloud_server_url">Nextcloud server URL</string>
|
<string name="nextcloud_server_url">Nextcloud server URL</string>
|
||||||
<!-- Nextcloud/Owncloud login flow, empty URL-->
|
<!-- Nextcloud/Owncloud login flow, empty URL-->
|
||||||
@ -645,4 +646,6 @@
|
|||||||
|
|
||||||
<string name="apps_profile_main">Personal</string>
|
<string name="apps_profile_main">Personal</string>
|
||||||
<string name="apps_profile_work">Work</string>
|
<string name="apps_profile_work">Work</string>
|
||||||
|
|
||||||
|
<string name="favorites">Favorites</string>
|
||||||
</resources>
|
</resources>
|
||||||
@ -25,6 +25,7 @@ import androidx.lifecycle.viewmodel.compose.viewModel
|
|||||||
import de.mm20.launcher2.badges.Badge
|
import de.mm20.launcher2.badges.Badge
|
||||||
import de.mm20.launcher2.icons.LauncherIcon
|
import de.mm20.launcher2.icons.LauncherIcon
|
||||||
import de.mm20.launcher2.search.data.Searchable
|
import de.mm20.launcher2.search.data.Searchable
|
||||||
|
import de.mm20.launcher2.ui.R
|
||||||
import de.mm20.launcher2.ui.component.BottomSheetDialog
|
import de.mm20.launcher2.ui.component.BottomSheetDialog
|
||||||
import de.mm20.launcher2.ui.component.ShapedLauncherIcon
|
import de.mm20.launcher2.ui.component.ShapedLauncherIcon
|
||||||
import de.mm20.launcher2.ui.ktx.toPixels
|
import de.mm20.launcher2.ui.ktx.toPixels
|
||||||
@ -153,7 +154,7 @@ fun EditFavoritesSheet(
|
|||||||
horizontal = 16.dp,
|
horizontal = 16.dp,
|
||||||
vertical = 24.dp,
|
vertical = 24.dp,
|
||||||
),
|
),
|
||||||
text = "Drag items here",
|
text = stringResource(R.string.edit_favorites_dialog_empty_section),
|
||||||
style = MaterialTheme.typography.labelSmall,
|
style = MaterialTheme.typography.labelSmall,
|
||||||
textAlign = TextAlign.Center,
|
textAlign = TextAlign.Center,
|
||||||
color = MaterialTheme.colorScheme.outline
|
color = MaterialTheme.colorScheme.outline
|
||||||
|
|||||||
@ -106,7 +106,7 @@ fun SearchColumn(
|
|||||||
contentDescription = null
|
contentDescription = null
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
label = { Text("Favorites") }
|
label = { Text(stringResource(R.string.favorites)) }
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
SmallFloatingActionButton(
|
SmallFloatingActionButton(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user