final asssetManager i18n re: 4214
This commit is contained in:
parent
d45e17bfa3
commit
0c2ca8184c
5 changed files with 27 additions and 8 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
- Added version tag modes: multiple tags per user, single tag per user, site wide version tag and auto commit (thanks to Long Term Results B.V.)
|
- Added version tag modes: multiple tags per user, single tag per user, site wide version tag and auto commit (thanks to Long Term Results B.V.)
|
||||||
- fixed #9076: Thingy broken in latest beta, Save and Close buttons missing
|
- fixed #9076: Thingy broken in latest beta, Save and Close buttons missing
|
||||||
from Add/Edit Field dialogs (SDH Consulting Group).
|
from Add/Edit Field dialogs (SDH Consulting Group).
|
||||||
|
- fixed #4214: Missing i18n in asset manager
|
||||||
|
|
||||||
7.6.3
|
7.6.3
|
||||||
- improved performance of file uploads
|
- improved performance of file uploads
|
||||||
|
|
|
||||||
|
|
@ -86,7 +86,7 @@ A string that specifies the language that the user should see. Defaults to the
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
my $safeRe = qr/[^\.:\w\d\s\/\^\;\?%]/;
|
my $safeRe = qr/[^\.:\w\d\s\/\^\;\?%><]/;
|
||||||
|
|
||||||
sub get {
|
sub get {
|
||||||
my ($self, $id, $namespace, $language) = @_;
|
my ($self, $id, $namespace, $language) = @_;
|
||||||
|
|
|
||||||
|
|
@ -4199,6 +4199,18 @@ Users may override this setting in their profile.
|
||||||
context => q{Entry for version tag settings},
|
context => q{Entry for version tag settings},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
'< prev' => {
|
||||||
|
message => q{< prev},
|
||||||
|
lastUpdated => 1226704984,
|
||||||
|
context => q{i18n label for YUI paginator},
|
||||||
|
},
|
||||||
|
|
||||||
|
'next >' => {
|
||||||
|
message => q{next >},
|
||||||
|
lastUpdated => 1226704984,
|
||||||
|
context => q{i18n label for YUI paginator},
|
||||||
|
},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
|
||||||
|
|
@ -37,8 +37,6 @@ my $properties = {
|
||||||
};
|
};
|
||||||
$snippet->update($properties);
|
$snippet->update($properties);
|
||||||
|
|
||||||
use Data::Dumper;
|
|
||||||
Dumper($properties);
|
|
||||||
foreach my $property (keys %{$properties}) {
|
foreach my $property (keys %{$properties}) {
|
||||||
is ($snippet->get($property), $properties->{$property}, "updated $property is ".$properties->{$property});
|
is ($snippet->get($property), $properties->{$property}, "updated $property is ".$properties->{$property});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -215,7 +215,11 @@ WebGUI.AssetManager.initManager = function (o) {
|
||||||
namespaces : {
|
namespaces : {
|
||||||
'Asset' : [
|
'Asset' : [
|
||||||
"edit",
|
"edit",
|
||||||
"More",
|
"More"
|
||||||
|
],
|
||||||
|
'WebGUI' : [
|
||||||
|
"< prev",
|
||||||
|
"next >"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
onpreload : {
|
onpreload : {
|
||||||
|
|
@ -230,10 +234,14 @@ WebGUI.AssetManager.initManager = function (o) {
|
||||||
*/
|
*/
|
||||||
WebGUI.AssetManager.initDataTable = function (o) {
|
WebGUI.AssetManager.initDataTable = function (o) {
|
||||||
var assetPaginator = new YAHOO.widget.Paginator({
|
var assetPaginator = new YAHOO.widget.Paginator({
|
||||||
containers : ['pagination'],
|
containers : ['pagination'],
|
||||||
pageLinks : 7,
|
pageLinks : 7,
|
||||||
rowsPerPage : 100,
|
rowsPerPage : 100,
|
||||||
template : "<strong>{CurrentPageReport}</strong> {PreviousPageLink} {PageLinks} {NextPageLink}"
|
previousPageLinkLabel : WebGUI.AssetManager.i18n.get('WebGUI', '< prev'),
|
||||||
|
nextPageLinkLabel : WebGUI.AssetManager.i18n.get('WebGUI', 'next >'),
|
||||||
|
// previousPageLinkLabel : 'fred',
|
||||||
|
// nextPageLinkLabel : 'barney',
|
||||||
|
template : "<strong>{CurrentPageReport}</strong> {PreviousPageLink} {PageLinks} {NextPageLink}"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue