Complete Spanish translations for account_do
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
Version 8.0.5 - 2026-08-10
|
||||||
|
--------------------------
|
||||||
|
* Translate every field and selection introduced by the module into Spanish
|
||||||
|
and Latin American Spanish.
|
||||||
|
* Include translation catalogs in built distributions.
|
||||||
|
|
||||||
Version 8.0.4 - 2026-08-10
|
Version 8.0.4 - 2026-08-10
|
||||||
--------------------------
|
--------------------------
|
||||||
* Display the Dominican tax classification on tax and tax-template forms and
|
* Display the Dominican tax classification on tax and tax-template forms and
|
||||||
|
|||||||
@@ -0,0 +1,83 @@
|
|||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: account_do 8.0\n"
|
||||||
|
"PO-Revision-Date: 2026-08-10 00:00-0400\n"
|
||||||
|
"Last-Translator: Fundación Un País Mejor\n"
|
||||||
|
"Language-Team: Spanish\n"
|
||||||
|
"Language: es\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
msgctxt "field:account.tax,tax_kind:"
|
||||||
|
msgid "Tax Kind"
|
||||||
|
msgstr "Clasificación fiscal"
|
||||||
|
|
||||||
|
msgctxt "field:account.tax.template,tax_kind:"
|
||||||
|
msgid "Tax Kind"
|
||||||
|
msgstr "Clasificación fiscal"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax,tax_kind:"
|
||||||
|
msgid "ITBIS"
|
||||||
|
msgstr "ITBIS"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax,tax_kind:"
|
||||||
|
msgid "ITBIS Withholding"
|
||||||
|
msgstr "Retención de ITBIS"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax,tax_kind:"
|
||||||
|
msgid "ITBIS Acquirer Withholding"
|
||||||
|
msgstr "Retención de ITBIS por adquirencia"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax,tax_kind:"
|
||||||
|
msgid "ISR Withholding"
|
||||||
|
msgstr "Retención de ISR"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax,tax_kind:"
|
||||||
|
msgid "Selective Consumption Tax (ISC)"
|
||||||
|
msgstr "Impuesto Selectivo al Consumo (ISC)"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax,tax_kind:"
|
||||||
|
msgid "INDOTEL Contribution (CDT)"
|
||||||
|
msgstr "Contribución al Desarrollo de las Telecomunicaciones (CDT)"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax,tax_kind:"
|
||||||
|
msgid "Statutory Tip"
|
||||||
|
msgstr "Propina legal"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax,tax_kind:"
|
||||||
|
msgid "Other Taxes"
|
||||||
|
msgstr "Otros impuestos"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax.template,tax_kind:"
|
||||||
|
msgid "ITBIS"
|
||||||
|
msgstr "ITBIS"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax.template,tax_kind:"
|
||||||
|
msgid "ITBIS Withholding"
|
||||||
|
msgstr "Retención de ITBIS"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax.template,tax_kind:"
|
||||||
|
msgid "ITBIS Acquirer Withholding"
|
||||||
|
msgstr "Retención de ITBIS por adquirencia"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax.template,tax_kind:"
|
||||||
|
msgid "ISR Withholding"
|
||||||
|
msgstr "Retención de ISR"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax.template,tax_kind:"
|
||||||
|
msgid "Selective Consumption Tax (ISC)"
|
||||||
|
msgstr "Impuesto Selectivo al Consumo (ISC)"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax.template,tax_kind:"
|
||||||
|
msgid "INDOTEL Contribution (CDT)"
|
||||||
|
msgstr "Contribución al Desarrollo de las Telecomunicaciones (CDT)"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax.template,tax_kind:"
|
||||||
|
msgid "Statutory Tip"
|
||||||
|
msgstr "Propina legal"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax.template,tax_kind:"
|
||||||
|
msgid "Other Taxes"
|
||||||
|
msgstr "Otros impuestos"
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
#
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: account_do 8.0\n"
|
||||||
|
"PO-Revision-Date: 2026-08-10 00:00-0400\n"
|
||||||
|
"Last-Translator: Fundación Un País Mejor\n"
|
||||||
|
"Language-Team: Spanish (Latin America)\n"
|
||||||
|
"Language: es_419\n"
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=utf-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
|
||||||
|
msgctxt "field:account.tax,tax_kind:"
|
||||||
|
msgid "Tax Kind"
|
||||||
|
msgstr "Clasificación fiscal"
|
||||||
|
|
||||||
|
msgctxt "field:account.tax.template,tax_kind:"
|
||||||
|
msgid "Tax Kind"
|
||||||
|
msgstr "Clasificación fiscal"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax,tax_kind:"
|
||||||
|
msgid "ITBIS"
|
||||||
|
msgstr "ITBIS"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax,tax_kind:"
|
||||||
|
msgid "ITBIS Withholding"
|
||||||
|
msgstr "Retención de ITBIS"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax,tax_kind:"
|
||||||
|
msgid "ITBIS Acquirer Withholding"
|
||||||
|
msgstr "Retención de ITBIS por adquirencia"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax,tax_kind:"
|
||||||
|
msgid "ISR Withholding"
|
||||||
|
msgstr "Retención de ISR"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax,tax_kind:"
|
||||||
|
msgid "Selective Consumption Tax (ISC)"
|
||||||
|
msgstr "Impuesto Selectivo al Consumo (ISC)"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax,tax_kind:"
|
||||||
|
msgid "INDOTEL Contribution (CDT)"
|
||||||
|
msgstr "Contribución al Desarrollo de las Telecomunicaciones (CDT)"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax,tax_kind:"
|
||||||
|
msgid "Statutory Tip"
|
||||||
|
msgstr "Propina legal"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax,tax_kind:"
|
||||||
|
msgid "Other Taxes"
|
||||||
|
msgstr "Otros impuestos"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax.template,tax_kind:"
|
||||||
|
msgid "ITBIS"
|
||||||
|
msgstr "ITBIS"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax.template,tax_kind:"
|
||||||
|
msgid "ITBIS Withholding"
|
||||||
|
msgstr "Retención de ITBIS"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax.template,tax_kind:"
|
||||||
|
msgid "ITBIS Acquirer Withholding"
|
||||||
|
msgstr "Retención de ITBIS por adquirencia"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax.template,tax_kind:"
|
||||||
|
msgid "ISR Withholding"
|
||||||
|
msgstr "Retención de ISR"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax.template,tax_kind:"
|
||||||
|
msgid "Selective Consumption Tax (ISC)"
|
||||||
|
msgstr "Impuesto Selectivo al Consumo (ISC)"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax.template,tax_kind:"
|
||||||
|
msgid "INDOTEL Contribution (CDT)"
|
||||||
|
msgstr "Contribución al Desarrollo de las Telecomunicaciones (CDT)"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax.template,tax_kind:"
|
||||||
|
msgid "Statutory Tip"
|
||||||
|
msgstr "Propina legal"
|
||||||
|
|
||||||
|
msgctxt "selection:account.tax.template,tax_kind:"
|
||||||
|
msgid "Other Taxes"
|
||||||
|
msgstr "Otros impuestos"
|
||||||
@@ -42,6 +42,7 @@ include = [
|
|||||||
'**/tryton.cfg',
|
'**/tryton.cfg',
|
||||||
'**/*.py',
|
'**/*.py',
|
||||||
'**/*.xml',
|
'**/*.xml',
|
||||||
|
'**/*.po',
|
||||||
'doc/**/*.rst',
|
'doc/**/*.rst',
|
||||||
'doc/**/*.py',
|
'doc/**/*.py',
|
||||||
'view/**/*.xml',
|
'view/**/*.xml',
|
||||||
|
|||||||
+29
-1
@@ -568,7 +568,7 @@ class AccountDoUnitTestCase(unittest.TestCase):
|
|||||||
if line.strip()
|
if line.strip()
|
||||||
]
|
]
|
||||||
|
|
||||||
self.assertEqual(config.get('tryton', 'version'), '8.0.4')
|
self.assertEqual(config.get('tryton', 'version'), '8.0.5')
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
set(lines('tryton', 'depends')),
|
set(lines('tryton', 'depends')),
|
||||||
{'account', 'ir'})
|
{'account', 'ir'})
|
||||||
@@ -609,6 +609,7 @@ class AccountDoUnitTestCase(unittest.TestCase):
|
|||||||
"'CHANGELOG'",
|
"'CHANGELOG'",
|
||||||
"'pyproject.toml'",
|
"'pyproject.toml'",
|
||||||
"'**/*.xml'",
|
"'**/*.xml'",
|
||||||
|
"'**/*.po'",
|
||||||
"'doc/**/*.rst'",
|
"'doc/**/*.rst'",
|
||||||
"'tests/**/*.rst'",
|
"'tests/**/*.rst'",
|
||||||
]:
|
]:
|
||||||
@@ -755,6 +756,33 @@ class AccountDoUnitTestCase(unittest.TestCase):
|
|||||||
with self.subTest(marker=marker):
|
with self.subTest(marker=marker):
|
||||||
self.assertNotIn(marker, text)
|
self.assertNotIn(marker, text)
|
||||||
|
|
||||||
|
def test_spanish_translations_cover_module_strings(self):
|
||||||
|
translations = {
|
||||||
|
'Tax Kind': 'Clasificación fiscal',
|
||||||
|
'ITBIS': 'ITBIS',
|
||||||
|
'ITBIS Withholding': 'Retención de ITBIS',
|
||||||
|
'ITBIS Acquirer Withholding': (
|
||||||
|
'Retención de ITBIS por adquirencia'),
|
||||||
|
'ISR Withholding': 'Retención de ISR',
|
||||||
|
'Selective Consumption Tax (ISC)': (
|
||||||
|
'Impuesto Selectivo al Consumo (ISC)'),
|
||||||
|
'INDOTEL Contribution (CDT)': (
|
||||||
|
'Contribución al Desarrollo de las Telecomunicaciones (CDT)'),
|
||||||
|
'Statutory Tip': 'Propina legal',
|
||||||
|
'Other Taxes': 'Otros impuestos',
|
||||||
|
}
|
||||||
|
for language in ['es', 'es_419']:
|
||||||
|
text = (MODULE_DIR / 'locale' / f'{language}.po').read_text(
|
||||||
|
encoding='utf-8')
|
||||||
|
with self.subTest(language=language):
|
||||||
|
for source, target in translations.items():
|
||||||
|
self.assertIn(f'msgid "{source}"', text)
|
||||||
|
self.assertIn(f'msgstr "{target}"', text)
|
||||||
|
self.assertIn(
|
||||||
|
'msgctxt "field:account.tax,tax_kind:"', text)
|
||||||
|
self.assertIn(
|
||||||
|
'msgctxt "field:account.tax.template,tax_kind:"', text)
|
||||||
|
|
||||||
def test_spanish_chart_has_complete_parallel_identifiers(self):
|
def test_spanish_chart_has_complete_parallel_identifiers(self):
|
||||||
pairs = [
|
pairs = [
|
||||||
('account_chart_do_en.xml', 'account_chart_do_es_419.xml'),
|
('account_chart_do_en.xml', 'account_chart_do_es_419.xml'),
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
[tryton]
|
[tryton]
|
||||||
version=8.0.4
|
version=8.0.5
|
||||||
depends:
|
depends:
|
||||||
account
|
account
|
||||||
ir
|
ir
|
||||||
|
|||||||
Reference in New Issue
Block a user