hematite 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1db52ef0febaa2a32beb6313442243f90416063b26eb923c30edbfe8dc3f831b
4
- data.tar.gz: 18033f6c9e0d8ca6e76fa00982ab3be14995f255fa64ed68fb14b62767f6cef9
3
+ metadata.gz: 99a302547aa561ab8e022bf2cd59b829ee611735c9638975635115b31cdb8fd7
4
+ data.tar.gz: cbe5585d1a263c0e1662aaa9b6d6454754e1407f23522243ad7cb8a20a7c2636
5
5
  SHA512:
6
- metadata.gz: 5e89fe9507664d740d9ce0e0f6c23b4f417cb73606676fb646929df4fa712ee88cf4dd86d6bbd9edac6c758f7f2546567743597b87bcf05435e8f4169c668b2e
7
- data.tar.gz: 7f694307b34129302f6e1154d855e444b54bab2f24305243d292b87047dca1e34ca3f2db86847c91047b4f2847679f2d28b8c71ceb1f3b23e54b870b421c6f96
6
+ metadata.gz: 82982d7db6a0d8a375e7d634760b6dc576739e509ba9bc3c21ef1796c6631331581572f0f187299510cfff473672dc5ba98a815eb6db874dbb6439c3f3af15e0
7
+ data.tar.gz: 0a63ca11e9ab1c4a5a9057e6d2ab5e97937be8ca5bd649bbbae0ff85536fca80e19fdafb58a8ec5e278981c5fd5923963369d016745a29edbf30bfafaf6f12e5
@@ -1,15 +1,9 @@
1
- ---
2
- permalink: /assets/js/string_data.mjs
3
- ---
1
+ import en from "../string_data/en.mjs";
2
+ import es from "../string_data/es.mjs";
4
3
 
5
4
  const STRING_TABLE = {
6
- {% for language in site.data.strings %}
7
- {{ language[0] }}: {
8
- {% for string in language[1] %}
9
- "{{ string[0] }}": {{ string[1] | jsonify }},
10
- {% endfor %}
11
- },
12
- {% endfor %}
5
+ en,
6
+ es,
13
7
  };
14
8
 
15
9
  // Locales to check if a string isn't localized in any of the
@@ -0,0 +1,33 @@
1
+ // See also assets/js/string_data.mjs
2
+ export default {
3
+ open_sidebar: 'Open sidebar',
4
+ close_sidebar: 'Close sidebar',
5
+ search_site_placeholder: 'Find in site...',
6
+ search_site_action: 'Search for "{0}"',
7
+ search_disabled_no_content: 'Missing text to search for!',
8
+ search_error: 'Error searching: {0}',
9
+ hide_search_results_action: 'Hide search results',
10
+ found_search_results: 'Found {0} result(s):',
11
+ copy_link_to_header: 'Copy link to section: "{0}"',
12
+ link_to_header_copied_alert: 'Link to "{0}" copied!',
13
+ sidebar_opened_announcement: 'Sidebar opened!',
14
+ sidebar_closed_announcement: 'Sidebar closed!',
15
+
16
+ invalid_date: 'Invalid date: {0}',
17
+ calendar_prev_btn: 'Previous {0}',
18
+ calendar_next_btn: 'Next {0}',
19
+ calendar_mode_week: 'Week',
20
+ calendar_mode_day: 'Day',
21
+ calendar_mode_month: 'Month',
22
+ calendar_choose_view_mode: 'Change calendar mode: ',
23
+ calendar_went_next: 'Showing next {0}',
24
+ calendar_went_prev: 'Showing previous {0}',
25
+ calendar_changed_mode: 'Switched view mode to {0}',
26
+ calendar_header_date_range: '{0} through {1}',
27
+
28
+ tags: 'Tags',
29
+ untitled: 'Untitled',
30
+ all_tags_header: 'All Tags',
31
+ prev_post: '← {0}',
32
+ next_post: '{0} →',
33
+ };
@@ -0,0 +1,34 @@
1
+
2
+ export default {
3
+ open_sidebar: 'Abre Navegación',
4
+ close_sidebar: 'Cierre Navegación',
5
+ search_site_placeholder: 'Encuentre en el sitio...',
6
+ search_site_action: 'Busque «{0}»',
7
+ search_disabled_no_content: 'No hay texto con que puede buscar.',
8
+ search_error: 'Fue un error: «{0}»',
9
+ hide_search_results_action: 'Esconder resultados',
10
+ found_search_results: 'Encontrado {0} cosa(s):',
11
+ copy_link_to_header: 'Copie enlace de «{0}»',
12
+ link_to_header_copied_alert: '¡El enlace por «{0}» fue copiado!',
13
+ sidebar_opened_announcement: 'Navegación fue abierto.',
14
+ sidebar_closed_announcement: 'Navegación fue cerrado.',
15
+
16
+ invalid_date: 'Inválida fecha: {0}',
17
+ calendar_prev_btn: 'Anterior {0}',
18
+ calendar_next_btn: 'Próxima {0}',
19
+ calendar_mode_week: 'Semana',
20
+ calendar_mode_day: 'Día',
21
+ calendar_mode_month: 'Mes',
22
+ calendar_choose_view_mode: 'Cambia el modo del calendario: ',
23
+ // TODO: Properly handle articles here
24
+ calendar_went_next: 'Mostrando la próxima {0}',
25
+ calendar_went_prev: 'Mostrando la próxima {0}',
26
+ calendar_changed_mode: 'Modo fue cambiado a {0}',
27
+ calendar_header_date_range: '{0} hasta {1}',
28
+
29
+ tags: 'Etiquetas',
30
+ untitled: 'No titulo',
31
+ all_tags_header: 'Todas las etiquetas',
32
+ prev_post: '← {0}',
33
+ next_post: '{0} →',
34
+ };
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hematite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henry Heino
@@ -34,8 +34,6 @@ files:
34
34
  - LICENSE.txt
35
35
  - README.md
36
36
  - _config.yml
37
- - _data/strings/en.yml
38
- - _data/strings/es.yml
39
37
  - _includes/img/hamburger_menu.svg
40
38
  - _includes/img/search_icon.svg
41
39
  - _includes/katex_includes.html
@@ -143,6 +141,8 @@ files:
143
141
  - assets/plugin/katex/katex.min.css
144
142
  - assets/plugin/katex/katex.min.js
145
143
  - assets/search_data.json
144
+ - assets/string_data/en.mjs
145
+ - assets/string_data/es.mjs
146
146
  - assets/style.scss
147
147
  homepage: https://github.com/personalizedrefrigerator/jekyll-hematite-theme
148
148
  licenses:
data/_data/strings/en.yml DELETED
@@ -1,32 +0,0 @@
1
- # See also assets/js/string_data.mjs
2
-
3
- open_sidebar: 'Open sidebar'
4
- close_sidebar: 'Close sidebar'
5
- search_site_placeholder: 'Find in site...'
6
- search_site_action: 'Search for "{0}"'
7
- search_disabled_no_content: 'Missing text to search for!'
8
- search_error: 'Error searching: {0}'
9
- hide_search_results_action: 'Hide search results'
10
- found_search_results: 'Found {0} result(s):'
11
- copy_link_to_header: 'Copy link to section: "{0}"'
12
- link_to_header_copied_alert: 'Link to "{0}" copied!'
13
- sidebar_opened_announcement: 'Sidebar opened!'
14
- sidebar_closed_announcement: 'Sidebar closed!'
15
-
16
- invalid_date: 'Invalid date: {0}'
17
- calendar_prev_btn: 'Previous {0}'
18
- calendar_next_btn: 'Next {0}'
19
- calendar_mode_week: 'Week'
20
- calendar_mode_day: 'Day'
21
- calendar_mode_month: 'Month'
22
- calendar_choose_view_mode: 'Change calendar mode: '
23
- calendar_went_next: 'Showing next {0}'
24
- calendar_went_prev: 'Showing previous {0}'
25
- calendar_changed_mode: 'Switched view mode to {0}'
26
- calendar_header_date_range: '{0} through {1}'
27
-
28
- tags: 'Tags'
29
- untitled: 'Untitled'
30
- all_tags_header: 'All Tags'
31
- prev_post: '← {0}'
32
- next_post: '{0} →'
data/_data/strings/es.yml DELETED
@@ -1,33 +0,0 @@
1
-
2
-
3
- open_sidebar: 'Abre Navegación'
4
- close_sidebar: 'Cierre Navegación'
5
- search_site_placeholder: 'Encuentre en el sitio...'
6
- search_site_action: 'Busque «{0}»'
7
- search_disabled_no_content: 'No hay texto con que puede buscar.'
8
- search_error: 'Fue un error: «{0}»'
9
- hide_search_results_action: 'Esconder resultados'
10
- found_search_results: 'Encontrado {0} cosa(s):'
11
- copy_link_to_header: 'Copie enlace de «{0}»'
12
- link_to_header_copied_alert: '¡El enlace por «{0}» fue copiado!'
13
- sidebar_opened_announcement: 'Navegación fue abierto.'
14
- sidebar_closed_announcement: 'Navegación fue cerrado.'
15
-
16
- invalid_date: 'Inválida fecha: {0}'
17
- calendar_prev_btn: 'Anterior {0}'
18
- calendar_next_btn: 'Próxima {0}'
19
- calendar_mode_week: 'Semana'
20
- calendar_mode_day: 'Día'
21
- calendar_mode_month: 'Mes'
22
- calendar_choose_view_mode: 'Cambia el modo del calendario: '
23
- # TODO: Properly handle m/f articles here.
24
- calendar_went_next: 'Mostrando la próxima {0}'
25
- calendar_went_prev: 'Mostrando la próxima {0}'
26
- calendar_changed_mode: 'Modo fue cambiado a {0}'
27
- calendar_header_date_range: '{0} hasta {1}'
28
-
29
- tags: 'Etiquetas'
30
- untitled: 'No titulo'
31
- all_tags_header: 'Todas las etiquetas'
32
- prev_post: '← {0}'
33
- next_post: '{0} →'