add result

This commit is contained in:
Arnas Udovicius 2021-06-08 19:25:19 +03:00
parent 5d242db04d
commit aef7001615
2 changed files with 43 additions and 2 deletions

View file

@ -1,3 +1,18 @@
# sgs-plural # Samogitian language (ISO-639-3: sgs) plural forms
Written by Arns Udovič in 2021 <a@arns.lt>
Refs:
https://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms
## Logics
0 - singular or ending in 1 with exception for 11. Ex., 1 laps
1 - dual or ending in 2 with exception for 12. Ex. 2 lapo
2 - other plural. Ex. 25 lapā
3 - plural for 11-19, 10, 20, 100... Ex. 12 lapu
Code to test plural forms in Samogitian language. Needed for translation. Code to test plural forms in Samogitian language. Needed for translation.
## Result
See result.txt

26
result.txt Normal file
View file

@ -0,0 +1,26 @@
This is test of plural forms for Samogitian languages
Written by Arns Udovič in 2021 <a@arns.lt>
0 - singular or ending in 1 with exception for 11. Ex., 1 laps
1 - dual or ending in 2 with exception for 12. Ex. 2 lapo
2 - other plural. Ex. 25 lapā
3 - plural for 11-19, 10, 20, 100... Ex. 12 lapu
Testing 0, should be: 3, got 3
Testing 1, should be: 0, got 0
Testing 2, should be: 1, got 1
Testing 3, should be: 2, got 2
Testing 10, should be: 3, got 3
Testing 11, should be: 3, got 3
Testing 15, should be: 3, got 3
Testing 20, should be: 3, got 3
Testing 21, should be: 0, got 0
Testing 22, should be: 1, got 1
Testing 25, should be: 2, got 2
Testing 100, should be: 3, got 3
Testing 101, should be: 0, got 0
Testing 102, should be: 1, got 1
Testing 115, should be: 3, got 3
Testing 200, should be: 3, got 3
Testing 1000, should be: 3, got 3
Testing 100000, should be: 3, got 3