Advertisement
grappler

Untitled

Mar 14th, 2013
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.63 KB | None | 0 0
  1. cy:
  2. nplurals: 4
  3. plural: "n==1 ? 0 : n==2 ? 1 : (n != 8 || n != 11) ? 2 : 3"
  4. This is the code that I got from http://translate.sourceforge.net/wiki/l10n/pluralforms#c
  5. nplurals=4; plural= (n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3
  6.  
  7. The export file
  8. #: comments.php
  9. msgid "One comment on “%2$s”"
  10. msgid_plural "%1$s comments on “%2$s”"
  11. msgstr[0] "Un sylw ar “%2$s”"
  12. msgstr[1] "%1$s sylw ar “%2$s”"
  13. msgstr[2] "%1$s sylw ar “%2$s”"
  14.  
  15. This is how it should look like
  16. #: comments.php
  17. msgid "One comment on “%2$s”"
  18. msgid_plural "%1$s comments on “%2$s”"
  19. msgstr[0] "Un sylw ar “%2$s”"
  20. msgstr[1] "Dau sylw ar “%2$s”"
  21. msgstr[2] "%1$s sylw ar “%2$s”"
  22. msgstr[3] "%1$s sylw ar “%2$s”"
  23.  
  24. sl:
  25. nplurals: 4
  26. plural: "(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n%100==4 ? 3 : 0)"
  27. This is the code that I got from http://translate.sourceforge.net/wiki/l10n/pluralforms#s
  28. nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n%100==4 ? 3 : 0)
  29.  
  30. The export file
  31. #: comments.php
  32. msgid "One comment on “%2$s”"
  33. msgid_plural "%1$s comments on “%2$s”"
  34. msgstr[0] "%1$s komentarjev v “%2$s”"
  35. msgstr[1] "%1$s komentar v “%2$s”"
  36. msgstr[2] "%1$s komentarjev v “%2$s”"
  37.  
  38. This is how it should look like
  39. #: comments.php
  40. msgid "One comment on “%2$s”"
  41. msgid_plural "%1$s comments on “%2$s”"
  42. msgstr[0] "%1$s komentarjev v “%2$s”"
  43. msgstr[1] "%1$s komentarjev v “%2$s”"
  44. msgstr[2] "%1$s komentarjev v “%2$s”"
  45. msgstr[3] "%1$s komentar v “%2$s”"
  46.  
  47.  
  48. hr, ru, sr:
  49. nplurals: 3
  50. plural: "n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2"
  51. This is the code that I got from http://translate.sourceforge.net/wiki/l10n/pluralforms#r
  52. nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)
  53.  
  54. hr
  55. The export file
  56. #: comments.php
  57. msgid "One comment on &ldquo;%2$s&rdquo;"
  58. msgid_plural "%1$s comments on &ldquo;%2$s&rdquo;"
  59. msgstr[0] "Jedan komentar u &ldquo;%2$s&rdquo;"
  60. msgstr[1] "%1$s komentara u &ldquo;%2$s&rdquo;"
  61. msgstr[2] "%1$s komentara u &ldquo;%2$s&rdquo;"
  62. msgstr[3] "%1$s komentara u &ldquo;%2$s&rdquo;"
  63.  
  64. This is how it should look like
  65. #: comments.php
  66. msgid "One comment on &ldquo;%2$s&rdquo;"
  67. msgid_plural "%1$s comments on &ldquo;%2$s&rdquo;"
  68. msgstr[0] "Jedan komentar u &ldquo;%2$s&rdquo;"
  69. msgstr[1] "%1$s komentara u &ldquo;%2$s&rdquo;"
  70. msgstr[2] "%1$s komentara u &ldquo;%2$s&rdquo;"
  71.  
  72. ru
  73. The export file
  74. #: comments.php
  75. msgid "One comment on &ldquo;%2$s&rdquo;"
  76. msgid_plural "%1$s comments on &ldquo;%2$s&rdquo;"
  77. msgstr[0] ""
  78.  
  79. This is how it should look like
  80. #: comments.php
  81. msgid "One comment on &ldquo;%2$s&rdquo;"
  82. msgid_plural "%1$s comments on &ldquo;%2$s&rdquo;"
  83. msgstr[0] "1 ??????????? ?? &ldquo;%2$s&rdquo;"
  84. msgstr[1] "%1$s ??????????? ?? &ldquo;%2$s&rdquo;"
  85. msgstr[2] "%1$s ???????????? ?? &ldquo;%2$s&rdquo;"
  86.  
  87. sr
  88. The export file
  89. #: comments.php
  90. msgid "One comment on &ldquo;%2$s&rdquo;"
  91. msgid_plural "%1$s comments on &ldquo;%2$s&rdquo;"
  92. msgstr[0] "????? ???????? ?? “%2$s”"
  93. msgstr[1] "%1$s ????????? ?? “%2$s”"
  94. msgstr[2] "%1$s ????????? ?? “%2$s”"
  95. msgstr[3] "%1$s ????????? ?? “%2$s”"
  96.  
  97. This is how it should look like
  98. #: comments.php
  99. msgid "One comment on &ldquo;%2$s&rdquo;"
  100. msgid_plural "%1$s comments on &ldquo;%2$s&rdquo;"
  101. msgstr[0] "????? ???????? ?? “%2$s”"
  102. msgstr[1] "%1$s ????????? ?? “%2$s”"
  103. msgstr[2] "%1$s ????????? ?? “%2$s”"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement