Skip to content

Commit

Permalink
mvp-tema-i18n (#9): L10n (em vez de l10n) por legibilidade (e para di…
Browse files Browse the repository at this point in the history
…ferenciar de i18n)
  • Loading branch information
fititnt committed May 13, 2021
1 parent e7f3e27 commit ace9cc2
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
File renamed without changes.
1 change: 1 addition & 0 deletions _includes/fn/L10n
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{% capture vocab_no_spaces %}{% include fn/L10n-corpus.liquid vocab="l10n_API" %}{% endcapture %}{{ vocab_no_spaces | strip }}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% capture hxl_col_alt %}{{ '#item+l10n+i_' | append: page.linguam_alternum }}{% endcapture %}
{% capture vocab_errorem %}{{ include.vocab | append: '!!' | prepend: '!!' }}{% endcapture %}

{% for vocab in site.data.l10n %}
{% for vocab in site.data.L10nhxl %}
{% if vocab['#item+code'] == include.vocab %}
{{ vocab[hxl_col] | default: vocab[hxl_col_alt] | default: vocab[hxl_col_alt] | default: vocab_errorem }}
{% assign resultatum_ok = true %}
Expand Down
1 change: 0 additions & 1 deletion _includes/fn/l10n

This file was deleted.

7 changes: 7 additions & 0 deletions documentum/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ published: false
> - https://forestry.io/blog/creating-a-multilingual-blog-with-jekyll/
> - https://jekyllcodex.org/without-plugins/
> - http://hamishwillee.github.io/2014/11/13/jekyll-includes-are-functions/
> - https://en.m.wikipedia.org/wiki/Translation_memory
> - https://en.m.wikipedia.org/wiki/Translation_Memory_eXchange
> - https://en.m.wikipedia.org/wiki/OAXAL
> - https://github.com/WeblateOrg/weblate
> - https://weblate.org/pt/
> - https://docs.weblate.org/pt/latest/formats.html#csv-files
> - https://docs.weblate.org/pt/latest/formats.html#xliff
## Extensões e plugins
### VSCode
Expand Down
6 changes: 2 additions & 4 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ permalink: /
</div>
</div>

<!--
Testing
<pre>
{% include fn/l10n vocab="l10n_API" %}
</pre>
-->
{% include fn/L10n vocab="L10n_API" %}
</pre>

0 comments on commit ace9cc2

Please sign in to comment.