Commit 30e49ad8 authored by Aurel's avatar Aurel Committed by Jérome Perrin

Translate account names

parent 7d5faf2b
......@@ -333,7 +333,7 @@ def getNodeTitleAndId(node_relative_url):\n
node = traverse(node_relative_url)\n
return node_title_and_id_cache.setdefault(node_relative_url,\n
( node.getUid(),\n
node.getTitle(),\n
node.getTranslatedTitle(),\n
node.Account_getGapId(gap_root=selected_gap),\n
node.getProperty(\'string_index\'),\n
node))\n
......
......@@ -54,7 +54,7 @@
account = context\n
\n
gap_id = account.Account_getGapId(gap_root=gap_root)\n
title = account.getTitle()\n
title = account.getTranslatedTitle()\n
\n
if gap_id:\n
title = "%s - %s" % (gap_id, title)\n
......
......@@ -173,7 +173,7 @@ for delivery in delivery_list:\n
node_account_type_title = \'\'\n
node_financial_section_title = \'\'\n
if node is not None:\n
node_title = node.getTitle()\n
node_title = node.getTranslatedTitle()\n
node_account_type_title = node.getAccountTypeTranslatedTitle()\n
node_financial_section_title = \\\n
node.getFinancialSectionTranslatedTitle()\n
......@@ -224,7 +224,7 @@ for delivery in delivery_list:\n
node_account_type_title = \'\'\n
node_financial_section_title = \'\'\n
if node is not None:\n
node_title = node.getTitle()\n
node_title = node.getTranslatedTitle()\n
node_account_type_title = node.getAccountTypeTranslatedTitle()\n
node_financial_section_title = \\\n
node.getFinancialSectionTranslatedTitle()\n
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment