Last active
August 13, 2020 15:23
-
-
Save adarshpastakia/fa86823ec064599dbb85e0b85678f655 to your computer and use it in GitHub Desktop.
SearchBar translations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Project i18next initializer | |
// after i18next.init add the following lines | |
// for acceptable keys see file below | |
i18next.addResourceBundle( | |
"en", | |
"SearchBar", | |
{ | |
placeholder: "Test..." | |
}, | |
true, | |
true | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"placeholder": "Search term...", | |
"label": { | |
"filters": "Filters", | |
"all_filters": "All Filters", | |
"field": "Field", | |
"operator": "Operator", | |
"value": "Value", | |
"label": "Label", | |
"add": "Add Filter", | |
"compare": "Compare With", | |
"switchValue": "Static Value", | |
"switchCompare": "Compare Field", | |
"edit": "Edit", | |
"invert": "Invert Include/Exclude", | |
"remove_all": "Remove All", | |
"enable_all": "Enable All", | |
"disable_all": "Disable All", | |
"remove": "Remove", | |
"enable": "Enable", | |
"disable": "Disable", | |
"exclude": "Exclude", | |
"include": "Include", | |
"apply": "Apply", | |
"cancel": "Cancel", | |
"delete": "Delete" | |
}, | |
"validate": { | |
"field": "Field required", | |
"operator": "Operator required", | |
"value": "Value required", | |
"compare": "Compare field required", | |
"label": "Label required" | |
}, | |
"operator": { | |
"EXISTS": "Exists", | |
"IS": "Is", | |
"IN": "In", | |
"LT": "<", | |
"GT": ">", | |
"LTE": "≤", | |
"GTE": "≥", | |
"INCLUDES": "Includes", | |
"STARTS": "Starts with", | |
"ENDS": "Ends with", | |
"WITHIN": "Within", | |
"BETWEEN": "Between" | |
}, | |
"type": { | |
"string": "String", | |
"int": "Int", | |
"float": "Float", | |
"boolean": "Bool", | |
"date": "Date", | |
"geo": "GeoJSON" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment