WebInterface.DefaultText.BirthYear=Year
WebInterface.DefaultText.FieldName=Field name
WebInterface.DefaultText.Option.InsertionDelay=Time to wait after a Sone is modified before insert (in seconds)
+WebInterface.DefaultText.CreateAlbum.Name=Album name
+WebInterface.DefaultText.CreateAlbum.Description=Album description
WebInterface.Confirmation.DeletePostButton=Yes, delete!
WebInterface.Confirmation.DeleteReplyButton=Yes, delete!
WebInterface.SelectBox.Choose=Choose…
});
/* ajaxify album creation input field. */
- getTranslation("WebInterface.DefaultText.Reply", function(text) {
- $("#create-album input[type=text]").each(function() {
+ getTranslation("WebInterface.DefaultText.CreateAlbum.Name", function(text) {
+ $("#create-album input[name='name']").each(function() {
registerInputTextareaSwap(this, text, "name", false, true);
});
});
+ getTranslation("WebInterface.DefaultText.CreateAlbum.Description", function(text) {
+ $("#create-album input[name='description']").each(function() {
+ registerInputTextareaSwap(this, text, "description", true, true);
+ });
+ });
/* Ajaxifies all posts. */
/* calling getTranslation here will cache the necessary values. */