diff options
Diffstat (limited to 'site/app/views/developers/addon_edit_authors.thtml')
-rw-r--r-- | site/app/views/developers/addon_edit_authors.thtml | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/site/app/views/developers/addon_edit_authors.thtml b/site/app/views/developers/addon_edit_authors.thtml index a86dffc..dcfb3f3 100644 --- a/site/app/views/developers/addon_edit_authors.thtml +++ b/site/app/views/developers/addon_edit_authors.thtml @@ -40,13 +40,13 @@ <?=$this->renderElement('developers/sidebar', array('addons' => $all_addons, 'extra' => 'developers/editbox'));?> <div id="content-main" class="<?=($author_role >= AUTHOR_ROLE_OWNER ? 'privs' : 'no-privs')?>"> - <?=$this->renderElement('developers/addonheader', array('title' => "Edit {$addon_name}", 'addon_id' => $addon_id));?> + <?=$this->renderElement('developers/addonheader', array('title' => sprintf(___('devcp_title_edit_addon'), $addon_name), 'addon_id' => $addon_id));?> <?php if (!empty($success)) { - echo '<div class="notice-success rounded"><span>Your changes have been saved.</span><br />Please note that some changes may take several hours to appear in all areas of the website.</div>'; + echo '<div class="notice-success rounded">'.___('devcp_notice_changes_saved').'</div>'; } ?> - <h2>Manage Add-on Authors</h2> + <h2><?=___('devcp_edit_authors_header_manage')?></h2> <?=$this->renderElement('noscript')?> <?=$this->renderElement('developers/rolecheck')?> @@ -54,46 +54,46 @@ <?=$html->hiddenSession();?> <div class="graybox field rounded spaced"> - <h4>Current Authors</h4> + <h4><?=___('devcp_edit_authors_header_current')?></h4> <table id="author-table" class="pretty-table"> <thead><tr> <th></th> - <th>Author</th> - <th>Role</th> - <th>Listed</th> + <th><?=___('devcp_edit_authors_th_author')?></th> + <th><?=___('devcp_edit_authors_th_role')?></th> + <th><?=___('devcp_edit_authors_th_listed')?></th> <th></th> </tr></thead> <tbody></tbody> </table> <div class="save-changes rounded"> - <strong>You have unsaved changes.</strong> Click the Update Authors button below to save. + <strong><?=___('devcp_notice_unsaved_changes')?></strong><?=___('devcp_edit_authors_click_save')?> </div> - <div class="add-button-container"><a href="#add-author" onclick="addon_edit_authors.showAddForm();" class="add-button rounded">Add New Author</a></div> + <div class="add-button-container"><a href="#add-author" onclick="addon_edit_authors.showAddForm();" class="add-button rounded"><?=___('devcp_edit_authors_add_author')?></a></div> </div> </form> - <div class="action-button-container centered"><a href="#" onclick="addon_edit_authors.save(); return false;" class="action-button rounded">Update Authors</a></div> + <div class="action-button-container centered"><a href="#" onclick="addon_edit_authors.save(); return false;" class="action-button rounded"><?=___('devcp_edit_authors_update_author')?></a></div> <br /> <div id="add-author" class="graybox rounded spaced field" style="display: none;"> - <h4>Add New Author</h4> + <h4><?=___('devcp_edit_authors_add_author')?></h4> <br /> - <p><label>Author Account Email: <input id="add-email" type="text" size="40" /></label></p> + <p><label><?=___('devcp_edit_authors_add_email')?> <input id="add-email" type="text" size="40" /></label></p> <div id="add-error" class="rounded"></div> - <p>Select a role for the author:</p> + <p><?=___('devcp_edit_authors_select_role')?></p> <ul> - <li><label><input id="add-role-owner" type="radio" name="role" checked="checked" /> <strong>Owner</strong> - Can manage all aspects of the add-on listing, including adding and removing other authors.</label></li> - <li><label><input id="add-role-developer" type="radio" name="role" /> <strong>Developer</strong> - Can manage all aspects of the add-on listing, except for adding and removing other authors.</label></li> - <li><label><input id="add-role-viewer" type="radio" name="role" /> <strong>Viewer</strong> - Can view add-on developer listing and statistics, but can't make any changes.</label></li> + <li><label><input id="add-role-owner" type="radio" name="role" checked="checked" /> </strong><?=___('devcp_edit_authors_label_owner')?></label></li> + <li><label><input id="add-role-developer" type="radio" name="role" /> </strong><?=___('devcp_edit_authors_label_developer')?></label></li> + <li><label><input id="add-role-viewer" type="radio" name="role" /> </strong><?=___('devcp_edit_authors_label_viewer')?></label></li> </ul> - <p><label><input id="add-listed" type="checkbox" checked="checked" /> List as author in public display pages</label></p> + <p><label><input id="add-listed" type="checkbox" checked="checked" /> <?=___('devcp_edit_authors_label_add_listed')?></label></p> <table><tr><td> - <div id="add-author-button" class="add-button-container"><a href="#author-table" onclick="return addon_edit_authors.checkAddForm();" class="add-button rounded bigger">Add Author</a></div> + <div id="add-author-button" class="add-button-container"><a href="#author-table" onclick="return addon_edit_authors.checkAddForm();" class="add-button rounded bigger"><?=___('devcp_edit_authors_add_author_button')?></a></div> </td><td valign="middle"> - <div id="add-loading"><?=$html->image('ajax_loading.gif', array('alt' => 'Loading'))?> Checking account email...</div> + <div id="add-loading"><?=$html->image('ajax_loading.gif', array('alt' => 'Loading'))?> <?=___('devcp_edit_authors_add_loading')?></div> </td></tr></table> </div> </div> @@ -113,4 +113,4 @@ $(document).ready(function() { ?> }); -</script>
\ No newline at end of file +</script> |