feat: Views localization

This commit is contained in:
NGPixel
2017-05-02 21:41:22 -04:00
parent ea2d98c9b6
commit 40c4ff80f4
19 changed files with 128 additions and 69 deletions

View File

@@ -12,7 +12,9 @@
"errors": {
"invalidlogin": "Invalid Login",
"invalidloginmsg": "The email or password is invalid.",
"invaliduseremail": "Invalid User Email",
"loginerror": "Login error",
"notyetauthorized": "You have not been authorized to login to this site yet.",
"toomanyattempts": "Too many attempts!",
"toomanyattemptsmsg": "You've made too many failed attempts in a short period of time, please try again {{time}}.",
"usernotfound": "User not found"

View File

@@ -1,11 +1,54 @@
{
"wiki": "Wiki",
"headers": {
"overview": "Overview"
"header": {
"overview": "Overview",
"createdoc": "Create New Document"
},
"footer": {
"poweredby": "Powered by",
"home": "Home",
"top": "Return to top"
},
"search": {
"placeholder": "Search...",
"results": "Search Results",
"nomatch": "No results matching your query",
"didyoumean": "Did you mean...?"
},
"sidebar": {
"nav": "NAV",
"navigation": "Navigation",
"pagecontents": "Page Contents",
"pastversions": "Past Versions"
},
"nav": {
"home": "Home",
"account": "Account",
"myprofile": "My Profile",
"stats": "Stats",
"syssettings": "System Settings",
"users": "Users",
"logout": "Logout",
"create": "Create",
"edit": "Edit",
"history": "History",
"source": "Source",
"move": "Move",
"allpages": "All Pages",
"login": "Login",
"normalview": "Normal View",
"viewlatest": "View Latest",
"discard": "Discard",
"savechanges": "Save Changes",
"savedocument": "Save Document"
},
"welcome": {
"title": "Welcome to your wiki!",
"subtitle": "Let's get started and create the home page.",
"createhome": "Create Home Page"
},
"loading": {
"source": "Loading source...",
"editor": "Loading editor..."
}
}
}

View File

@@ -1,17 +1,25 @@
{
"alreadyexists": "This entry already exists!",
"debugmsg": "Detailed debug trail",
"fileexists": "File {{path}} already exists.",
"forbidden": "Forbidden",
"forbiddendetail": "Sorry, you don't have the necessary permissions to access this page.",
"generic": "Oops, something went wrong",
"invalidaction": "Invalid Action.",
"invaliddestfolder": "Invalid Destination Folder!",
"invalidfiletype": "Invalid File Type.",
"invalidfolder": "Invalid Folder.",
"invalidoperation": "Invalid Operation!",
"invalidpath": "Invalid page path.",
"invaliduserid": "Invalid User Id",
"newpasswordtooshort": "New password is too short!",
"notexist": "Entry {{path}} does not exist!",
"notexistdetail": "Would you like to create this entry?",
"parentinvalid": "Parent entry is not a valid file.",
"parentisroot": "Parent entry is root.",
"remotetoolarge": "Remote file is too large!",
"reservedname": "You cannot create a document with this name as it is reserved by the system.",
"savefailed": "Failed to save document",
"starterfailed": "Could not load starter content!",
"unauthorized": "Unauthorized",
"actions": {

View File

@@ -0,0 +1,6 @@
{
"added": "Added {{path}}",
"deleted": "Deleted/Renamed {{path}}",
"updated": "Updated {{path}}",
"uploaded": "Uplodated {{path}}"
}