aboutsummaryrefslogtreecommitdiff
path: root/i18n
diff options
context:
space:
mode:
Diffstat (limited to 'i18n')
-rw-r--r--i18n/cn.yaml9
-rw-r--r--i18n/en.yaml3
-rw-r--r--i18n/ru.yaml3
3 files changed, 15 insertions, 0 deletions
diff --git a/i18n/cn.yaml b/i18n/cn.yaml
index fbef15a..6b1bd69 100644
--- a/i18n/cn.yaml
+++ b/i18n/cn.yaml
@@ -3,3 +3,12 @@
- id: Edit this page
translation: Edit this page
+
+- id: bookSearchConfig
+ translation: |
+ {
+ encode: false,
+ tokenize: function(str) {
+ return str.replace(/[\x00-\x7F]/g, '').split('');
+ }
+ }
diff --git a/i18n/en.yaml b/i18n/en.yaml
index 5398302..9068bd9 100644
--- a/i18n/en.yaml
+++ b/i18n/en.yaml
@@ -3,3 +3,6 @@
- id: Edit this page
translation: Edit this page
+
+- id: bookSearchConfig
+ translation: '{ cache: true }'
diff --git a/i18n/ru.yaml b/i18n/ru.yaml
index 8093dbc..7717f5d 100644
--- a/i18n/ru.yaml
+++ b/i18n/ru.yaml
@@ -3,3 +3,6 @@
- id: Edit this page
translation: Редактировать эту сраницу
+
+- id: bookSearchConfig
+ translation: '{ split: /[^a-zа-яё0-9\w]/gi }'