summaryrefslogtreecommitdiff
path: root/i18n
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-11-14 00:23:01 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-11-16 20:35:23 +0100
commit13584878c23146c7093c8d1b9150ff9a98d28c8b (patch)
treecc3aabd06040a8879a27881e62afa3ec52e85392 /i18n
parent7b52bf423214194ab39392db6e9bc2de9d36a02d (diff)
Polish multilang mode, update docs
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 }'