Skip to content

Commit 3287e5d

Browse files
committed
add typo fix, es translation, indentation and using before_install instead of before_script
1 parent ff45be3 commit 3287e5d

File tree

7 files changed

+47
-14
lines changed

7 files changed

+47
-14
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
language: php
22

33
php:
4-
- 5.3
5-
- 5.4
6-
- 5.5
7-
- hhvm
4+
- 5.3
5+
- 5.4
6+
- 5.5
7+
- hhvm
88

99
env:
1010
- SYMFONY_VERSION=2.5.*
@@ -21,7 +21,7 @@ matrix:
2121
- php: 5.5
2222
env: SYMFONY_VERSION=dev-master
2323

24-
before_script:
24+
before_install:
2525
- composer self-update
2626
- composer require symfony/symfony:${SYMFONY_VERSION} --prefer-source
2727

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Changelog
4444
---------
4545

4646
* **2013-08-04**: [Doctrine ORM] Fix doctrine orm compiler pass to match
47-
signature of the one in the doctrine brigde.
47+
signature of the one in the doctrine bridge.
4848

4949
* **2013-08-01**: [PublishWorkflow] Adjusted interfaces to naming conventions.
5050
PublishableInterface is now read and write, PublishableReadInterface for read

CmfCoreBundle.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ class CmfCoreBundle extends Bundle
2020
{
2121
public function build(ContainerBuilder $container)
2222
{
23-
parent::build($container);
2423
$container->addCompilerPass(new RequestAwarePass());
2524
$container->addCompilerPass(new AddPublishedVotersPass());
2625
}

Doctrine/Phpcr/TranslatableMetadataListener.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Doctrine\ODM\PHPCR\Mapping\ClassMetadata;
1717

1818
/**
19-
* Metadata listener for when the translations is globally defined
19+
* Metadata listener for when the translations are globally defined
2020
*
2121
* @author Lukas Kahwe Smith <[email protected]>
2222
*/
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
3+
<file source-language="en" target-language="es" datatype="plaintext" original="file.ext">
4+
<body>
5+
<trans-unit id="form.group_publish_workflow">
6+
<source>form.group_publish_workflow</source>
7+
<target>Publica Flujo de Trabajo</target>
8+
</trans-unit>
9+
<trans-unit id="form.label_publishable">
10+
<source>form.label_publishable</source>
11+
<target>Publicable</target>
12+
</trans-unit>
13+
<trans-unit id="form.label_publish_start_date">
14+
<source>form.label_publish_start_date</source>
15+
<target>Fecha de inicio de Publicación</target>
16+
</trans-unit>
17+
<trans-unit id="form.label_publish_end_date">
18+
<source>form.label_publish_end_date</source>
19+
<target>Fecha de fin de Publicación</target>
20+
</trans-unit>
21+
<trans-unit id="form.label_locale">
22+
<source>form.label_locale</source>
23+
<target>Localización</target>
24+
</trans-unit>
25+
<trans-unit id="form.help_publish_start_date">
26+
<source>form.help_publish_start_date</source>
27+
<target>Sólo publica en esta fecha o después. Dejar vacío para publicar de inmediato.</target>
28+
</trans-unit>
29+
<trans-unit id="form.help_publish_end_date">
30+
<source>form.help_publish_end_date</source>
31+
<target>Sólo publica antes de esta fecha. Dejar vacío para no terminar la publicación.</target>
32+
</trans-unit>
33+
<trans-unit id="list.label_locales">
34+
<source>list.label_locales</source>
35+
<target>Lista de Localizaciones</target>
36+
</trans-unit>
37+
</body>
38+
</file>
39+
</xliff>

Slugifier/SlugifierInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
interface SlugifierInterface
2020
{
2121
/**
22-
* Return a slugified (or urlized) reperesentation of a given string
22+
* Return a slugified (or urlized) representation of a given string
2323
*
2424
* @param string
2525
*

Tests/Functional/PublishWorkflow/PublishWorkflowTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ class PublishWorkflowTest extends BaseTestCase
2929
*/
3030
private $pwc;
3131

32-
/**
33-
* @var CmfExtension
34-
*/
35-
private $extension;
36-
3732
public function setUp()
3833
{
3934
$this->pwc = $this->getContainer()->get('cmf_core.publish_workflow.checker');

0 commit comments

Comments
 (0)