From: <dai...@us...> - 2014-08-14 08:45:48
|
Revision: 6815 http://sourceforge.net/p/web-erp/reponame/6815 Author: daintree Date: 2014-08-14 08:45:43 +0000 (Thu, 14 Aug 2014) Log Message: ----------- Rafael: DatabaseTranslations.php for translating systypes Modified Paths: -------------- trunk/doc/Change.log Added Paths: ----------- trunk/includes/DatabaseTranslations.php Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2014-08-14 05:21:05 UTC (rev 6814) +++ trunk/doc/Change.log 2014-08-14 08:45:43 UTC (rev 6815) @@ -1,5 +1,6 @@ webERP Change Log +13/08/14 RChacon: includes/DatabaseTranslations.php used to store the fields of tables that are used from the database so that they can be translated in particular systypes for the types of transactions invoice credit note payment receipt etc. Can be extended for scripts and other tables where the data from the table is static and used to display 13/08/14 RChacon: In CustomerInquiry.php: Adds class ascending and reorganizes columns Date, Type, Number and Reference; Regroups table-datacel format-strings, completes the datacel quantity by table-row; makes translatable the systypes.typename. 12/08/14 RChacon: In SupplierInquiry.php: makes the field systypes.typename be translatable. 12/08/14 RChacon: In Z_poRebuildDefault.php: extends title, improves comments, sets file to pot, updates $FilesToInclude, renames old pot file to bak extension. Minor improvements. Added: trunk/includes/DatabaseTranslations.php =================================================================== --- trunk/includes/DatabaseTranslations.php (rev 0) +++ trunk/includes/DatabaseTranslations.php 2014-08-14 08:45:43 UTC (rev 6815) @@ -0,0 +1,60 @@ +<?php +/* $Id: DatabaseTranslations.php 6651 2014-08-13 19:52:39Z rchacon $*/ +/******************************************************************************* +The script install/DatabaseTranslations.php is a locale language file for the +contents of the fields in the database. The purpose of this file is to translate +the database fields that appears in screens and reports. This script is only +used at the time that the system default language file is language file is +rebuilt. RChacon. +*******************************************************************************/ + +// scripts.description: +// RChacon: It could be taken from each php script? + +// securityroles.secrolename: +// RChacon: It can be directly modified by the user. + +// securitytokens.tokenname: +// RChacon: It can be directly modified by the user. + +// systypes.typename: +$systypes_typename[0] = _('Journal - GL'); +$systypes_typename[1] = _('Payment - GL'); +$systypes_typename[2] = _('Receipt - GL'); +$systypes_typename[3] = _('Standing Journal'); +$systypes_typename[10] = _('Sales Invoice'); +$systypes_typename[11] = _('Credit Note'); +$systypes_typename[12] = _('Receipt'); +$systypes_typename[15] = _('Journal - Debtors'); +$systypes_typename[16] = _('Location Transfer'); +$systypes_typename[17] = _('Stock Adjustment'); +$systypes_typename[18] = _('Purchase Order'); +$systypes_typename[19] = _('Picking List'); +$systypes_typename[20] = _('Purchase Invoice'); +$systypes_typename[21] = _('Debit Note'); +$systypes_typename[22] = _('Creditors Payment'); +$systypes_typename[23] = _('Creditors Journal'); +$systypes_typename[25] = _('Purchase Order Delivery'); +$systypes_typename[26] = _('Work Order Receipt'); +$systypes_typename[28] = _('Work Order Issue'); +$systypes_typename[29] = _('Work Order Variance'); +$systypes_typename[30] = _('Sales Order'); +$systypes_typename[31] = _('Shipment Close'); +$systypes_typename[32] = _('Contract Close'); +$systypes_typename[35] = _('Cost Update'); +$systypes_typename[36] = _('Exchange Difference'); +$systypes_typename[37] = _('Tenders'); +$systypes_typename[38] = _('Stock Requests'); +$systypes_typename[40] = _('Work Order'); +$systypes_typename[41] = _('Asset Addition'); +$systypes_typename[42] = _('Asset Category Change'); +$systypes_typename[43] = _('Delete w/down asset'); +$systypes_typename[44] = _('Depreciation'); +$systypes_typename[49] = _('Import Fixed Assets'); +$systypes_typename[50] = _('Opening Balance'); +$systypes_typename[500] = _('Auto Debtor Number'); + +// General purpose: +$General_purpose = _('Default'); + +?> |