Closed ajphukan closed 8 years ago
Thank you very much, if add some testcase will be perfact.
Can you explain or give the line number of the code to change ...
On 27-Sep-2016 7:13 AM, "hustcc" notifications@github.com wrote:
Thank you very much, if add some testcase will be perfact.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hustcc/timeago/pull/5#issuecomment-249744951, or mute the thread https://github.com/notifications/unsubscribe-auth/AEaGrYY5xRdf7sIf3isnB9wLhH8mCHNmks5quHTSgaJpZM4KGsPb .
You can run
./test/do_test.sh
to run testcase.
for locale test, you can write a new test file in test/locales/
dir, and add
python test/locales/<locale_name>.py
into test/do_test.sh
.
means i have to write the whole test file like the eng test case ...
On 27 September 2016 at 10:01, hustcc notifications@github.com wrote:
You can run
./test/do_test.sh
to run testcase.
for locale test, you can write a new test file in test/locales/ dir, and add
python test/locales/
.py into test/do_test.sh.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hustcc/timeago/pull/5#issuecomment-249763939, or mute the thread https://github.com/notifications/unsubscribe-auth/AEaGrQim7KoC8Kce1j0cbuDQWXF_locxks5quJwngaJpZM4KGsPb .
yes ^_^
okk let me write the test case first .. if you need help to port local files from timeago.js to timeago ...
On 27 September 2016 at 11:18, hustcc notifications@github.com wrote:
yes ^_^
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hustcc/timeago/pull/5#issuecomment-249772189, or mute the thread https://github.com/notifications/unsubscribe-auth/AEaGrUif_I1StNhJEXSQevnhHAnyeR13ks5quK4ygaJpZM4KGsPb .
These locale files are incorrectly named. They should be hi_IN.py
or hi.py
(Hindi) and bn_IN.py
(Bengali). IN
is the country code and not the language code, so it should appear second. Bengali is bn
, not bg
.
Two more language for locale