initial check-in. this file creates an object-tree beneath app.data.en containing two "classes" of application-messages: error and confirm. the messages themselves are basically skins stored as properties (several functions in global/objectFunctions.js are responsible to retrieve/render them)

This commit is contained in:
Robert Gaggl 2002-06-10 10:57:08 +00:00
parent e801583ca9
commit 50602bb1f7

111
code/Global/messages_en.js Normal file
View file

@ -0,0 +1,111 @@
// create the object that will contain all english messages
app.data.en = new Object();
app.data.en.error = new Object();
app.data.en.error.error = "An error occurred!";
app.data.en.error["delete"] = "Can't delete <% param.value1 %>!";
app.data.en.error.database = "Database-error: <% param.value1 %>";
app.data.en.error.nameInUse = "This name is already in use!";
app.data.en.error.noSpecialChars = "Please do not use special characters in the name!";
app.data.en.error.storyPublish = "Should the story appear online or not?";
app.data.en.error.textMissing = "You need at least some text!";
app.data.en.error.goodieNameMissing = "You must specify a name for this goodie!";
app.data.en.error.goodieExisting = "There is already a goodie with this name!";
app.data.en.error.goodieFileTooBig = "Goodiefile is too big to handle!";
app.data.en.error.goodieCreate = "Adding the goodie <% param.value1 %> failed!";
app.data.en.error.goodieNotFound = "Couln't find goodie <% param.value1 %>!";
app.data.en.error.goodieDelete = "Couldn't delete the goodie!";
app.data.en.error.goodieDirMissing = "You must specify a directory to store goodies!";
app.data.en.error.goodieDirNoExist = "The image-directory you specified either does not exist or is not writeable!";
app.data.en.error.goodieNoUpload = "Please upload a goodie and fill out the form ...";
app.data.en.error.fileInvalidExtension = "The file has no valid extension!";
app.data.en.error.fileSave = "Couldn't store the file on disk!";
app.data.en.error.imageNameMissing = "You must specify a name for this image!";
app.data.en.error.imageNoImage = "This was definetly no image!";
app.data.en.error.imageExisting = "There is already an image with this name!";
app.data.en.error.imageFileTooBig = "Imagefile is too big to handle!";
app.data.en.error.imageNoUpload = "Please upload an image and fill out the form ...";
app.data.en.error.imageDelete = "Couldn't delete the image!";
app.data.en.error.imageDirMissing = "You must specify a directory to store images!";
app.data.en.error.imageDirNoExist = "The image-directory you specified either does not exist or is not writeable!";
app.data.en.error.accountBlocked = "Sorry, your account was disabled!";
app.data.en.error.loginTypo = "Login failed! Maybe a typo?";
app.data.en.error.emailMissing1 = "Please type in your email-address!";
app.data.en.error.emailMissing2 = "Please specify an email-address!";
app.data.en.error.emailInvalid = "The email-address you entered is not valid!";
app.data.en.error.emailNoAccounts = "No accounts found for this eMail-address!";
app.data.en.error.emailSend = "An error occurred while trying to send the mail!";
app.data.en.error.passwordTwice = "Please type in your password twice!";
app.data.en.error.passwordNoMatch = "Passwords didn't match! Please type in again:";
app.data.en.error.unameMissing = "Please choose a username!";
app.data.en.error.unameNoSpecialChars = "Please don't use any special characters in your username!";
app.data.en.error.unameExisting = "Please choose a different username!";
app.data.en.error.memberExisting = "Sorry, there is already a member with this name.";
app.data.en.error.accountOldPwd = "Old password is incorrect!";
app.data.en.error.resultNoUser = "Couldn't find any user!";
app.data.en.error.userAlreadyMember = "This user is already a member of this weblog!";
app.data.en.error.adminDelete = "Sorry, Admins cannot be deleted!";
app.data.en.error.pollDelete = "Ooops! Couldn't delete the poll!";
app.data.en.error.pollMissing = "Please fill out the form to create a new poll";
app.data.en.error.weblogCreate = "Couldn't create your weblog!";
app.data.en.error.weblogCreateOnlyAdmins = "Sorry! Only administrators are allowed to create new Weblogs.";
app.data.en.error.weblogCreateNotAllowed = "Sorry! You are not allowed to create new Weblogs.";
app.data.en.error.weblogAliasMissing = "Please choose an alias for your weblog!";
app.data.en.error.weblogAliasExisting = "Sorry, we already have a weblog with this alias!";
app.data.en.error.weblogAliasNoSpecialChars = "Please don't use any special characters in the alias!";
app.data.en.error.weblogAliasReserved = "Sorry, this alias is reserved!";
app.data.en.error.weblogTitleMissing = "Please choose a title for your weblog!";
app.data.en.error.weblogEditMissing = "Please choose a weblog to edit!";
app.data.en.error.skinUpdate = "Couldn't find skin to update!";
app.data.en.error.timestampParse = "Error: Can't parse timestamp <% param.value1 %> as date";
app.data.en.error.topicNoSpecialChars = "The name of the topic contains forbidden characters!";
app.data.en.error.storyTopicMissing = "Can't publish the story in a topic because you didn't specify one!";
app.data.en.error.storyCreate = "Couldn't add the story!";
app.data.en.error.storyDelete = "Couldn't delete the story!";
app.data.en.error.accountModifyOwn = "You can't modify your own account!";
app.data.en.error.adminDeleteLast = "This system needs at least one system administrator!";
app.data.en.error.systemEmailMissing = "You must specify a system-email!";
app.data.en.error.memberNoRole = "Please choose a new role for this member!";
app.data.en.error.searchUserNoKey = "Please enter a keyword to search for!";
app.data.en.error.searchNothingFound = "Nothing found for '<% param.value1 %>'!";
app.data.en.error.memberDelete = "Please specify a membership to delete!";
app.data.en.error.pollMissingValues = "Please fill out the form to update the poll.";
app.data.en.error.commentDelete = "Couldn't delete the comment!";
app.data.en.error.userEditMissing = "Please choose a user to edit!";
app.data.en.confirm = new Object();
app.data.en.confirm.save = "The changes of <% param.value1 %> where saved successfully!";
app.data.en.confirm.update = "Changes saved successfully!";
app.data.en.confirm["delete"] = "Deleted successfully!";
app.data.en.confirm.goodieCreate= "The goodie <% param.value1 %> was added successfully!";
app.data.en.confirm.goodieDelete = "The goodie was deleted successfully!";
app.data.en.confirm.mailSendPassword = "A mail containing your the password(s) was sent successfully!";
app.data.en.confirm.memberCreate = "Added <% param.value1 %> to list of members!";
app.data.en.confirm.memberDelete = "Membership deleted successfully!";
app.data.en.confirm.pollUpdate = "The poll was updated successfully!";
app.data.en.confirm.vote = "Your vote was registered. You can change your vote until the poll is closed.";
app.data.en.confirm.pollCreate = "The poll was created successfully!";
app.data.en.confirm.pollDelete = "The poll was deleted successfully!";
app.data.en.confirm.pollClose = "The poll was closed successfully.";
app.data.en.confirm.weblogCreate = "Your weblog was created successfully!";
app.data.en.confirm.weblogDelete = "The weblog <% param.value1 %> was removed successfully!";
app.data.en.confirm.commentCreate = "Your posting was saved successfully!";
app.data.en.confirm.commentDelete = "The comment was deleted successfully";
app.data.en.confirm.storyCreate = "The story was created successfully!";
app.data.en.confirm.storyUpdate = "The story was updated successfully!";
app.data.en.confirm.storyDelete = "The story was deleted successfully!";
app.data.en.confirm.systemUpdate = "Successfully changed system configuration!";
app.data.en.confirm.logout = "Good bye, <% param.value1 %>! Lookin' forward to seeing you again!";
app.data.en.confirm.welcomeAntville = "Welcome to Antville, <% param.value1 %>! Have fun!";
app.data.en.confirm.welcomeWeblog = "Welcome to <% param.value2 %>, <% param.value1 %>. Have fun!";
app.data.en.confirm.noVote = "You did not vote, yet. You can vote until the poll is closed.";
app.data.en.confirm.imageCreate = "Your image was saved successfully!";
app.data.en.confirm.imageDelete = "The image was deleted successfully!"
app.data.en.confirm.introLogin = "Please enter your login name and password:";
app.data.en.confirm.resultOne = "Found one item for '<% param.value1 %>'!";
app.data.en.confirm.resultMany = "Found <% param.value2 %> items for '<% param.value1 %>'!";
app.data.en.confirm.resultDisplay = "Displaying items <% param.value1 %> to <% param.value2 %>.";
app.data.en.confirm.resultOneUser = "One user found!";
app.data.en.confirm.resultTooManyUsers = "More than 100 users found, displaying the first 100!";
app.data.en.confirm.resultManyUsers = "<% param.value1 %> users found!";
app.data.en.confirm.subscriptionCreate = "The weblog '<% param.value1 %>' was added to your subscriptions!";