2012-08-09, 01:28:35
I want to add some generic language tokens to core.
Ideally this will make multi language incorporation for plugin authors a little easier.
So I am building a list of generic terms.
We already have quite a bit in our language file, but they are defined per page and you have to check to find them all over the place as they were not designed to be generic.
To start this is what I have so far, input welcome.
Sorry its not alphabetized
Ideally this will make multi language incorporation for plugin authors a little easier.
So I am building a list of generic terms.
We already have quite a bit in our language file, but they are defined per page and you have to check to find them all over the place as they were not designed to be generic.
To start this is what I have so far, input welcome.
Code:
/*
* Generics
*/
"TITLE" => "Title",
"DELETE" => "Delete",
"REMOVE" => "Remove",
"FILE" => "File",
"FOLDER" => "Folder",
"DIRECTORY" => "Directory",
"CLOSE" => "Close",
"OPEN" => "Open",
"NEXT" => "Next",
"PREVIOUS" => "Previous",
"BACK" => "Back",
"TOP" => "Top",
"BOTTOM" => "Bottom",
"LEFT" => "Left",
"RIGHT" => "Right",
"UP" => "Up",
"DOWN" => "Down",
"REDO" => "Redo",
# "UNDO" => "Undo",
# "YES" => "Yes",
# "NO" => "No",
"RESET" => "Reset",
"SAVE" => "Save",
#"EDIT" => "Edit",
"SHOW" => "Show",
# "CANCEL" => "Cancel",
# "DESCRIPTION" => "Description",
"STATUS" => "Status",
# "ERROR" => "Error",
"SUCCESS" => "Success",
"FAILURE" => "Failure",
"PASSED" => "Passed",
"FAILED" => "Failed",
"INFO" => "Info",
"WARNING" => "Warning",
"ALERT" => "Alert",
"MESSAGE" => "Message",
"PRINT" => "Print",
"VIEW" => "View",
"REFRESH" => "Refresh",
"DOWNLOAD" => "Download",
"THEME" => "Theme",
"COMPONENT" => "Component",
"PLUGIN" => "Plugin",
# "NONE" => "None",
# "PAGE" => "Page",
"TOTAL" => "Total",
"COUNT" => "Count",
"ADD" => "Add",
"NEW" => "New",
# "DATE" => "Date",
"DAY" => "Day",
"MONTH" => "Month",
"YEAR" => "Year",
"GOOD" => "Good",
"BAD" => "Bad",
"PASS" => "Pass",
"FAIL" =>"Fail",
# "OK" => "OK",
"ITEMS" => "Items",
"LIST" => "List",
"ORDER" => "Order",
"MENU" => "Menu",
"LOG" => "Log",
"GEN_ENABLE" => "Enable",
"GEN_DISABLE" => "Disable",
"ENABLED" => "Enabled",
"DISABLED" => "Disabled",
"ACTIVE" => "Active",
"INACTIVE" => "Inactive",
Sorry its not alphabetized