Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/views/developers/versions.thtml
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/views/developers/versions.thtml')
-rw-r--r--site/app/views/developers/versions.thtml26
1 files changed, 13 insertions, 13 deletions
diff --git a/site/app/views/developers/versions.thtml b/site/app/views/developers/versions.thtml
index 1fd67d9..323ba34 100644
--- a/site/app/views/developers/versions.thtml
+++ b/site/app/views/developers/versions.thtml
@@ -40,22 +40,22 @@
<?=$this->renderElement('developers/sidebar', array('addons' => $all_addons, 'extra' => 'developers/editbox'));?>
<div id="content-main" class="<?=($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($deleteSuccess)) {
- echo '<div class="notice-success rounded"><span>Version '.$deletedVersion.' deleted successfully.</span></div>';
+ echo '<div class="notice-success rounded"><span>'.sprintf(___('devcp_versions_notice_success'), $deletedVersion).'</span></div>';
}
?>
- <h2>Manage Versions and Files</h2>
+ <h2><?=___('devcp_versions_header_manage')?></h2>
<?=$this->renderElement('noscript')?>
<?=$this->renderElement('developers/rolecheck')?>
<div class="graybox spaced rounded">
<table id="versions-table" class="pretty-table">
<?php
echo '<tr>';
- echo '<th style="width: 25%;">Version</th>';
- echo '<th style="width: 30%;">File Status</th>';
- echo '<th style="width: 30%;">Created</th>';
+ echo '<th style="width: 25%;">'.___('devcp_versions_th_version').'</th>';
+ echo '<th style="width: 30%;">'.___('devcp_versions_th_status').'</th>';
+ echo '<th style="width: 30%;">'.___('devcp_versions_th_created').'</th>';
echo '<th style="width: 15%;"></th>';
echo '</tr>';
if (!empty($versions)) {
@@ -68,15 +68,15 @@
echo '<td class="delete-area" style="text-align: right;">';
if (empty($version['File'])) {
echo '<div class="inline-delete-button uses-button">';
- echo '<a href="#" onclick="versions.deleteVersion(this); return false;" class="remove-button rounded trigger">Remove?</a>';
+ echo '<a href="#" onclick="versions.deleteVersion(this); return false;" class="remove-button rounded trigger">'.___('devcp_versions_a_remove').'</a>';
echo '<div class="inline-delete-box">';
- echo '<p>This version has no files associated with it and can be removed. Would you like to remove this version?</p><br />';
- echo '<p><a href="'.$html->url('/developers/versions/delete/'.$version['Version']['id']).'" class="remove-button rounded">Remove Empty Version</a>&nbsp;&nbsp;';
- echo '<a href="#" onclick="versions.cancelDelete(this); return false;" class="button rounded">Cancel</a></p>';
+ echo '<p>'.___('devcp_versions_p_remove').'</p><br />';
+ echo '<p><a href="'.$html->url('/developers/versions/delete/'.$version['Version']['id']).'" class="remove-button rounded">'.___('devcp_versions_a_empty').'</a>&nbsp;&nbsp;';
+ echo '<a href="#" onclick="versions.cancelDelete(this); return false;" class="button rounded">'.___('devcp_versions_a_cancel').'</a></p>';
echo '</div></div>';
}
else {
- echo '<a href="'.$html->url('/developers/versions/delete/'.$version['Version']['id']).'">'.$html->image('developers/delete.png', array('alt' => 'Delete Version', 'title' => 'Delete Version')).'</a>';
+ echo '<a href="'.$html->url('/developers/versions/delete/'.$version['Version']['id']).'">'.$html->image('developers/delete.png', array('alt' => ___('devcp_versions_a_delete'), 'title' => ___('devcp_versions_a_delete'))).'</a>';
}
echo '</td>';
echo '</tr>';
@@ -84,11 +84,11 @@
}
}
else {
- echo '<tr><td colspan="3" style="text-align: center;"><i>No versions.</i></td></tr>';
+ echo '<tr><td colspan="3" style="text-align: center;"><i>'.___('devcp_versions_no_versions').'</i></td></tr>';
}
?>
</table>
- <div class="add-button-container"><a href="<?=$html->url("/developers/versions/add/{$addon_id}")?>" class="add-button rounded">Add New Version</a></div>
+<div class="add-button-container"><a href="<?=$html->url("/developers/versions/add/{$addon_id}")?>" class="add-button rounded"><?=___('devcp_versions_add')?></a></div>
</div>
</div>
</div> \ No newline at end of file