(self)
| 164 | return None |
| 165 | |
| 166 | def get_plural(self): |
| 167 | plural = self._plural_string |
| 168 | if plural is not None: |
| 169 | # This should be a compiled function of a typical plural-form: |
| 170 | # Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : |
| 171 | # n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) |
| 172 | # ? 1 : 2; |
| 173 | plural = [ |
| 174 | el.strip() |
| 175 | for el in plural.split(";") |
| 176 | if el.strip().startswith("plural=") |
| 177 | ][0].split("=", 1)[1] |
| 178 | return plural |
| 179 | |
| 180 | def get_catalog(self): |
| 181 | pdict = {} |