Fix: translation for vi_VN

This commit is contained in:
Laurent Destailleur 2014-10-11 15:46:37 +02:00
parent cd8936a224
commit a804fe62b4
2 changed files with 18 additions and 18 deletions

View File

@ -1,5 +1,5 @@
# Dolibarr language file - Source file is en_US - main # Dolibarr language file - Source file is en_US - main
DIRECTION=lít DIRECTION=ltr
# Note for Chinese: # Note for Chinese:
# msungstdlight or cid0ct are for traditional Chinese (traditional does not render with Ubuntu pdf reader) # msungstdlight or cid0ct are for traditional Chinese (traditional does not render with Ubuntu pdf reader)
# stsongstdlight or cid0cs are for simplified Chinese # stsongstdlight or cid0cs are for simplified Chinese
@ -7,21 +7,21 @@ DIRECTION=lít
FONTFORPDF=Helvetica FONTFORPDF=Helvetica
FONTSIZEFORPDF=10 FONTSIZEFORPDF=10
SeparatorDecimal=. SeparatorDecimal=.
SeparatorThousand=, SeparatorThousand=None
FormatDateShort=% M /% d /% Y FormatDateShort=%m/%d/%Y
FormatDateShortInput=% M /% d /% Y FormatDateShortInput=%m/%d/%Y
FormatDateShortJava=MM / dd / yyyy FormatDateShortJava=MM/dd/yyyy
FormatDateShortJavaInput=MM / dd / yyyy FormatDateShortJavaInput=MM/dd/yyyy
FormatDateShortJQuery=dd / mm / yyyy FormatDateShortJQuery=mm/dd/yy
FormatDateShortJQueryInput=dd / mm / yyyy FormatDateShortJQueryInput=mm/dd/yy
FormatHourShort=% I:% M% p FormatHourShort=%I:%M %p
FormatHourShortDuration=% H:% M FormatHourShortDuration=%H:%M
FormatDateTextShort=% B% d,% Y FormatDateTextShort=%b %d, %Y
FormatDateText=% B% d,% Y FormatDateText=%B %d, %Y
FormatDateHourShort=% M /% d /% Y% I:% M% p FormatDateHourShort=%m/%d/%Y %I:%M %p
FormatDateHourSecShort=% M /% d /% Y% I:% M:% S% p FormatDateHourSecShort=%m/%d/%Y %I:%M:%S %p
FormatDateHourTextShort=% B% d,% Y,% I:% M% p FormatDateHourTextShort=%b %d, %Y, %I:%M %p
FormatDateHourText=% B% d,% Y,% I:% M% p FormatDateHourText=%B %d, %Y, %I:%M %p
DatabaseConnection=Kết nối cơ sở dữ liệu DatabaseConnection=Kết nối cơ sở dữ liệu
NoTranslation=Không có bản dịch NoTranslation=Không có bản dịch
NoRecordFound=Không có hồ sơ tìm thấy NoRecordFound=Không có hồ sơ tìm thấy

View File

@ -163,10 +163,10 @@ class LangTest extends PHPUnit_Framework_TestCase
// Test java string contains only d,M,y,/,-,. and not m,... // Test java string contains only d,M,y,/,-,. and not m,...
$result=$tmplangs->trans("FormatDateShortJava"); $result=$tmplangs->trans("FormatDateShortJava");
print __METHOD__." FormatDateShortJava=".$result."\n"; print __METHOD__." FormatDateShortJava=".$result."\n";
$this->assertRegExp('/^[dMy\/\-\.]+$/',$result,'FormatDateShortJava'); $this->assertRegExp('/^[dMy\/\-\.]+$/',$result,'FormatDateShortJava KO for lang code '.$code);
$result=$tmplangs->trans("FormatDateShortJavaInput"); $result=$tmplangs->trans("FormatDateShortJavaInput");
print __METHOD__." FormatDateShortJavaInput=".$result."\n"; print __METHOD__." FormatDateShortJavaInput=".$result."\n";
$this->assertRegExp('/^[dMy\/\-\.]+$/',$result,'FormatDateShortJavaInput'); $this->assertRegExp('/^[dMy\/\-\.]+$/',$result,'FormatDateShortJavaInput KO for lang code '.$code);
unset($tmplangs); unset($tmplangs);
} }