1
0
Fork 0
mirror of https://github.com/anyproto/anytype-kotlin.git synced 2025-06-08 05:47:05 +09:00

DROID-952 Widgets | Enhancement | Update naming for dropdown menu actions (#3058)

This commit is contained in:
Evgenii Kozlov 2023-03-28 20:28:57 +02:00 committed by GitHub
parent edbdaeb8ff
commit 8d3c041e94
Signed by: github
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 8 deletions

View file

@ -53,7 +53,7 @@ fun WidgetMenu(
}
) {
Text(
text = stringResource(R.string.block_action_add_below),
text = stringResource(R.string.widget_add_below),
style = defaultTextStyle
)
}
@ -107,7 +107,7 @@ fun WidgetMenu(
}
) {
Text(
text = stringResource(id = R.string.remove_widget),
text = stringResource(id = R.string.widget_remove_widget),
style = TextStyle(
color = colorResource(id = R.color.palette_dark_red),
fontSize = 17.sp
@ -128,7 +128,7 @@ fun WidgetMenu(
}
) {
Text(
text = stringResource(id = R.string.empty_bin),
text = stringResource(id = R.string.widget_empty_bin),
style = TextStyle(
color = colorResource(id = R.color.palette_dark_red),
fontSize = 17.sp
@ -149,7 +149,7 @@ fun WidgetMenu(
}
) {
Text(
text = stringResource(R.string.edit_widgets),
text = stringResource(R.string.widget_edit_widgets),
style = defaultTextStyle
)
}

View file

@ -315,15 +315,18 @@ Do the computation of an expensive paragraph of text on a background thread:
<string name="edit_widgets">Edit widgets</string>
<string name="widget_source">Widget source</string>
<string name="widget_type">Widget type</string>
<string name="widget_add_below">Add Below</string>
<string name="widget_type_tree">Tree</string>
<string name="widget_type_tree_description">Hierarchical structure of object</string>
<string name="widget_type_link">Link</string>
<string name="widget_type_link_description">Compact version of the object</string>
<string name="widget_type_list_description">Widget with list view of set object</string>
<string name="widget_type_list">List</string>
<string name="widget_change_source">Change source</string>
<string name="widget_change_type">Change widget type</string>
<string name="remove_widget">Remove widget</string>
<string name="widget_change_source">Change Source</string>
<string name="widget_change_type">Change Type</string>
<string name="widget_remove_widget">Remove Widget</string>
<string name="widget_empty_bin">Empty Bin</string>
<string name="widget_edit_widgets">Edit Widgets</string>
<string name="type_creation_new_type">New type</string>
<string name="type_creation_done">Done</string>
@ -336,6 +339,5 @@ Do the computation of an expensive paragraph of text on a background thread:
<string name="empty_tree_widget">This object has no links to other objects</string>
<string name="empty_list_widget">This view has no objects</string>
<string name="empty_list_widget_no_view">This data view has no objects</string>
<string name="empty_bin">Empty bin</string>
</resources>