equal
deleted
inserted
replaced
460 /* Four forms, special case for one and all numbers ending in 02, 03, or 04 |
460 /* Four forms, special case for one and all numbers ending in 02, 03, or 04 |
461 * Used in: |
461 * Used in: |
462 * Slovenian */ |
462 * Slovenian */ |
463 case 8: |
463 case 8: |
464 return n % 100 == 1 ? 0 : n % 100 == 2 ? 1 : n % 100 == 3 || n % 100 == 4 ? 2 : 3; |
464 return n % 100 == 1 ? 0 : n % 100 == 2 ? 1 : n % 100 == 3 || n % 100 == 4 ? 2 : 3; |
|
465 |
|
466 /* Two forms; singular used for everything ending in 1 but not in 11. |
|
467 * Used in: |
|
468 * Icelandic */ |
|
469 case 9: |
|
470 return n % 10 == 1 && n % 100 != 11 ? 0 : 1; |
465 } |
471 } |
466 } |
472 } |
467 |
473 |
468 static const char *ParseStringChoice(const char *b, uint form, char *dst, int *dstlen) |
474 static const char *ParseStringChoice(const char *b, uint form, char *dst, int *dstlen) |
469 { |
475 { |