Skip to content

Commit

Permalink
Vietnamese added (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
tienpv222 authored and felipemarinho97 committed Oct 28, 2018
1 parent 56c1839 commit ce9a2ba
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import it from 'react-intl/locale-data/it'; // Italian
import fa from 'react-intl/locale-data/fa'; // Farsi
import sr from 'react-intl/locale-data/sr'; // Serbian
import ar from 'react-intl/locale-data/ar'; // Arabic
import vi from 'react-intl/locale-data/vi'; // Vietnamese
import zh from 'react-intl/locale-data/zh'; // Chinese
// ... and so on

Expand All @@ -41,6 +42,7 @@ import 'moment/locale/it';
import 'moment/locale/fa';
import 'moment/locale/sr';
import 'moment/locale/ar';
import 'moment/locale/vi';
import 'moment/locale/zh';

const localeData = [
Expand All @@ -60,6 +62,7 @@ const localeData = [
...fa,
...sr,
...ar,
...vi,
...zh,
];

Expand Down
13 changes: 13 additions & 0 deletions src/messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,5 +231,18 @@ export default {
PasswordWarning: "الرجاء ادخال كلمة المرور."
}
},
vi: {
LoginScreen: {
Hibernate: "Chế độ ngủ đông",
Suspend: "Chế độ ngủ",
Restart: "Khởi động lại",
Shutdown: "Tắt nguồn",
Lock: "Khóa",
UserPlaceholder: "Người dùng",
PasswordPlaceholder: "Mật khẩu",
UsernameWarning: "Xin nhập tên người dùng.",
PasswordWarning: "Xin nhập mật khẩu."
}
},
};

0 comments on commit ce9a2ba

Please sign in to comment.