(function (app) { 'use strict'; // Setting HTML5 Location Mode angular .module(app.applicationModuleName) .config(transConfig); // ************************************************** // English Strings // -------------------------------------------------- // Don`t change other code // ************************************************** var stringen = { COMINGSOON: 'coming soon...', //client topbar menu MENU_CHAT: 'Chat', MENU_TORRENTS: 'Torrents', MENU_TORRENTS_ADMIN: 'Manage Torrents', MENU_UPLOADS: 'Uploads', MENU_FORUMS: 'Forums', MENU_RANKING: 'Ranking', MENU_RULES: 'Rules', MENU_VIP: 'VIP', MENU_ADMIN: 'Admin', //sub menu of torrents MENU_TORRENTS_SUB: { SUB_MOVIE: 'Movie', SUB_MTV: 'MTV', SUB_MUSIC: 'Music', SUB_OTHER: 'Other' }, //client menu SIGNOUT: 'Signout', SIGNIN: 'Sign In', SIGNUP: 'Sign Up', EDIT_PROFILE: 'Edit Profile', EDIT_PROFILE_PIC: 'Edit Profile Picture', CHANGE_PASSWORD: 'Change Password', MANAGE_SOCIAL_ACCOUNTS: 'Manage Social Accounts', //Uploads rules UPLOADS_RULES: 'Uploads Rules:', UPLOADS_RULES_COUNT: '6', UPLOADS_RULES_CONTENT: [ 'The torrent file`s Tracker URL must be: {{url}}.', 'The torrent file`s TMDB_ID must be TheMovieDB resources ID, you can find the ID from here.', 'The resources detail info can be autoload, if it`s fine, then you can submit it.', 'Select one or more tags that match the resources, which will play a significant role in your search results.', 'After the submission of documents, may be approved by the management, the rules do not meet the seeds will be deleted directly.', 'For additional assistance, please contact our administrator: {{admin}}.' ], //HomeController & home views LOADING_TOP: 'Loading recommended info, please waiting...', TOP_MOVIE_INFO_ERROR: 'Get movie top info faild', TITLE_SEEDS: 'Seeds users', TITLE_LEECHERS: 'Leechers users', TITLE_FINISHED: 'Finished users', TITLE_IMDB_VOTES: 'IMDB Votes', //TorrentsController & views MOVIE_PAGE_INFO_ERROR: 'Get movie page info faild', //TorrentsUploadsController & views TORRENTS_UPLOAD_SUCCESSFULLY: 'Successfully uploads file', TORRENTS_UPLOAD_FAILED: 'Failed to uploads file', TORRENTS_NO_FILE_SELECTED: 'No file selected', SELECT_TORRENT_FILE: 'Please select the torrent file', SELECT_FILE: 'Select file', DO_UPLOADS: 'Uploads', ENTER_TMDB_ID: 'Please enter theMovieDB id  [find id on themofiedb.org]', LOAD_TMDB_INFO: 'Load info', TMDB_ID: 'TMDB ID', TMDB_ID_OK: 'MDB ID is ok! Get info successfully', TMDB_ID_ERROR: 'MDB ID is error! Get info failed', TMDB_ID_REQUIRED: 'Please enter TMDB ID', TMDB_MOVIE_INFO: 'The movie info from TMDB', TMDB_IS_LOADING: 'Loading the movie info, please wait...', SELECT_TAGS: 'Please select any tags for the resources', TORRENTS_SUBMIT_UPLOADS: 'Agree the rules and submit your resources', SUBMIT_BUTTON: 'OK, SUBMIT NOW', CANCEL_BUTTON: 'NO, CANCEL IT', AGREE_RULES: 'I agree and already read all the rules, read here', DOWNLOAD_TORRENT: 'Download Torrent', //footer view MIT_PROTOCOL: 'The source of this project is protected by MIT open source protocol', GIT_REPO: 'Power by ©meanTottent,view on GitHub', ///////////////////////the movie db fields//////////////////////////////// TMDB_FIELDS: { ID: 'id', IMDB_ID: 'imdb_id', IMDB_LINK: 'IMDB Link', TMDB_LINK: 'TMDB Link', HOMEPAGE: 'homepage', ADULT: 'adult', BUDGET: 'budget', REVENUE: 'revenue', ORIGINAL_LANGUAGE: 'original_language', ORIGINAL_TITLE: 'original_title', TITLE: 'title', BELONGS_TO_COLLECTION: 'belongs_to_collection', GENRES: 'genres', OVERVIEW: 'overview', POPULARITY: 'popularity', PRODUCTION_COMPANIES: 'production_companies', PRODUCTION_COUNTRIES: 'production_countries', RELEASE_DATE: 'release_date', RUNTIME: 'runtime', SPOKEN_LANGUAGES: 'spoken_languages', STATUS: 'status', TAGLINE: 'tagline', VIDEO: 'video', VOTE_AVERAGE: 'vote_average', VOTE_COUNT: 'vote_count', VOTE_UNIT: 'users', BACKDROP_PATH: 'backdrop_path', POSTER_PATH: 'poster_path', CAST: 'cast:' }, /////////////////////////resources tag fields/////////////////////////////////// RESOURCESTAGS: { TYPE: { SELF: 'Type', BLU_RAY: 'BLU_RAY', REMUX: 'REMUX', ENCODE: 'ENCODE' }, RESOLUTION: { SELF: 'Resolution', S4K: '4K', S1080P: '1080P', S720P: '720P' }, VIDEO: { SELF: 'Video Codec', AVC: 'AVC', X265: 'X265', X264: 'X264' }, AUDIO: { SELF: 'Audio Codec', AAC: 'AAC', DTS: 'DTS', DTS_HD: 'DTS HD', ATMOS_TRUEHD: 'Atmos TrueHD' }, THREED: { SELF: '2D/3D', T2D: '2D', T3D: '3D', T2D_3D: '2D-3D' }, RANKING: { SELF: 'Ranking', IMDB_TOP100: 'IMDB TOP100', IMDB_TOP250: 'IMDB TOP250', DOUBAN_TOP100: 'Douban TOP100', DOUBAN_TOP250: 'Douban TOP250' }, REGION: { SELF: 'Region', CHINA: 'China', JAPAN: 'Japan', KOREA: 'Korea', INDIA: 'India', ARAB: 'Arab' }, MODIFY: { SELF: 'Modify', DIY: 'DIY', GUOPEI: 'Mandarin', ZHONGZI: 'Chinese Subtitle' } } }; // ************************************************** // English Strings end // ************************************************** // config $translateProvider transConfig.$inject = ['$translateProvider']; function transConfig($translateProvider) { $translateProvider.translations('en', stringen); } }(ApplicationConfiguration));