Select Git revision
en-GB.plg_vmshopper_ordernumber.sys.ini
en-GB.plg_vmshopper_ordernumber.sys.ini 5.85 KiB
; VM2 Customize Order/Invoice numbers plugin
; Copyright (C) 2012 Reinhold Kainhofer. All rights reserved.
; License http://www.gnu.org/licenses/gpl.html GNU/GPL
; Note : All ini files need to be saved as UTF-8 - No BOM
VMSHOPPER_ORDERNUMBER = "VM2 - Custom Order and Invoice Number plugin"
VMSHOPPER_ORDERNUMBER_DESC = "This plugin is used to create custom order and invoice numbers for Virtuemart 2<br/><br/>
<div style='font-weight: normal'>
<p style='font-weight: normal'>
The format of the order and invoice numbers is a free-form text string, where <tt>#</tt> indicates the running counter and <tt>[variable]</tt> is understood as a variable and replaced by its current value. Currently, the following variables are available (case-insensitive):<table border=1>
<tr><td>year</td><td>Current year (4 digits)</td></tr>
<tr><td>year2</td><td>Current year (2 digits)</td></tr>
<tr><td>month</td><td>Current month (2 digits); leading zeros if necessary</td></tr>
<tr><td>day</td><td>Current day (2 digits); leading zeros if necessary</td></tr>
<tr><td>hour</td><td>Current hour in 24-hour format; leading zeros if necessary</td></tr>
<tr><td>hour12</td><td>Current hour in 12-hour format; leading zeros if necessary</td></tr>
<tr><td>ampm</td><td>Current am-pm (for 12-hour format) in lower-case</td></tr>
<tr><td>minute</td><td>Current minute; leading zeros if necessary</td></tr>
<tr><td>second</td><td>Current second; leading zeros if necessary</td></tr>
<tr><td>randomDigit<em>[n]</em></td><td>Random sequences of n decimal digits (n=1 if not given).</td></tr>
<tr><td>randomHex<em>[n]</em></td><td>Random sequences of n hexadecimal digits (n=1 if not given).</td></tr>
<tr><td>randomLetter<em>[n]</em></td><td>Random sequences of n (upper- and lowercase) letters (n=1 if not given).</td></tr>
<tr><td>randomULetter<em>[n]</em></td><td>Random sequences of n uppercase letters (n=1 if not given).</td></tr>
<tr><td>randomLLetter<em>[n]</em></td><td>Random sequences of n lowercase letters (n=1 if not given).</td></tr>
<tr><td>randomAlphanum<em>[n]</em></td><td>Random sequences of n general alphanumeric characters (A-Z, a-z, 0-9) (n=1 if not given).</td></tr>
<tr><td>vendorID</td><td>(Internal) VirtueMart Vendor ID</td></tr>
<tr><td>userID</td><td>(Internal) VirtueMart User ID</td></tr>
<tr><td>IPaddress</td><td>IP-Address of the shopper's computer</td></tr>
<tr><th colspan=2><em>Only for invoice Numbers:</em></td></tr>
<tr><td>orderNumber</td><td>Order number, for which the invoice is created</td></tr>
<tr><td>orderID</td><td>(Internal) Order ID, for which the invoice is created</td></tr>
<tr><td>Lastname</td><td>Last name of the shopper (billing address)</td></tr>
<tr><td>Firstname</td><td>First name of the shopper (billing address)</td></tr>
<tr><td>Company</td><td>Company of the shopper (billing address)</td></tr>
<tr><td>City</td><td>City of the shopper (billing address)</td></tr>
<tr><td>zip</td><td>ZIP of the shopper (billing address)</td></tr>
<tr><td>orderStatus</td><td>Status of the order (abbreviations: S, R, X, C, U, P)</td></tr>
</table>
<p>The full documentation can be found at the homepage: <a href='http://www.kainhofer.com/virtuemart-2-extensions/40-vm2-ordernumber.html'>http://www.kainhofer.com/virtuemart-2-extensions/40-vm2-ordernumber.html</a></p>
</div>"
PLG_ORDERNUMBER_YES = "Yes"
PLG_ORDERNUMBER_NO = "No"
PLG_ORDERNUMBER_COUNTER_GLOBAL="Global"
PLG_ORDERNUMBER_COUNTER_PERFORMAT = "Separate counter per format value"
PLG_ORDERNUMBER_ORDERNR = "<b>Order numbers</b>"
PLG_ORDERNUMBER_ORDERNR_CUSTOMIZE = "Customize order numbers"
PLG_ORDERNUMBER_ORDERNR_CUSTOMIZE_DESC = "Check here if you want customized order number formats rather than the default."
PLG_ORDERNUMBER_ORDERNR_FMT="Format of the order numbers"
PLG_ORDERNUMBER_ORDERNR_FMT_DESC="Here you can customize the order number"
PLG_ORDERNUMBER_ORDERNR_COUNTER = "Counter"
PLG_ORDERNUMBER_ORDERNR_COUNTER_DESC = "Choose whether you want one global counter or per-format value counters. E.g. with a format of '[year]-#' and the latter option checked, the order count will be within the year only."
PLG_ORDERNUMBER_ORDERNR_PADDING = "Minimum digits for the counter"
PLG_ORDERNUMBER_ORDERNR_PADDING_DESC = "Select the minimum number of digits that the counter shall display. The value of the counter will be left-padded with 0 to have this minimum number of digits. If the counter is already larger than this number, no padding will occur"
PLG_ORDERNUMBER_PASSWD = "<b>Order password</b>"
PLG_ORDERNUMBER_PASSWD_CUSTOMIZE = "Customize order password"
PLG_ORDERNUMBER_PASSWD_CUSTOMIZE_DESC = "Check here if you want customized order password formats rather than the default."
PLG_ORDERNUMBER_PASSWD_FMT = "Format of the order password"
PLG_ORDERNUMBER_PASSWD_FMT_DESC = "Here you can customize the order password (# is NOT replaced)"
PLG_ORDERNUMBER_INVOICENR = "<b>Invoice numbers</b>"
PLG_ORDERNUMBER_INVOICENR_CUSTOMIZE = "Customize invoice numbers"
PLG_ORDERNUMBER_INVOICENR_CUSTOMIZE_DESC = "Check here if you want customized invoice number formats rather than the default."
PLG_ORDERNUMBER_INVOICENR_FMT = "Format of the invoice numbers"
PLG_ORDERNUMBER_INVOICENR_FMT_DESC = "Here you can customize the invoice number"
PLG_ORDERNUMBER_INVOICENR_COUNTER = "Counter"
PLG_ORDERNUMBER_INVOICENR_COUNTER_DESC = "Choose whether you want one global counter or per-format value counters. E.g. with a format of '[year]-#' and the latter option checked, the invoice count will be within the year only."
PLG_ORDERNUMBER_INVOICENR_PADDING = "Minimum digits for the counter"PLG_ORDERNUMBER_INVOICENR_PADDING_DESC = "Select the minimum number of digits that the counter shall display. The value of the counter will be left-padded with 0 to have this minimum number of digits. If the counter is already larger than this number, no padding will occur"