mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-03-13 15:40:27 +01:00
69 lines
2.2 KiB
JavaScript
69 lines
2.2 KiB
JavaScript
(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_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_COUNT: '6',
|
|
UPLOADS_RULES_CONTENT: [
|
|
'The torrent file`s Tracker URL must be: <mark><strong>{{url}}</strong></mark>',
|
|
'The torrent file`s TMDB_ID must be TheMovieDB resources ID, <strong><a href="https://www.themoviedb.org/">you can find the ID from here</a></strong>',
|
|
'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: <strong><a href="mailto:#">{{admin}}</a></strong>'
|
|
]
|
|
};
|
|
|
|
// **************************************************
|
|
// English Strings end
|
|
// **************************************************
|
|
|
|
// config $translateProvider
|
|
transConfig.$inject = ['$translateProvider'];
|
|
function transConfig($translateProvider) {
|
|
$translateProvider.translations('en', stringen);
|
|
}
|
|
|
|
}(ApplicationConfiguration));
|