Skip to content

Commit

Permalink
Add i18n folder.
Browse files Browse the repository at this point in the history
  • Loading branch information
selfishprimate committed Jan 21, 2022
1 parent 6a6fe4a commit 809091c
Show file tree
Hide file tree
Showing 7 changed files with 103 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ cleanDestinationDir = true
# Enable "Edit this page" links for 'doc' page type.
# Disabled by default. Uncomment to enable. Requires 'BookRepo' param.
# Path must point to 'content' directory of repo.
BookEditPath = 'tree/master/content/docs/'
BookEditPath = 'tree/master/content'

# Configure the date format used on the pages
# - In git information
Expand Down
20 changes: 20 additions & 0 deletions i18n/cn.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
- id: Search
translation: 搜索

- id: Edit this page
translation: Edit this page

- id: Last modified by
translation: Last modified by

- id: Expand
translation: Expand

- id: bookSearchConfig
translation: |
{
encode: false,
tokenize: function(str) {
return str.replace(/[\x00-\x7F]/g, '').split('');
}
}
14 changes: 14 additions & 0 deletions i18n/en.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- id: Search
translation: Search

- id: Edit this page
translation: Edit this page

- id: Last modified by
translation: Last modified by

- id: Expand
translation: Expand

- id: bookSearchConfig
translation: '{ cache: true }'
14 changes: 14 additions & 0 deletions i18n/es.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- id: Search
translation: Buscar

- id: Edit this page
translation: Editar esta página

- id: Last modified by
translation: Última modificación por

- id: Expand
translation: Expand

- id: bookSearchConfig
translation: '{ cache: true }'
20 changes: 20 additions & 0 deletions i18n/jp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
- id: Search
translation: Search

- id: Edit this page
translation: Edit this page

- id: Last modified by
translation: Last modified by

- id: Expand
translation: Expand

- id: bookSearchConfig
translation: |
{
encode: false,
tokenize: function(str) {
return str.replace(/[\x00-\x7F]/g, '').split('');
}
}
20 changes: 20 additions & 0 deletions i18n/ko.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
- id: Search
translation: Search

- id: Edit this page
translation: Edit this page

- id: Last modified by
translation: Last modified by

- id: Expand
translation: Expand

- id: bookSearchConfig
translation: |
{
encode: false,
tokenize: function(str) {
return str.replace(/[\x00-\x7F]/g, '').split('');
}
}
14 changes: 14 additions & 0 deletions i18n/ru.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- id: Search
translation: Поиск

- id: Edit this page
translation: Редактировать

- id: Last modified by
translation: Last modified by

- id: Expand
translation: Развернуть

- id: bookSearchConfig
translation: '{ split: /[^a-zа-яё0-9\w]/gi }'

0 comments on commit 809091c

Please sign in to comment.