<%#
 Copyright 2013-2017 the original author or authors from the JBooter project.

 This file is part of the JBooter project, see https://jbooter.github.io/
 for more information.

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-%>
{
    "global": {
        "title": "<%= capitalizedBaseName %>",
        "browsehappy": "Bạn đang sử dụng một trình duyệt <strong>quá cũ</strong>. Vui lòng <a href=\"http://browsehappy.com/?locale=en\">nâng cấp trình duyệt</a> của bạn để có trải nghiệm tốt nhất.",
        "menu": {
            "home": "Trang chủ",
            "jbooter-needle-menu-add-element": "JBooter will add additional menu entries here (do not translate!)",
            "entities": {
                "main": "Thực thể",
                "jbooter-needle-menu-add-entry": "JBooter will add additional entities here (do not translate!)"
            },
            "account": {
                "main": "Tài khoản",
                "settings": "Cài đặt",
                "password": "Mật khẩu",
                "sessions": "Phiên đăng nhập",
                "login": "Đăng nhập",
                "logout": "Đăng xuất",
                "register": "Đăng ký"
            },
            "admin": {
                "main": "Quản trị",
                <%_ if (applicationType == 'gateway') { _%>
                "gateway": "Điều hướng",
                <%_ } _%>
                "userManagement": "Quản lý tài khoản",
                "tracker": "Theo dõi người dùng",
                "metrics": "Số liệu",
                "health": "Tình trạng",
                "configuration": "Cấu hình",
                "logs": "Ghi logs",
                "audits": "Kiểm duyệt",
                "apidocs": "API",
                "database": "Cơ sở dữ liệu",
                "jbooter-needle-menu-add-admin-element": "JBooter will add additional menu entries here (do not translate!)"
            },
            "language": "Ngôn ngữ"
        },
        "form": {
            "username": "Tên tài khoản",
            "username.placeholder": "Nhập tên tài khoản của bạn",
            "newpassword": "Mật khẩu mới",
            "newpassword.placeholder": "Nhập mật khẩu mới",
            "confirmpassword": "Xác nhận mật khẩu mới",
            "confirmpassword.placeholder": "Nhập lại mật khẩu mới",
            "email": "Email",
            "email.placeholder": "Nhập email của bạn"
        },
        "messages": {
            "info": {
                <%_ if (clientFramework === 'angular1') { _%>
                "authenticated": "Nếu bạn muốn <a class=\"alert-link\" href=\"\" ng-click=\"vm.login()\">đăng nhập</a>, bạn có thể thử với tài khoản mặc định:<br/>- Quản trị viên (tài khoản=\"admin\" và mật khẩu=\"admin\") <br/>- Người dùng (tài khoản=\"user\" và mật khẩu=\"user\").",
                "register": "Bạn vẫn chưa có tài khoản? <a class=\"alert-link\" href=\"\" ng-click=\"vm.register()\">Đăng ký tài khoản mới</a>"
                <%_ } else { _%>
                "authenticated": {
                    "prefix": "Nếu bạn muốn ",
                    "link": "đăng nhập",
                    "suffix": ", bạn có thể thử với tài khoản mặc định:<br/>- Quản trị viên (tài khoản=\"admin\" và mật khẩu=\"admin\") <br/>- Người dùng (tài khoản=\"user\" và mật khẩu=\"user\")."
                },
                "register": {
                    "noaccount": "Bạn vẫn chưa có tài khoản?",
                    "link": "Đăng ký tài khoản mới"
                }
                <%_ } _%>
            },
            "error": {
                "dontmatch": "Xác nhận mật khẩu không khớp!"
            },
            "validate": {
                "newpassword": {
                    "required": "Bạn phải nhập mật khẩu.",
                    "minlength": "Mật khẩu phải có ít nhất 4 ký tự.",
                    "maxlength": "Mật khẩu không được vượt quá 50 ký tự.",
                    "strength": "Độ mạnh của mật khẩu:"
                },
                "confirmpassword": {
                    "required": "Bạn phải nhập lại mật khẩu để xác nhận.",
                    "minlength": "Mật khẩu phải có ít nhất 4 ký tự.",
                    "maxlength": "Mật khẩu không được vượt quá 50 ký tự."
                },
                "email": {
                    "required": "Bạn phải nhập email.",
                    "invalid": "Email bạn nhập không hợp lệ.",
                    "minlength": "Email phải có ít nhất 5 ký tự.",
                    "maxlength": "Email không được vượt quá 50 ký tự."
                }
            }
        },
        "field": {
            "id": "ID"
        },
        "ribbon": {
            "dev":"Phát triển"
        },
        "item-count": "Showing {{first}} - {{second}} of {{total}} items."
    },
    "entity": {
        "action": {
            "addblob": "Thêm nội dung",
            "addimage": "Thêm ảnh",
            "back": "Quay lại",
            "cancel": "Hủy",
            "delete": "Xóa",
            "edit": "Sửa",
            "open": "Mở",
            "save": "Lưu",
            "view": "Xem"
        },
        "detail": {
            "field": "Trường",
            "value": "Giá trị"
        },
        "delete": {
            "title": "Xác nhận hành động xóa"
        },
        "validation": {
            "required": "Trường này bắt buộc phải nhập.",
            "minlength": "Trường này phải có ít nhất {{ min }} ký tự.",
            "maxlength": "Trường này không được vượt quá {{ max }} ký tự.",
            "min": "Trường này phải lớn hơn {{ min }}.",
            "max": "Trường này phải nhỏ hơn {{ max }}.",
            "minbytes": "Dung lượng trường này phải lớn hơn {{ min }} bytes.",
            "maxbytes": "Dung lượng trường này phải nhỏ hơn {{ max }} bytes.",
            "pattern": "Trường này phải theo định dạng {{ pattern }}.",
            "number": "Trường này phải là một số.",
            "datetimelocal": "Trường này phải là định dạng thời gian."
        }
    },
    "error": {
        "internalServerError": "Lỗi máy chủ nội bộ",
        "server.not.reachable": "Không tìm thấy máy chủ",
        "url.not.found": "Không tìm thấy",
        "NotNull": "Trường {{ fieldName }} không được để trống!",
        "Size": "Trường {{ fieldName }} không nằm trong giới hạn tối thiểu/tối đa!",
        "userexists": "Tên đăng nhập đã được sử dụng!",
        "emailexists": "Email đã được sử dụng!",
        "idexists": "Thêm mới {{ entityName }} không được trùng với định danh đã tồn tại"
    },
    "footer": "Đây là chân trang của bạn"
}
