diff options
| author | Martin Trigaux <mat@odoo.com> | 2018-02-22 09:48:10 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2018-02-23 08:45:40 +0100 |
| commit | 370c944c2ff5a719fee6cdf7287ad840285c7e2c (patch) | |
| tree | b3ccff405a74734ede20142172612f4642987204 /addons/pos_mercury/static | |
| parent | 69ef302aa07ccffcf817fc7b8590d73be55c58e0 (diff) | |
[IMP] pos_mercury: do not translate technical error messages
Error messages are given by vendor and have specific meaning
Translating it does not specifally help to find out more about the problem
pos_mecury is intended for US market anyway
Diffstat (limited to 'addons/pos_mercury/static')
| -rw-r--r-- | addons/pos_mercury/static/src/js/pos_mercury.js | 148 |
1 files changed, 74 insertions, 74 deletions
diff --git a/addons/pos_mercury/static/src/js/pos_mercury.js b/addons/pos_mercury/static/src/js/pos_mercury.js index 710420c62b4..f6ab924dbec 100644 --- a/addons/pos_mercury/static/src/js/pos_mercury.js +++ b/addons/pos_mercury/static/src/js/pos_mercury.js @@ -146,82 +146,82 @@ var lookUpCodeTransaction = { '000000': _t('Transaction approved'), }, 'TimeoutError': { - '001006': _t('Global API Not Initialized'), - '001007': _t('Timeout on Response'), - '003003': _t('Socket Error sending request'), - '003004': _t('Socket already open or in use'), - '003005': _t('Socket Creation Failed'), - '003006': _t('Socket Connection Failed'), - '003007': _t('Connection Lost'), - '003008': _t('TCP/IP Failed to Initialize'), - '003010': _t('Time Out waiting for server response'), - '003011': _t('Connect Canceled'), - '003053': _t('Initialize Failed'), - '009999': _t('Unknown Error'), + '001006': 'Global API Not Initialized', + '001007': 'Timeout on Response', + '003003': 'Socket Error sending request', + '003004': 'Socket already open or in use', + '003005': 'Socket Creation Failed', + '003006': 'Socket Connection Failed', + '003007': 'Connection Lost', + '003008': 'TCP/IP Failed to Initialize', + '003010': 'Time Out waiting for server response', + '003011': 'Connect Canceled', + '003053': 'Initialize Failed', + '009999': 'Unknown Error', }, 'FatalError': { - '-1': _t('Timeout error'), - '001001': _t('General Failure'), - '001003': _t('Invalid Command Format'), - '001004': _t('Insufficient Fields'), - '001011': _t('Empty Command String'), - '002000': _t('Password Verified'), - '002001': _t('Queue Full'), - '002002': _t('Password Failed – Disconnecting'), - '002003': _t('System Going Offline'), - '002004': _t('Disconnecting Socket'), - '002006': _t('Refused ‘Max Connections’'), - '002008': _t('Duplicate Serial Number Detected'), - '002009': _t('Password Failed (Client / Server)'), - '002010': _t('Password failed (Challenge / Response)'), - '002011': _t('Internal Server Error – Call Provider'), - '003002': _t('In Process with server'), - '003009': _t('Control failed to find branded serial (password lookup failed)'), - '003012': _t('128 bit CryptoAPI failed'), - '003014': _t('Threaded Auth Started Expect Response'), - '003017': _t('Failed to start Event Thread.'), - '003050': _t('XML Parse Error'), - '003051': _t('All Connections Failed'), - '003052': _t('Server Login Failed'), - '004001': _t('Global Response Length Error (Too Short)'), - '004002': _t('Unable to Parse Response from Global (Indistinguishable)'), - '004003': _t('Global String Error'), - '004004': _t('Weak Encryption Request Not Supported'), - '004005': _t('Clear Text Request Not Supported'), - '004010': _t('Unrecognized Request Format'), - '004011': _t('Error Occurred While Decrypting Request'), - '004017': _t('Invalid Check Digit'), - '004018': _t('Merchant ID Missing'), - '004019': _t('TStream Type Missing'), - '004020': _t('Could Not Encrypt Response- Call Provider'), - '100201': _t('Invalid Transaction Type'), - '100202': _t('Invalid Operator ID'), - '100203': _t('Invalid Memo'), - '100204': _t('Invalid Account Number'), - '100205': _t('Invalid Expiration Date'), - '100206': _t('Invalid Authorization Code'), - '100207': _t('Invalid Authorization Code'), - '100208': _t('Invalid Authorization Amount'), - '100209': _t('Invalid Cash Back Amount'), - '100210': _t('Invalid Gratuity Amount'), - '100211': _t('Invalid Purchase Amount'), - '100212': _t('Invalid Magnetic Stripe Data'), - '100213': _t('Invalid PIN Block Data'), - '100214': _t('Invalid Derived Key Data'), - '100215': _t('Invalid State Code'), - '100216': _t('Invalid Date of Birth'), - '100217': _t('Invalid Check Type'), - '100218': _t('Invalid Routing Number'), - '100219': _t('Invalid TranCode'), - '100220': _t('Invalid Merchant ID'), - '100221': _t('Invalid TStream Type'), - '100222': _t('Invalid Batch Number'), - '100223': _t('Invalid Batch Item Count'), - '100224': _t('Invalid MICR Input Type'), - '100225': _t('Invalid Driver’s License'), - '100226': _t('Invalid Sequence Number'), - '100227': _t('Invalid Pass Data'), - '100228': _t('Invalid Card Type'), + '-1': 'Timeout error', + '001001': 'General Failure', + '001003': 'Invalid Command Format', + '001004': 'Insufficient Fields', + '001011': 'Empty Command String', + '002000': 'Password Verified', + '002001': 'Queue Full', + '002002': 'Password Failed – Disconnecting', + '002003': 'System Going Offline', + '002004': 'Disconnecting Socket', + '002006': 'Refused ‘Max Connections’', + '002008': 'Duplicate Serial Number Detected', + '002009': 'Password Failed (Client / Server)', + '002010': 'Password failed (Challenge / Response)', + '002011': 'Internal Server Error – Call Provider', + '003002': 'In Process with server', + '003009': 'Control failed to find branded serial (password lookup failed)', + '003012': '128 bit CryptoAPI failed', + '003014': 'Threaded Auth Started Expect Response', + '003017': 'Failed to start Event Thread.', + '003050': 'XML Parse Error', + '003051': 'All Connections Failed', + '003052': 'Server Login Failed', + '004001': 'Global Response Length Error (Too Short)', + '004002': 'Unable to Parse Response from Global (Indistinguishable)', + '004003': 'Global String Error', + '004004': 'Weak Encryption Request Not Supported', + '004005': 'Clear Text Request Not Supported', + '004010': 'Unrecognized Request Format', + '004011': 'Error Occurred While Decrypting Request', + '004017': 'Invalid Check Digit', + '004018': 'Merchant ID Missing', + '004019': 'TStream Type Missing', + '004020': 'Could Not Encrypt Response- Call Provider', + '100201': 'Invalid Transaction Type', + '100202': 'Invalid Operator ID', + '100203': 'Invalid Memo', + '100204': 'Invalid Account Number', + '100205': 'Invalid Expiration Date', + '100206': 'Invalid Authorization Code', + '100207': 'Invalid Authorization Code', + '100208': 'Invalid Authorization Amount', + '100209': 'Invalid Cash Back Amount', + '100210': 'Invalid Gratuity Amount', + '100211': 'Invalid Purchase Amount', + '100212': 'Invalid Magnetic Stripe Data', + '100213': 'Invalid PIN Block Data', + '100214': 'Invalid Derived Key Data', + '100215': 'Invalid State Code', + '100216': 'Invalid Date of Birth', + '100217': 'Invalid Check Type', + '100218': 'Invalid Routing Number', + '100219': 'Invalid TranCode', + '100220': 'Invalid Merchant ID', + '100221': 'Invalid TStream Type', + '100222': 'Invalid Batch Number', + '100223': 'Invalid Batch Item Count', + '100224': 'Invalid MICR Input Type', + '100225': 'Invalid Driver’s License', + '100226': 'Invalid Sequence Number', + '100227': 'Invalid Pass Data', + '100228': 'Invalid Card Type', }, }; // Popup to show all transaction state for the payment. |
