diff --git a/app/src/main/java/com/anytypeio/anytype/ui/allcontent/AllContentFragment.kt b/app/src/main/java/com/anytypeio/anytype/ui/allcontent/AllContentFragment.kt
index 41869baec2..bb51da113b 100644
--- a/app/src/main/java/com/anytypeio/anytype/ui/allcontent/AllContentFragment.kt
+++ b/app/src/main/java/com/anytypeio/anytype/ui/allcontent/AllContentFragment.kt
@@ -197,8 +197,8 @@ class AllContentFragment : BaseComposeFragment(), ObjectTypeSelectionListener {
space = command.space
)
}.onFailure {
- toast("Failed to open relation creation screen")
- Timber.e(it, "Failed to open relation creation screen from all content")
+ toast("Failed to open property creation screen")
+ Timber.e(it, "Failed to open property creation screen from all content")
}
}
diff --git a/core-ui/src/main/java/com/anytypeio/anytype/core_ui/extensions/ResExtension.kt b/core-ui/src/main/java/com/anytypeio/anytype/core_ui/extensions/ResExtension.kt
index 2947db58fc..8f73c8623a 100644
--- a/core-ui/src/main/java/com/anytypeio/anytype/core_ui/extensions/ResExtension.kt
+++ b/core-ui/src/main/java/com/anytypeio/anytype/core_ui/extensions/ResExtension.kt
@@ -260,23 +260,6 @@ fun String?.getMimeIcon(extension: String?): Int {
}
}
-fun ObjectLayoutView.getName(): Int? = when (this) {
- is ObjectLayoutView.Basic -> R.string.name_layout_basic
- is ObjectLayoutView.Image -> null
- is ObjectLayoutView.Note -> R.string.name_layout_note
- is ObjectLayoutView.Profile -> R.string.name_layout_profile
- is ObjectLayoutView.Participant -> R.string.name_layout_participant
- is ObjectLayoutView.Set -> R.string.name_layout_set
- is ObjectLayoutView.Todo -> R.string.name_layout_todo
- is ObjectLayoutView.Dashboard -> null
- is ObjectLayoutView.PDF -> null
- is ObjectLayoutView.File -> null
- is ObjectLayoutView.ObjectType -> null
- is ObjectLayoutView.Relation -> null
- is ObjectLayoutView.Space -> null
- is ObjectLayoutView.Bookmark -> null
-}
-
@StringRes
fun RelationFormat.getPrettyName(): Int = when (this) {
RelationFormat.LONG_TEXT, RelationFormat.SHORT_TEXT -> R.string.relation_format_long_text
diff --git a/feature-ui-settings/src/main/java/com/anytypeio/anytype/ui_settings/space/new_settings/Items.kt b/feature-ui-settings/src/main/java/com/anytypeio/anytype/ui_settings/space/new_settings/Items.kt
index 0dcd6172d7..f84274226f 100644
--- a/feature-ui-settings/src/main/java/com/anytypeio/anytype/ui_settings/space/new_settings/Items.kt
+++ b/feature-ui-settings/src/main/java/com/anytypeio/anytype/ui_settings/space/new_settings/Items.kt
@@ -102,7 +102,7 @@ fun FieldsItem(
) {
BaseButton(
modifier = modifier,
- title = stringResource(id = R.string.fields),
+ title = stringResource(id = R.string.properties),
icon = R.drawable.ic_fields_24,
)
}
diff --git a/localization/src/main/res/values/strings.xml b/localization/src/main/res/values/strings.xml
index 5594b9649d..dcb77a951f 100644
--- a/localization/src/main/res/values/strings.xml
+++ b/localization/src/main/res/values/strings.xml
@@ -117,7 +117,6 @@
Line divider
Dots divider
Code snippet
- Relation
Text
List
@@ -126,7 +125,7 @@
Tool
Media
Objects
- Relation
+ Property
Delete
Duplicate
@@ -207,7 +206,7 @@
Untitled
- Untitled set
+ Untitled query
Untitled collection
Archived
@@ -271,7 +270,6 @@
Search...
Relations
Fields
- Relation
Download
View
Views
@@ -296,8 +294,8 @@
Create object
Search
Syncing…
- Choose a object type for this set
- New set
+ Choose a object type for this query
+ New query
Create new object type
- Select pages
@@ -367,8 +365,8 @@
Unknown type
Short text
Text
- Set new relation
- Deleted relation
+ Set new property
+ Deleted property
Document\'s cover
Cover image view
@@ -392,7 +390,7 @@
Heading
Subheading
Create from scratch
- Create relation \"%1$s\"
+ Create property \"%1$s\"
Name is required
Favorite
Template
@@ -431,7 +429,7 @@
Search button
Add doc
Unsupported block
- New relation
+ New property
Copy link
Edit link
Unlink
@@ -455,7 +453,6 @@
No data
No source
Deleted object
- Open set
Deleted
Paste link or search objects
Paste from clipboard
@@ -483,7 +480,7 @@
Card
Inline
Set View
- Inline set
+ Inline query
Inline collection
Fit image
Image preview
@@ -548,15 +545,15 @@
Could\'t find the selected block
Block selection error
Undefined
- Relation: %1$s
- Relations: %1$s
+ Property: %1$s
+ Properties: %1$s
Object Type: %1$s
My types
- My relations
+ My properties
Type \"%1$s\" added to your library
- The name of the source set of the inline set
- The inline set has no source
- The source of the inline set has no type
+ The name of the source query of the inline query
+ The inline query has no source
+ The source of the inline query has no type
Recently opened
Anytype Library
@@ -576,8 +573,8 @@
No objects
Create first object to continue
Create object
- View is not present in set or collection, please recreate object
- Turn Set into Collection
+ View is not present in Query or Collection, please recreate object
+ Turn Query into Collection
Change query
Collections
Your collections of objects
@@ -594,8 +591,8 @@
Cancel
Delete
Change type
- Open set of %1$s
- Create set of %1$s
+ Open query of %1$s
+ Create query of %1$s
Current view cannot be deleted
Create object
Layout
@@ -721,7 +718,7 @@
Object view type
Object type name
Name
- Name for new relation
+ Name for new property
New
Plus button
Image icon
@@ -747,9 +744,9 @@
Edit view
Open to edit
- Remove from this set
+ Remove from this query
Reset
- Search a relation
+ Search a property
Check icon
Sort empty values at the bottom
Sort empty values at the top
@@ -772,8 +769,8 @@
Remove
Choose options
Search tags
- Choose a relation to filter
- Choose a relation to sort
+ Choose a property to filter
+ Choose a property to sort
Add to list
Add
Upload from Gallery
@@ -783,10 +780,9 @@
Go to Settings – Key on Desktop in order to find the QR code for login.
Ok
Choose option
- Find a relation
+ Find a property
Inbox
Unknown type
- Set
Collection
Layout
Properties
@@ -815,7 +811,7 @@
Back to dashboard
Go back
- Set not found for this type.
+ Query not found for this type.
Create
New %1$s
@@ -849,10 +845,10 @@
Without template
Error while searching for images on Unsplash. Please try again later.
Don\'t forget to take and save your Key from settings
- Unlock your object to add new relation
+ Unlock your object to add new property
Unlock your object to edit relations
- Select relation type
+ Select property type
Restore
Your vault is deleted.
@@ -885,7 +881,7 @@
Type settings
- Relation settings
+ Property settings
Remove
This object has no links to other objects.\nTry to create a new one.
@@ -1066,7 +1062,7 @@
Widget with a compact list view
List
View
- Widget with a Set or Collection layout
+ Widget with a Query or Collection layout
Compact list
Change Source
Change Type
@@ -1083,20 +1079,20 @@
Types are like categories that help you group and manage your objects.
All objects are connected. Use relations to build connections between objects.
Create a type
- Create a relation
+ Create a property
My types
My relations
Library
Create a type \'%1$s\'
- Create a relation \'%1$s\'
+ Create a property \'%1$s\'
There are no %1$s named \'%2$s\'
Try creating new one or search for something else
There are no types named \'%1$s\'
Type `%1$s` added to your library"
Type `%1$s` removed from your library"
- Relation `%1$s` added to your library"
- Relation `%1$s` removed from your library"
+ Property `%1$s` added to your library"
+ Property `%1$s` removed from your library"
Something went wrong. Please, try again later.
New type
@@ -1197,8 +1193,8 @@
Delete button
Duplicate button
Edit-view button
- Open to edit relation button
- Remove relation from this set
+ Open to edit property button
+ Remove property from this query
Search pages
Navigation through pages
@@ -1246,7 +1242,7 @@
-
+
None
Clipboard
@@ -1272,7 +1268,7 @@
- %d links
-
+
Tomorrow
Today
@@ -1310,13 +1306,13 @@
Nothing found. Create first option to start.
No options
- The relation is empty
+ The property is empty
Are you sure?
The option will be permanently removed from your space
Objects not found
No values
- The relation is empty
+ The property is empty
Are you sure?
The object will be moved to the Bin.
@@ -1824,13 +1820,13 @@ Please provide specific details of your needs here.
My First Space
Error: unexpected layout
- Relation added
- Relation removed
+ Property added
+ Property removed
Object type added
Object type removed
Object archived
- New relation
+ New property
New type
Unlinked objects that do not have a direct link or backlink with other objects in the graph.
moved to bin
@@ -1863,8 +1859,8 @@ Please provide specific details of your needs here.
It’s empty here.
Create your first objects to get started.
Delete completely
- Open Set
- Create Set
+ Open Query
+ Create Query
Set as default
Edit
Duplicate
@@ -1922,7 +1918,7 @@ Please provide specific details of your needs here.
It cannot be restored after confirmation
Delete this message?
- Set of
+ Query of
Migration is in progress
This may take some time. Please don’t close the app until the process is complete.
Try again
diff --git a/presentation/src/main/java/com/anytypeio/anytype/presentation/history/VersionHistoryViewModel.kt b/presentation/src/main/java/com/anytypeio/anytype/presentation/history/VersionHistoryViewModel.kt
index 7199a7bf4f..5c0b34a98d 100644
--- a/presentation/src/main/java/com/anytypeio/anytype/presentation/history/VersionHistoryViewModel.kt
+++ b/presentation/src/main/java/com/anytypeio/anytype/presentation/history/VersionHistoryViewModel.kt
@@ -219,7 +219,7 @@ class VersionHistoryViewModel(
Relation.Format.FILE -> navigation.emit(Command.RelationObject(relation, isSet))
else -> {
- Timber.d("No interaction allowed with this relation with format:$relationFormat")
+ Timber.d("No interaction allowed with this property with format:$relationFormat")
}
}
}