mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
Merge remote-tracking branch 'origin/3.0' into 3.1
Conflicts: javascript/CMSMain.Tree.js
This commit is contained in:
commit
bd86ff848c
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
[](http://travis-ci.org/silverstripe/silverstripe-cms)
|
[](http://travis-ci.org/silverstripe/silverstripe-cms)
|
||||||
|
|
||||||
PHP5 Content Management System (CMS), see [http://silverstripe.org](http://silverstripe.org). Requires the [`framework`](http://github.com/silverstripe/sapphire) module and a [`silverstripe-installer`](http://github.com/silverstripe/silverstripe-installer) base project.
|
PHP5 Content Management System (CMS), see [http://silverstripe.org](http://silverstripe.org). Requires the [`framework`](http://github.com/silverstripe/silverstripe-framework) module and a [`silverstripe-installer`](http://github.com/silverstripe/silverstripe-installer) base project.
|
||||||
|
|
||||||
## Installation ##
|
## Installation ##
|
||||||
|
|
||||||
@ -22,7 +22,7 @@ If you would like to make changes to the SilverStripe core codebase, we have an
|
|||||||
|
|
||||||
* [Requirements](http://doc.silverstripe.org/framework/en/installation/server-requirements)
|
* [Requirements](http://doc.silverstripe.org/framework/en/installation/server-requirements)
|
||||||
* [Changelogs](http://doc.silverstripe.org/framework/en/changelogs/)
|
* [Changelogs](http://doc.silverstripe.org/framework/en/changelogs/)
|
||||||
* [Bugtracker: Framework](https://github.com/silverstripe/sapphire/issues)
|
* [Bugtracker: Framework](https://github.com/silverstripe/silverstripe-framework/issues)
|
||||||
* [Bugtracker: CMS](https://github.com/silverstripe/silverstripe-cms/issues)
|
* [Bugtracker: CMS](https://github.com/silverstripe/silverstripe-cms/issues)
|
||||||
* [Bugtracker: Installer](https://github.com/silverstripe/silverstripe-installer/issues)
|
* [Bugtracker: Installer](https://github.com/silverstripe/silverstripe-installer/issues)
|
||||||
* [Forums](http://silverstripe.org/forums)
|
* [Forums](http://silverstripe.org/forums)
|
||||||
|
8
_config/i18n.yml
Normal file
8
_config/i18n.yml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
Name: cmsi18n
|
||||||
|
Before: '/i18n'
|
||||||
|
After: '/i18n#basei18n'
|
||||||
|
---
|
||||||
|
i18n:
|
||||||
|
module_priority:
|
||||||
|
- cms
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
var menuitems = {
|
var menuitems = {
|
||||||
'edit': {
|
'edit': {
|
||||||
'label': ss.i18n._t('Tree.EditPage'),
|
'label': ss.i18n._t('Tree.EditPage', 'Edit page', 100, 'Used in the context menu when right-clicking on a page node in the CMS tree'),
|
||||||
'action': function(obj) {
|
'action': function(obj) {
|
||||||
$('.cms-container').entwine('.ss').loadPanel(ss.i18n.sprintf(
|
$('.cms-container').entwine('.ss').loadPanel(ss.i18n.sprintf(
|
||||||
self.data('urlEditpage'), obj.data('id')
|
self.data('urlEditpage'), obj.data('id')
|
||||||
@ -72,7 +72,7 @@
|
|||||||
|
|
||||||
if(hasAllowedChildren) {
|
if(hasAllowedChildren) {
|
||||||
menuitems['addsubpage'] = {
|
menuitems['addsubpage'] = {
|
||||||
'label': ss.i18n._t('Tree.AddSubPage'),
|
'label': ss.i18n._t('Tree.AddSubPage', 'Add page under this page', 100, 'Used in the context menu when right-clicking on a page node in the CMS tree'),
|
||||||
'submenu': menuAllowedChildren
|
'submenu': menuAllowedChildren
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user