add: i18n for more Gallery templates
add: International macro now takes sprintf arguments as third and subsequent parameters add: Keywords are now processed and given to the photo template, along with a url to search the gallery for the keyword. add: Photos now track views
This commit is contained in:
parent
6c72ee9a41
commit
fa156af1a9
7 changed files with 265 additions and 5 deletions
|
|
@ -611,11 +611,46 @@ our $I18N = {
|
|||
},
|
||||
|
||||
'template by' => {
|
||||
message => "By",
|
||||
message => 'By',
|
||||
lastUpdated => 0,
|
||||
context => "Lead-in for the user the album or photo was uploaded by",
|
||||
context => q{Lead-in for the author of an Album or Photo},
|
||||
},
|
||||
|
||||
'template galleryalbum url' => {
|
||||
message => 'View Album',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for link from List Albums view to GalleryAlbum view',
|
||||
},
|
||||
|
||||
'template url_search' => {
|
||||
message => 'Advanced Search',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for link to the Gallery search page.',
|
||||
},
|
||||
|
||||
'template url_listFilesForCurrentUser' => {
|
||||
message => 'My Gallery',
|
||||
lastUpdated => 0,
|
||||
context => q{Label for link to view the current user's files and albums.},
|
||||
},
|
||||
|
||||
'template listFilesForUser title' => {
|
||||
message => q{%s's Gallery},
|
||||
lastUpdated => 0,
|
||||
context => q{Label for List Files For User view. '%s' will be replaced with the username},
|
||||
},
|
||||
|
||||
'template listFilesForUser albums title' => {
|
||||
message => q{Albums},
|
||||
lastUpdated => 0,
|
||||
context => q{Title for list of user's Albums},
|
||||
},
|
||||
|
||||
'template listFilesForUser albums files' => {
|
||||
message => q{files},
|
||||
lastUpdated => 0,
|
||||
context => q{Label for number of files in the Album},
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -306,6 +306,53 @@ our $I18N = {
|
|||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
'template url_addPhoto' => {
|
||||
message => 'Add a Photo',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for URL to add a new Photo asset.',
|
||||
},
|
||||
|
||||
'template url_delete' => {
|
||||
message => 'Delete Album',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for URL to delete this Album',
|
||||
},
|
||||
|
||||
'template url_edit' => {
|
||||
message => 'Edit Album',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for URL to edit this Album',
|
||||
},
|
||||
|
||||
'template url_thumbnails' => {
|
||||
message => 'Thumbnails',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for URL to the Thumbnails view of the Album',
|
||||
},
|
||||
|
||||
'template url_slideshow' => {
|
||||
message => 'Slideshow',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for URL to the Slideshow view of the album',
|
||||
},
|
||||
|
||||
'template url' => {
|
||||
message => 'Album',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for URL to the default view of the album',
|
||||
},
|
||||
|
||||
'template file creationDate' => {
|
||||
message => 'Uploaded on',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for the creation date of the file',
|
||||
},
|
||||
|
||||
'template file numberOfComments' => {
|
||||
message => 'Comments',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for the number of comments on the file',
|
||||
},
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
|
|
@ -296,6 +296,108 @@ our $I18N = {
|
|||
lastUpdated => 0,
|
||||
},
|
||||
|
||||
'template view title' => {
|
||||
message => 'Photo Details',
|
||||
lastUpdated => 0,
|
||||
context => 'The title of the default view of Photo assets',
|
||||
},
|
||||
|
||||
'template url_edit' => {
|
||||
message => 'Edit Photo',
|
||||
lastUpdated => 0,
|
||||
context => 'The label for the Edit Photo button',
|
||||
},
|
||||
|
||||
'template url_delete' => {
|
||||
message => 'Delete Photo',
|
||||
lastUpdated => 0,
|
||||
context => 'The label for the delete photo button',
|
||||
},
|
||||
|
||||
'template url_makeShortcut' => {
|
||||
message => 'Cross Publish',
|
||||
lastUpdated => 0,
|
||||
context => 'The label for the button to make a shortcut in another album',
|
||||
},
|
||||
|
||||
'template url_album' => {
|
||||
message => 'Back to Album',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for the link to go back to the album',
|
||||
},
|
||||
|
||||
'template fileUrl' => {
|
||||
message => 'View Full Size Image',
|
||||
lastUpdated => 0,
|
||||
context => 'Link to the full size image',
|
||||
},
|
||||
|
||||
'template comments title' => {
|
||||
message => 'Comments',
|
||||
lastUpdated => 0,
|
||||
context => 'Title for the comments section of the photo page.',
|
||||
},
|
||||
|
||||
'template comment creationDate' => {
|
||||
message => 'Posted On',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for creation date of comment',
|
||||
},
|
||||
|
||||
'template comment delete confirm' => {
|
||||
message => 'Are you sure you want to delete this comment?',
|
||||
lastUpdated => 0,
|
||||
context => 'Confirmation message for deleting a comment.',
|
||||
},
|
||||
|
||||
'template url_deleteComment' => {
|
||||
message => 'delete',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for delete link for comments.',
|
||||
},
|
||||
|
||||
'template creationDate' => {
|
||||
message => 'Uploaded on',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for creation date of photo',
|
||||
},
|
||||
|
||||
'template views' => {
|
||||
message => 'Views',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for number of views of photo',
|
||||
},
|
||||
|
||||
'template keywords' => {
|
||||
message => 'Tags',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for the keywords of the photo',
|
||||
},
|
||||
|
||||
'template location' => {
|
||||
message => 'Location',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for the location of the photo',
|
||||
},
|
||||
|
||||
'template friendsOnly label' => {
|
||||
message => 'Privacy',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for the friends only setting.',
|
||||
},
|
||||
|
||||
'template friendsOnly yes' => {
|
||||
message => 'Friends Only',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for photos that are friends only',
|
||||
},
|
||||
|
||||
'template friendsOnly no' => {
|
||||
message => 'Public',
|
||||
lastUpdated => 0,
|
||||
context => 'Label for photos that are not friends only',
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue