UNPKG

generator-joomla-spc

Version:

Joomla-spc generator for Yeoman. Creates Joomla 2.5 and 3.0 files

129 lines (115 loc) 11.5 kB
;com_<%= _.slugify(componentName) %> <%= _.slugify(componentName) %> component for Joomla ; @version 1.0.0 - Last updated on 16 November 2013 ; @package ; @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL v2 or later ; author ; website COM_<%= _.slugify(componentName).toUpperCase() %>_ADMINISTRATION="<%= _.str.capitalize(_.slugify(componentName)) %> - Administration" COM_<%= _.slugify(componentName).toUpperCase() %>_MANAGER_<%= _.slugify(componentName).toUpperCase() %>S="<%= _.str.capitalize(_.slugify(componentName)) %> manager" COM_<%= _.slugify(componentName).toUpperCase() %>_CONFIGURATION="<%= _.str.capitalize(_.slugify(componentName)) %> Configuration" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_ENABLED="Enabled" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_DISABLED="Disabled" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_MAIN_HEADER="<%= _.str.capitalize(_.slugify(componentName)) %>" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_MAIN_HEADER_DESC="Main configuration for <%= _.str.capitalize(_.slugify(componentName)) %> component" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_UPLOAD_HEADER="File Upload" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_UPLOAD_HEADER_DESC="Please refer to the PHP documentation (http://php.net) for help on file upload settings like file_uploads, post_max_size, etc. Remember that the apache webserver also has a LimitRequestBody setting that restricts the size of all POST (this overrules your PHP setting)." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_SORT="Sort option" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_SORT_DESC="Select preferred sorting option to display albums" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_SORT_ASCEND="All Ascending" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_SORT_DESCEND="All Descending" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_SORT_FOLDER_DESCEND="Files Ascending, Folders Descending" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_DIMENSIONS_HEADER="Dimensions" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_DIMENSIONS_HEADER_DESC="Image sizing settings for <%= _.str.capitalize(_.slugify(componentName)) %> component" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_DEBUG_HEADER="Debug" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_DEBUG_HEADER_DESC="Debug settings for <%= _.str.capitalize(_.slugify(componentName)) %> component" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMAGE_DIR="Image Directory" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMAGE_DIR_DESC="Specify the root image directory, the path should be relative to the Joomla root directory and start with a directory separator." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_FOLDER_CACHE="Cache Folder Thumbnails" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_FOLDER_CACHE_DESC="Folder caching improves performance for large image directories." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_FOLDER_PERMISSIONS="Folder permissions" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_FOLDER_PERMISSIONS_DESC="Set the filesystem permission for new folders." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_MAX_EXEC_TIME="Maximum Execution Time" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_MAX_EXEC_TIME_DESC="Set the maximum execution time for the php-scripts (longest while processing uploaded images)." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_DISPLAY_JS="Display JavaScript" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_DISPLAY_JS_DESC="Choose the JavaScript display plugin." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_DISPLAY_JS_COLORBOX="ColorBox" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_DISPLAY_JS_FANCYBOX="FancyBox" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_DISPLAY_JS_NONE="None" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_UPLOAD_JS="Upload JavaScript" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_UPLOAD_JS_DESC="Enable / Disable the javascript-snippet that validates the uploaded file extention on client side." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMG_RESIZEMETHOD="Resize Method" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMG_RESIZEMETHOD_DESC="Select the prefered resizing method to use, refer to the PHP documentation for more information on both methods." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMG_RESIZEMETHOD0="Auto" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMG_RESIZEMETHOD1="Copy Resized" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMG_RESIZEMETHOD2="Copy Resampled" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMG_THUMBFACTOR="Thumbnail factor" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMG_THUMBFACTOR_DESC="Set division factor for thumbnails based on the default image size." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMGSIZE_DEFAULT_WIDTH="Default image width" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMGSIZE_DEFAULT_WIDTH_DESC="Set the default image width for main image display." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMGSIZE_DEFAULT_HEIGHT="Default image height" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMGSIZE_DEFAULT_HEIGHT_DESC="Set the default image height for main image display." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMGSIZE_MAX_WIDTH="Maximum image width" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMGSIZE_MAX_WIDTH_DESC="Set the maximum image width for stored images (set to -1 to disable)." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMGSIZE_MAX_HEIGHT="Maximum image height" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMGSIZE_MAX_HEIGHT_DESC="Set the maximum image height for stored images (set to -1 to disable)." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_HORIZONTAL_SPACING="Horizontal thumbnail spacing" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_HORIZONTAL_SPACING_DESC="Set the horizontal spacing for showing image/album thumbnails." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_VERTICAL_SPACING="Vertical thumbnail spacing" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_VERTICAL_SPACING_DESC="Set the vertical spacing for showing image/album thumbnails." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMG_HIDE_CAPTION="Hide image captions" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_IMG_HIDE_CAPTION_DESC="Enable / Disable hiding of image captions for albums with only images." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_VERTICAL_SPACING_IMG_ONLY="Reduced vertical thumbnail spacing" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_VERTICAL_SPACING_IMG_ONLY_DESC="Set the vertical spacing for showing thumbnails in image only albums." COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_DEBUG="Debugging" COM_<%= _.slugify(componentName).toUpperCase() %>_CFG_DEBUG_DESC="Enables Debugging information for editmode and backend." ;COPY FROM FRONTEND TRANSLATIONS BELOW.... COM_<%= _.slugify(componentName).toUpperCase() %>="<%= _.str.capitalize(_.slugify(componentName)) %>" COM_<%= _.slugify(componentName).toUpperCase() %>_NEW_ALBUM="Create Album" COM_<%= _.slugify(componentName).toUpperCase() %>_NEW_CAT_OR_YEAR="Create Category" COM_<%= _.slugify(componentName).toUpperCase() %>_CAT_OR_YEAR="Category / Year" COM_<%= _.slugify(componentName).toUpperCase() %>_FOLDER_NAME="Folder display name" COM_<%= _.slugify(componentName).toUpperCase() %>_CAPTION_SAVE="Save" COM_<%= _.slugify(componentName).toUpperCase() %>_CAT_EMPTY="This category is empty" COM_<%= _.slugify(componentName).toUpperCase() %>_ALBUM_EMPTY="This album is empty" COM_<%= _.slugify(componentName).toUpperCase() %>_UP_DIR="&nbsp;&nbsp;Up&nbsp;&nbsp;" COM_<%= _.slugify(componentName).toUpperCase() %>_MODE_EDIT="Edit" COM_<%= _.slugify(componentName).toUpperCase() %>_MODE_VIEW="View" COM_<%= _.slugify(componentName).toUpperCase() %>_UPLOAD_FILE="Upload to" COM_<%= _.slugify(componentName).toUpperCase() %>_UPLOAD_BUTTON="Upload" COM_<%= _.slugify(componentName).toUpperCase() %>_UPLOAD_STARTED="Upload started - One moment please..." COM_<%= _.slugify(componentName).toUpperCase() %>_UPLOAD_UNSUPPORTED_EXTENSION="Unsupported file extension" COM_<%= _.slugify(componentName).toUpperCase() %>_UPLOAD_ERROR="Error processing file" COM_<%= _.slugify(componentName).toUpperCase() %>_UPLOAD_ERROR_SIZE="Filesize exceeds the limit of the web server" COM_<%= _.slugify(componentName).toUpperCase() %>_UPLOAD_ERROR_PARTIAL="The file was only partially uploaded" COM_<%= _.slugify(componentName).toUpperCase() %>_UPLOAD_ERROR_NO_FILE="No uploaded file" COM_<%= _.slugify(componentName).toUpperCase() %>_UPLOAD_ERROR_NO_TMP_DIR="Cannot find temporary folder" COM_<%= _.slugify(componentName).toUpperCase() %>_UPLOAD_ERROR_WRITE="Failed to write file to disk" COM_<%= _.slugify(componentName).toUpperCase() %>_UPLOAD_ERROR_EXT="File upload stopped by extension" COM_<%= _.slugify(componentName).toUpperCase() %>_UPLOAD_ZIPERROR="unable to decompress archive file" COM_<%= _.slugify(componentName).toUpperCase() %>_UPLOAD_SUCCESS="file(s) successfully uploaded" COM_<%= _.slugify(componentName).toUpperCase() %>_UPLOAD_FAILED="file(s) failed" COM_<%= _.slugify(componentName).toUpperCase() %>_ERROR_FOLDER_NOT_EXIST="Folder does not exist" COM_<%= _.slugify(componentName).toUpperCase() %>_ERROR_FOLDER_NOT_WRITEABLE="Folder not writeable" COM_<%= _.slugify(componentName).toUpperCase() %>_CREATE_SUCCESS="Successfully created album" COM_<%= _.slugify(componentName).toUpperCase() %>_CREATE_INVALID_FILENAME="Error: Invalid album name" COM_<%= _.slugify(componentName).toUpperCase() %>_CREATE_ALREADY_EXISTS="Error: Album already exists" COM_<%= _.slugify(componentName).toUpperCase() %>_CREATE_FAILED="Create album failed for" COM_<%= _.slugify(componentName).toUpperCase() %>_CREATE_PARENT_NOT_WRITEABLE="Parent folder not writeable" COM_<%= _.slugify(componentName).toUpperCase() %>_DELETE="Delete" COM_<%= _.slugify(componentName).toUpperCase() %>_DELETE_SUCCESS="Successfully removed" COM_<%= _.slugify(componentName).toUpperCase() %>_DELETE_ERROR="Error removing" COM_<%= _.slugify(componentName).toUpperCase() %>_CAP_SAVED="Caption saved!" COM_<%= _.slugify(componentName).toUpperCase() %>_CAP_REMOVED="Caption removed!" COM_<%= _.slugify(componentName).toUpperCase() %>_PURGE_CACHE="Purge Cache" COM_<%= _.slugify(componentName).toUpperCase() %>_FOLDER_CACHE_PURGED="Folder cache purged!" COM_<%= _.slugify(componentName).toUpperCase() %>_ERROR_ROOT_FOLDER_NOT_EXIST="An error occured when opening the album.<br />Please contact the webmaster to resolve the issue." COM_<%= _.slugify(componentName).toUpperCase() %>_NOTAUTH="Not Authorised" COM_<%= _.slugify(componentName).toUpperCase() %>_IMAGE="Image" COM_<%= _.slugify(componentName).toUpperCase() %>_IMAGES="Images" COM_<%= _.slugify(componentName).toUpperCase() %>_PREVIOUS_IMAGE="Previous&nbsp;image" COM_<%= _.slugify(componentName).toUpperCase() %>_NEXT_IMAGE="Next&nbsp;image" COM_<%= _.slugify(componentName).toUpperCase() %>_IMAGE_CLOSE="Close" COM_<%= _.slugify(componentName).toUpperCase() %>_SLIDESHOW="Slideshow" COM_<%= _.slugify(componentName).toUpperCase() %>_START_SLIDESHOW="Start Slideshow " COM_<%= _.slugify(componentName).toUpperCase() %>_STOP_SLIDESHOW="Pause Slideshow " ;DEFINE('_ALBUM_DOWNLOAD','Download');