~therp-nl/aeroo/6.1-lp1182780-error_in_report_menu

« back to all changes in this revision

Viewing changes to report_aeroo/ctt_languages/ru_RU/currencies/usd.py

  • Committer: root
  • Date: 2013-05-16 15:49:25 UTC
  • Revision ID: root@erp.kndati.lv-20130516154925-fwijr8bxlmo6yifk
1.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/python
 
2
# -*- coding: utf8 -*-
 
3
 
 
4
from report_aeroo.ctt_objects import ctt_currency
 
5
 
 
6
class usd(ctt_currency):
 
7
    def _init_currency(self):
 
8
        self.language = u'ru_RU'
 
9
        self.code = u'USD'
 
10
        self.fractions = 100
 
11
        self.cur_singular = u' доллара США'
 
12
        # default plural form for currency
 
13
        self.cur_plural = u' долларов США'
 
14
        self.cur_frc_plural_2to4 = u' доллара США'
 
15
        self.frc_singular = u' цент'
 
16
        # default plural form for fractions
 
17
        self.frc_plural = u' центов'
 
18
        self.frc_plural_2to4 = u' цента'
 
19
        # grammatical genders: f - feminine, m - masculine, n -neuter
 
20
        self.cur_gram_gender = 'm'
 
21
        self.frc_gram_gender = 'm'
 
22
    
 
23
usd()