Index: typo3/sysext/version/cm1/index.php
===================================================================
--- typo3/sysext/version/cm1/index.php (revision 5370)
+++ typo3/sysext/version/cm1/index.php (working copy)
@@ -148,15 +148,15 @@
// Menu items:
$this->MOD_MENU = array(
'filter' => array(
- 1 => 'Drafts',
- 2 => 'Archive',
- 0 => 'All',
+ 1 => $GLOBALS['LANG']->getLL('filter_drafts'),
+ 2 => $GLOBALS['LANG']->getLL('filter_archive'),
+ 0 => $GLOBALS['LANG']->getLL('filter_all'),
),
'display' => array(
- 0 => '[Live workspace]',
- -98 => 'Draft Workspaces',
- -99 => 'All',
- -1 => '[Default Draft]'
+ 0 => $GLOBALS['LANG']->getLL('liveWorkspace'),
+ -98 => $GLOBALS['LANG']->getLL('draftWorkspaces'),
+ -99 => $GLOBALS['LANG']->getLL('filter_all'),
+ -1 => $GLOBALS['LANG']->getLL('defaultDraft')
),
'diff' => ''
);
@@ -386,7 +386,7 @@
$diff_2 = t3lib_div::_POST('diff_2');
if (t3lib_div::_POST('do_diff')) {
$content='';
- $content.='
DIFFING: ';
+ $content.='' . $GLOBALS['LANG']->getLL('diffing') . ': ';
if ($diff_1 && $diff_2) {
$diff_1_record = t3lib_BEfunc::getRecord($this->table, $diff_1);
$diff_2_record = t3lib_BEfunc::getRecord($this->table, $diff_2);
@@ -398,8 +398,8 @@
$tRows=array();
$tRows[] = '
';
foreach($diff_1_record as $fN => $fV) {
@@ -424,11 +424,11 @@
if (count($tRows)>1) {
$content.=' ';
} else {
- $content.='Records matches completely on all editable fields!';
+ $content .= $GLOBALS['LANG']->getLL('recordsMatchesCompletely');
}
- } else $content.='ERROR: Records could strangely not be found!';
+ } else $content .= $GLOBALS['LANG']->getLL('errorRecordsNotFound');
} else {
- $content.='ERROR: You didn\'t select two sources for diffing!';
+ $content .= $GLOBALS['LANG']->getLL('errorDiffSources');
}
}
@@ -446,17 +446,17 @@
';
$versions = t3lib_BEfunc::selectVersionsOfRecord($this->table, $this->uid, '*', $GLOBALS['BE_USER']->workspace);
@@ -466,7 +466,7 @@
$content.='
';
@@ -514,23 +514,23 @@
$content='
';
$this->content.=$this->doc->spacer(15);
- $this->content.=$this->doc->section('Create new version',$content,0,1);
+ $this->content.=$this->doc->section($GLOBALS['LANG']->getLL('createNewVersion'), $content,0,1);
}
@@ -617,12 +617,12 @@
// Edit link:
$adminLink = ''.
- ' doc->backPath,'gfx/edit2.gif','width="11" height="12"').' alt="" title="Edit"/>'.
+ ' doc->backPath,'gfx/edit2.gif','width="11" height="12"').' alt="" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:cm.edit'). '"/>'.
' ';
// Delete link:
$adminLink.= ''.
- ' doc->backPath,'gfx/garbage.gif','width="11" height="12"').' alt="" title="Delete"/>'.
+ ' doc->backPath,'gfx/garbage.gif','width="11" height="12"').' alt="" title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:cm.delete'). '"/>'.
' ';
@@ -696,20 +696,21 @@
$actionLinks = ' ';
if ($GLOBALS['BE_USER']->workspace!==0) {
if ($this->publishAccess) {
- $actionLinks.= ' ';
+ $actionLinks.= ' ';
if ($GLOBALS['BE_USER']->workspaceSwapAccess()) {
- $actionLinks.= ' ';
+ $actionLinks.= ' ';
}
} else {
- $actionLinks.= $this->doc->icons(1).'You are not permitted to publish from this workspace';
+ $actionLinks.= $this->doc->icons(1) . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_user_ws.xml:no_publish_permission');
}
}
- $actionLinks.= ' ';
- $actionLinks.= ' Allow preview of whole workspace';
- $actionLinks.= ' '.$this->displayWorkspaceOverview_allStageCmd();
+ $actionLinks.= ' ';
+ $actionLinks.= ' ';
+ $actionLinks.= $this->displayWorkspaceOverview_allStageCmd();
+
if ($actionLinks || count($errors)) {
- $this->content.= $this->doc->section('',$actionLinks.(count($errors) ? 'Errors: '.implode(' ',$errors).' ' : ''),0,1);
+ $this->content.= $this->doc->section('',$actionLinks.(count($errors) ? '' . $GLOABLS['LANG']->getLL('errors') . ' '.implode(' ',$errors).' ' : ''),0,1);
}
if (t3lib_div::_POST('_previewLink')) {
@@ -722,12 +723,12 @@
$params = 'id='.$this->id.'&ADMCMD_previewWS='.$GLOBALS['BE_USER']->workspace;
$previewUrl = t3lib_div::getIndpEnv('TYPO3_SITE_URL').'index.php?ADMCMD_prev='.t3lib_BEfunc::compilePreviewKeyword($params, $GLOBALS['BE_USER']->user['uid'],60*60*$ttlHours);
}
- $this->content.= $this->doc->section('Preview Url:','You can preview this page from the workspace using this link for the next '.$ttlHours.' hours (does not require backend login):'.$previewUrl.' ',0,1);
+ $this->content.= $this->doc->section($GLOBALS['LANG']->getLL('previewUrl'), sprintf($GLOBALS['LANG']->getLL('previewInstruction'), $ttlHours) . ''.$previewUrl.' ',0,1);
}
// Output overview content:
$this->content.= $this->doc->spacer(15);
- $this->content.= $this->doc->section($this->details ? 'Details for version' : 'Workspace management', $WSoverview,0,1);
+ $this->content.= $this->doc->section($this->details ? $GLOBALS['LANG']->getLL('versionDetails') : $GLOBALS['LANG']->getLL('wsManagement'), $WSoverview,0,1);
}
@@ -739,7 +740,7 @@
$menu.= t3lib_BEfunc::getFuncMenu($this->id,'SET[display]',$this->MOD_SETTINGS['display'],$this->MOD_MENU['display']);
}
if (!$this->details && $GLOBALS['BE_USER']->workspace && !$this->diffOnly) {
- $menu.= t3lib_BEfunc::getFuncCheck($this->id,'SET[diff]',$this->MOD_SETTINGS['diff'],'','','id="checkDiff"').' Show difference view ';
+ $menu.= t3lib_BEfunc::getFuncCheck($this->id,'SET[diff]',$this->MOD_SETTINGS['diff'],'','','id="checkDiff"').' ' . $GLOBALS['LANG']->getLL('showDiffView') . ' ';
}
if ($menu) {
@@ -798,9 +799,9 @@
if (count($pArray)) {
$tableRows[] = '
';
// Add lines from overview:
@@ -809,8 +810,8 @@
$table = ''.implode('',$tableRows).'
';
} else $table = '';
- $linkBack = t3lib_div::_GP('returnUrl') ? ' doc->backPath,'gfx/goback.gif','width="14" height="14"').' alt="" />Click here to go back ' : '';
- $resetDiffOnly = $this->diffOnly ? 'Show all information ' : '';
+ $linkBack = t3lib_div::_GP('returnUrl') ? ' doc->backPath,'gfx/goback.gif','width="14" height="14"').' alt="" />' . $GLOBALS['LANG']->getLL('goBack') . ' ' : '';
+ $resetDiffOnly = $this->diffOnly ? '' . $GLOBALS['LANG']->getLL('showAllInformation') . ' ' : '';
$versionSelector = $GLOBALS['BE_USER']->workspace ? $this->doc->getVersionSelector($this->id) : '';
@@ -884,33 +885,33 @@
$diffCode = '';
list($diffHTML,$diffPct) = $this->createDiffView($table, $rec_off, $rec_on);
if ($rec_on['t3ver_state']==1) { // New record:
- $diffCode.= $this->doc->icons(1).'New element '; // TODO Localize?
+ $diffCode.= $this->doc->icons(1) . $GLOBALS['LANG']->getLL('newElement') . ' ';
$diffCode.= $diffHTML;
} elseif ($rec_off['t3ver_state']==2) {
- $diffCode.= $this->doc->icons(2).'Deleted element ';
+ $diffCode.= $this->doc->icons(2) . $GLOBALS['LANG']->getLL('deletedElement') . ' ';
} elseif ($rec_on['t3ver_state']==3) {
- $diffCode.= $this->doc->icons(1).'Move-to placeholder (destination) ';
+ $diffCode.= $this->doc->icons(1) . $GLOBALS['LANG']->getLL('moveToPlaceholder') . ' ';
} elseif ($rec_off['t3ver_state']==4) {
- $diffCode.= $this->doc->icons(1).'Move-to pointer (source) ';
+ $diffCode.= $this->doc->icons(1) . $GLOBALS['LANG']->getLL('moveToPointer') . ' ';
} else {
- $diffCode.= ($diffPct<0 ? 'N/A' : ($diffPct ? $diffPct.'% change:' : ''));
+ $diffCode.= ($diffPct<0 ? $GLOBALS['LANG']->getLL('notAvailable') : ($diffPct ? $diffPct . '% ' . $GLOBALS['LANG']->getLL('change') : ''));
$diffCode.= $diffHTML;
}
} else $diffCode = '';
switch($vType) {
case 'element':
- $swapLabel = ' [Element]';
+ $swapLabel = $GLOBALS['LANG']->getLL('element');
$swapClass = 'ver-element';
$warnAboutVersions_nonPages = $warnAboutVersions_page; // Setting this if sub elements are found with a page+content (must be rendered prior to this of course!)
break;
case 'page':
- $swapLabel = ' [Page]';
+ $swapLabel = $GLOBALS['LANG']->getLL('page');
$swapClass = 'ver-page';
$warnAboutVersions_page = !$this->showWorkspaceCol; // This value is true only if multiple workspaces are shown and we need the opposite here.
break;
case 'branch':
- $swapLabel = ' [Branch]';
+ $swapLabel = $GLOBALS['LANG']->getLL('branch');
$swapClass = 'ver-branch';
break;
}
@@ -925,9 +926,9 @@
// Create version element:
$versionsInOtherWS = $this->versionsInOtherWS($table, $rec_on['uid']);
- $versionsInOtherWSWarning = $versionsInOtherWS && $GLOBALS['BE_USER']->workspace!==0 ? ' '.$this->doc->icons(2).'Other version(s) in workspace '.$versionsInOtherWS : '';
- $multipleWarning = (!$mainCell && $GLOBALS['BE_USER']->workspace!==0? ' '.$this->doc->icons(3).'Multiple versions in same workspace! ' : '');
- $verWarning = $warnAboutVersions || ($warnAboutVersions_nonPages && $GLOBALS['TCA'][$table]['ctrl']['versioning_followPages'])? ' '.$this->doc->icons(3).'Version inside version! ' : '';
+ $versionsInOtherWSWarning = $versionsInOtherWS && $GLOBALS['BE_USER']->workspace!==0 ? ' '.$this->doc->icons(2) . $GLOBALS['LANG']->getLL('otherVersions') . $versionsInOtherWS : '';
+ $multipleWarning = (!$mainCell && $GLOBALS['BE_USER']->workspace!==0? ' '.$this->doc->icons(3).'' . $GLOBALS['LANG']->getLL('multipleVersions') . ' ' : '');
+ $verWarning = $warnAboutVersions || ($warnAboutVersions_nonPages && $GLOBALS['TCA'][$table]['ctrl']['versioning_followPages'])? ' '.$this->doc->icons(3).'' . $GLOBALS['LANG']->getLL('versionInVersion') . ' ' : '';
$verElement = $icon.
(!$this->details ? '' : '').
t3lib_BEfunc::getRecordTitle($table,$rec_off,TRUE).
@@ -942,13 +943,13 @@
$this->displayWorkspaceOverview_commandLinks($table,$rec_on,$rec_off,$vType).
htmlspecialchars($swapLabel).
'
- '.(!$this->diffOnly?' Lifecycle: '.htmlspecialchars($this->formatCount($rec_off['t3ver_count'])).' '. // Lifecycle
+ '.(!$this->diffOnly?'' . $GLOBALS['LANG']->getLL('lifecycle') . ': '.htmlspecialchars($this->formatCount($rec_off['t3ver_count'])).' '. // Lifecycle
($this->showWorkspaceCol ? '
- Workspace: '.htmlspecialchars($this->formatWorkspace($rec_off['t3ver_wsid'])).' ' : ''):'');
+ ' . $GLOBALS['LANG']->getLL('workspace') . ': '.htmlspecialchars($this->formatWorkspace($rec_off['t3ver_wsid'])).' ' : ''):'');
if ($diffCode) {
$verElement = $verElement.'
- Difference to live element:
+ ' . $GLOBALS['LANG']->getLL('diffToLiveElement') . '
'.$diffCode.'
@@ -1024,10 +1025,10 @@
$sId = $this->recIndex[$table][$uid];
switch($sId) {
case 1:
- $label = 'Comment for Reviewer:';
+ $label = $GLOBALS['LANG']->getLL('commentForReviewer');
break;
case 10:
- $label = 'Comment for Publisher:';
+ $label = $GLOBALS['LANG']->getLL('commentForPublisher');
break;
}
} else $sId = 0;
@@ -1035,13 +1036,13 @@
if (count($this->stageIndex[1])) { // Review:
$sId = 1;
$color = '#666666';
- $label = 'Sending %s item(s) to review. Comment for Reviewer:';
- $titleAttrib = 'Send all to Review';
+ $label = $GLOBALS['LANG']->getLL('sendItemsToReview') . $GLOBALS['LANG']->getLL('commentForReviewer');
+ $titleAttrib = $GLOBALS['LANG']->getLL('sendAllToReview');
} elseif(count($this->stageIndex[10])) { // Publish:
$sId = 10;
$color = '#6666cc';
- $label = 'Approving %s item(s) to publishing. Comment for Publisher:';
- $titleAttrib = 'Approve all for Publishing';
+ $label = $GLOBALS['LANG']->getLL('approveToPublish') . $GLOBALS['LANG']->getLL('commentForPublisher');
+ $titleAttrib = $GLOBALS['LANG']->getLL('approveAllToPublish');
} else {
$sId = 0;
}
@@ -1116,7 +1117,7 @@
if (!isset($this->formatWorkspace_cache[$wsid])) {
switch($wsid) {
case -1:
- $this->formatWorkspace_cache[$wsid] = '[Offline]';
+ $this->formatWorkspace_cache[$wsid] = $GLOBALS['LANG']->getLL('offline');
break;
case 0:
$this->formatWorkspace_cache[$wsid] = ''; // Does not output anything for ONLINE because it might confuse people to think that the elemnet IS online which is not the case - only that it exists as an offline version in the online workspace...
@@ -1143,13 +1144,13 @@
if (!isset($this->formatCount_cache[$count])) {
switch($count) {
case 0:
- $this->formatCount_cache[$count] = 'Draft';
+ $this->formatCount_cache[$count] = $GLOBALS['LANG']->getLL('draft');
break;
case 1:
- $this->formatCount_cache[$count] = 'Archive';
+ $this->formatCount_cache[$count] = $GLOBALS['LANG']->getLL('archive');
break;
default:
- $this->formatCount_cache[$count] = 'Published '.$count.' times';
+ $this->formatCount_cache[$count] = sprintf($GLOBALS['LANG']->getLL('publishedXTimes'), $count);
break;
}
}
@@ -1210,23 +1211,23 @@
switch($data['stage']) {
case 1:
- $text = 'sent element to "Review"';
+ $text = $GLOBALS['LANG']->getLL('stage.sentToReview');
break;
case 10:
- $text = 'approved for "Publish"';
+ $text = $GLOBALS['LANG']->getLL('stage.approvedForPublish');
break;
case -1:
- $text = 'rejected element!';
+ $text = $GLOBALS['LANG']->getLL('stage.rejectedElement');
break;
case 0:
- $text = 'reset to "Editing"';
+ $text = $GLOBALS['LANG']->getLL('stage.resetToEdit');
break;
default:
- $text = '[undefined]';
+ $text = $GLOBALS['LANG']->getLL('stage.undefined');
break;
}
$text = t3lib_BEfunc::dateTime($dat['tstamp']).': "'.$username.'" '.$text;
- $text.= ($data['comment']?' User Comment: '.htmlspecialchars($data['comment']).' ':'');
+ $text.= ($data['comment']?' ' . $GLOBALS['LANG']->getLL('userComment') . ': '.htmlspecialchars($data['comment']).' ':'');
$entry[] = $text;
}
@@ -1251,8 +1252,8 @@
doc->backPath,'gfx/ol/joinbottom.gif','width="18" height="16"').' align="top" alt="" title="" />'.
($origId ?
''.
- '[Sub elements, click for details] ' :
- '[Sub elements] ');
+ '' . $GLOBALS['LANG']->getLL('subElementsClick') . ' ' :
+ '' . $GLOBALS['LANG']->getLL('subElements') . ' ');
} else { // For an offline workspace, show sub elements:
$tCell = array();
@@ -1407,7 +1408,7 @@
'';
} else {
$diffCode =
- ($diffPct<0 ? 'N/A' : ($diffPct ? $diffPct.'% change:' : '')).
+ ($diffPct<0 ? $GLOBALS['LANG']->getLL('notAvailable') : ($diffPct ? $diffPct . '% ' . $GLOBALS['LANG']->getLL('change') : '')).
$diffHTML;
}
}
@@ -1484,8 +1485,8 @@
$tRows = array();
$tRows[] = '
';
@@ -1569,9 +1570,9 @@
if (count($tRows)>1) {
$content.= '';
} else {
- $content.= ''.$this->doc->icons(1).'Complete match on editable fields. ';
+ $content.= ''.$this->doc->icons(1) . $GLOBALS['LANG']->getLL('completeMatch') . ' ';
}
- } else $content.= $this->doc->icons(3).'ERROR: Records could strangely not be found!';
+ } else $content.= $this->doc->icons(3) . $GLOBALS['LANG']->getLL('errorRecordsNotFound');
// Return value:
return array($content,$pctChange);
@@ -1589,31 +1590,31 @@
switch((int)$rec_off['t3ver_stage']) {
case 0:
$sId = 1;
- $sLabel = 'Editing';
+ $sLabel = $GLOBALS['LANG']->getLL('editing');
$color = '#666666';
- $label = 'Comment for Reviewer:';
- $titleAttrib = 'Send to Review';
+ $label = $GLOBALS['LANG']->getLL('commentForReviewer');
+ $titleAttrib = $GLOBALS['LANG']->getLL('sendToReview');
break;
case 1:
$sId = 10;
- $sLabel = 'Review';
+ $sLabel = $GLOBALS['LANG']->getLL('review');
$color = '#6666cc';
- $label = 'Comment for Publisher:';
- $titleAttrib = 'Approve for Publishing';
+ $label = $GLOBALS['LANG']->getLL('commentForPublisher');
+ $titleAttrib = $GLOBALS['LANG']->getLL('approveForPublishing');
break;
case 10:
- $sLabel = 'Publish';
+ $sLabel = $GLOBALS['LANG']->getLL('publish');
$color = '#66cc66';
break;
case -1:
- $sLabel = $this->doc->icons(2).'Rejected';
+ $sLabel = $this->doc->icons(2) . $GLOBALS['LANG']->getLL('rejected');
$sId = 0;
$color = '#ff0000';
- $label = 'Comment:';
- $titleAttrib = 'Reset stage';
+ $label = $GLOBALS['LANG']->getLL('comment');
+ $titleAttrib = $GLOBALS['LANG']->getLL('resetStage');
break;
default:
- $sLabel = 'Undefined';
+ $sLabel = $GLOBALS['LANG']->getLL('undefined');
$sId = 0;
$color = '';
break;
@@ -1623,7 +1624,7 @@
$raiseOk = !$GLOBALS['BE_USER']->workspaceCannotEditOfflineVersion($table,$rec_off);
if ($raiseOk && $rec_off['t3ver_stage']!=-1) {
- $onClick = 'var commentTxt=window.prompt("Please explain why you reject:","");
+ $onClick = 'var commentTxt=window.prompt("' . $GLOBALS['LANG']->getLL('rejectExplain') . '","");
if (commentTxt!=null) {window.location.href="'.$this->doc->issueCommand(
'&cmd['.$table.']['.$rec_off['uid'].'][version][action]=setStage'.
'&cmd['.$table.']['.$rec_off['uid'].'][version][stageId]=-1'
@@ -1632,7 +1633,7 @@
// Reject:
$actionLinks.=
''.
- ' doc->backPath,'gfx/down.gif','width="14" height="14"').' alt="" align="top" title="Reject" />'.
+ ' doc->backPath,'gfx/down.gif','width="14" height="14"').' alt="" align="top" title="' . $GLOBALS['LANG']->getLL('reject') . '" />'.
' ';
} else {
// Reject:
@@ -1679,7 +1680,7 @@
'&cmd['.$table.']['.$rec_on['uid'].'][version][action]=swap'.
'&cmd['.$table.']['.$rec_on['uid'].'][version][swapWith]='.$rec_off['uid']
)).'">'.
- ' doc->backPath,'gfx/insert1.gif','width="14" height="14"').' alt="" align="top" title="Publish" />'.
+ ' doc->backPath,'gfx/insert1.gif','width="14" height="14"').' alt="" align="top" title="' . $GLOBALS['LANG']->getLL('publish') . '" />'.
'';
if ($GLOBALS['BE_USER']->workspaceSwapAccess()) {
$actionLinks.=
@@ -1688,7 +1689,7 @@
'&cmd['.$table.']['.$rec_on['uid'].'][version][swapWith]='.$rec_off['uid'].
'&cmd['.$table.']['.$rec_on['uid'].'][version][swapIntoWS]=1'
)).'">'.
- ' doc->backPath,'gfx/swap.png','width="14" height="14"').' alt="" align="top" title="Swap" />'.
+ ' doc->backPath,'gfx/swap.png','width="14" height="14"').' alt="" align="top" title="' . $GLOBALS['LANG']->getLL('swap') . '" />'.
'';
}
}
@@ -1696,8 +1697,8 @@
if (!$GLOBALS['BE_USER']->workspaceCannotEditOfflineVersion($table,$rec_off)) {
// Release
$actionLinks.=
- ''.
- ' doc->backPath,'gfx/group_clear.gif','width="14" height="14"').' alt="" align="top" title="Remove from workspace" />'.
+ ' '.
+ ' doc->backPath,'gfx/group_clear.gif','width="14" height="14"').' alt="" align="top" title="' . $GLOBALS['LANG']->getLL('removeFromWorkspace') . '" />'.
' ';
// Edit
@@ -1705,13 +1706,13 @@
$tempUid = ($vType==='branch' || $GLOBALS['BE_USER']->workspace===0 ? $rec_off['uid'] : $rec_on['uid']);
$actionLinks.=
''.
- ' doc->backPath,t3lib_extMgm::extRelPath('cms').'layout/layout.gif','width="14" height="12"').' title="Edit page" alt="" />'.
+ ' doc->backPath,t3lib_extMgm::extRelPath('cms').'layout/layout.gif','width="14" height="12"').' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_user_ws.xml:img_title_edit_page'). '" alt="" />'.
' ';
} else {
$params = '&edit['.$table.']['.$rec_off['uid'].']=edit';
$actionLinks.=
''.
- ' doc->backPath,'gfx/edit2.gif','width="12" height="12"').' title="Edit element" alt="" />'.
+ ' doc->backPath,'gfx/edit2.gif','width="12" height="12"').' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_user_ws.xml:img_title_edit_element'). '" alt="" />'.
' ';
}
}
@@ -1719,7 +1720,7 @@
// History/Log
$actionLinks.=
''.
- ' doc->backPath,'gfx/history2.gif','width="13" height="12"').' title="Show Log" alt="" />'.
+ ' doc->backPath,'gfx/history2.gif','width="13" height="12"').' title="' . $GLOBALS['LANG']->getLL('showLog') . '" alt="" />'.
' ';
// View
@@ -1750,13 +1751,13 @@
if ($table==='pages') {
$actionLinks.=
''.
- ' doc->backPath,t3lib_extMgm::extRelPath('cms').'layout/layout.gif','width="14" height="12"').' title="Edit page" alt="" />'.
+ ' doc->backPath,t3lib_extMgm::extRelPath('cms').'layout/layout.gif','width="14" height="12"').' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_user_ws.xml:img_title_edit_page'). '" alt="" />'.
' ';
} else {
$params = '&edit['.$table.']['.$uid.']=edit';
$actionLinks.=
''.
- ' doc->backPath,'gfx/edit2.gif','width="12" height="12"').' title="Edit element" alt="" />'.
+ ' doc->backPath,'gfx/edit2.gif','width="12" height="12"').' title="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_mod_user_ws.xml:img_title_edit_element'). '" alt="" />'.
' ';
}
}
@@ -1764,7 +1765,7 @@
// History/Log
$actionLinks.=
''.
- ' doc->backPath,'gfx/history2.gif','width="13" height="12"').' title="Show Log" alt="" />'.
+ ' doc->backPath,'gfx/history2.gif','width="13" height="12"').' title="' . $GLOBALS['LANG']->getLL('showLog') . '" alt="" />'.
' ';
}
Index: typo3/sysext/version/locallang.xml
===================================================================
--- typo3/sysext/version/locallang.xml (revision 5370)
+++ typo3/sysext/version/locallang.xml (working copy)
@@ -11,11 +11,112 @@
Page and content versioning and workspace management for pages.
The Web>Versioning module provides access to versioning features for the page tree.
Versioning
- Function #1
- Function #2
- Function #3
Web>Versioning module
Please click a page in the pagetree frame to see the versioning module.
+ Drafts
+ Archive
+ All
+ DIFFING
+ Fieldname
+ Colored diff-view
+ Records matches completely on all editable fields!
+ ERROR: Records could strangely not be found!
+ ERROR: You didn't select two sources for diffing!
+ Title
+ UID
+ oid
+ id
+ wsid
+ state
+ stage
+ count
+ pid
+ Label
+ Header of element
+ Unique ID of element
+ t3ver_oid - Reference to live version UID
+ t3ver_id - Version number, incremental integer
+ t3ver_wsid - Workspace ID. There can be only one version of an element per ID (except ID zero).
+ t3ver_state - Special states of a version: 1=Placeholder for "New". 2=Marked deleted.
+ t3ver_stage - Publishing stage: Editing (0), review (1), publish (10), rejected (-1).
+ t3ver_count - Life cycle counter. Incremented each time element is unpublished.
+ Page ID
+ Label
+ Diff
+ SWAP with current
+ CURRENT ONLINE VERSION!
+ Page: Page + content
+ Branch: All subpages
+ Element: Just record
+ Create new version
+ Preview Link
+ Publish Page
+ Swap page
+ Are you sure you want to publish all content %sfrom this page?
+ Are you sure you want to publish (swap) all content %sfrom this page?
+ in "Publish" stage
+ Preview Url:
+ You can preview this page from the workspace using this link for the next %s hours (does not require backend login):
+ Details for version
+ Workspace management
+ Show difference view
+ Live Version:
+ Workspace Versions:
+ Controls:
+ Click here to go back
+ Show all information
+ New element
+ Deleted element
+ Move-to placeholder (destination)
+ Move-to pointer (source)
+ N/A
+ change:
+ [Element]
+ [Page]
+ [Branch]
+ Other version(s) in workspace
+ Multiple versions in same workspace!
+ Version inside version!
+ Lifecycle
+ Workspace
+ Difference to live element:
+ Comment for Reviewer:
+ Comment for Publisher:
+ Sending %s item(s) to review.
+ Send all to Review
+ Approving %s item(s) to publishing.
+ Approve all for Publishing
+ [Offline]
+ Draft
+ Archive
+ Published %s times
+ sent element to "Review"
+ approved for "Publish"
+ rejected element!
+ reset to "Editing"
+ [undefined]
+ User Comment
+ [Sub elements, click for details]
+ [Sub elements]
+ Complete match on editable fields.
+ Editing
+ Send to Review
+ Review
+ Swap
+ Approve for Publishing
+ Publish
+ Rejected
+ Comment:
+ Reset stage
+ Undefined
+ Please explain why you reject:
+ Remove from workspace
+ Show Log
+ [Live workspace]
+ Draft Workspaces
+ [Default Draft]
+ Errors:
+ Refresh
\ No newline at end of file