Trad: Add language english (india)
This commit is contained in:
parent
12fef37c1a
commit
06cca72917
@ -394,10 +394,13 @@ class Translate {
|
|||||||
*/
|
*/
|
||||||
function trans($key, $param1='', $param2='', $param3='', $param4='', $maxsize=0)
|
function trans($key, $param1='', $param2='', $param3='', $param4='', $maxsize=0)
|
||||||
{
|
{
|
||||||
|
global $mysoc;
|
||||||
|
|
||||||
if (! empty($this->tab_translate[$key])) // Translation is available
|
if (! empty($this->tab_translate[$key])) // Translation is available
|
||||||
{
|
{
|
||||||
$str=preg_replace('/\\\"/','"',$this->tab_translate[$key]); // To solve some translation keys containing key=abc\"def\"ghi instead of abc"def"ghi
|
$str=preg_replace('/\\\"/','"',$this->tab_translate[$key]); // To solve some translation keys containing key=abc\"def\"ghi instead of abc"def"ghi
|
||||||
if (! preg_match('/^Format/',$key)) $str=sprintf($str,$param1,$param2,$param3,$param4); // Replace %s and %d
|
|
||||||
|
if (! preg_match('/^Format/',$key)) $str=sprintf($str,$param1,$param2,$param3,$param4); // Replace %s and %d except for FormatXXX strings.
|
||||||
if ($maxsize) $str=dol_trunc($str,$maxsize);
|
if ($maxsize) $str=dol_trunc($str,$maxsize);
|
||||||
// On remplace les tags HTML par __xx__ pour eviter traduction par htmlentities
|
// On remplace les tags HTML par __xx__ pour eviter traduction par htmlentities
|
||||||
$newstr=str_replace('<','__lt__',$str);
|
$newstr=str_replace('<','__lt__',$str);
|
||||||
|
|||||||
1
htdocs/langs/en_IN/.cvsignore
Executable file
1
htdocs/langs/en_IN/.cvsignore
Executable file
@ -0,0 +1 @@
|
|||||||
|
google.lang
|
||||||
3
htdocs/langs/en_IN/bills.lang
Executable file
3
htdocs/langs/en_IN/bills.lang
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
# Dolibarr language file - en_US - bills
|
||||||
|
CHARSET=UTF-8
|
||||||
|
RelatedCommercialProposals=Related quotations
|
||||||
14
htdocs/langs/en_IN/main.lang
Executable file
14
htdocs/langs/en_IN/main.lang
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
# Dolibarr language file - en_US - main
|
||||||
|
CHARSET=UTF-8
|
||||||
|
DIRECTION=ltr
|
||||||
|
SeparatorDecimal=.
|
||||||
|
SeparatorThousand=,
|
||||||
|
FormatDateShort=%d/%m/%Y
|
||||||
|
FormatDateShortJava=dd/MM/yyyy
|
||||||
|
FormatHourShort=%I:%M %p
|
||||||
|
FormatDateTextShort=%b %d, %Y
|
||||||
|
FormatDateText=%B %d, %Y
|
||||||
|
FormatDateHourShort=%d/%m/%Y %I:%M %p
|
||||||
|
FormatDateHourTextShort=%b %d, %Y, %I:%M %p
|
||||||
|
FormatDateHourText=%B %d, %Y, %I:%M %p
|
||||||
|
CommercialProposals=Quotations
|
||||||
52
htdocs/langs/en_IN/propal.lang
Executable file
52
htdocs/langs/en_IN/propal.lang
Executable file
@ -0,0 +1,52 @@
|
|||||||
|
# Dolibarr language file - en_US - propal
|
||||||
|
CHARSET=UTF-8
|
||||||
|
Proposals=Quotationss
|
||||||
|
Proposal=Quotation
|
||||||
|
ProposalShort=Quotation
|
||||||
|
ProposalsDraft=Draft quotations
|
||||||
|
ProposalDraft=Draft quotation
|
||||||
|
ProposalsOpened=Opened quotations
|
||||||
|
Prop=Quotations
|
||||||
|
CommercialProposal=Quotation
|
||||||
|
CommercialProposals=Quotations
|
||||||
|
ProposalContact=Quotation contact
|
||||||
|
NewProp=New quotation
|
||||||
|
NewProposal=New quotation
|
||||||
|
NewPropal=New quotation
|
||||||
|
DeleteProp=Delete quotation
|
||||||
|
ValidateProp=Validate quotation
|
||||||
|
AddProp=Add quotation
|
||||||
|
ConfirmDeleteProp=Are you sure you want to delete this quotation ?
|
||||||
|
ConfirmValidateProp=Are you sure you want to validate this quotation ?
|
||||||
|
LastPropals=Last %s quotations
|
||||||
|
LastClosedProposals=Last %s closed quotation
|
||||||
|
LastModifiedProposals=Last %s modified quotations
|
||||||
|
AllPropals=All quotations
|
||||||
|
LastProposals=Last quotations
|
||||||
|
SearchAProposal=Search a quotation
|
||||||
|
ProposalsStatistics=Quotations's statistics
|
||||||
|
NbOfProposals=Number of quotations
|
||||||
|
ShowPropal=Show quotation
|
||||||
|
PropalsToClose=Quotations to close
|
||||||
|
PropalsToBill=Signed quotations to bill
|
||||||
|
ListOfProposals=List of quotations
|
||||||
|
ActionsOnPropal=Actions on quotation
|
||||||
|
NoOpenedPropals=No opened quotations
|
||||||
|
NoOtherOpenedPropals=No other opened quotations
|
||||||
|
RefProposal=Quotation ref
|
||||||
|
SendPropalByMail=Send quotation by mail
|
||||||
|
AssociatedDocuments=Documents associated with the quotation:
|
||||||
|
DatePropal=Date of quotation
|
||||||
|
OtherPropals=Other quotations
|
||||||
|
CopyPropalFrom=Create quotation by copying existing quotation
|
||||||
|
CreateEmptyPropal=Create empty quotation or from list of products/services
|
||||||
|
DefaultProposalDurationValidity=Default quotation validity duration (in days)
|
||||||
|
UseCustomerContactAsPropalRecipientIfExist=Use customer contact address if defined instead of third party address as proposal recipient address
|
||||||
|
ClonePropal=Clone quotation
|
||||||
|
ConfirmClonePropal=Are you sure you want to clone this quotation <b>%s</b> ?
|
||||||
|
ProposalsAndProposalsLines=Quotation and lines
|
||||||
|
ProposalLine=Quotation line
|
||||||
|
# Document models
|
||||||
|
DocModelAzurDescription=A complete quotation (logo...)
|
||||||
|
DocModelJauneDescription=Jaune quotation model
|
||||||
|
DocModelRoigDescription=A complete quotation model with Spanish tax RE and IRPF
|
||||||
@ -7,6 +7,7 @@ Language_da_DA=Danish
|
|||||||
Language_de_DE=German
|
Language_de_DE=German
|
||||||
Language_en_AU=English (Australia)
|
Language_en_AU=English (Australia)
|
||||||
Language_en_GB=English (United Kingdom)
|
Language_en_GB=English (United Kingdom)
|
||||||
|
Language_en_IN=English (India)
|
||||||
Language_en_US=English (United States)
|
Language_en_US=English (United States)
|
||||||
Language_es_ES=Spanish
|
Language_es_ES=Spanish
|
||||||
Language_fi_FI=Fins
|
Language_fi_FI=Fins
|
||||||
|
|||||||
@ -7,6 +7,7 @@ Language_da_DA=Danois
|
|||||||
Language_de_DE=Allemand
|
Language_de_DE=Allemand
|
||||||
Language_en_AU=Anglais (Australie)
|
Language_en_AU=Anglais (Australie)
|
||||||
Language_en_GB=Anglais (Royaume-Uni)
|
Language_en_GB=Anglais (Royaume-Uni)
|
||||||
|
Language_en_IN=Anglais (Inde)
|
||||||
Language_en_US=Anglais (Etats-Unis)
|
Language_en_US=Anglais (Etats-Unis)
|
||||||
Language_es_ES=Espagnol
|
Language_es_ES=Espagnol
|
||||||
Language_fi_FI=Finois
|
Language_fi_FI=Finois
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user