added Malesian and Indonesian languages, thanks Steve Van Christie

This commit is contained in:
mdipierro
2013-04-08 11:13:15 -05:00
parent 2119bacd22
commit 9f35635233
6 changed files with 477 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env python
# -*- coding: utf8 -*-
# Plural-Forms for id (Indonesian)
nplurals=2 # Indonesian language has 2 forms:
# 1 singular and 1 plural
# Determine plural_id for number *n* as sequence of positive
# integers: 0,1,...
# NOTE! For singular form ALWAYS return plural_id = 0
get_plural_id = lambda n: int(n != 1)
# 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 + 'suffix')
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env python
# -*- coding: utf8 -*-
# Plural-Forms for id (Malay)
nplurals=2 # Malay language has 2 forms:
# 1 singular and 1 plural
# Determine plural_id for number *n* as sequence of positive
# integers: 0,1,...
# NOTE! For singular form ALWAYS return plural_id = 0
get_plural_id = lambda n: int(n != 1)
# 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 + 'suffix')