Skip to content

Commit

Permalink
Merge pull request #846 from alexislefebvre/Blog-Tag-BusinessEntity
Browse files Browse the repository at this point in the history
Blog > Tag is now a BusinessEntity
  • Loading branch information
gregumo authored Mar 17, 2017
2 parents 0834833 + 7ae49be commit 9d2f97f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Bundle/BlogBundle/Entity/Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,20 @@

use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Victoire\Bundle\BusinessEntityBundle\Entity\Traits\BusinessEntityTrait;
use Victoire\Bundle\CoreBundle\Annotations as VIC;

/**
* Tag.
*
* @ORM\Table("vic_tag")
* @ORM\Entity(repositoryClass="Victoire\Bundle\BlogBundle\Repository\TagRepository")
* @VIC\BusinessEntity("Listing")
*/
class Tag
{
use BusinessEntityTrait;

/**
* @var int
*
Expand Down
4 changes: 4 additions & 0 deletions Bundle/BlogBundle/Resources/translations/victoire.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
<source>form.widget.tab.article.label</source>
<target state="new">Post</target>
</trans-unit>
<trans-unit id="58893b9921bc8" resname="form.widget.tab.tag.label">
<source>form.widget.tab.article.label</source>
<target>Tags</target>
</trans-unit>
<trans-unit id="58893b9921c0b" resname="entity_proxy.form.article.label">
<source>entity_proxy.form.article.label</source>
<target>Post</target>
Expand Down
4 changes: 4 additions & 0 deletions Bundle/BlogBundle/Resources/translations/victoire.es.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
<source>form.widget.tab.article.label</source>
<target state="new">Artículo</target>
</trans-unit>
<trans-unit id="58893b9921bc9" resname="form.widget.tab.tag.label">
<source>form.widget.tab.article.label</source>
<target>Etiquetas</target>
</trans-unit>
<trans-unit id="58893b9923171" resname="entity_proxy.form.article.label">
<source>entity_proxy.form.article.label</source>
<target>Artículo</target>
Expand Down
4 changes: 4 additions & 0 deletions Bundle/BlogBundle/Resources/translations/victoire.fr.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
<source>form.widget.tab.article.label</source>
<target state="new">Article</target>
</trans-unit>
<trans-unit id="58893b9921bca" resname="form.widget.tab.tag.label">
<source>form.widget.tab.article.label</source>
<target>Etiquettes</target>
</trans-unit>
<trans-unit id="58893b99249d5" resname="entity_proxy.form.article.label">
<source>entity_proxy.form.article.label</source>
<target>Article</target>
Expand Down

0 comments on commit 9d2f97f

Please sign in to comment.