:::

9-5-2 建立英文語系

您沒有觀看影片的權限

您沒有觀看影片的權限

請先登入,登入後,確認您的權限後,即可觀看影片。

  1. 可善用英文翻譯工具,如 DeepL
  2. 英文語系的目錄為 language\english\
  3. 建立後台英文語系 language\english\admin.php
    <?php
    xoops_loadLanguage('admin_common', 'tadtools');
    
    // admin\main.php
    define('_MA_TAD_SIGNUP_CREATE_SUCCESS', 'Successfully created activity!');
    define('_MA_TAD_SIGNUP_UPDATE_SUCCESS', 'Successfully modified the campaign!');
    define('_MA_TAD_SIGNUP_DESTROY_SUCCESS', 'Successfully deleted the activity!');
    
    // admin\power.php
    define('_MA_TAD_SIGNUP_CREATE_ACTION', 'Create enrollment activity');
    define('_MA_TAD_SIGNUP_PERMISSION_SETTING', 'Detail permission setting');
    define('_MA_TAD_SIGNUP_CHECK_PERMISSIONS', 'Please check the permissions you want to open to the group:');
    

     

  4. 建立區塊英文語系 language\english\blocks.php
    <?php
    // blocks\action_list.php
    define('_MB_TAD_SIGNUP_SHOW_ACTIONS_NUMBER', 'Show Activity Number');
    define('_MB_TAD_SIGNUP_ORDER_BY', 'Sort by');
    define('_MB_TAD_SIGNUP_ORDER_BY_ACTION_DATE', 'Event date from far to near');
    define('_MB_TAD_SIGNUP_ORDER_BY_ACTION_DATE_DESC', 'Event date from near to far');
    define('_MB_TAD_SIGNUP_ORDER_BY_END_DATE', 'Application deadline from near to far');
    define('_MB_TAD_SIGNUP_ORDER_BY_END_DATE_DESC', 'Enrollment deadline from near to far');
    
    // blocks\action_signup.php
    define('_MB_TAD_SIGNUP_SELECT_ACTION', 'Please select an event');
    
    // templates\blocks\action_list.tpl
    define('_MB_TAD_SIGNUP_QUOTA', 'places');
    define('_MB_TAD_SIGNUP_CANDIDATES_QUOTA', 'Number of available candidates');
    define('_MB_TAD_SIGNUP_PEOPLE', 'persons');
    define('_MB_TAD_SIGNUP_APPLIED', ', enrolled');
    define('_MB_TAD_SIGNUP_IN_PROGRESS', 'Enrolled');
    define('_MB_TAD_SIGNUP_CANT_APPLY', 'Unable to enroll');
    
    // templates\blocks\action_signup.tpl
    define('_MB_TAD_SIGNUP_ACTION_DATE', 'Event date');
    define('_MB_TAD_SIGNUP_END_DATE', 'Entry Deadline');
    define('_MB_TAD_SIGNUP_STATUS', 'Enrollment Status');
    define('_MB_TAD_SIGNUP_APPLY_NOW', 'Enroll Now');
    

     

  5. 建立前台英文語系 language\english\main.php
    <?php
    xoops_loadLanguage('main', 'tadtools');
    
    define('_MD_TAD_SIGNUP_ID', 'Number');
    define('_MD_TAD_SIGNUP_TITLE', 'Event Name');
    define('_MD_TAD_SIGNUP_DETAIL', 'Event Description');
    define('_MD_TAD_SIGNUP_ACTION_DATE', 'Event Date');
    define('_MD_TAD_SIGNUP_NUMBER', 'Number of applicants');
    define('_MD_TAD_SIGNUP_NUMBER_OF_APPLIED', 'Number of people reported');
    define('_MD_TAD_SIGNUP_END_DATE', 'Enrollment Deadline');
    define('_MD_TAD_SIGNUP_END_DATE_COL', 'Enrollment Deadline');
    define('_MD_TAD_SIGNUP_STATUS', 'Enrollment Status');
    define('_MD_TAD_SIGNUP_CANDIDATES_QUOTA', 'Number of available candidates');
    define('_MD_TAD_SIGNUP_SETUP', 'Field Settings');
    define('_MD_TAD_SIGNUP_ENABLE', 'Enabled or not');
    define('_MD_TAD_SIGNUP_UPLOADS', 'Upload Attachments');
    define('_MD_TAD_SIGNUP_APPLY_NOW', 'Sign up now');
    define('_MD_TAD_SIGNUP_CANDIDATE', 'waitlist');
    define('_MD_TAD_SIGNUP_ACCEPT', 'Acceptance');
    define('_MD_TAD_SIGNUP_NOT_ACCEPT', 'Not Admitted');
    define('_MD_TAD_SIGNUP_ACCEPT_NOT_YET', 'Not yet set');
    define('_MD_TAD_SIGNUP_ANNOUNCEMENT_NOT_YET', 'Not yet published');
    define('_MD_TAD_SIGNUP_APPLY_LIST', 'Application List');
    define('_MD_TAD_SIGNUP_APPLY_DATE', 'Enrollment Date');
    define('_MD_TAD_SIGNUP_IDENTITY', 'Identity');
    define('_MD_TAD_SIGNUP_ADMIN', 'Activity Enrollment Management');
    define('_MD_TAD_SIGNUP_CREATE_SUCCESS', 'Successful event creation!');
    define('_MD_TAD_SIGNUP_UPDATE_SUCCESS', 'Successful event modification!');
    define('_MD_TAD_SIGNUP_DESTROY_SUCCESS', 'Successfully deleted the activity!');
    define('_MD_TAD_SIGNUP_DESTROY_ACTION', 'Delete activity');
    define('_MD_TAD_SIGNUP_EDIT_ACTION', 'Edit Activity');
    define('_MD_TAD_SIGNUP_EXPORT_HTML', 'Export HTML');
    define('_MD_TAD_SIGNUP_APPLY_SUCCESS', 'Successful event registration!');
    define('_MD_TAD_SIGNUP_APPLY_UPDATE_SUCCESS', 'Successfully modified registration data!');
    define('_MD_TAD_SIGNUP_APPLY_DESTROY_SUCCESS', 'Successfully deleted the registration data!');
    define('_MD_TAD_SIGNUP_ACCEPT_SUCCESS', 'Successfully set admission status!');
    define('_MD_TAD_SIGNUP_IMPORT_SUCCESS', 'Successfully imported enrollment data!');
    define('_MD_TAD_SIGNUP_MY_RECORD', 'My enrollment record');
    define('_MD_TAD_SIGNUP_SIGNIN_TABLE', 'Sign-in Table');
    define('_MD_TAD_SIGNUP_SIGNIN', 'Signature');
    define('_MD_TAD_SIGNUP_ACTION_SETTING', 'Event Settings');
    define('_MD_TAD_SIGNUP_KEYIN', 'Please enter');
    define('_MD_TAD_SIGNUP_ACTION_LIST', 'Event List');
    define('_MD_TAD_SIGNUP_IN_PROGRESS', 'Enrolling');
    define('_MD_TAD_SIGNUP_CANT_APPLY', 'Unable to enroll');
    define('_MD_TAD_SIGNUP_ADD_ACTION', 'New Activity');
    define('_MD_TAD_SIGNUP_APPLIED_DATA', 'Enrolled Data');
    define('_MD_TAD_SIGNUP_APPLY_MAX', 'Maximum number of applicants');
    define('_MD_TAD_SIGNUP_NAME', 'Name');
    define('_MD_TAD_SIGNUP_CHANGE_TO', 'Change to');
    define('_MD_TAD_SIGNUP_EXPORT_SIGNIN_TABLE', 'Generate signature to table');
    define('_MD_TAD_SIGNUP_EXPORT_APPLY_LIST', 'Export signup list');
    define('_MD_TAD_SIGNUP_IMPORT_APPLY_LIST', 'Import Entry List');
    define('_MD_TAD_SIGNUP_IMPORT', 'Import');
    define('_MD_TAD_SIGNUP_DOWNLOAD', 'Download');
    define('_MD_TAD_SIGNUP_IMPORT_FILE', 'Import format file');
    define('_MD_TAD_SIGNUP_APPLY_FORM', 'Enrollment Form');
    define('_MD_TAD_SIGNUP_ACCEPT_STATUS', 'Record Status');
    define('_MD_TAD_SIGNUP_SETUP_SIGNIN_TABLE', 'Sign-in table field setting');
    define('_MD_TAD_SIGNUP_DATA_PREVIEW', 'Enrollment Data Preview');
    define('_MD_TAD_SIGNUP_DESTROY_APPLY', 'Cancel Enrollment');
    define('_MD_TAD_SIGNUP_EDIT_APPLY', 'Modify enrollment data');
    
    // class\Tad_signup_data.php
    define('_MD_TAD_SIGNUP_CANNOT_BE_MODIFIED', 'Check no enrollment no data, can\'t modify');
    define('_MD_TAD_SIGNUP_END', 'Application is closed, no further application or modification is possible');
    define('_MD_TAD_SIGNUP_CLOSED', 'The application is closed, no more applications or changes can be made');
    define('_MD_TAD_SIGNUP_FULL', 'Enrollment is full, no further enrollment is possible');
    define('_MD_TAD_SIGNUP_CANT_WATCH', 'No enrollment data, unable to view');
    define('_MD_TAD_SIGNUP_NO_TITLE', 'No title');
    define('_MD_TAD_SIGNUP_NO_CONTENT', 'No content');
    define('_MD_TAD_SIGNUP_UNABLE_TO_SEND', 'No number, unable to send notification letter');
    define('_MD_TAD_SIGNUP_DESTROY_TITLE', '"%s" cancellation of enrollment notification');
    define('_MD_TAD_SIGNUP_DESTROY_HEAD', '<p>Your registration for "%s}" event at %s was cancelled at %s by %s. </p>');
    define('_MD_TAD_SIGNUP_DESTROY_FOOT', 'To re-enroll, please link to ');
    define('_MD_TAD_SIGNUP_STORE_TITLE', '"%s" enrollment completion notice');
    define('_MD_TAD_SIGNUP_STORE_HEAD', '<p>Your registration for the "%s" event at %s was completed at %s by %s. </p>');
    define('_MD_TAD_SIGNUP_FOOT', 'For full details, please link to ');
    define('_MD_TAD_SIGNUP_UPDATE_TITLE', '"%s" notification of changes to enrollment data');
    define('_MD_TAD_SIGNUP_UPDATE_HEAD', '<p>Your registration for the "%s" event at %s was modified at %s by %s as follows:</p>');
    define('_MD_TAD_SIGNUP_ACCEPT_TITLE', 'Notification of "%s" enrollment status');
    define('_MD_TAD_SIGNUP_ACCEPT_HEAD1', '<p>Your application for the "%s" event in %s has been reviewed, <h2 style="color:blue">Congratulations on your acceptance! </h2>Your registration details are as follows:</p>');
    define('_MD_TAD_SIGNUP_ACCEPT_HEAD0', '<p>Your application for the "%s" event in %s was reviewed and I regret to inform you that due to limited space, <span style="color:red;">you were not accepted. </span>Your registration information is as follows:</p>');
    define('_MD_TAD_SIGNUP_FAILED_TO_SEND', 'Notification letter failed to be sent!');
    define('_MD_TAD_SIGNUP_UNABLE_TO_OPEN', 'Unable to open');
    
    // *** Translated with www.DeepL.com/Translator (free version) ***
    

     

  6. 建立設定檔英文語系 language\english\modinfo.php
    <?php
    xoops_loadLanguage('modinfo_common', 'tadtools');
    
    // xoops_version.php
    define('_MI_TAD_SIGNUP_NAME', 'Event Registration');
    define('_MI_TAD_SIGNUP_DESCRIPTION', 'Event Registration Module');
    define('_MI_TAD_SIGNUP_AUTHOR_WEBSITE_NAME', 'Tad Textbook Network');
    define('_MI_TAD_SIGNUP_TEMPLATES_INDEX', 'Common front-end template');
    define('_MI_TAD_SIGNUP_TEMPLATES_ADMIN', 'Backend Common Template');
    define('_MI_TAD_SIGNUP_ACTION_LIST_NAME', 'List of reportable events');
    define('_MI_TAD_SIGNUP_ACTION_LIST_DESCRIPTION', 'List of all registerable events');
    define('_MI_TAD_SIGNUP_ACTION_SIGNUP_NAME', 'Event registration focus');
    define('_MI_TAD_SIGNUP_ACTION_SIGNUP_DESCRIPTION', 'The ability to select an event for users to sign up for');
    define('_MI_TAD_SIGNUP_SHOW_NUMBER', 'Show the number of events per page');
    define('_MI_TAD_SIGNUP_SHOW_NUMBER_DESC', 'Show the number of events per page as a basis for paging');
    define('_MI_TAD_SIGNUP_ONLY_ENABLE', 'Whether to show only enrolable events');
    define('_MI_TAD_SIGNUP_ONLY_ENABLE_DESC', 'If only enrolable events will be shown, otherwise unenrollable events will also be listed');
    
    // admin\menu.php
    define('_MI_TAD_SIGNUP_ACTIONS_MANAGER', 'Event Management');
    define('_MI_TAD_SIGNUP_PERMISSION_SETTING', 'Permission Setting');
    

     

link to https://github.com/tadlearn/tad_signup/commit/bebf118e4e5eb2eade75d8e7442c0935f94d422c \


:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1829%26tbsn%3D48

書籍目錄

展開 | 闔起

線上使用者

49人線上 (8人在瀏覽線上書籍)

會員: 0

訪客: 49

更多…