mirror of
https://github.com/welpo/tabi.git
synced 2025-10-11 15:56:15 +02:00
clarify 1/0 comment
This commit is contained in:
parent
13448cb567
commit
276229f350
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{% macro translate(key, number=-1, language_strings="", default="") %}
|
||||
{%- set key_prefix = "" -%}
|
||||
|
||||
{# All languages have `zero_` and `one_` prefix #}
|
||||
{# `zero_` and `one_` are common cases. We handle "many" (plural) later, after language-specific pluralization #}
|
||||
{%- if number == 0 -%}
|
||||
{%- set key_prefix = "zero_" -%}
|
||||
{%- elif number == 1 -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue