From 073ef81e807b114549aca78e043452339435cf50 Mon Sep 17 00:00:00 2001 From: McMatts Date: Fri, 4 Mar 2022 13:46:22 -0500 Subject: [PATCH] i18n strings Pods completed --- gui/app/pods/search/template.hbs | 34 ++++++++++++++++---------------- gui/public/i18n/en-US.json | 10 ++++++++++ 2 files changed, 27 insertions(+), 17 deletions(-) diff --git a/gui/app/pods/search/template.hbs b/gui/app/pods/search/template.hbs index 61ce4c82..57816b71 100644 --- a/gui/app/pods/search/template.hbs +++ b/gui/app/pods/search/template.hbs @@ -32,47 +32,47 @@ {{#if (eq appMeta.storageProvider constants.StoreProvider.MySQL)}}
apple banana
-
Show results that contain at least one of the two words
+
{{localize 'search_example1'}}
+apple +banana
-
Show results that contain both words
+
{{localize 'search_example2'}}
+apple macintosh
-
Show results that contain the word "apple", but rank rows higher if they also contain "macintosh"
+
{{localize 'search_example3'}}
+apple -macintosh
-
Show results that contain the word "apple" but not "macintosh"
+
{{localize 'search_example4'}}
+apple +(>turnover <strudel)
-
Show results that contain the words "apple" and "turnover", or "apple" and "strudel" (in any order), but rank "apple turnover" higher than "apple strudel"
+
{{localize 'search_example5'}}
apple*
-
Show results that contain words such as "apple", "apples", "applesauce", or "applet"
+
{{localize 'search_example6'}}
"some words"
-
Show results that contain the exact phrase "some words" (for example, rows that contain "some words of wisdom" but not "some noise words")
+
{{localize 'search_example7'}}
{{/if}} {{#if (eq appMeta.storageProvider constants.StoreProvider.PostgreSQL)}}
apple | banana
-
Show results that contain either word
+
{{localize 'search_example8'}}
apple & banana
-
Show results that contain both words
+
{{localize 'search_example2'}}
apple !macintosh
-
Show results that contain the word "apple" but not "macintosh"
+
{{localize 'search_example4'}}
google & (apple | microsoft) & !ibm
-
Show results that have "google", either "apple" or "microsoft" but not "ibm"
+
{{localize 'search_example9'}}
apple:*
-
Show results that contain words that start with "apple", such as "applesauce" or "applet"
+
{{localize 'search_example10'}}
{{/if}} {{#if (eq appMeta.storageProvider constants.StoreProvider.SQLServer)}}
apple OR banana
-
Show results that contain either word
+
{{localize 'search_example8'}}
apple AND banana
-
Show results that contain both words
+
{{localize 'search_example2'}}
apple AND NOT macintosh
-
Show results that contain the word "apple" but not "macintosh"
+
{{localize 'search_example4'}}
"apple*"
-
Show results that contain words such as "apple", "apples", "applesauce", or "applet"
+
{{localize 'search_example6'}}
"some words"
-
Show results that contain the exact phrase "some words" (for example, rows that contain "some words of wisdom" but not "some noise words")
+
{{localize 'search_example7'}}
{{/if}} diff --git a/gui/public/i18n/en-US.json b/gui/public/i18n/en-US.json index aec74672..540a2b03 100644 --- a/gui/public/i18n/en-US.json +++ b/gui/public/i18n/en-US.json @@ -144,6 +144,16 @@ "search_attachment_name": "Attachment name", "search_example_title": "Query examples", "search_explain": "Find content using keywords and operators", + "search_example1": "Show results that contain at least one of the two words", + "search_example2": "Show results that contain both words", + "search_example3": "Show results that contain the word \"apple\", but rank rows higher if they also contain \"macintosh\"", + "search_example4": "Show results that contain the word \"apple\" but not \"macintosh\"", + "search_example5": "Show results that contain the words \"apple\" and \"turnover\", or \"apple\" and \"strudel\" (in any order), but rank \"apple turnover\" higher than \"apple strudel\"", + "search_example6": "Show results that contain words such as \"apple\", \"apples\", \"applesauce\", or \"applet\"", + "search_example7": "Show results that contain the exact phrase \"some words\" (for example, rows that contain \"some words of wisdom\" but not \"some noise words\")", + "search_example8": "Show results that contain either word", + "search_example9": "Show results that have \"google\", either \"apple\" or \"microsoft\" but not \"ibm\"", + "search_example10": "Show results that contain words that start with \"apple\", such as \"applesauce\" or \"applet\"", "backup_explain1": "Documize Community is a multi-tenanted application enabling both 'tech.mycompany.com' and 'sales.mycompany.com' to run using the same executable/database. As a Documize Community Global Administrator, you will be performing a complete system-wide backup across all tenants. The Documize Community Tenant Administrator can login to perform a tenant-level backup (e.g. marketing.mycompany.com).", "backup_explain2": "Documize Community is a multi-tenanted application enabling both 'tech.mycompany.com' and 'sales.mycompany.com' to run using the same executable/database. A Documize Community Global Administrator, you will be performing a complete system-wide backup across all tenants. As a Documize Community Tenant Administrator you can perform a tenant-level backup (e.g. marketing.mycompany.com).",