SP/web2py/gluon/contrib/plural_rules/zh.py
Saturneic 064f602b1a Add.
2018-10-25 23:33:13 +08:00

15 lines
404 B
Python

#!/usr/bin/env python
# -*- coding: utf8 -*-
# Plural-Forms for zh (Chinese)
nplurals=1 # Chinese language has ONE form!
# Always returns 0:
get_plural_id = lambda n: 0
# Construct and return plural form of *word* using
# *plural_id* (which ALWAYS>0). This function will be executed
# for words (or phrases) not found in plural_dict dictionary
# construct_plural_form = lambda word, plural_id: word