Apertium-kaz/test

From Apertium
< Apertium-kaz
Revision as of 17:51, 7 January 2013 by Sushain (talk | contribs)
Jump to navigation Jump to search

{{#function | formatNum ||

  {{#if | {{#1}} || {{#1}} || no more }} bottle{{#if | {{#1 == 1}} || || s}}

}}

{{#for | {{#i @= 99}} || {{#i >= 0}} || {{#i --}} ||

  {{#bottles | @= | {{#formatNum | {{#i}} }} }}
  {{#ucfirst | {{#bottles}} }} of beer on the wall, {{#bottles}} of beer.
{{#if | {{#i}} || Take one down and pass it around, {{#formatNum| {{#i - 1}} }} || Go to the store and buy some more, 99 bottles }} of beer on the wall.

}}