[tryton-debian-vcs] tryton-modules-currency branch debian updated. debian/3.8.0-2-5-g03ba567
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Thu Jun 2 16:17:20 UTC 2016
The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-currency.git;a=commitdiff;h=debian/3.8.0-2-5-g03ba567
commit 03ba5676310f2206fc12b85c5194f50eefaa9b14
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Wed Jun 1 21:47:22 2016 +0200
Releasing debian version 4.0.1-1.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/debian/changelog b/debian/changelog
index 49c24aa..e250347 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+tryton-modules-currency (4.0.1-1) unstable; urgency=medium
+
+ * Updating signing-key.asc with the actual upstream maintainer keys.
+ * Merging upstream version 4.0.0.
+ * Merging upstream version 4.0.1.
+ * Updating the copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz> Mon, 30 May 2016 19:28:48 +0200
+
tryton-modules-currency (3.8.0-2) unstable; urgency=medium
* Updating to standards version 3.9.7, no changes needed.
commit a2c7e01139eaedd152bfd0dd9052ffbb60976431
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Fri May 27 19:01:03 2016 +0200
Updating the copyright file.
diff --git a/debian/copyright b/debian/copyright
index c753e92..826123c 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,9 +1,9 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Files: *
-Copyright: 2008-2015 Cédric Krier
+Copyright: 2008-2016 Cédric Krier
2008-2013 Bertrand Chenal
- 2008-2015 B2CK SPRL
+ 2008-2016 B2CK SPRL
License: GPL-3+
Files: icons/*
@@ -13,7 +13,7 @@ License: public-domain
Files: debian/*
Copyright:
2009-2012 Daniel Baumann <daniel at debian.org>
- 2011-2015 Mathias Behrle <mathiasb at m9s.biz>
+ 2011-2016 Mathias Behrle <mathiasb at m9s.biz>
License: GPL-3+
License: GPL-3+
commit 69780e0c06e5472a503f38e92890d9e9c7291513
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Fri May 27 18:35:21 2016 +0200
Merging upstream version 4.0.1.
diff --git a/CHANGELOG b/CHANGELOG
index 9ced1c6..a594a5f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.1 - 2016-05-11
+* Bug fixes (see mercurial logs for details)
+
Version 4.0.0 - 2016-05-02
* Bug fixes (see mercurial logs for details)
* Add Python3 support
diff --git a/PKG-INFO b/PKG-INFO
index c901d38..e4e021a 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond_currency
-Version: 4.0.0
+Version: 4.0.1
Summary: Tryton module with currencies
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/locale/ca_ES.po b/locale/ca_ES.po
index a32e602..4949987 100644
--- a/locale/ca_ES.po
+++ b/locale/ca_ES.po
@@ -10,7 +10,6 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "La taxa de canvi de la moneda ha de ser més gran o igual a 0."
-#, fuzzy
msgctxt "error:currency.currency:"
msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "L'agrupació \"%(grouping)s\" de la moneda \"%(currency)s\" no és correcta."
diff --git a/locale/de_DE.po b/locale/de_DE.po
index 26aeebc..95f5c6a 100644
--- a/locale/de_DE.po
+++ b/locale/de_DE.po
@@ -10,7 +10,6 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "Der Kurs muss größer oder gleich 0 sein"
-#, fuzzy
msgctxt "error:currency.currency:"
msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "Ungültige Gruppierung \"%(grouping)s\" in Währung \"%(currency)s\"."
diff --git a/locale/es_AR.po b/locale/es_AR.po
index 87afc97..0eac0bd 100644
--- a/locale/es_AR.po
+++ b/locale/es_AR.po
@@ -10,10 +10,10 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "La tasa de cambio de la moneda debe ser mayor o igual a 0"
-#, fuzzy
msgctxt "error:currency.currency:"
msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
-msgstr "Agrupación «%(grouping)s» en la moneda «%(currency)s» no es correcta."
+msgstr ""
+"La agrupación «%(grouping)s» de la moneda «%(currency)s» no es correcta."
msgctxt "error:currency.currency:"
msgid "No rate found for currency \"%(currency)s\" on \"%(date)s\""
diff --git a/locale/es_CO.po b/locale/es_CO.po
index e2ac465..e67b4c2 100644
--- a/locale/es_CO.po
+++ b/locale/es_CO.po
@@ -10,7 +10,6 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "La tasa de cambio debe ser mayor o igual a 0"
-#, fuzzy
msgctxt "error:currency.currency:"
msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "Agrupación inválida \"%(grouping)s\" en moneda \"%(currency)s\""
diff --git a/locale/es_EC.po b/locale/es_EC.po
index c57c780..a7a6639 100644
--- a/locale/es_EC.po
+++ b/locale/es_EC.po
@@ -10,7 +10,6 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "La tasa de cambio de la moneda debe ser mayor o igual a 0"
-#, fuzzy
msgctxt "error:currency.currency:"
msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "Agrupación \"%(grouping)s\" en la moneda \"%(currency)s\" no es válida."
diff --git a/locale/es_ES.po b/locale/es_ES.po
index a9225be..08c054a 100644
--- a/locale/es_ES.po
+++ b/locale/es_ES.po
@@ -10,10 +10,9 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "La tasa de cambio de la moneda debe ser mayor o igual a 0."
-#, fuzzy
msgctxt "error:currency.currency:"
msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
-msgstr "Agrupación \"%(grouping)s\" en la moneda \"%(currency)s\" no es correcta."
+msgstr "La agrupación \"%(grouping)s\" de la moneda \"%(currency)s\" no es correcta."
msgctxt "error:currency.currency:"
msgid "No rate found for currency \"%(currency)s\" on \"%(date)s\""
diff --git a/locale/fr_FR.po b/locale/fr_FR.po
index 0b6f088..3c5a5ad 100644
--- a/locale/fr_FR.po
+++ b/locale/fr_FR.po
@@ -10,7 +10,6 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "Le taux de la devise doit être plus grand ou égal à 0"
-#, fuzzy
msgctxt "error:currency.currency:"
msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr ""
diff --git a/locale/sl_SI.po b/locale/sl_SI.po
index 5aa7c02..17d6443 100644
--- a/locale/sl_SI.po
+++ b/locale/sl_SI.po
@@ -10,7 +10,6 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "Tečaj valute mora biti večji ali enak nič."
-#, fuzzy
msgctxt "error:currency.currency:"
msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "Neveljano združevanje \"%(grouping)s\" po valuti \"%(currency)s\"."
diff --git a/tryton.cfg b/tryton.cfg
index f98697a..c0571dd 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=4.0.0
+version=4.0.1
depends:
ir
res
diff --git a/trytond_currency.egg-info/PKG-INFO b/trytond_currency.egg-info/PKG-INFO
index 0aa111c..a15e21d 100644
--- a/trytond_currency.egg-info/PKG-INFO
+++ b/trytond_currency.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond-currency
-Version: 4.0.0
+Version: 4.0.1
Summary: Tryton module with currencies
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond_currency.egg-info/SOURCES.txt b/trytond_currency.egg-info/SOURCES.txt
index bc3103a..d98615c 100644
--- a/trytond_currency.egg-info/SOURCES.txt
+++ b/trytond_currency.egg-info/SOURCES.txt
@@ -25,11 +25,13 @@ tryton.cfg
./locale/hu_HU.po
./locale/it_IT.po
./locale/ja_JP.po
+./locale/lo_LA.po
./locale/lt_LT.po
./locale/nl_NL.po
./locale/pt_BR.po
./locale/ru_RU.po
./locale/sl_SI.po
+./locale/zh_CN.po
./tests/__init__.py
./tests/test_currency.py
./tests/tools.py
diff --git a/trytond_currency.egg-info/requires.txt b/trytond_currency.egg-info/requires.txt
index b4acb8d..3712caf 100644
--- a/trytond_currency.egg-info/requires.txt
+++ b/trytond_currency.egg-info/requires.txt
@@ -1 +1 @@
-trytond >= 4.0, < 4.1
\ No newline at end of file
+trytond >= 4.0, < 4.1
commit 252a39fcc6a10c9f32316a941f8839ec3ae1d3ec
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Fri May 27 18:26:04 2016 +0200
Merging upstream version 4.0.0.
diff --git a/CHANGELOG b/CHANGELOG
index 3fedac1..9ced1c6 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+Version 4.0.0 - 2016-05-02
+* Bug fixes (see mercurial logs for details)
+* Add Python3 support
+
Version 3.8.0 - 2015-11-02
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index 4c7ddcd..fcc5eeb 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
-Copyright (C) 2008-2015 Cédric Krier.
+Copyright (C) 2008-2016 Cédric Krier.
Copyright (C) 2008-2013 Bertrand Chenal.
-Copyright (C) 2008-2015 B2CK SPRL.
+Copyright (C) 2008-2016 B2CK SPRL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index ef99239..c901d38 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond_currency
-Version: 3.8.0
+Version: 4.0.0
Summary: Tryton module with currencies
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: issue_tracker at tryton.org
License: GPL-3
-Download-URL: http://downloads.tryton.org/3.8/
+Download-URL: http://downloads.tryton.org/4.0/
Description: trytond_currency
================
@@ -55,6 +55,7 @@ Classifier: Intended Audience :: Manufacturing
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Natural Language :: Bulgarian
Classifier: Natural Language :: Catalan
+Classifier: Natural Language :: Chinese (Simplified)
Classifier: Natural Language :: Czech
Classifier: Natural Language :: Dutch
Classifier: Natural Language :: English
@@ -68,6 +69,9 @@ Classifier: Natural Language :: Slovenian
Classifier: Natural Language :: Spanish
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Office/Business
diff --git a/currency.py b/currency.py
index 6898597..cdcbe5e 100644
--- a/currency.py
+++ b/currency.py
@@ -48,7 +48,7 @@ class Currency(ModelSQL, ModelView):
'no_rate': ('No rate found for currency "%(currency)s" on '
'"%(date)s"'),
'invalid_mon_grouping': ('Invalid grouping "%(grouping)s" on '
- ' currency "%(currency)s".'),
+ 'currency "%(currency)s".'),
})
cls.__rpc__.update({
'compute': RPC(),
diff --git a/locale/bg_BG.po b/locale/bg_BG.po
index 4bf0177..652ab58 100644
--- a/locale/bg_BG.po
+++ b/locale/bg_BG.po
@@ -11,7 +11,7 @@ msgid "The currency rate must greater than or equal to 0"
msgstr "Валутния курс трябва да е по-голям или равен на 0"
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr ""
msgctxt "error:currency.currency:"
diff --git a/locale/ca_ES.po b/locale/ca_ES.po
index 4759a4e..a32e602 100644
--- a/locale/ca_ES.po
+++ b/locale/ca_ES.po
@@ -10,8 +10,9 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "La taxa de canvi de la moneda ha de ser més gran o igual a 0."
+#, fuzzy
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "L'agrupació \"%(grouping)s\" de la moneda \"%(currency)s\" no és correcta."
msgctxt "error:currency.currency:"
diff --git a/locale/cs_CZ.po b/locale/cs_CZ.po
index 4bb1b3f..e2c9994 100644
--- a/locale/cs_CZ.po
+++ b/locale/cs_CZ.po
@@ -11,7 +11,7 @@ msgid "The currency rate must greater than or equal to 0"
msgstr ""
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr ""
msgctxt "error:currency.currency:"
diff --git a/locale/de_DE.po b/locale/de_DE.po
index fc3a4e4..26aeebc 100644
--- a/locale/de_DE.po
+++ b/locale/de_DE.po
@@ -10,8 +10,9 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "Der Kurs muss größer oder gleich 0 sein"
+#, fuzzy
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "Ungültige Gruppierung \"%(grouping)s\" in Währung \"%(currency)s\"."
msgctxt "error:currency.currency:"
diff --git a/locale/es_AR.po b/locale/es_AR.po
index 316e2d6..87afc97 100644
--- a/locale/es_AR.po
+++ b/locale/es_AR.po
@@ -10,8 +10,9 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "La tasa de cambio de la moneda debe ser mayor o igual a 0"
+#, fuzzy
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "Agrupación «%(grouping)s» en la moneda «%(currency)s» no es correcta."
msgctxt "error:currency.currency:"
diff --git a/locale/es_CO.po b/locale/es_CO.po
index 6e5a534..e2ac465 100644
--- a/locale/es_CO.po
+++ b/locale/es_CO.po
@@ -10,8 +10,9 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "La tasa de cambio debe ser mayor o igual a 0"
+#, fuzzy
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "Agrupación inválida \"%(grouping)s\" en moneda \"%(currency)s\""
msgctxt "error:currency.currency:"
diff --git a/locale/es_EC.po b/locale/es_EC.po
index ed72bca..c57c780 100644
--- a/locale/es_EC.po
+++ b/locale/es_EC.po
@@ -10,8 +10,9 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "La tasa de cambio de la moneda debe ser mayor o igual a 0"
+#, fuzzy
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "Agrupación \"%(grouping)s\" en la moneda \"%(currency)s\" no es válida."
msgctxt "error:currency.currency:"
diff --git a/locale/es_ES.po b/locale/es_ES.po
index 7470d82..a9225be 100644
--- a/locale/es_ES.po
+++ b/locale/es_ES.po
@@ -10,8 +10,9 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "La tasa de cambio de la moneda debe ser mayor o igual a 0."
+#, fuzzy
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "Agrupación \"%(grouping)s\" en la moneda \"%(currency)s\" no es correcta."
msgctxt "error:currency.currency:"
diff --git a/locale/es_MX.po b/locale/es_MX.po
index 89b21db..d520cb1 100644
--- a/locale/es_MX.po
+++ b/locale/es_MX.po
@@ -10,8 +10,9 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "La tasa de cambio de la divisa debe ser mayor o igual a 0."
+#, fuzzy
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "Agrupación \"%(grouping)s\" en la divisa \"%(currency)s\" no es correcta."
msgctxt "error:currency.currency:"
@@ -912,26 +913,31 @@ msgctxt "model:res.group,name:group_currency_admin"
msgid "Currency Administration"
msgstr "Administración de divisas"
+#, fuzzy
msgctxt "view:currency.currency.rate:"
msgid "Rate"
-msgstr ""
+msgstr "Tasa de cambio"
+#, fuzzy
msgctxt "view:currency.currency.rate:"
msgid "Rates"
-msgstr ""
+msgstr "Tasas de cambio"
+#, fuzzy
msgctxt "view:currency.currency:"
msgid "Currencies"
-msgstr ""
+msgstr "Divisas"
+#, fuzzy
msgctxt "view:currency.currency:"
msgid "Currency"
-msgstr ""
+msgstr "Divisa"
msgctxt "view:currency.currency:"
msgid "Formatting"
msgstr ""
+#, fuzzy
msgctxt "view:currency.currency:"
msgid "Rates"
-msgstr ""
+msgstr "Tasas de cambio"
diff --git a/locale/fr_FR.po b/locale/fr_FR.po
index 39c4ab6..0b6f088 100644
--- a/locale/fr_FR.po
+++ b/locale/fr_FR.po
@@ -10,8 +10,9 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "Le taux de la devise doit être plus grand ou égal à 0"
+#, fuzzy
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr ""
"Le groupement « %(grouping)s » de la devise « %(currency)s » est invalide."
diff --git a/locale/hu_HU.po b/locale/hu_HU.po
index 729a747..e781654 100644
--- a/locale/hu_HU.po
+++ b/locale/hu_HU.po
@@ -10,8 +10,9 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "Az árfolyamnak nagyobb vagy egyenlőnek kell lennie 0-val"
+#, fuzzy
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "Érvénytelen cspoprtosítás \"%(grouping)s\" pénznemben \"%(currency)s\"."
msgctxt "error:currency.currency:"
@@ -912,19 +913,19 @@ msgstr "Pénznem adminisztráció"
msgctxt "view:currency.currency.rate:"
msgid "Rate"
-msgstr ""
+msgstr "Árfolyam"
msgctxt "view:currency.currency.rate:"
msgid "Rates"
-msgstr ""
+msgstr "Árfolyam"
msgctxt "view:currency.currency:"
msgid "Currencies"
-msgstr ""
+msgstr "Pénznemek"
msgctxt "view:currency.currency:"
msgid "Currency"
-msgstr ""
+msgstr "Pénznem"
msgctxt "view:currency.currency:"
msgid "Formatting"
@@ -932,4 +933,4 @@ msgstr ""
msgctxt "view:currency.currency:"
msgid "Rates"
-msgstr ""
+msgstr "Árfolyam"
diff --git a/locale/it_IT.po b/locale/it_IT.po
index 74b5c87..7e8dedb 100644
--- a/locale/it_IT.po
+++ b/locale/it_IT.po
@@ -10,20 +10,19 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "Il tasso di cambio dev'essere maggiore o uguale a 0"
+#, fuzzy
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "Raggruppamento \"%(grouping)s\" invalido nella valuta \"%(currency)s\"."
msgctxt "error:currency.currency:"
msgid "No rate found for currency \"%(currency)s\" on \"%(date)s\""
msgstr "Tasso di cambio non trovato per la valuta \"%(currency)s\" il \"%(date)s\""
-#, fuzzy
msgctxt "field:currency.currency,active:"
msgid "Active"
msgstr "Attivo"
-#, fuzzy
msgctxt "field:currency.currency,code:"
msgid "Code"
msgstr "Codice"
@@ -909,7 +908,6 @@ msgctxt "model:currency.currency,name:zwd"
msgid "Zimbabwe Dollar"
msgstr "Dollaro dello Zimbabwe"
-#, fuzzy
msgctxt "model:currency.currency.rate,name:"
msgid "Rate"
msgstr "Cambio"
@@ -932,19 +930,19 @@ msgstr "Gestione Valute"
msgctxt "view:currency.currency.rate:"
msgid "Rate"
-msgstr ""
+msgstr "Cambio"
msgctxt "view:currency.currency.rate:"
msgid "Rates"
-msgstr ""
+msgstr "Tassi"
msgctxt "view:currency.currency:"
msgid "Currencies"
-msgstr ""
+msgstr "Valute"
msgctxt "view:currency.currency:"
msgid "Currency"
-msgstr ""
+msgstr "Valuta"
msgctxt "view:currency.currency:"
msgid "Formatting"
@@ -952,4 +950,4 @@ msgstr ""
msgctxt "view:currency.currency:"
msgid "Rates"
-msgstr ""
+msgstr "Tassi"
diff --git a/locale/ja_JP.po b/locale/ja_JP.po
index 14e7599..4bfaf15 100644
--- a/locale/ja_JP.po
+++ b/locale/ja_JP.po
@@ -11,7 +11,7 @@ msgid "The currency rate must greater than or equal to 0"
msgstr ""
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr ""
msgctxt "error:currency.currency:"
@@ -164,731 +164,731 @@ msgstr ""
msgctxt "model:currency.currency,name:aed"
msgid "UAE Dirham"
-msgstr ""
+msgstr "アラブ首長国連邦ディルハム"
msgctxt "model:currency.currency,name:afn"
msgid "Afghani"
-msgstr ""
+msgstr "アフガニ"
msgctxt "model:currency.currency,name:all"
msgid "Lek"
-msgstr ""
+msgstr "レク"
msgctxt "model:currency.currency,name:amd"
msgid "Armenian Dram"
-msgstr ""
+msgstr "アルメニア・ドラム"
msgctxt "model:currency.currency,name:ang"
msgid "Netherlands Antillian Guilder"
-msgstr ""
+msgstr "オランダ領アンチル・ギルダー"
msgctxt "model:currency.currency,name:aoa"
msgid "Kwanza"
-msgstr ""
+msgstr "クワンザ"
msgctxt "model:currency.currency,name:ars"
msgid "Argentine Peso"
-msgstr ""
+msgstr "アルゼンチン・ペソ"
msgctxt "model:currency.currency,name:aud"
msgid "Australian Dollar"
-msgstr ""
+msgstr "オーストラリア・ドル"
msgctxt "model:currency.currency,name:awg"
msgid "Aruban Guilder"
-msgstr ""
+msgstr "アルバ・ギルダー"
msgctxt "model:currency.currency,name:azn"
msgid "Azerbaijanian Manat"
-msgstr ""
+msgstr "アゼルバイジャン・マナト"
msgctxt "model:currency.currency,name:bam"
msgid "Convertible Marks"
-msgstr ""
+msgstr "兌換マルク"
msgctxt "model:currency.currency,name:bbd"
msgid "Barbados Dollar"
-msgstr ""
+msgstr "バルバドス・ドル"
msgctxt "model:currency.currency,name:bdt"
msgid "Taka"
-msgstr ""
+msgstr "タカ"
msgctxt "model:currency.currency,name:bgn"
msgid "Bulgarian Lev"
-msgstr ""
+msgstr "ブルガリア・レフ"
msgctxt "model:currency.currency,name:bhd"
msgid "Bahraini Dinar"
-msgstr ""
+msgstr "バーレーン・ディナール"
msgctxt "model:currency.currency,name:bif"
msgid "Burundi Franc"
-msgstr ""
+msgstr "ブルンジ・フラン"
msgctxt "model:currency.currency,name:bmd"
msgid "Bermudian Dollar"
-msgstr ""
+msgstr "バーミューダ・ドル"
msgctxt "model:currency.currency,name:bnd"
msgid "Brunei Dollar"
-msgstr ""
+msgstr "ブルネイ・ドル"
msgctxt "model:currency.currency,name:bob"
msgid "Boliviano"
-msgstr ""
+msgstr "ボリビアーノ"
msgctxt "model:currency.currency,name:bov"
msgid "Mvdol"
-msgstr ""
+msgstr "Mvdol"
msgctxt "model:currency.currency,name:brl"
msgid "Brazilian Real"
-msgstr ""
+msgstr "ブラジル・レアル"
msgctxt "model:currency.currency,name:bsd"
msgid "Bahamian Dollar"
-msgstr ""
+msgstr "バハマ・ドル"
msgctxt "model:currency.currency,name:btn"
msgid "Ngultrum"
-msgstr ""
+msgstr "ニュルタム"
msgctxt "model:currency.currency,name:bwp"
msgid "Pula"
-msgstr ""
+msgstr "プラ"
msgctxt "model:currency.currency,name:byr"
msgid "Belarussian Ruble"
-msgstr ""
+msgstr "ベラルーシ・ルーブル"
msgctxt "model:currency.currency,name:bzd"
msgid "Belize Dollar"
-msgstr ""
+msgstr "ベリーズ・ドル"
msgctxt "model:currency.currency,name:cad"
msgid "Canadian Dollar"
-msgstr ""
+msgstr "カナダ・ドル"
msgctxt "model:currency.currency,name:cdf"
msgid "Congolese Franc"
-msgstr ""
+msgstr "コンゴ・フラン"
msgctxt "model:currency.currency,name:che"
msgid "WIR Euro"
-msgstr ""
+msgstr "ヴィア・ユーロ"
msgctxt "model:currency.currency,name:chf"
msgid "Swiss Franc"
-msgstr ""
+msgstr "スイス・フラン"
msgctxt "model:currency.currency,name:chw"
msgid "WIR Franc"
-msgstr ""
+msgstr "ヴィア・フラン"
msgctxt "model:currency.currency,name:clf"
msgid "Unidades de fomento"
-msgstr ""
+msgstr "Unidades de fomento"
msgctxt "model:currency.currency,name:clp"
msgid "Chilean Peso"
-msgstr ""
+msgstr "チリ・ペソ"
msgctxt "model:currency.currency,name:cny"
msgid "Yuan Renminbi"
-msgstr ""
+msgstr "人民元"
msgctxt "model:currency.currency,name:cop"
msgid "Colombian Peso"
-msgstr ""
+msgstr "コロンビア・ペソ"
msgctxt "model:currency.currency,name:cou"
msgid "Unidad de Valor Real"
-msgstr ""
+msgstr "Unidad de Valor Real"
msgctxt "model:currency.currency,name:crc"
msgid "Costa Rican Colon"
-msgstr ""
+msgstr "コスタリカ・コロン"
msgctxt "model:currency.currency,name:cup"
msgid "Cuban Peso"
-msgstr ""
+msgstr "キューバ・ペソ"
msgctxt "model:currency.currency,name:cve"
msgid "Cape Verde Escudo"
-msgstr ""
+msgstr "カーボヴェルデ・エスクード"
msgctxt "model:currency.currency,name:cyp"
msgid "Cyprus Pound"
-msgstr ""
+msgstr "キプロス・ポンド"
msgctxt "model:currency.currency,name:czk"
msgid "Czech Koruna"
-msgstr ""
+msgstr "チェコ・コルナ"
msgctxt "model:currency.currency,name:djf"
msgid "Djibouti Franc"
-msgstr ""
+msgstr "ジブチ・フラン"
msgctxt "model:currency.currency,name:dkk"
msgid "Danish Krone"
-msgstr ""
+msgstr "デンマーク・クローネ"
msgctxt "model:currency.currency,name:dop"
msgid "Dominican Peso"
-msgstr ""
+msgstr "ドミニカ・ペソ"
msgctxt "model:currency.currency,name:dzd"
msgid "Algerian Dinar"
-msgstr ""
+msgstr "アルジェリア・ディナール"
msgctxt "model:currency.currency,name:eek"
msgid "Kroon"
-msgstr ""
+msgstr "クローン"
msgctxt "model:currency.currency,name:egp"
msgid "Egyptian Pound"
-msgstr ""
+msgstr "エジプト・ポンド"
msgctxt "model:currency.currency,name:ern"
msgid "Nakfa"
-msgstr ""
+msgstr "ナクファ"
msgctxt "model:currency.currency,name:etb"
msgid "Ethiopian Birr"
-msgstr ""
+msgstr "エチオピア・ブル"
msgctxt "model:currency.currency,name:eur"
msgid "Euro"
-msgstr ""
+msgstr "ユーロ"
msgctxt "model:currency.currency,name:fjd"
msgid "Fiji Dollar"
-msgstr ""
+msgstr "フィジー・ドル"
msgctxt "model:currency.currency,name:fkp"
msgid "Falkland Islands Pound"
-msgstr ""
+msgstr "フォークランド諸島・ポンド"
msgctxt "model:currency.currency,name:gbp"
msgid "Pound Sterling"
-msgstr ""
+msgstr "ポンド・スターリング (英ポンド)"
msgctxt "model:currency.currency,name:gel"
msgid "Lari"
-msgstr ""
+msgstr "ラリ"
msgctxt "model:currency.currency,name:ghs"
msgid "Ghana Cedi"
-msgstr ""
+msgstr "ガーナ・セディ"
msgctxt "model:currency.currency,name:gip"
msgid "Gibraltar Pound"
-msgstr ""
+msgstr "ジブラルタル・ポンド"
msgctxt "model:currency.currency,name:gmd"
msgid "Dalasi"
-msgstr ""
+msgstr "ダラシ"
msgctxt "model:currency.currency,name:gnf"
msgid "Guinea Franc"
-msgstr ""
+msgstr "ギニア・フラン"
msgctxt "model:currency.currency,name:gtq"
msgid "Quetzal"
-msgstr ""
+msgstr "ケツァル"
msgctxt "model:currency.currency,name:gyd"
msgid "Guyana Dollar"
-msgstr ""
+msgstr "ガイアナ・ドル"
msgctxt "model:currency.currency,name:hkd"
msgid "Hong Kong Dollar"
-msgstr ""
+msgstr "香港ドル"
msgctxt "model:currency.currency,name:hnl"
msgid "Lempira"
-msgstr ""
+msgstr "レンピーラ"
msgctxt "model:currency.currency,name:hrk"
msgid "Croatian Kuna"
-msgstr ""
+msgstr "クロアチア・クーナ"
msgctxt "model:currency.currency,name:htg"
msgid "Gourde"
-msgstr ""
+msgstr "グールド"
msgctxt "model:currency.currency,name:huf"
msgid "Forint"
-msgstr ""
+msgstr "フォリント"
msgctxt "model:currency.currency,name:idr"
msgid "Rupiah"
-msgstr ""
+msgstr "ルピア"
msgctxt "model:currency.currency,name:ils"
msgid "New Israeli Sheqel"
-msgstr ""
+msgstr "イスラエル・シェケル"
msgctxt "model:currency.currency,name:inr"
msgid "Indian Rupee"
-msgstr ""
+msgstr "インド・ルピー"
msgctxt "model:currency.currency,name:iqd"
msgid "Iraqi Dinar"
-msgstr ""
+msgstr "イラク・ディナール"
msgctxt "model:currency.currency,name:irr"
msgid "Iranian Rial"
-msgstr ""
+msgstr "イラン・リアル"
msgctxt "model:currency.currency,name:isk"
msgid "Iceland Krona"
-msgstr ""
+msgstr "アイスランド・クローナ"
msgctxt "model:currency.currency,name:jmd"
msgid "Jamaican Dollar"
-msgstr ""
+msgstr "ジャマイカ・ドル"
msgctxt "model:currency.currency,name:jod"
msgid "Jordanian Dinar"
-msgstr ""
+msgstr "ヨルダン・ディナール"
msgctxt "model:currency.currency,name:jpy"
msgid "Yen"
-msgstr ""
+msgstr "円"
msgctxt "model:currency.currency,name:kes"
msgid "Kenyan Shilling"
-msgstr ""
+msgstr "ケニア・シリング"
msgctxt "model:currency.currency,name:kgs"
msgid "Som"
-msgstr ""
+msgstr "ソム"
msgctxt "model:currency.currency,name:khr"
msgid "Riel"
-msgstr ""
+msgstr "リエル"
msgctxt "model:currency.currency,name:kmf"
msgid "Comoro Franc"
-msgstr ""
+msgstr "コモロ・フラン"
msgctxt "model:currency.currency,name:kpw"
msgid "North Korean Won"
-msgstr ""
+msgstr "北朝鮮ウォン"
msgctxt "model:currency.currency,name:krw"
msgid "Won"
-msgstr ""
+msgstr "ウォン"
msgctxt "model:currency.currency,name:kwd"
msgid "Kuwaiti Dinar"
-msgstr ""
+msgstr "クウェート・ディナール"
msgctxt "model:currency.currency,name:kyd"
msgid "Cayman Islands Dollar"
-msgstr ""
+msgstr "ケイマン諸島ドル"
msgctxt "model:currency.currency,name:kzt"
msgid "Tenge"
-msgstr ""
+msgstr "テンゲ"
msgctxt "model:currency.currency,name:lak"
msgid "Kip"
-msgstr ""
+msgstr "キープ"
msgctxt "model:currency.currency,name:lbp"
msgid "Lebanese Pound"
-msgstr ""
+msgstr "レバノン・ポンド"
msgctxt "model:currency.currency,name:lkr"
msgid "Sri Lanka Rupee"
-msgstr ""
+msgstr "スリランカ・ルピー"
msgctxt "model:currency.currency,name:lrd"
msgid "Liberian Dollar"
-msgstr ""
+msgstr "リベリア・ドル"
msgctxt "model:currency.currency,name:lsl"
msgid "Loti"
-msgstr ""
+msgstr "ロチ"
msgctxt "model:currency.currency,name:ltl"
msgid "Lithuanian Litas"
-msgstr ""
+msgstr "リトアニア・リタス"
msgctxt "model:currency.currency,name:lvl"
msgid "Latvian Lats"
-msgstr ""
+msgstr "ラトビア・ラッツ"
msgctxt "model:currency.currency,name:lyd"
msgid "Libyan Dinar"
-msgstr ""
+msgstr "リビア・ディナール"
msgctxt "model:currency.currency,name:mad"
msgid "Moroccan Dirham"
-msgstr ""
+msgstr "モロッコ・ディルハム"
msgctxt "model:currency.currency,name:mdl"
msgid "Moldovan Leu"
-msgstr ""
+msgstr "モルドバ・レイ"
msgctxt "model:currency.currency,name:mga"
msgid "Malagasy Ariary"
-msgstr ""
+msgstr "マダガスカル・アリアリ"
msgctxt "model:currency.currency,name:mkd"
msgid "Denar"
-msgstr ""
+msgstr "デナル"
msgctxt "model:currency.currency,name:mmk"
msgid "Kyat"
-msgstr ""
+msgstr "チャット"
msgctxt "model:currency.currency,name:mnt"
msgid "Tugrik"
-msgstr ""
+msgstr "トグログ"
msgctxt "model:currency.currency,name:mop"
msgid "Pataca"
-msgstr ""
+msgstr "パタカ"
msgctxt "model:currency.currency,name:mro"
msgid "Ouguiya"
-msgstr ""
+msgstr "ウギア"
msgctxt "model:currency.currency,name:mtl"
msgid "Maltese Lira"
-msgstr ""
+msgstr "マルタ島リラ"
msgctxt "model:currency.currency,name:mur"
msgid "Mauritius Rupee"
-msgstr ""
+msgstr "モーリシャス・ルピー"
msgctxt "model:currency.currency,name:mvr"
msgid "Rufiyaa"
-msgstr ""
+msgstr "ルフィア"
msgctxt "model:currency.currency,name:mwk"
msgid "Kwacha"
-msgstr ""
+msgstr "クワチャ"
msgctxt "model:currency.currency,name:mxn"
msgid "Mexican Peso"
-msgstr ""
+msgstr "メキシコ・ペソ"
msgctxt "model:currency.currency,name:mxv"
msgid "Mexican Unidad de Inversion (UDI)"
-msgstr ""
+msgstr "メキシコ・投資単位 (UDI)"
msgctxt "model:currency.currency,name:myr"
msgid "Malaysian Ringgit"
-msgstr ""
+msgstr "マレーシア・リンギ"
msgctxt "model:currency.currency,name:mzn"
msgid "Metical"
-msgstr ""
+msgstr "メティカル"
msgctxt "model:currency.currency,name:nad"
msgid "Namibia Dollar"
-msgstr ""
+msgstr "ナミビア・ドル"
msgctxt "model:currency.currency,name:ngn"
msgid "Naira"
-msgstr ""
+msgstr "ナイラ"
msgctxt "model:currency.currency,name:nio"
msgid "Cordoba Oro"
-msgstr ""
+msgstr "コルドバ・オロ"
msgctxt "model:currency.currency,name:nok"
msgid "Norwegian Krone"
-msgstr ""
+msgstr "ノルウェー・クローネ"
msgctxt "model:currency.currency,name:npr"
msgid "Nepalese Rupee"
-msgstr ""
+msgstr "ネパール・ルピー"
msgctxt "model:currency.currency,name:nzd"
msgid "New Zealand Dollar"
-msgstr ""
+msgstr "ニュージーランド・ドル"
msgctxt "model:currency.currency,name:omr"
msgid "Rial Omani"
-msgstr ""
+msgstr "オマーン・リアル"
msgctxt "model:currency.currency,name:pab"
msgid "Balboa"
-msgstr ""
+msgstr "バルボア"
msgctxt "model:currency.currency,name:pen"
msgid "Nuevo Sol"
-msgstr ""
+msgstr "ヌエボ・ソル"
msgctxt "model:currency.currency,name:pgk"
msgid "Kina"
-msgstr ""
+msgstr "キナ"
msgctxt "model:currency.currency,name:php"
msgid "Philippine Peso"
-msgstr ""
+msgstr "フィリピン・ペソ"
msgctxt "model:currency.currency,name:pkr"
msgid "Pakistan Rupee"
-msgstr ""
+msgstr "パキスタン・ルピー"
msgctxt "model:currency.currency,name:pln"
msgid "Zloty"
-msgstr ""
+msgstr "ズロチ"
msgctxt "model:currency.currency,name:pyg"
msgid "Guarani"
-msgstr ""
+msgstr "グアラニー"
msgctxt "model:currency.currency,name:qar"
msgid "Qatari Rial"
-msgstr ""
+msgstr "カタール・リアル"
msgctxt "model:currency.currency,name:ron"
msgid "New Leu"
-msgstr ""
+msgstr "レイ"
msgctxt "model:currency.currency,name:rsd"
msgid "Serbian Dinar"
-msgstr ""
+msgstr "セルビア・ディナール"
msgctxt "model:currency.currency,name:rub"
msgid "Russian Ruble"
-msgstr ""
+msgstr "ロシア・ルーブル"
msgctxt "model:currency.currency,name:rwf"
msgid "Rwanda Franc"
-msgstr ""
+msgstr "ルワンダ・フラン"
msgctxt "model:currency.currency,name:sar"
msgid "Saudi Riyal"
-msgstr ""
+msgstr "サウジ・リアル"
msgctxt "model:currency.currency,name:sbd"
msgid "Solomon Islands Dollar"
-msgstr ""
+msgstr "ソロモン諸島ドル"
msgctxt "model:currency.currency,name:scr"
msgid "Seychelles Rupee"
-msgstr ""
+msgstr "セイシェル・ルピー"
msgctxt "model:currency.currency,name:sdg"
msgid "Sudanese Pound"
-msgstr ""
+msgstr "スーダン・ポンド"
msgctxt "model:currency.currency,name:sek"
msgid "Swedish Krona"
-msgstr ""
+msgstr "スウェーデン・クローナ"
msgctxt "model:currency.currency,name:sgd"
msgid "Singapore Dollar"
-msgstr ""
+msgstr "シンガポール・ドル"
msgctxt "model:currency.currency,name:shp"
msgid "Saint Helena Pound"
-msgstr ""
+msgstr "セントヘレナ・ポンド"
msgctxt "model:currency.currency,name:sll"
msgid "Leone"
-msgstr ""
+msgstr "レオネ"
msgctxt "model:currency.currency,name:sos"
msgid "Somali Shilling"
-msgstr ""
+msgstr "ソマリア・シリング"
msgctxt "model:currency.currency,name:srd"
msgid "Surinam Dollar"
-msgstr ""
+msgstr "スリナム・ドル"
msgctxt "model:currency.currency,name:std"
msgid "Dobra"
-msgstr ""
+msgstr "ドブラ"
msgctxt "model:currency.currency,name:svc"
msgid "El Salvador Colon"
-msgstr ""
+msgstr "エルサルバドル・コロン"
msgctxt "model:currency.currency,name:syp"
msgid "Syrian Pound"
-msgstr ""
+msgstr "シリア・ポンド"
msgctxt "model:currency.currency,name:szl"
msgid "Lilangeni"
-msgstr ""
+msgstr "リランゲーニ"
msgctxt "model:currency.currency,name:thb"
msgid "Baht"
-msgstr ""
+msgstr "バーツ"
msgctxt "model:currency.currency,name:tjs"
msgid "Somoni"
-msgstr ""
+msgstr "ソモニ"
msgctxt "model:currency.currency,name:tmm"
msgid "Manat"
-msgstr ""
+msgstr "マナト"
msgctxt "model:currency.currency,name:tnd"
msgid "Tunisian Dinar"
-msgstr ""
+msgstr "チュニジア・ディナール"
msgctxt "model:currency.currency,name:top"
msgid "Pa'anga"
-msgstr ""
+msgstr "パアンガ"
msgctxt "model:currency.currency,name:try"
msgid "New Turkish Lira"
-msgstr ""
+msgstr "トルコ・リラ"
msgctxt "model:currency.currency,name:ttd"
msgid "Trinidad and Tobago Dollar"
-msgstr ""
+msgstr "トリニダード・トバゴ・ドル"
msgctxt "model:currency.currency,name:twd"
msgid "New Taiwan Dollar"
-msgstr ""
+msgstr "台湾ドル"
msgctxt "model:currency.currency,name:tzs"
msgid "Tanzanian Shilling"
-msgstr ""
+msgstr "タンザニア・シリング"
msgctxt "model:currency.currency,name:uah"
msgid "Hryvnia"
-msgstr ""
+msgstr "フリヴニャ"
msgctxt "model:currency.currency,name:ugx"
msgid "Uganda Shilling"
-msgstr ""
+msgstr "ウガンダ・シリング"
msgctxt "model:currency.currency,name:usd"
msgid "US Dollar"
-msgstr ""
+msgstr "米ドル"
msgctxt "model:currency.currency,name:usn"
msgid "US Dollar (Next day)"
-msgstr ""
+msgstr "米ドル (翌日)"
msgctxt "model:currency.currency,name:uss"
msgid "US Dollar (Same day)"
-msgstr ""
+msgstr "米ドル (同日)"
msgctxt "model:currency.currency,name:uyi"
msgid "Uruguay Peso en Unidades Indexadas"
-msgstr ""
+msgstr "ウルグアイ・ペソ en Unidades Indexadas"
msgctxt "model:currency.currency,name:uyu"
msgid "Peso Uruguayo"
-msgstr ""
+msgstr "ウルグアイ・ペソ"
msgctxt "model:currency.currency,name:uzs"
msgid "Uzbekistan Sum"
-msgstr ""
+msgstr "ウズベキスタン・スム"
msgctxt "model:currency.currency,name:vef"
msgid "Bolivar Fuerte"
-msgstr ""
+msgstr "ボリバル・フエルテ"
msgctxt "model:currency.currency,name:vnd"
msgid "Dong"
-msgstr ""
+msgstr "ドン"
msgctxt "model:currency.currency,name:vuv"
msgid "Vatu"
-msgstr ""
+msgstr "バツ"
msgctxt "model:currency.currency,name:wst"
msgid "Tala"
-msgstr ""
+msgstr "タラ"
msgctxt "model:currency.currency,name:xaf"
msgid "CFA Franc BEAC"
-msgstr ""
+msgstr "CFAフランBEAC"
msgctxt "model:currency.currency,name:xag"
msgid "Silver"
-msgstr ""
+msgstr "銀"
msgctxt "model:currency.currency,name:xau"
msgid "Gold"
-msgstr ""
+msgstr "金"
msgctxt "model:currency.currency,name:xba"
msgid "European Composite Unit (EURCO)"
-msgstr ""
+msgstr "欧州複合単位 (EURCO)"
msgctxt "model:currency.currency,name:xbb"
msgid "European Monetary Unit (E.M.U.-6)"
-msgstr ""
+msgstr "欧州通貨単位 (E.M.U.-6)"
msgctxt "model:currency.currency,name:xbc"
msgid "European Unit of Account 9 (E.U.A.-9)"
-msgstr ""
+msgstr "欧州計算単位-9 (E.U.A.-9)"
msgctxt "model:currency.currency,name:xbd"
msgid "European Unit of Account 17 (E.U.A.-17)"
-msgstr ""
+msgstr "欧州計算単位-17 (E.U.A.-17)"
msgctxt "model:currency.currency,name:xcd"
msgid "East Caribbean Dollar"
-msgstr ""
+msgstr "東カリブ・ドル"
msgctxt "model:currency.currency,name:xdr"
msgid "Special Drawing Rights"
-msgstr ""
+msgstr "特別引出権"
msgctxt "model:currency.currency,name:xfo"
msgid "Gold-Franc"
-msgstr ""
+msgstr "金フラン"
msgctxt "model:currency.currency,name:xfu"
msgid "UIC-Franc"
-msgstr ""
+msgstr "UICフラン"
msgctxt "model:currency.currency,name:xof"
msgid "CFA Franc BCEAO"
-msgstr ""
+msgstr "CFAフランBCEAO"
msgctxt "model:currency.currency,name:xpd"
msgid "Palladium"
-msgstr ""
+msgstr "パラジウム"
msgctxt "model:currency.currency,name:xpf"
msgid "CFP Franc"
-msgstr ""
+msgstr "CFPフラン"
msgctxt "model:currency.currency,name:xpt"
msgid "Platinum"
-msgstr ""
+msgstr "白金"
msgctxt "model:currency.currency,name:xts"
msgid "Code for testing purposes"
-msgstr ""
+msgstr "検査用符号"
msgctxt "model:currency.currency,name:xxx"
msgid "No currency"
-msgstr ""
+msgstr "通貨なし"
msgctxt "model:currency.currency,name:yer"
msgid "Yemeni Rial"
-msgstr ""
+msgstr "イエメン・リアル"
msgctxt "model:currency.currency,name:zar"
msgid "Rand"
-msgstr ""
+msgstr "ランド"
msgctxt "model:currency.currency,name:zmk"
msgid "Zambian Kwacha"
-msgstr ""
+msgstr "ザンビア・クワチャ"
msgctxt "model:currency.currency,name:zwd"
msgid "Zimbabwe Dollar"
-msgstr ""
+msgstr "ジンバブエ・ドル"
msgctxt "model:currency.currency.rate,name:"
msgid "Rate"
diff --git a/locale/ja_JP.po b/locale/lo_LA.po
similarity index 94%
copy from locale/ja_JP.po
copy to locale/lo_LA.po
index 14e7599..5b12578 100644
--- a/locale/ja_JP.po
+++ b/locale/lo_LA.po
@@ -11,7 +11,7 @@ msgid "The currency rate must greater than or equal to 0"
msgstr ""
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr ""
msgctxt "error:currency.currency:"
@@ -26,9 +26,10 @@ msgctxt "field:currency.currency,code:"
msgid "Code"
msgstr ""
+#, fuzzy
msgctxt "field:currency.currency,create_date:"
msgid "Create Date"
-msgstr ""
+msgstr "ສ້າງວັນທີ"
msgctxt "field:currency.currency,create_uid:"
msgid "Create User"
@@ -38,9 +39,10 @@ msgctxt "field:currency.currency,digits:"
msgid "Display Digits"
msgstr ""
+#, fuzzy
msgctxt "field:currency.currency,id:"
msgid "ID"
-msgstr ""
+msgstr "ເລກປະຈຳໂຕ"
msgctxt "field:currency.currency,mon_decimal_point:"
msgid "Decimal Separator"
@@ -66,9 +68,10 @@ msgctxt "field:currency.currency,n_sign_posn:"
msgid "Negative Sign Position"
msgstr ""
+#, fuzzy
msgctxt "field:currency.currency,name:"
msgid "Name"
-msgstr ""
+msgstr "ຊື່"
msgctxt "field:currency.currency,negative_sign:"
msgid "Negative Sign"
@@ -98,13 +101,15 @@ msgctxt "field:currency.currency,rate:"
msgid "Current rate"
msgstr ""
+#, fuzzy
msgctxt "field:currency.currency,rates:"
msgid "Rates"
-msgstr ""
+msgstr "ອັດຕາ"
+#, fuzzy
msgctxt "field:currency.currency,rec_name:"
msgid "Name"
-msgstr ""
+msgstr "ຊື່"
msgctxt "field:currency.currency,rounding:"
msgid "Rounding factor"
@@ -114,53 +119,57 @@ msgctxt "field:currency.currency,symbol:"
msgid "Symbol"
msgstr ""
+#, fuzzy
msgctxt "field:currency.currency,write_date:"
msgid "Write Date"
-msgstr ""
+msgstr "ຂຽນວັນທີ"
+#, fuzzy
msgctxt "field:currency.currency,write_uid:"
msgid "Write User"
-msgstr ""
+msgstr "ຂຽນຜູ້ໃຊ້ງານ"
msgctxt "field:currency.currency.rate,create_date:"
msgid "Create Date"
-msgstr ""
+msgstr "ສ້າງວັນທີ"
msgctxt "field:currency.currency.rate,create_uid:"
msgid "Create User"
msgstr ""
+#, fuzzy
msgctxt "field:currency.currency.rate,currency:"
msgid "Currency"
-msgstr ""
+msgstr "ສະກຸນເງິນ"
msgctxt "field:currency.currency.rate,date:"
msgid "Date"
-msgstr ""
+msgstr "ວັນທີ"
msgctxt "field:currency.currency.rate,id:"
msgid "ID"
-msgstr ""
+msgstr "ເລກປະຈຳໂຕ"
msgctxt "field:currency.currency.rate,rate:"
msgid "Rate"
-msgstr ""
+msgstr "ອັດຕາ"
msgctxt "field:currency.currency.rate,rec_name:"
msgid "Name"
-msgstr ""
+msgstr "ຊື່"
msgctxt "field:currency.currency.rate,write_date:"
msgid "Write Date"
-msgstr ""
+msgstr "ຂຽນວັນທີ"
msgctxt "field:currency.currency.rate,write_uid:"
msgid "Write User"
-msgstr ""
+msgstr "ຂຽນຜູ້ໃຊ້ງານ"
+#, fuzzy
msgctxt "model:currency.currency,name:"
msgid "Currency"
-msgstr ""
+msgstr "ສະກຸນເງິນ"
msgctxt "model:currency.currency,name:aed"
msgid "UAE Dirham"
@@ -892,44 +901,48 @@ msgstr ""
msgctxt "model:currency.currency.rate,name:"
msgid "Rate"
-msgstr ""
+msgstr "ອັດຕາ"
msgctxt "model:ir.action,name:act_currency_form"
msgid "Currencies"
-msgstr ""
+msgstr "ສະກຸນເງິນ"
msgctxt "model:ir.ui.menu,name:menu_currency"
msgid "Currency"
-msgstr ""
+msgstr "ສະກຸນເງິນ"
msgctxt "model:ir.ui.menu,name:menu_currency_form"
msgid "Currencies"
-msgstr ""
+msgstr "ສະກຸນເງິນ"
msgctxt "model:res.group,name:group_currency_admin"
msgid "Currency Administration"
msgstr ""
+#, fuzzy
msgctxt "view:currency.currency.rate:"
msgid "Rate"
-msgstr ""
+msgstr "ອັດຕາ"
+#, fuzzy
msgctxt "view:currency.currency.rate:"
msgid "Rates"
-msgstr ""
+msgstr "ອັດຕາ"
msgctxt "view:currency.currency:"
msgid "Currencies"
-msgstr ""
+msgstr "ສະກຸນເງິນ"
+#, fuzzy
msgctxt "view:currency.currency:"
msgid "Currency"
-msgstr ""
+msgstr "ສະກຸນເງິນ"
msgctxt "view:currency.currency:"
msgid "Formatting"
msgstr ""
+#, fuzzy
msgctxt "view:currency.currency:"
msgid "Rates"
-msgstr ""
+msgstr "ອັດຕາ"
diff --git a/locale/lt_LT.po b/locale/lt_LT.po
index 2c33413..0e3c831 100644
--- a/locale/lt_LT.po
+++ b/locale/lt_LT.po
@@ -11,7 +11,7 @@ msgid "The currency rate must greater than or equal to 0"
msgstr ""
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr ""
msgctxt "error:currency.currency:"
diff --git a/locale/nl_NL.po b/locale/nl_NL.po
index 2e0b1e4..ccd0c48 100644
--- a/locale/nl_NL.po
+++ b/locale/nl_NL.po
@@ -11,7 +11,7 @@ msgid "The currency rate must greater than or equal to 0"
msgstr ""
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr ""
msgctxt "error:currency.currency:"
@@ -105,9 +105,10 @@ msgctxt "field:currency.currency,rate:"
msgid "Current rate"
msgstr ""
+#, fuzzy
msgctxt "field:currency.currency,rates:"
msgid "Rates"
-msgstr ""
+msgstr "Verhouding"
#, fuzzy
msgctxt "field:currency.currency,rec_name:"
@@ -931,9 +932,10 @@ msgctxt "view:currency.currency.rate:"
msgid "Rate"
msgstr "Verhouding"
+#, fuzzy
msgctxt "view:currency.currency.rate:"
msgid "Rates"
-msgstr ""
+msgstr "Verhouding"
msgctxt "view:currency.currency:"
msgid "Currencies"
@@ -948,6 +950,7 @@ msgctxt "view:currency.currency:"
msgid "Formatting"
msgstr ""
+#, fuzzy
msgctxt "view:currency.currency:"
msgid "Rates"
-msgstr ""
+msgstr "Verhouding"
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index f70127d..af223f8 100644
--- a/locale/pt_BR.po
+++ b/locale/pt_BR.po
@@ -10,8 +10,9 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "A taxa de conversão deve ser maior ou igual a 0"
+#, fuzzy
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "Agrupamento \"%(grouping)s\" inválido para a moeda \"%(currency)s\"."
msgctxt "error:currency.currency:"
diff --git a/locale/ru_RU.po b/locale/ru_RU.po
index 917bdaa..99c4baa 100644
--- a/locale/ru_RU.po
+++ b/locale/ru_RU.po
@@ -10,8 +10,9 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "Курс валюты должен быть больше или равен 0"
+#, fuzzy
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "Некорректная группировка \"%(grouping)s\" по валюте \"%(currency)s\"."
msgctxt "error:currency.currency:"
diff --git a/locale/sl_SI.po b/locale/sl_SI.po
index b89ad08..5aa7c02 100644
--- a/locale/sl_SI.po
+++ b/locale/sl_SI.po
@@ -10,8 +10,9 @@ msgctxt "error:currency.currency.rate:"
msgid "The currency rate must greater than or equal to 0"
msgstr "Tečaj valute mora biti večji ali enak nič."
+#, fuzzy
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr "Neveljano združevanje \"%(grouping)s\" po valuti \"%(currency)s\"."
msgctxt "error:currency.currency:"
diff --git a/locale/ja_JP.po b/locale/zh_CN.po
similarity index 78%
copy from locale/ja_JP.po
copy to locale/zh_CN.po
index 14e7599..f783f85 100644
--- a/locale/ja_JP.po
+++ b/locale/zh_CN.po
@@ -11,7 +11,7 @@ msgid "The currency rate must greater than or equal to 0"
msgstr ""
msgctxt "error:currency.currency:"
-msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
+msgid "Invalid grouping \"%(grouping)s\" on currency \"%(currency)s\"."
msgstr ""
msgctxt "error:currency.currency:"
@@ -164,731 +164,731 @@ msgstr ""
msgctxt "model:currency.currency,name:aed"
msgid "UAE Dirham"
-msgstr ""
+msgstr "UAE 迪拉姆"
msgctxt "model:currency.currency,name:afn"
msgid "Afghani"
-msgstr ""
+msgstr "阿富汗尼"
msgctxt "model:currency.currency,name:all"
msgid "Lek"
-msgstr ""
+msgstr "列克"
msgctxt "model:currency.currency,name:amd"
msgid "Armenian Dram"
-msgstr ""
+msgstr "亚美尼亚达姆"
msgctxt "model:currency.currency,name:ang"
msgid "Netherlands Antillian Guilder"
-msgstr ""
+msgstr "荷属安的列斯盾"
msgctxt "model:currency.currency,name:aoa"
msgid "Kwanza"
-msgstr ""
+msgstr "宽扎"
msgctxt "model:currency.currency,name:ars"
msgid "Argentine Peso"
-msgstr ""
+msgstr "阿根廷比索"
msgctxt "model:currency.currency,name:aud"
msgid "Australian Dollar"
-msgstr ""
+msgstr "澳大利亚元"
msgctxt "model:currency.currency,name:awg"
msgid "Aruban Guilder"
-msgstr ""
+msgstr "阿鲁巴盾"
msgctxt "model:currency.currency,name:azn"
msgid "Azerbaijanian Manat"
-msgstr ""
+msgstr "阿塞拜疆马纳特"
msgctxt "model:currency.currency,name:bam"
msgid "Convertible Marks"
-msgstr ""
+msgstr "波斯尼亚和黑塞哥维那可兑换马克"
msgctxt "model:currency.currency,name:bbd"
msgid "Barbados Dollar"
-msgstr ""
+msgstr "巴巴多斯元"
msgctxt "model:currency.currency,name:bdt"
msgid "Taka"
-msgstr ""
+msgstr "塔卡"
msgctxt "model:currency.currency,name:bgn"
msgid "Bulgarian Lev"
-msgstr ""
+msgstr "保加利亚列弗"
msgctxt "model:currency.currency,name:bhd"
msgid "Bahraini Dinar"
-msgstr ""
+msgstr "巴林第纳尔"
msgctxt "model:currency.currency,name:bif"
msgid "Burundi Franc"
-msgstr ""
+msgstr "布隆迪法郎"
msgctxt "model:currency.currency,name:bmd"
msgid "Bermudian Dollar"
-msgstr ""
+msgstr "百慕大元"
msgctxt "model:currency.currency,name:bnd"
msgid "Brunei Dollar"
-msgstr ""
+msgstr "文莱元"
msgctxt "model:currency.currency,name:bob"
msgid "Boliviano"
-msgstr ""
+msgstr "玻利维亚比索"
msgctxt "model:currency.currency,name:bov"
msgid "Mvdol"
-msgstr ""
+msgstr "Mvdol"
msgctxt "model:currency.currency,name:brl"
msgid "Brazilian Real"
-msgstr ""
+msgstr "巴西瑞尔"
msgctxt "model:currency.currency,name:bsd"
msgid "Bahamian Dollar"
-msgstr ""
+msgstr "巴哈马元"
msgctxt "model:currency.currency,name:btn"
msgid "Ngultrum"
-msgstr ""
+msgstr "努尔特鲁姆"
msgctxt "model:currency.currency,name:bwp"
msgid "Pula"
-msgstr ""
+msgstr "普拉"
msgctxt "model:currency.currency,name:byr"
msgid "Belarussian Ruble"
-msgstr ""
+msgstr "白俄罗斯卢布"
msgctxt "model:currency.currency,name:bzd"
msgid "Belize Dollar"
-msgstr ""
+msgstr "伯利兹元"
msgctxt "model:currency.currency,name:cad"
msgid "Canadian Dollar"
-msgstr ""
+msgstr "加元"
msgctxt "model:currency.currency,name:cdf"
msgid "Congolese Franc"
-msgstr ""
+msgstr "刚果法郎"
msgctxt "model:currency.currency,name:che"
msgid "WIR Euro"
-msgstr ""
+msgstr "WIR 欧元"
msgctxt "model:currency.currency,name:chf"
msgid "Swiss Franc"
-msgstr ""
+msgstr "瑞士法郎"
msgctxt "model:currency.currency,name:chw"
msgid "WIR Franc"
-msgstr ""
+msgstr "WIR 法郎"
msgctxt "model:currency.currency,name:clf"
msgid "Unidades de fomento"
-msgstr ""
+msgstr "发展单位"
msgctxt "model:currency.currency,name:clp"
msgid "Chilean Peso"
-msgstr ""
+msgstr "智利比索"
msgctxt "model:currency.currency,name:cny"
msgid "Yuan Renminbi"
-msgstr ""
+msgstr "人民币元"
msgctxt "model:currency.currency,name:cop"
msgid "Colombian Peso"
-msgstr ""
+msgstr "哥伦比亚比索"
msgctxt "model:currency.currency,name:cou"
msgid "Unidad de Valor Real"
-msgstr ""
+msgstr "哥伦比亚unidad de valor real"
msgctxt "model:currency.currency,name:crc"
msgid "Costa Rican Colon"
-msgstr ""
+msgstr "哥斯达黎加科朗"
msgctxt "model:currency.currency,name:cup"
msgid "Cuban Peso"
-msgstr ""
+msgstr "古巴比索"
msgctxt "model:currency.currency,name:cve"
msgid "Cape Verde Escudo"
-msgstr ""
+msgstr "佛得角埃斯库多"
msgctxt "model:currency.currency,name:cyp"
msgid "Cyprus Pound"
-msgstr ""
+msgstr "塞浦路斯镑"
msgctxt "model:currency.currency,name:czk"
msgid "Czech Koruna"
-msgstr ""
+msgstr "捷克克朗"
msgctxt "model:currency.currency,name:djf"
msgid "Djibouti Franc"
-msgstr ""
+msgstr "吉布提法郎"
msgctxt "model:currency.currency,name:dkk"
msgid "Danish Krone"
-msgstr ""
+msgstr "丹麦克朗"
msgctxt "model:currency.currency,name:dop"
msgid "Dominican Peso"
-msgstr ""
+msgstr "多米尼加比索"
msgctxt "model:currency.currency,name:dzd"
msgid "Algerian Dinar"
-msgstr ""
+msgstr "阿尔及利亚第纳尔"
msgctxt "model:currency.currency,name:eek"
msgid "Kroon"
-msgstr ""
+msgstr "克罗姆"
msgctxt "model:currency.currency,name:egp"
msgid "Egyptian Pound"
-msgstr ""
+msgstr "埃及镑"
msgctxt "model:currency.currency,name:ern"
msgid "Nakfa"
-msgstr ""
+msgstr "纳克法"
msgctxt "model:currency.currency,name:etb"
msgid "Ethiopian Birr"
-msgstr ""
+msgstr "埃塞俄比亚比尔"
msgctxt "model:currency.currency,name:eur"
msgid "Euro"
-msgstr ""
+msgstr "欧元"
msgctxt "model:currency.currency,name:fjd"
msgid "Fiji Dollar"
-msgstr ""
+msgstr "斐济元"
msgctxt "model:currency.currency,name:fkp"
msgid "Falkland Islands Pound"
-msgstr ""
+msgstr "福克兰群岛镑"
msgctxt "model:currency.currency,name:gbp"
msgid "Pound Sterling"
-msgstr ""
+msgstr "英镑"
msgctxt "model:currency.currency,name:gel"
msgid "Lari"
-msgstr ""
+msgstr "拉里"
msgctxt "model:currency.currency,name:ghs"
msgid "Ghana Cedi"
-msgstr ""
+msgstr "加纳塞地"
msgctxt "model:currency.currency,name:gip"
msgid "Gibraltar Pound"
-msgstr ""
+msgstr "直布罗陀镑"
msgctxt "model:currency.currency,name:gmd"
msgid "Dalasi"
-msgstr ""
+msgstr "达拉西"
msgctxt "model:currency.currency,name:gnf"
msgid "Guinea Franc"
-msgstr ""
+msgstr "几内亚法郎"
msgctxt "model:currency.currency,name:gtq"
msgid "Quetzal"
-msgstr ""
+msgstr "格查尔"
msgctxt "model:currency.currency,name:gyd"
msgid "Guyana Dollar"
-msgstr ""
+msgstr "圭亚那元"
msgctxt "model:currency.currency,name:hkd"
msgid "Hong Kong Dollar"
-msgstr ""
+msgstr "香港元"
msgctxt "model:currency.currency,name:hnl"
msgid "Lempira"
-msgstr ""
+msgstr "伦皮拉"
msgctxt "model:currency.currency,name:hrk"
msgid "Croatian Kuna"
-msgstr ""
+msgstr "克罗地亚库纳"
msgctxt "model:currency.currency,name:htg"
msgid "Gourde"
-msgstr ""
+msgstr "古德"
msgctxt "model:currency.currency,name:huf"
msgid "Forint"
-msgstr ""
+msgstr "福林"
msgctxt "model:currency.currency,name:idr"
msgid "Rupiah"
-msgstr ""
+msgstr "卢比"
msgctxt "model:currency.currency,name:ils"
msgid "New Israeli Sheqel"
-msgstr ""
+msgstr "锡克尔"
msgctxt "model:currency.currency,name:inr"
msgid "Indian Rupee"
-msgstr ""
+msgstr "印度卢比"
msgctxt "model:currency.currency,name:iqd"
msgid "Iraqi Dinar"
-msgstr ""
+msgstr "伊拉克第纳尔"
msgctxt "model:currency.currency,name:irr"
msgid "Iranian Rial"
-msgstr ""
+msgstr "伊朗里亚尔"
msgctxt "model:currency.currency,name:isk"
msgid "Iceland Krona"
-msgstr ""
+msgstr "冰岛克朗"
msgctxt "model:currency.currency,name:jmd"
msgid "Jamaican Dollar"
-msgstr ""
+msgstr "牙买加元"
msgctxt "model:currency.currency,name:jod"
msgid "Jordanian Dinar"
-msgstr ""
+msgstr "约丹第纳尔"
msgctxt "model:currency.currency,name:jpy"
msgid "Yen"
-msgstr ""
+msgstr "日元"
msgctxt "model:currency.currency,name:kes"
msgid "Kenyan Shilling"
-msgstr ""
+msgstr "肯亚先令"
msgctxt "model:currency.currency,name:kgs"
msgid "Som"
-msgstr ""
+msgstr "索姆"
msgctxt "model:currency.currency,name:khr"
msgid "Riel"
-msgstr ""
+msgstr "瑞尔"
msgctxt "model:currency.currency,name:kmf"
msgid "Comoro Franc"
-msgstr ""
+msgstr "科摩罗法郎"
msgctxt "model:currency.currency,name:kpw"
msgid "North Korean Won"
-msgstr ""
+msgstr "北朝鲜圆"
msgctxt "model:currency.currency,name:krw"
msgid "Won"
-msgstr ""
+msgstr "圆"
msgctxt "model:currency.currency,name:kwd"
msgid "Kuwaiti Dinar"
-msgstr ""
+msgstr "科威特第纳尔"
msgctxt "model:currency.currency,name:kyd"
msgid "Cayman Islands Dollar"
-msgstr ""
+msgstr "开曼群岛元"
msgctxt "model:currency.currency,name:kzt"
msgid "Tenge"
-msgstr ""
+msgstr "坚戈"
msgctxt "model:currency.currency,name:lak"
msgid "Kip"
-msgstr ""
+msgstr "基普"
msgctxt "model:currency.currency,name:lbp"
msgid "Lebanese Pound"
-msgstr ""
+msgstr "黎巴嫩镑"
msgctxt "model:currency.currency,name:lkr"
msgid "Sri Lanka Rupee"
-msgstr ""
+msgstr "斯里兰卡卢比"
msgctxt "model:currency.currency,name:lrd"
msgid "Liberian Dollar"
-msgstr ""
+msgstr "利比利亚元"
msgctxt "model:currency.currency,name:lsl"
msgid "Loti"
-msgstr ""
+msgstr "罗提"
msgctxt "model:currency.currency,name:ltl"
msgid "Lithuanian Litas"
-msgstr ""
+msgstr "立陶宛"
msgctxt "model:currency.currency,name:lvl"
msgid "Latvian Lats"
-msgstr ""
+msgstr "拉脱维亚拉特"
msgctxt "model:currency.currency,name:lyd"
msgid "Libyan Dinar"
-msgstr ""
+msgstr "利比亚第纳尔"
msgctxt "model:currency.currency,name:mad"
msgid "Moroccan Dirham"
-msgstr ""
+msgstr "摩洛哥迪拉姆"
msgctxt "model:currency.currency,name:mdl"
msgid "Moldovan Leu"
-msgstr ""
+msgstr "摩尔多瓦列伊"
msgctxt "model:currency.currency,name:mga"
msgid "Malagasy Ariary"
-msgstr ""
+msgstr "马达加斯加阿里亚里"
msgctxt "model:currency.currency,name:mkd"
msgid "Denar"
-msgstr ""
+msgstr "第纳尔"
msgctxt "model:currency.currency,name:mmk"
msgid "Kyat"
-msgstr ""
+msgstr "缅元"
msgctxt "model:currency.currency,name:mnt"
msgid "Tugrik"
-msgstr ""
+msgstr "图格里克"
msgctxt "model:currency.currency,name:mop"
msgid "Pataca"
-msgstr ""
+msgstr "澳门元"
msgctxt "model:currency.currency,name:mro"
msgid "Ouguiya"
-msgstr ""
+msgstr "乌吉亚"
msgctxt "model:currency.currency,name:mtl"
msgid "Maltese Lira"
-msgstr ""
+msgstr "马耳他里拉"
msgctxt "model:currency.currency,name:mur"
msgid "Mauritius Rupee"
-msgstr ""
+msgstr "毛里求斯卢比"
msgctxt "model:currency.currency,name:mvr"
msgid "Rufiyaa"
-msgstr ""
+msgstr "卢菲亚"
msgctxt "model:currency.currency,name:mwk"
msgid "Kwacha"
-msgstr ""
+msgstr "克瓦查"
msgctxt "model:currency.currency,name:mxn"
msgid "Mexican Peso"
-msgstr ""
+msgstr "墨西哥比索"
msgctxt "model:currency.currency,name:mxv"
msgid "Mexican Unidad de Inversion (UDI)"
-msgstr ""
+msgstr "墨西哥 Unidad de Inversion (UDI)"
msgctxt "model:currency.currency,name:myr"
msgid "Malaysian Ringgit"
-msgstr ""
+msgstr "马来西亚林吉特"
msgctxt "model:currency.currency,name:mzn"
msgid "Metical"
-msgstr ""
+msgstr "梅蒂卡尔"
msgctxt "model:currency.currency,name:nad"
msgid "Namibia Dollar"
-msgstr ""
+msgstr "纳米比亚元"
msgctxt "model:currency.currency,name:ngn"
msgid "Naira"
-msgstr ""
+msgstr "奈拉"
msgctxt "model:currency.currency,name:nio"
msgid "Cordoba Oro"
-msgstr ""
+msgstr "金科多巴"
msgctxt "model:currency.currency,name:nok"
msgid "Norwegian Krone"
-msgstr ""
+msgstr "挪威克朗"
msgctxt "model:currency.currency,name:npr"
msgid "Nepalese Rupee"
-msgstr ""
+msgstr "尼泊尔卢比"
msgctxt "model:currency.currency,name:nzd"
msgid "New Zealand Dollar"
-msgstr ""
+msgstr "新西兰元"
msgctxt "model:currency.currency,name:omr"
msgid "Rial Omani"
-msgstr ""
+msgstr "阿曼里亚尔"
msgctxt "model:currency.currency,name:pab"
msgid "Balboa"
-msgstr ""
+msgstr "巴波亚"
msgctxt "model:currency.currency,name:pen"
msgid "Nuevo Sol"
-msgstr ""
+msgstr "索尔"
msgctxt "model:currency.currency,name:pgk"
msgid "Kina"
-msgstr ""
+msgstr "基那"
msgctxt "model:currency.currency,name:php"
msgid "Philippine Peso"
-msgstr ""
+msgstr "菲律宾比索"
msgctxt "model:currency.currency,name:pkr"
msgid "Pakistan Rupee"
-msgstr ""
+msgstr "巴基斯坦卢比"
msgctxt "model:currency.currency,name:pln"
msgid "Zloty"
-msgstr ""
+msgstr "兹罗提"
msgctxt "model:currency.currency,name:pyg"
msgid "Guarani"
-msgstr ""
+msgstr "瓜拉尼"
msgctxt "model:currency.currency,name:qar"
msgid "Qatari Rial"
-msgstr ""
+msgstr "卡塔尔里亚尔"
msgctxt "model:currency.currency,name:ron"
msgid "New Leu"
-msgstr ""
+msgstr "新列伊"
msgctxt "model:currency.currency,name:rsd"
msgid "Serbian Dinar"
-msgstr ""
+msgstr "塞尔维亚第纳尔"
msgctxt "model:currency.currency,name:rub"
msgid "Russian Ruble"
-msgstr ""
+msgstr "俄罗斯卢布"
msgctxt "model:currency.currency,name:rwf"
msgid "Rwanda Franc"
-msgstr ""
+msgstr "卢旺达法郎"
msgctxt "model:currency.currency,name:sar"
msgid "Saudi Riyal"
-msgstr ""
+msgstr "沙特里亚尔"
msgctxt "model:currency.currency,name:sbd"
msgid "Solomon Islands Dollar"
-msgstr ""
+msgstr "所罗门群岛元"
msgctxt "model:currency.currency,name:scr"
msgid "Seychelles Rupee"
-msgstr ""
+msgstr "塞舌尔卢比"
msgctxt "model:currency.currency,name:sdg"
msgid "Sudanese Pound"
-msgstr ""
+msgstr "苏丹镑"
msgctxt "model:currency.currency,name:sek"
msgid "Swedish Krona"
-msgstr ""
+msgstr "瑞典克朗"
msgctxt "model:currency.currency,name:sgd"
msgid "Singapore Dollar"
-msgstr ""
+msgstr "新加坡元"
msgctxt "model:currency.currency,name:shp"
msgid "Saint Helena Pound"
-msgstr ""
+msgstr "圣赫勒拿镑"
msgctxt "model:currency.currency,name:sll"
msgid "Leone"
-msgstr ""
+msgstr "利昂"
msgctxt "model:currency.currency,name:sos"
msgid "Somali Shilling"
-msgstr ""
+msgstr "索马里先令"
msgctxt "model:currency.currency,name:srd"
msgid "Surinam Dollar"
-msgstr ""
+msgstr "苏里南元"
msgctxt "model:currency.currency,name:std"
msgid "Dobra"
-msgstr ""
+msgstr "多布拉"
msgctxt "model:currency.currency,name:svc"
msgid "El Salvador Colon"
-msgstr ""
+msgstr "萨尔瓦多科朗"
msgctxt "model:currency.currency,name:syp"
msgid "Syrian Pound"
-msgstr ""
+msgstr "叙利亚镑"
msgctxt "model:currency.currency,name:szl"
msgid "Lilangeni"
-msgstr ""
+msgstr "里兰吉尼"
msgctxt "model:currency.currency,name:thb"
msgid "Baht"
-msgstr ""
+msgstr "铢"
msgctxt "model:currency.currency,name:tjs"
msgid "Somoni"
-msgstr ""
+msgstr "索莫尼"
msgctxt "model:currency.currency,name:tmm"
msgid "Manat"
-msgstr ""
+msgstr "马纳特"
msgctxt "model:currency.currency,name:tnd"
msgid "Tunisian Dinar"
-msgstr ""
+msgstr "突尼斯第纳尔"
msgctxt "model:currency.currency,name:top"
msgid "Pa'anga"
-msgstr ""
+msgstr "邦加"
msgctxt "model:currency.currency,name:try"
msgid "New Turkish Lira"
-msgstr ""
+msgstr "新土耳其里拉"
msgctxt "model:currency.currency,name:ttd"
msgid "Trinidad and Tobago Dollar"
-msgstr ""
+msgstr "特立尼达和多巴哥元"
msgctxt "model:currency.currency,name:twd"
msgid "New Taiwan Dollar"
-msgstr ""
+msgstr "新台湾元"
msgctxt "model:currency.currency,name:tzs"
msgid "Tanzanian Shilling"
-msgstr ""
+msgstr "坦桑尼亚先令"
msgctxt "model:currency.currency,name:uah"
msgid "Hryvnia"
-msgstr ""
+msgstr "格里夫尼亚"
msgctxt "model:currency.currency,name:ugx"
msgid "Uganda Shilling"
-msgstr ""
+msgstr "乌干达先令"
msgctxt "model:currency.currency,name:usd"
msgid "US Dollar"
-msgstr ""
+msgstr "美元"
msgctxt "model:currency.currency,name:usn"
msgid "US Dollar (Next day)"
-msgstr ""
+msgstr "美元 (次日)"
msgctxt "model:currency.currency,name:uss"
msgid "US Dollar (Same day)"
-msgstr ""
+msgstr "美元 (同日)"
msgctxt "model:currency.currency,name:uyi"
msgid "Uruguay Peso en Unidades Indexadas"
-msgstr ""
+msgstr "Uruguay Peso en Unidades Indexadas"
msgctxt "model:currency.currency,name:uyu"
msgid "Peso Uruguayo"
-msgstr ""
+msgstr "乌拉圭比索"
msgctxt "model:currency.currency,name:uzs"
msgid "Uzbekistan Sum"
-msgstr ""
+msgstr "乌兹别克斯坦苏姆"
msgctxt "model:currency.currency,name:vef"
msgid "Bolivar Fuerte"
-msgstr ""
+msgstr "强势博利瓦"
msgctxt "model:currency.currency,name:vnd"
msgid "Dong"
-msgstr ""
+msgstr "盾"
msgctxt "model:currency.currency,name:vuv"
msgid "Vatu"
-msgstr ""
+msgstr "瓦图"
msgctxt "model:currency.currency,name:wst"
msgid "Tala"
-msgstr ""
+msgstr "塔拉"
msgctxt "model:currency.currency,name:xaf"
msgid "CFA Franc BEAC"
-msgstr ""
+msgstr "CFA 法郎 BEAC"
msgctxt "model:currency.currency,name:xag"
msgid "Silver"
-msgstr ""
+msgstr "银"
msgctxt "model:currency.currency,name:xau"
msgid "Gold"
-msgstr ""
+msgstr "黄金"
msgctxt "model:currency.currency,name:xba"
msgid "European Composite Unit (EURCO)"
-msgstr ""
+msgstr "欧洲混合单位 (EURCO)"
msgctxt "model:currency.currency,name:xbb"
msgid "European Monetary Unit (E.M.U.-6)"
-msgstr ""
+msgstr "欧洲货币单位 (E.M.U.-6)"
msgctxt "model:currency.currency,name:xbc"
msgid "European Unit of Account 9 (E.U.A.-9)"
-msgstr ""
+msgstr "欧洲账户9单位(E.U.A.-9)"
msgctxt "model:currency.currency,name:xbd"
msgid "European Unit of Account 17 (E.U.A.-17)"
-msgstr ""
+msgstr "欧洲账户17单位(E.U.A.-17)"
msgctxt "model:currency.currency,name:xcd"
msgid "East Caribbean Dollar"
-msgstr ""
+msgstr "东加勒比元"
msgctxt "model:currency.currency,name:xdr"
msgid "Special Drawing Rights"
-msgstr ""
+msgstr "特别提款权"
msgctxt "model:currency.currency,name:xfo"
msgid "Gold-Franc"
-msgstr ""
+msgstr "黄金法郎"
msgctxt "model:currency.currency,name:xfu"
msgid "UIC-Franc"
-msgstr ""
+msgstr "UIC 法郎"
msgctxt "model:currency.currency,name:xof"
msgid "CFA Franc BCEAO"
-msgstr ""
+msgstr "CFA 法郎 BCEAO"
msgctxt "model:currency.currency,name:xpd"
msgid "Palladium"
-msgstr ""
+msgstr "钯"
msgctxt "model:currency.currency,name:xpf"
msgid "CFP Franc"
-msgstr ""
+msgstr "CFP 法郎"
msgctxt "model:currency.currency,name:xpt"
msgid "Platinum"
-msgstr ""
+msgstr "铂白金"
msgctxt "model:currency.currency,name:xts"
msgid "Code for testing purposes"
-msgstr ""
+msgstr "为测试特别保留的代码"
msgctxt "model:currency.currency,name:xxx"
msgid "No currency"
-msgstr ""
+msgstr "未包括的交易货币代码指定为:"
msgctxt "model:currency.currency,name:yer"
msgid "Yemeni Rial"
-msgstr ""
+msgstr "也门里亚尔"
msgctxt "model:currency.currency,name:zar"
msgid "Rand"
-msgstr ""
+msgstr "兰特"
msgctxt "model:currency.currency,name:zmk"
msgid "Zambian Kwacha"
-msgstr ""
+msgstr "赞比亚克瓦查"
msgctxt "model:currency.currency,name:zwd"
msgid "Zimbabwe Dollar"
-msgstr ""
+msgstr "津巴布韦元"
msgctxt "model:currency.currency.rate,name:"
msgid "Rate"
diff --git a/setup.py b/setup.py
index 519e0b7..ea8379c 100644
--- a/setup.py
+++ b/setup.py
@@ -5,11 +5,17 @@
from setuptools import setup
import re
import os
-import ConfigParser
+import io
+try:
+ from configparser import ConfigParser
+except ImportError:
+ from ConfigParser import ConfigParser
def read(fname):
- return open(os.path.join(os.path.dirname(__file__), fname)).read()
+ return io.open(
+ os.path.join(os.path.dirname(__file__), fname),
+ 'r', encoding='utf-8').read()
def get_require_version(name):
@@ -21,7 +27,7 @@ def get_require_version(name):
major_version, minor_version + 1)
return require
-config = ConfigParser.ConfigParser()
+config = ConfigParser()
config.readfp(open('tryton.cfg'))
info = dict(config.items('tryton'))
for key in ('depends', 'extras_depend', 'xml'):
@@ -43,7 +49,7 @@ if minor_version % 2:
requires = []
for dep in info.get('depends', []):
- if not re.match(r'(ir|res|webdav)(\W|$)', dep):
+ if not re.match(r'(ir|res)(\W|$)', dep):
requires.append(get_require_version('trytond_%s' % dep))
requires.append(get_require_version('trytond'))
@@ -76,6 +82,7 @@ setup(name=name,
'License :: OSI Approved :: GNU General Public License (GPL)',
'Natural Language :: Bulgarian',
'Natural Language :: Catalan',
+ 'Natural Language :: Chinese (Simplified)',
'Natural Language :: Czech',
'Natural Language :: Dutch',
'Natural Language :: English',
@@ -89,6 +96,9 @@ setup(name=name,
'Natural Language :: Spanish',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
+ 'Programming Language :: Python :: 3.3',
+ 'Programming Language :: Python :: 3.4',
+ 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Office/Business',
@@ -103,4 +113,5 @@ setup(name=name,
""",
test_suite='tests',
test_loader='trytond.test_loader:Loader',
+ use_2to3=True,
)
diff --git a/tests/__init__.py b/tests/__init__.py
index c027384..df9b5c0 100644
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -1,6 +1,10 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
-from .test_currency import suite
+try:
+ from trytond.modules.currency.tests.test_currency import (
+ suite, create_currency, add_currency_rate)
+except ImportError:
+ from .test_currency import suite, create_currency, add_currency_rate
-__all__ = ['suite']
+__all__ = ['suite', 'create_currency', 'add_currency_rate']
diff --git a/tests/test_currency.py b/tests/test_currency.py
index d648f97..4dfcb6e 100644
--- a/tests/test_currency.py
+++ b/tests/test_currency.py
@@ -3,243 +3,234 @@
import unittest
from decimal import Decimal
import trytond.tests.test_tryton
-from trytond.tests.test_tryton import ModuleTestCase
-from trytond.tests.test_tryton import POOL, DB_NAME, USER, CONTEXT
-from trytond.transaction import Transaction
+from trytond.tests.test_tryton import ModuleTestCase, with_transaction
+from trytond.pool import Pool
+
+
+def create_currency(name):
+ pool = Pool()
+ Currency = pool.get('currency.currency')
+ return Currency.create([{
+ 'name': name,
+ 'symbol': name,
+ 'code': name,
+ }])[0]
+
+
+def add_currency_rate(currency, rate):
+ pool = Pool()
+ Rate = pool.get('currency.currency.rate')
+ return Rate.create([{
+ 'currency': currency.id,
+ 'rate': rate,
+ }])[0]
class CurrencyTestCase(ModuleTestCase):
'Test Currency module'
module = 'currency'
- def setUp(self):
- super(CurrencyTestCase, self).setUp()
- self.rate = POOL.get('currency.currency.rate')
- self.currency = POOL.get('currency.currency')
- self.date = POOL.get('ir.date')
-
def get_currency(self, code):
return self.currency.search([
('code', '=', code),
], limit=1)[0]
- def test0010currencies(self):
+ @with_transaction()
+ def test_currencies(self):
'Create currencies'
+ cu1 = create_currency('cu1')
+ cu2 = create_currency('cu2')
+ self.assert_(cu1)
+ self.assert_(cu2)
- with Transaction().start(DB_NAME, USER,
- context=CONTEXT) as transaction:
- cu1, cu2 = self.currency.create([{
- 'name': 'cu1',
- 'symbol': 'cu1',
- 'code': 'cu1'
- }, {
- 'name': 'cu2',
- 'symbol': 'cu2',
- 'code': 'cu2'
- }])
- self.assert_(cu1)
- self.assert_(cu2)
-
- transaction.cursor.commit()
-
- def test0020mon_grouping(self):
+ @with_transaction()
+ def test_mon_grouping(self):
'Check grouping'
- with Transaction().start(DB_NAME, USER, context=CONTEXT):
- cu1 = self.get_currency('cu1')
+ pool = Pool()
+ Currency = pool.get('currency.currency')
+ cu1 = create_currency('cu1')
- self.assertRaises(Exception, self.currency.write, [cu1],
- {'mon_grouping': ''})
+ self.assertRaises(Exception, Currency.write, [cu1],
+ {'mon_grouping': ''})
- self.assertRaises(Exception, self.currency.write, [cu1],
- {'mon_grouping': '[a]'})
+ self.assertRaises(Exception, Currency.write, [cu1],
+ {'mon_grouping': '[a]'})
- self.assertRaises(Exception, self.currency.write, [cu1],
- {'mon_grouping': '[1,"a"]'})
+ self.assertRaises(Exception, Currency.write, [cu1],
+ {'mon_grouping': '[1,"a"]'})
- self.assertRaises(Exception, self.currency.write, [cu1],
- {'mon_grouping': '[1,"1"]'})
+ self.assertRaises(Exception, Currency.write, [cu1],
+ {'mon_grouping': '[1,"1"]'})
- def test0030rate(self):
+ @with_transaction()
+ def test_rate(self):
'Create rates'
- with Transaction().start(DB_NAME, USER,
- context=CONTEXT) as transaction:
- cu1 = self.get_currency('cu1')
- cu2 = self.get_currency('cu2')
-
- rate1, rate2 = self.rate.create([{
- 'rate': Decimal("1.3"),
- 'currency': cu1.id,
- }, {
- 'rate': Decimal("1"),
- 'currency': cu2.id,
- }])
- self.assert_(rate1)
- self.assert_(rate2)
-
- self.assertEqual(cu1.rate, Decimal("1.3"))
-
- transaction.cursor.commit()
-
- def test0040rate_unicity(self):
+ cu1 = create_currency('cu1')
+ cu2 = create_currency('cu2')
+
+ rate1 = add_currency_rate(cu1, Decimal("1.3"))
+ rate2 = add_currency_rate(cu2, Decimal("1"))
+ self.assert_(rate1)
+ self.assert_(rate2)
+
+ self.assertEqual(cu1.rate, Decimal("1.3"))
+
+ @with_transaction()
+ def test_rate_unicity(self):
'Rate unicity'
- with Transaction().start(DB_NAME, USER,
- context=CONTEXT) as transaction:
- today = self.date.today()
-
- cu, = self.currency.create([{
- 'name': 'cu',
- 'symbol': 'cu',
- 'code': 'cu'
- }])
-
- self.rate.create([{
- 'rate': Decimal("1.3"),
- 'currency': cu.id,
- 'date': today,
- }])
-
- self.assertRaises(Exception, self.rate.create, {
+ pool = Pool()
+ Rate = pool.get('currency.currency.rate')
+ Date = pool.get('ir.date')
+ today = Date.today()
+
+ cu = create_currency('cu')
+
+ Rate.create([{
'rate': Decimal("1.3"),
'currency': cu.id,
'date': today,
- })
+ }])
- transaction.cursor.rollback()
+ self.assertRaises(Exception, Rate.create, {
+ 'rate': Decimal("1.3"),
+ 'currency': cu.id,
+ 'date': today,
+ })
- def test0050compute_simple(self):
+ @with_transaction()
+ def test_compute_simple(self):
'Simple conversion'
- with Transaction().start(DB_NAME, USER,
- context=CONTEXT) as transaction:
- cu1 = self.get_currency('cu1')
- cu2 = self.get_currency('cu2')
-
- amount = Decimal("10")
- expected = Decimal("13")
- converted_amount = self.currency.compute(
- cu2, amount, cu1, True)
- self.assertEqual(converted_amount, expected)
-
- transaction.cursor.commit()
-
- def test0060compute_nonfinite(self):
+ pool = Pool()
+ Currency = pool.get('currency.currency')
+ cu1 = create_currency('cu1')
+ cu2 = create_currency('cu2')
+ add_currency_rate(cu1, Decimal("1.3"))
+ add_currency_rate(cu2, Decimal("1"))
+
+ amount = Decimal("10")
+ expected = Decimal("13")
+ converted_amount = Currency.compute(
+ cu2, amount, cu1, True)
+ self.assertEqual(converted_amount, expected)
+
+ @with_transaction()
+ def test_compute_nonfinite(self):
'Conversion with rounding on non-finite decimal representation'
- with Transaction().start(DB_NAME, USER, context=CONTEXT):
- cu1 = self.get_currency('cu1')
- cu2 = self.get_currency('cu2')
-
- amount = Decimal("10")
- expected = Decimal("7.69")
- converted_amount = self.currency.compute(
- cu1, amount, cu2, True)
- self.assertEqual(converted_amount, expected)
-
- def test0070compute_nonfinite_worounding(self):
+ pool = Pool()
+ Currency = pool.get('currency.currency')
+ cu1 = create_currency('cu1')
+ cu2 = create_currency('cu2')
+ add_currency_rate(cu1, Decimal("1.3"))
+ add_currency_rate(cu2, Decimal("1"))
+
+ amount = Decimal("10")
+ expected = Decimal("7.69")
+ converted_amount = Currency.compute(
+ cu1, amount, cu2, True)
+ self.assertEqual(converted_amount, expected)
+
+ @with_transaction()
+ def test_compute_nonfinite_worounding(self):
'Same without rounding'
- with Transaction().start(DB_NAME, USER, context=CONTEXT):
- cu1 = self.get_currency('cu1')
- cu2 = self.get_currency('cu2')
-
- amount = Decimal("10")
- expected = Decimal('7.692307692307692307692307692')
- converted_amount = self.currency.compute(
- cu1, amount, cu2, False)
- self.assertEqual(converted_amount, expected)
-
- def test0080compute_same(self):
+ pool = Pool()
+ Currency = pool.get('currency.currency')
+ cu1 = create_currency('cu1')
+ cu2 = create_currency('cu2')
+ add_currency_rate(cu1, Decimal("1.3"))
+ add_currency_rate(cu2, Decimal("1"))
+
+ amount = Decimal("10")
+ expected = Decimal('7.692307692307692307692307692')
+ converted_amount = Currency.compute(
+ cu1, amount, cu2, False)
+ self.assertEqual(converted_amount, expected)
+
+ @with_transaction()
+ def test_compute_same(self):
'Conversion to the same currency'
- with Transaction().start(DB_NAME, USER, context=CONTEXT):
- cu1 = self.get_currency('cu1')
-
- amount = Decimal("10")
- converted_amount = self.currency.compute(
- cu1, amount, cu1, True)
- self.assertEqual(converted_amount, amount)
-
- def test0090compute_zeroamount(self):
+ pool = Pool()
+ Currency = pool.get('currency.currency')
+ cu1 = create_currency('cu1')
+ add_currency_rate(cu1, Decimal("1.3"))
+
+ amount = Decimal("10")
+ converted_amount = Currency.compute(
+ cu1, amount, cu1, True)
+ self.assertEqual(converted_amount, amount)
+
+ @with_transaction()
+ def test_compute_zeroamount(self):
'Conversion with zero amount'
- with Transaction().start(DB_NAME, USER, context=CONTEXT):
- cu1 = self.get_currency('cu1')
- cu2 = self.get_currency('cu2')
-
- expected = Decimal("0")
- converted_amount = self.currency.compute(
- cu1, Decimal("0"), cu2, True)
- self.assertEqual(converted_amount, expected)
-
- def test0100compute_zerorate(self):
+ pool = Pool()
+ Currency = pool.get('currency.currency')
+ cu1 = create_currency('cu1')
+ cu2 = create_currency('cu2')
+ add_currency_rate(cu1, Decimal("1.3"))
+ add_currency_rate(cu2, Decimal("1"))
+
+ expected = Decimal("0")
+ converted_amount = Currency.compute(
+ cu1, Decimal("0"), cu2, True)
+ self.assertEqual(converted_amount, expected)
+
+ @with_transaction()
+ def test_compute_zerorate(self):
'Conversion with zero rate'
- with Transaction().start(DB_NAME, USER,
- context=CONTEXT) as transaction:
- cu1 = self.get_currency('cu1')
- cu2 = self.get_currency('cu2')
-
- rates = self.rate.search([
- ('currency', '=', cu1.id),
- ], 0, 1, None)
- self.rate.write(rates, {
- 'rate': Decimal("0"),
- })
- amount = Decimal("10")
- self.assertRaises(Exception, self.currency.compute,
- cu1, amount, cu2, True)
- self.assertRaises(Exception, self.currency.compute,
- cu2, amount, cu1, True)
-
- transaction.cursor.rollback()
-
- def test0110compute_missingrate(self):
+ pool = Pool()
+ Currency = pool.get('currency.currency')
+ cu1 = create_currency('cu1')
+ cu2 = create_currency('cu2')
+
+ add_currency_rate(cu1, Decimal('0'))
+ add_currency_rate(cu2, Decimal('1'))
+
+ amount = Decimal("10")
+ self.assertRaises(Exception, Currency.compute,
+ cu1, amount, cu2, True)
+ self.assertRaises(Exception, Currency.compute,
+ cu2, amount, cu1, True)
+
+ @with_transaction()
+ def test_compute_missingrate(self):
'Conversion with missing rate'
- with Transaction().start(DB_NAME, USER,
- context=CONTEXT) as transaction:
- cu1 = self.get_currency('cu1')
- cu3, = self.currency.create([{
- 'name': 'cu3',
- 'symbol': 'cu3',
- 'code': 'cu3'
- }])
-
- amount = Decimal("10")
- self.assertRaises(Exception, self.currency.compute,
- cu3, amount, cu1, True)
- self.assertRaises(Exception, self.currency.compute,
- cu1, amount, cu3, True)
-
- transaction.cursor.rollback()
-
- def test0120compute_bothmissingrate(self):
+ pool = Pool()
+ Currency = pool.get('currency.currency')
+ cu1 = create_currency('cu1')
+ cu3 = create_currency('cu3')
+ add_currency_rate(cu1, Decimal("1.3"))
+
+ amount = Decimal("10")
+ self.assertRaises(Exception, Currency.compute,
+ cu3, amount, cu1, True)
+ self.assertRaises(Exception, Currency.compute,
+ cu1, amount, cu3, True)
+
+ @with_transaction()
+ def test_compute_bothmissingrate(self):
'Conversion with both missing rate'
- with Transaction().start(DB_NAME, USER,
- context=CONTEXT) as transaction:
- cu3, cu4 = self.currency.create([{
- 'name': 'cu3',
- 'symbol': 'cu3',
- 'code': 'cu3'
- }, {
- 'name': 'cu4',
- 'symbol': 'cu4',
- 'code': 'cu4'
- }])
-
- amount = Decimal("10")
- self.assertRaises(Exception, self.currency.compute,
- cu3, amount, cu4, True)
-
- transaction.cursor.rollback()
-
- def test0130delete_cascade(self):
+ pool = Pool()
+ Currency = pool.get('currency.currency')
+ cu3 = create_currency('cu3')
+ cu4 = create_currency('cu4')
+
+ amount = Decimal("10")
+ self.assertRaises(Exception, Currency.compute,
+ cu3, amount, cu4, True)
+
+ @with_transaction()
+ def test_delete_cascade(self):
'Test deletion of currency deletes rates'
- with Transaction().start(DB_NAME, USER,
- context=CONTEXT) as transaction:
- codes = ['cu%s' % (i + 1) for i in range(2)]
- currencies = [self.get_currency(i) for i in codes]
- self.currency.delete(currencies)
-
- rates = self.rate.search([(
- 'currency', 'in', map(int, currencies),
- )], 0, None, None)
- self.assertFalse(rates)
-
- transaction.cursor.rollback()
+ pool = Pool()
+ Currency = pool.get('currency.currency')
+ Rate = pool.get('currency.currency.rate')
+ currencies = [create_currency('cu%s' % i) for i in range(3)]
+ [add_currency_rate(c, Decimal('1')) for c in currencies]
+ Currency.delete(currencies)
+
+ rates = Rate.search([(
+ 'currency', 'in', map(int, currencies),
+ )], 0, None, None)
+ self.assertFalse(rates)
def suite():
diff --git a/tryton.cfg b/tryton.cfg
index d8244f3..f98697a 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
[tryton]
-version=3.8.0
+version=4.0.0
depends:
ir
res
diff --git a/trytond_currency.egg-info/PKG-INFO b/trytond_currency.egg-info/PKG-INFO
index 8e5e1c4..0aa111c 100644
--- a/trytond_currency.egg-info/PKG-INFO
+++ b/trytond_currency.egg-info/PKG-INFO
@@ -1,12 +1,12 @@
Metadata-Version: 1.1
Name: trytond-currency
-Version: 3.8.0
+Version: 4.0.0
Summary: Tryton module with currencies
Home-page: http://www.tryton.org/
Author: Tryton
Author-email: issue_tracker at tryton.org
License: GPL-3
-Download-URL: http://downloads.tryton.org/3.8/
+Download-URL: http://downloads.tryton.org/4.0/
Description: trytond_currency
================
@@ -55,6 +55,7 @@ Classifier: Intended Audience :: Manufacturing
Classifier: License :: OSI Approved :: GNU General Public License (GPL)
Classifier: Natural Language :: Bulgarian
Classifier: Natural Language :: Catalan
+Classifier: Natural Language :: Chinese (Simplified)
Classifier: Natural Language :: Czech
Classifier: Natural Language :: Dutch
Classifier: Natural Language :: English
@@ -68,6 +69,9 @@ Classifier: Natural Language :: Slovenian
Classifier: Natural Language :: Spanish
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Office/Business
diff --git a/trytond_currency.egg-info/SOURCES.txt b/trytond_currency.egg-info/SOURCES.txt
index 6b32d01..bc3103a 100644
--- a/trytond_currency.egg-info/SOURCES.txt
+++ b/trytond_currency.egg-info/SOURCES.txt
@@ -53,11 +53,13 @@ locale/fr_FR.po
locale/hu_HU.po
locale/it_IT.po
locale/ja_JP.po
+locale/lo_LA.po
locale/lt_LT.po
locale/nl_NL.po
locale/pt_BR.po
locale/ru_RU.po
locale/sl_SI.po
+locale/zh_CN.po
trytond_currency.egg-info/PKG-INFO
trytond_currency.egg-info/SOURCES.txt
trytond_currency.egg-info/dependency_links.txt
diff --git a/trytond_currency.egg-info/requires.txt b/trytond_currency.egg-info/requires.txt
index 9289d42..b4acb8d 100644
--- a/trytond_currency.egg-info/requires.txt
+++ b/trytond_currency.egg-info/requires.txt
@@ -1 +1 @@
-trytond >= 3.8, < 3.9
\ No newline at end of file
+trytond >= 4.0, < 4.1
\ No newline at end of file
--
tryton-modules-currency
More information about the tryton-debian-vcs
mailing list