Trad: Now date format is stored in language files.
This commit is contained in:
parent
b5d5d751d0
commit
80e2827db1
@ -3,7 +3,7 @@ CHARSET = UTF-8
|
||||
SeparatorDecimal = ,
|
||||
SeparatorThousand =
|
||||
FormatDateShort=%d/%m/%Y
|
||||
FormatDateShort_java=dd/MM/yyyy
|
||||
FormatDateShortJava=dd/MM/yyyy
|
||||
FormatHourShort=%H:%M
|
||||
FormatDateTextShort=%d %b %Y
|
||||
FormatDateText=%d %B %Y
|
||||
|
||||
@ -4,7 +4,7 @@ CHARSET=UTF-8
|
||||
SeparatorDecimal=.
|
||||
SeparatorThousand=,
|
||||
FormatDateShort=%d/%m/%Y
|
||||
FormatDateShort_java=dd/MM/yyyy
|
||||
FormatDateShortJava=dd/MM/yyyy
|
||||
FormatHourShort=%H:%M
|
||||
FormatDateTextShort=%d %b %Y
|
||||
FormatDateText=%d %B %Y
|
||||
|
||||
@ -3,7 +3,7 @@ CHARSET=UTF-8
|
||||
SeparatorDecimal=.
|
||||
SeparatorThousand=,
|
||||
FormatDateShort=%d/%m/%Y
|
||||
FormatDateShort_java=dd/MM/yyyy
|
||||
FormatDateShortJava=dd/MM/yyyy
|
||||
FormatHourShort=%H:%M
|
||||
FormatDateTextShort=%d %b %Y
|
||||
FormatDateText=%d %B %Y
|
||||
|
||||
@ -3,7 +3,7 @@ CHARSET=UTF-8
|
||||
SeparatorDecimal=.
|
||||
SeparatorThousand=,
|
||||
FormatDateShort=%d/%m/%Y
|
||||
FormatDateShort_java=dd/MM/yyyy
|
||||
FormatDateShortJava=dd/MM/yyyy
|
||||
FormatHourShort=%I:%M %p
|
||||
FormatDateTextShort=%b %d, %Y
|
||||
FormatDateText=%B %d, %Y
|
||||
|
||||
@ -3,7 +3,7 @@ CHARSET = UTF-8
|
||||
SeparatorDecimal = ,
|
||||
SeparatorThousand =
|
||||
FormatDateShort=%d/%m/%Y
|
||||
FormatDateShort_java=dd/MM/yyyy
|
||||
FormatDateShortJava=dd/MM/yyyy
|
||||
FormatHourShort=%H:%M
|
||||
FormatDateTextShort=%d %b %Y
|
||||
FormatDateText=%d %B %Y
|
||||
|
||||
@ -11,7 +11,7 @@ CHARSET=UTF-8
|
||||
SeparatorDecimal=,
|
||||
SeparatorThousand=
|
||||
FormatDateShort=%d.%m.%Y
|
||||
FormatDateShort_java=dd.MM.yyyy
|
||||
FormatDateShortJava=dd.MM.yyyy
|
||||
FormatHourShort=%H.%M
|
||||
FormatDateTextShort=%d. %b %Y
|
||||
FormatDateText=%d. %B %Y
|
||||
|
||||
@ -3,7 +3,7 @@ CHARSET=UTF-8
|
||||
SeparatorDecimal=,
|
||||
SeparatorThousand=
|
||||
FormatDateShort=%d/%m/%Y
|
||||
FormatDateShort_java=dd/MM/yyyy
|
||||
FormatDateShortJava=dd/MM/yyyy
|
||||
FormatHourShort=%H:%M
|
||||
FormatDateTextShort=%d %b %Y
|
||||
FormatDateText=%d %B %Y
|
||||
|
||||
@ -3,7 +3,7 @@ CHARSET=UTF-8
|
||||
SeparatorDecimal=,
|
||||
SeparatorThousand=
|
||||
FormatDateShort=%d.%m.%Y
|
||||
FormatDateShort_java=dd.MM.yyyy
|
||||
FormatDateShortJava=dd.MM.yyyy
|
||||
FormatHourShort=%H:%M
|
||||
FormatDateTextShort=%d %b %Y
|
||||
FormatDateText=%d %B %Y
|
||||
|
||||
@ -3,7 +3,7 @@ CHARSET=UTF-8
|
||||
SeparatorDecimal=,
|
||||
SeparatorThousand=
|
||||
FormatDateShort=%d-%m-%Y
|
||||
FormatDateShort_java=dd-MM-yyyy
|
||||
FormatDateShortJava=dd-MM-yyyy
|
||||
FormatHourShort=%H:%M
|
||||
FormatDateTextShort=%d %b %Y
|
||||
FormatDateText=%d %B %Y
|
||||
|
||||
@ -3,7 +3,7 @@ CHARSET=UTF-8
|
||||
SeparatorDecimal=,
|
||||
SeparatorThousand=
|
||||
FormatDateShort=%d/%m/%Y
|
||||
FormatDateShort_java=dd/MM/yyyy
|
||||
FormatDateShortJava=dd/MM/yyyy
|
||||
FormatHourShort=%H:%M
|
||||
FormatDateTextShort=%d %b %Y
|
||||
FormatDateText=%d %B %Y
|
||||
|
||||
@ -3,7 +3,7 @@ CHARSET =ISO-8859-1
|
||||
SeparatorDecimal =,
|
||||
SeparatorThousand =
|
||||
FormatDateShort=%d/%m/%Y
|
||||
FormatDateShort_java=dd/MM/yyyy
|
||||
FormatDateShortJava=dd/MM/yyyy
|
||||
FormatHourShort=%H.%M
|
||||
FormatDateTextShort=%d %b %Y
|
||||
FormatDateText=%d %B %Y
|
||||
|
||||
@ -3,7 +3,7 @@ CHARSET=UTF-8
|
||||
SeparatorDecimal=,
|
||||
SeparatorThousand=
|
||||
FormatDateShort=%d.%m.%Y
|
||||
FormatDateShort_java=dd.MM.yyyy
|
||||
FormatDateShortJava=dd.MM.yyyy
|
||||
FormatHourShort=%H.%M
|
||||
FormatDateTextShort=%d. %b %Y
|
||||
FormatDateText=%d. %B %Y
|
||||
|
||||
@ -3,7 +3,7 @@ CHARSET=UTF-8
|
||||
SeparatorDecimal=,
|
||||
SeparatorThousand=
|
||||
FormatDateShort=%d/%m/%Y
|
||||
FormatDateShort_java=dd/MM/yyyy
|
||||
FormatDateShortJava=dd/MM/yyyy
|
||||
FormatHourShort=%H:%M
|
||||
FormatDateTextShort=%d %b %Y
|
||||
FormatDateText=%d %B %Y
|
||||
|
||||
@ -13,7 +13,7 @@ CHARSET=UTF-8
|
||||
SeparatorDecimal=,
|
||||
SeparatorThousand=
|
||||
FormatDateShort=%d-%m-%Y
|
||||
FormatDateShort_java=dd-MM-yyyy
|
||||
FormatDateShortJava=dd-MM-yyyy
|
||||
FormatHourShort=%H:%M
|
||||
FormatDateTextShort=%d %b %Y
|
||||
FormatDateText=%d %B %Y
|
||||
|
||||
@ -13,7 +13,7 @@ CHARSET=UTF-8
|
||||
SeparatorDecimal=,
|
||||
SeparatorThousand=
|
||||
FormatDateShort=%d-%m-%Y
|
||||
FormatDateShort_java=dd-MM-yyyy
|
||||
FormatDateShortJava=dd-MM-yyyy
|
||||
FormatHourShort=%H:%M
|
||||
FormatDateTextShort=%d %b %Y
|
||||
FormatDateText=%d %B %Y
|
||||
|
||||
@ -3,7 +3,7 @@ CHARSET=UTF-8
|
||||
SeparatorDecimal=,
|
||||
SeparatorThousand=
|
||||
FormatDateShort=%d/%m/%Y
|
||||
FormatDateShort_java=dd/MM/yyyy
|
||||
FormatDateShortJava=dd/MM/yyyy
|
||||
FormatHourShort=%H:%M
|
||||
FormatDateTextShort=%d %b %Y
|
||||
FormatDateText=%d %B %Y
|
||||
|
||||
@ -11,7 +11,7 @@ CHARSET=UTF-8
|
||||
SeparatorDecimal=,
|
||||
SeparatorThousand=
|
||||
FormatDateShort=%d.%m.%Y
|
||||
FormatDateShort_java=dd.MM.yyyy
|
||||
FormatDateShortJava=dd.MM.yyyy
|
||||
FormatHourShort=%H:%M
|
||||
FormatDateTextShort=%d %b %Y
|
||||
FormatDateText=%d %B %Y
|
||||
|
||||
@ -11,7 +11,7 @@ CHARSET=UTF-8
|
||||
SeparatorDecimal=,
|
||||
SeparatorThousand=
|
||||
FormatDateShort=%d.%m.%Y
|
||||
FormatDateShort_java=dd.MM.yyyy
|
||||
FormatDateShortJava=dd.MM.yyyy
|
||||
FormatHourShort=%H:%M
|
||||
FormatDateTextShort=%d %b %Y
|
||||
FormatDateText=%d %B %Y
|
||||
|
||||
@ -290,8 +290,8 @@ class Translate {
|
||||
// Format for date
|
||||
if ($domain == 'main')
|
||||
{
|
||||
$conf->format_date_short=empty($this->tab_translate['FormatDateShort'])?"%d/%m/%Y":$this->tab_translate['FormatDateShort']; # Format of day with PHP/C tags (strftime functions)
|
||||
$conf->format_date_short_java=empty($this->tab_translate['FormatDateShort'])?"dd/MM/yyyy":$this->tab_translate['FormatDateShort']; # Format of day with Java tags
|
||||
$conf->format_date_short=empty($this->tab_translate['FormatDateShort'])?"%d/%m/%Y":$this->tab_translate['FormatDateShort']; # Format of day with PHP/C tags (strftime functions)
|
||||
$conf->format_date_short_java=empty($this->tab_translate['FormatDateShortJava'])?"dd/MM/yyyy":$this->tab_translate['FormatDateShortJava']; # Format of day with Java tags
|
||||
$conf->format_hour_short=empty($this->tab_translate['FormatHourShort'])?"%H:%M":$this->tab_translate['FormatHourShort'];
|
||||
$conf->format_date_text_short=empty($this->tab_translate['FormatDateTextShort'])?"%d %b %Y":$this->tab_translate['FormatDateTextShort'];
|
||||
$conf->format_date_text=empty($this->tab_translate['FormatDateText'])?"%d %B %Y":$this->tab_translate['FormatDateText'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user