internationalize word copy in clipboard copies
This commit is contained in:
parent
a5072af04e
commit
24339ba1e2
2 changed files with 13 additions and 6 deletions
|
|
@ -205,7 +205,8 @@ sub www_copy {
|
|||
else {
|
||||
$newAsset = $self->duplicate({skipAutoCommitWorkflows => 1});
|
||||
}
|
||||
$newAsset->update({ title=>$self->getTitle.' (copy)'});
|
||||
my $i18n = WebGUI::International->new($self->session, 'Asset');
|
||||
$newAsset->update({ title=>sprintf("%s (%s)",$self->getTitle,$i18n->get('copy'))});
|
||||
$newAsset->cut;
|
||||
if ($self->session->setting->get("autoRequestCommit")) {
|
||||
if ($self->session->setting->get("skipCommitComments")) {
|
||||
|
|
|
|||
|
|
@ -235,19 +235,25 @@ our $I18N = {
|
|||
lastUpdated => 0,
|
||||
context => q|Used in asset context menus.|
|
||||
},
|
||||
|
||||
|
||||
'duplicate' => {
|
||||
message => q|Duplicate|,
|
||||
lastUpdated => 0,
|
||||
context => q|Used in asset context menus.|
|
||||
},
|
||||
|
||||
'copy' => {
|
||||
|
||||
'Copy' => {
|
||||
message => q|Copy|,
|
||||
lastUpdated => 0,
|
||||
lastUpdated => 1221540086,
|
||||
context => q|Used in asset context menus.|
|
||||
},
|
||||
|
||||
|
||||
'copy' => {
|
||||
message => q|copy|,
|
||||
lastUpdated => 1221540088,
|
||||
context => q|Same as Copy, but lower case.|
|
||||
},
|
||||
|
||||
'this asset only' => {
|
||||
message => q|This Asset Only|,
|
||||
lastUpdated => 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue