diff --git a/.tx/config b/.tx/config new file mode 100644 index 00000000..1db7d558 --- /dev/null +++ b/.tx/config @@ -0,0 +1,8 @@ +[main] +host = https://www.transifex.com + +[silverstripe-cms.master] +file_filter = lang/.yml +source_file = lang/en.yml +source_lang = en +type = YML \ No newline at end of file diff --git a/code/controllers/AssetAdmin.php b/code/controllers/AssetAdmin.php index a2ad5a00..e28256c1 100644 --- a/code/controllers/AssetAdmin.php +++ b/code/controllers/AssetAdmin.php @@ -375,9 +375,9 @@ JS $fields = $context->getSearchFields(); $actions = new FieldList( - FormAction::create('doSearch', _t('CMSMain_left.ss.APPLY FILTER', 'Apply Filter')) + FormAction::create('doSearch', _t('CMSMain_left_ss.APPLY_FILTER', 'Apply Filter')) ->addExtraClass('ss-ui-action-constructive'), - Object::create('ResetFormAction', 'clear', _t('CMSMain_left.ss.RESET', 'Reset')) + Object::create('ResetFormAction', 'clear', _t('CMSMain_left_ss.RESET', 'Reset')) ); $form = new Form($this, 'filter', $fields, $actions); @@ -401,7 +401,7 @@ JS new HiddenField('ParentID', false, $this->request->getVar('ParentID')) ), new FieldList( - FormAction::create('doAdd', _t('AssetAdmin_left.ss.GO','Go')) + FormAction::create('doAdd', _t('AssetAdmin_left_ss.GO','Go')) ->addExtraClass('ss-ui-action-constructive')->setAttribute('data-icon', 'accept') ->setTitle(_t('AssetAdmin.ActionAdd', 'Add folder')) ) @@ -667,7 +667,7 @@ JS */ class AssetAdmin_DeleteBatchAction extends CMSBatchAction { public function getActionTitle() { - // _t('AssetAdmin_left.ss.SELECTTODEL','Select the folders that you want to delete and then click the button below') + // _t('AssetAdmin_left_ss.SELECTTODEL','Select the folders that you want to delete and then click the button below') return _t('AssetAdmin_DeleteBatchAction.TITLE', 'Delete folders'); } diff --git a/code/controllers/CMSMain.php b/code/controllers/CMSMain.php index 6ee6552f..8d2f96c1 100644 --- a/code/controllers/CMSMain.php +++ b/code/controllers/CMSMain.php @@ -296,9 +296,9 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr // Create the Search and Reset action $actions = new FieldList( - FormAction::create('doSearch', _t('CMSMain_left.ss.APPLY FILTER', 'Apply Filter')) + FormAction::create('doSearch', _t('CMSMain_left_ss.APPLY_FILTER', 'Apply Filter')) ->addExtraClass('ss-ui-action-constructive'), - Object::create('ResetFormAction', 'clear', _t('CMSMain_left.ss.RESET', 'Reset')) + Object::create('ResetFormAction', 'clear', _t('CMSMain_left_ss.RESET', 'Reset')) ); // Use