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.)
|
||||
- fixed #9076: Thingy broken in latest beta, Save and Close buttons missing
|
||||
from Add/Edit Field dialogs (SDH Consulting Group).
|
||||
- fixed #4214: Missing i18n in asset manager
|
||||
|
||||
7.6.3
|
||||
- improved performance of file uploads
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ A string that specifies the language that the user should see. Defaults to the
|
|||
|
||||
=cut
|
||||
|
||||
my $safeRe = qr/[^\.:\w\d\s\/\^\;\?%]/;
|
||||
my $safeRe = qr/[^\.:\w\d\s\/\^\;\?%><]/;
|
||||
|
||||
sub get {
|
||||
my ($self, $id, $namespace, $language) = @_;
|
||||
|
|
|
|||
|
|
@ -4199,6 +4199,18 @@ Users may override this setting in their profile.
|
|||
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;
|
||||
|
|
|
|||
|
|
@ -37,8 +37,6 @@ my $properties = {
|
|||
};
|
||||
$snippet->update($properties);
|
||||
|
||||
use Data::Dumper;
|
||||
Dumper($properties);
|
||||
foreach my $property (keys %{$properties}) {
|
||||
is ($snippet->get($property), $properties->{$property}, "updated $property is ".$properties->{$property});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -215,7 +215,11 @@ WebGUI.AssetManager.initManager = function (o) {
|
|||
namespaces : {
|
||||
'Asset' : [
|
||||
"edit",
|
||||
"More",
|
||||
"More"
|
||||
],
|
||||
'WebGUI' : [
|
||||
"< prev",
|
||||
"next >"
|
||||
]
|
||||
},
|
||||
onpreload : {
|
||||
|
|
@ -230,10 +234,14 @@ WebGUI.AssetManager.initManager = function (o) {
|
|||
*/
|
||||
WebGUI.AssetManager.initDataTable = function (o) {
|
||||
var assetPaginator = new YAHOO.widget.Paginator({
|
||||
containers : ['pagination'],
|
||||
pageLinks : 7,
|
||||
rowsPerPage : 100,
|
||||
template : "<strong>{CurrentPageReport}</strong> {PreviousPageLink} {PageLinks} {NextPageLink}"
|
||||
containers : ['pagination'],
|
||||
pageLinks : 7,
|
||||
rowsPerPage : 100,
|
||||
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