From 13584878c23146c7093c8d1b9150ff9a98d28c8b Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Thu, 14 Nov 2019 00:23:01 +0100 Subject: Polish multilang mode, update docs --- i18n/cn.yaml | 9 +++++++++ i18n/en.yaml | 3 +++ i18n/ru.yaml | 3 +++ 3 files changed, 15 insertions(+) (limited to 'i18n') 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 }' -- cgit v1.2.3