mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ADF-5178] - add translation for filters (#1509)
This commit is contained in:
+15
-27
@@ -372,6 +372,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"search-headers": {
|
"search-headers": {
|
||||||
|
"filterWithContains": true,
|
||||||
"app:fields": [
|
"app:fields": [
|
||||||
"cm:name",
|
"cm:name",
|
||||||
"cm:title",
|
"cm:title",
|
||||||
@@ -386,10 +387,9 @@
|
|||||||
"categories": [
|
"categories": [
|
||||||
{
|
{
|
||||||
"id": "queryName",
|
"id": "queryName",
|
||||||
"name": "Name",
|
"name": "SEARCH.SEARCH_HEADER.FILTERS.NAME.TITLE",
|
||||||
"columnKey": "name",
|
"columnKey": "name",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"expanded": true,
|
|
||||||
"component": {
|
"component": {
|
||||||
"selector": "text",
|
"selector": "text",
|
||||||
"settings": {
|
"settings": {
|
||||||
@@ -402,7 +402,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "checkList",
|
"id": "checkList",
|
||||||
"name": "Check List",
|
"name": "SEARCH.SEARCH_HEADER.FILTERS.TYPE.TITLE",
|
||||||
"columnKey":"$thumbnail",
|
"columnKey":"$thumbnail",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"component": {
|
"component": {
|
||||||
@@ -412,32 +412,20 @@
|
|||||||
"operator": "OR",
|
"operator": "OR",
|
||||||
"options": [
|
"options": [
|
||||||
{
|
{
|
||||||
"name": "Folder",
|
"name": "SEARCH.SEARCH_HEADER.FILTERS.TYPE.FOLDER",
|
||||||
"value": "TYPE:'cm:folder'"
|
"value": "TYPE:'cm:folder'"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Document",
|
"name": "SEARCH.SEARCH_HEADER.FILTERS.TYPE.DOCUMENT",
|
||||||
"value": "TYPE:'cm:content'"
|
"value": "TYPE:'cm:content'"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "contentSizeRange",
|
|
||||||
"name": "Content Size (range)",
|
|
||||||
"enabled": true,
|
|
||||||
"component": {
|
|
||||||
"selector": "number-range",
|
|
||||||
"settings": {
|
|
||||||
"field": "cm:content.size",
|
|
||||||
"format": "[{FROM} TO {TO}]"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "contentSize",
|
"id": "contentSize",
|
||||||
"name": "SEARCH.CATEGORIES.SIZE",
|
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.TITLE",
|
||||||
"columnKey":"content.sizeInBytes",
|
"columnKey":"content.sizeInBytes",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"component": {
|
"component": {
|
||||||
@@ -445,20 +433,20 @@
|
|||||||
"settings": {
|
"settings": {
|
||||||
"options": [
|
"options": [
|
||||||
{
|
{
|
||||||
"name": "Small",
|
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.SMALL",
|
||||||
"value": "content.size:[0 TO 1048576>"
|
"value": "content.size:[0 TO 1048576> OR TYPE:'cm:folder'"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Medium",
|
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.MEDIUM",
|
||||||
"value": "content.size:[1048576 TO 52428800]"
|
"value": "content.size:[1048576 TO 52428800] OR TYPE:'cm:folder'"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Large",
|
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.LARGE",
|
||||||
"value": "content.size:<52428800 TO 524288000]"
|
"value": "content.size:<52428800 TO 524288000] OR TYPE:'cm:folder'"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Huge",
|
"name": "SEARCH.SEARCH_HEADER.FILTERS.SIZE.HUGE",
|
||||||
"value": "content.size:<524288000 TO MAX]"
|
"value": "content.size:<524288000 TO MAX] OR TYPE:'cm:folder'"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -466,7 +454,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "createdDateRange",
|
"id": "createdDateRange",
|
||||||
"name": "Created Date (range)",
|
"name": "SEARCH.SEARCH_HEADER.FILTERS.DATE.TITLE",
|
||||||
"columnKey": "createdAt",
|
"columnKey": "createdAt",
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"component": {
|
"component": {
|
||||||
|
|||||||
@@ -503,6 +503,34 @@
|
|||||||
"THIS_MONTH": "This month",
|
"THIS_MONTH": "This month",
|
||||||
"LAST_6_MONTHS": "In the last 6 months",
|
"LAST_6_MONTHS": "In the last 6 months",
|
||||||
"THIS_YEAR": "This year"
|
"THIS_YEAR": "This year"
|
||||||
|
},
|
||||||
|
"SEARCH_HEADER" : {
|
||||||
|
"TITLE":"Filter",
|
||||||
|
"TYPE": "Type",
|
||||||
|
"FILTER_BY": "Filter by {{ category }}",
|
||||||
|
"CLEAR": "Clear",
|
||||||
|
"APPLY": "Apply",
|
||||||
|
"FILTERS" : {
|
||||||
|
"NAME" : {
|
||||||
|
"TITLE": "Name",
|
||||||
|
"PLACEHOLDER": "Enter the name"
|
||||||
|
},
|
||||||
|
"TYPE": {
|
||||||
|
"TITLE": "Check type",
|
||||||
|
"FOLDER": "Folder",
|
||||||
|
"DOCUMENT": "Document"
|
||||||
|
},
|
||||||
|
"SIZE": {
|
||||||
|
"TITLE" : "Content Size (range)",
|
||||||
|
"SMALL": "Small",
|
||||||
|
"MEDIUM": "Medium",
|
||||||
|
"LARGE": "Large",
|
||||||
|
"HUGE": "Huge"
|
||||||
|
},
|
||||||
|
"DATE" :{
|
||||||
|
"TITLE" : "Created Date (range)"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"AVATAR": {
|
"AVATAR": {
|
||||||
|
|||||||
Reference in New Issue
Block a user