Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update translations.

  • Loading branch information...
commit 03b52352b6d54c9bc22a2ae615157cf4a814177a 1 parent 561c2ac
@rbas authored
View
6 InvoiceGenerator/api.py
@@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-
+from conf import _
+
__all__ = ['Client', 'Provider', 'Creator', 'Item', 'Invoice']
class UnicodeProperty(object):
@@ -36,10 +38,10 @@ def get_address_lines(self):
u'%s %s' % (self.zip, self.city)
]
if self.vat_id:
- address_line.append(u'Vat in: %s' % self.vat_id)
+ address_line.append(_(u'Vat in: %s') % self.vat_id)
if self.ir:
- address_line.append(u'IR: %s' % self.ir)
+ address_line.append(_(u'IR: %s') % self.ir)
return address_line
View
BIN  InvoiceGenerator/locale/cs/LC_MESSAGES/messages.mo
Binary file not shown
View
8 InvoiceGenerator/locale/cs/LC_MESSAGES/messages.po
@@ -8,7 +8,7 @@ msgstr ""
"Project-Id-Version: 0.2.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2012-04-07 17:30+0200\n"
-"PO-Revision-Date: 2012-04-20 23:30+0100\n"
+"PO-Revision-Date: 2012-04-21 12:48+0100\n"
"Last-Translator: rbas <rbas@rbas.cz>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
@@ -118,3 +118,9 @@ msgstr "Bez DPH"
msgid "With VAT"
msgstr "S DPH"
+msgid "Vat in: %s"
+msgstr "DIČ: %s"
+
+msgid "IR: %s"
+msgstr "IČ: %s"
+
Please sign in to comment.
Something went wrong with that request. Please try again.