Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/views/developers/addon_edit_descriptions.thtml
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/views/developers/addon_edit_descriptions.thtml')
-rw-r--r--site/app/views/developers/addon_edit_descriptions.thtml30
1 files changed, 15 insertions, 15 deletions
diff --git a/site/app/views/developers/addon_edit_descriptions.thtml b/site/app/views/developers/addon_edit_descriptions.thtml
index 1214b18..69ad01d 100644
--- a/site/app/views/developers/addon_edit_descriptions.thtml
+++ b/site/app/views/developers/addon_edit_descriptions.thtml
@@ -40,14 +40,14 @@
<?=$this->renderElement('developers/sidebar', array('addons' => $all_addons, 'extra' => 'developers/editbox'));?>
<div id="content-main" class="edit-addon <?=($author_role >= AUTHOR_ROLE_DEV ? '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>Edit Add-on Descriptions</h2>
+ <h2><?=___('devcp_edit_descriptions_header')?></h2>
<?=$this->renderElement('noscript')?>
<?=$this->renderElement('developers/rolecheck')?>
<form id="addon-edit-descriptions-form" action="" method="post">
@@ -73,24 +73,24 @@
'translations' => $translations['summary'],
'height' => '60',
'maxLength' => '250',
- 'displayName' => 'Add-on Summary',
- 'description' => 'The summary is a short explanation of your add-on\'s basic functionality that is displayed in search and browse listings, as well as at the top of your add-on\'s display page. <strong>Limit of 250 characters.</strong>'
+ 'displayName' => ___('devcp_edit_descriptions_transbox_summary_name'),
+ 'description' => ___('devcp_edit_descriptions_transbox_summary_description'),
));
// Description
echo $this->renderElement('developers/translationbox', array(
'field' => 'description',
'translations' => $translations['description'],
- 'displayName' => 'Add-on Description',
- 'description' => 'The description of your add-on is a longer explanation of features, functionality, and other relevant information. It is displayed under the summary on the add-on\'s display page.'
+ 'displayName' => ___('devcp_edit_descriptions_transbox_description_name'),
+ 'description' => ___('devcp_edit_descriptions_transbox_description_description'),
));
// Developer Comments
echo $this->renderElement('developers/translationbox', array(
'field' => 'developercomments',
'translations' => $translations['developercomments'],
- 'displayName' => 'Developer Comments',
- 'description' => 'Any information end users may want to know that isn\'t necessarily applicable to the add-on summary or description. Common uses include listing known major bugs, information on how to report bugs, anticipated release date of a new version, etc.'
+ 'displayName' => ___('devcp_edit_descriptions_transbox_comments_name'),
+ 'description' => ___('devcp_edit_descriptions_transbox_comments_description'),
));
// EULA
@@ -98,8 +98,8 @@
'field' => 'eula',
'translations' => $translations['eula'],
'height' => '200',
- 'displayName' => 'End-User License Agreement',
- 'description' => 'If your add-on has an End-User License Agreement (EULA), please enter its text below. If set below, users will be required to agree to this before installing your add-on. Please note that a EULA is not the same as a code license such as GPL or MPL.'
+ 'displayName' => ___('devcp_edit_descriptions_transbox_eula_name'),
+ 'description' => ___('devcp_edit_descriptions_transbox_eula_description'),
));
// Privacy Policy
@@ -107,12 +107,12 @@
'field' => 'privacypolicy',
'translations' => $translations['privacypolicy'],
'height' => '200',
- 'displayName' => 'Privacy Policy',
- 'description' => 'If your add-on has a privacy policy, enter its text here. Your add-on\'s display page will display a link to the policy.'
+ 'displayName' => ___('devcp_edit_descriptions_transbox_privacy_name'),
+ 'description' => ___('devcp_edit_descriptions_transbox_privacy_description'),
));
?>
- <div id="edit-error" class="error" style="display: none;">Please correct the errors above indicated in red.</div>
- <div class="action-button-container centered" style="width: 600px;"><a href="#" onclick="addon_edit_descriptions.save(); return false;" class="action-button rounded">Update Descriptions</a></div>
+ <div id="edit-error" class="error" style="display: none;"><?=___('devcp_edit_description_correct_error')?></div>
+ <div class="action-button-container centered" style="width: 600px;"><a href="#" onclick="addon_edit_descriptions.save(); return false;" class="action-button rounded"><?=___('devcp_edit_description_button_update')?></a></div>
</form>
</div>
</div>