Merge branch 'release/1.1.4'
This commit is contained in:
		
						commit
						f764c0f8c0
					
				
					 4 changed files with 40 additions and 8 deletions
				
			
		| 
						 | 
					@ -1,3 +1,10 @@
 | 
				
			||||||
 | 
					# v1.1.4
 | 
				
			||||||
 | 
					## 02/05/2016
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					1. [](#improved)
 | 
				
			||||||
 | 
					    * Added german and polish
 | 
				
			||||||
 | 
					    * Avoid listening on onTwigTemplatePaths if not enabled
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# v1.1.3
 | 
					# v1.1.3
 | 
				
			||||||
## 01/06/2016
 | 
					## 01/06/2016
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,5 @@
 | 
				
			||||||
name: Comments
 | 
					name: Comments
 | 
				
			||||||
version: 1.1.3
 | 
					version: 1.1.4
 | 
				
			||||||
description: Adds a commenting functionality to your site
 | 
					description: Adds a commenting functionality to your site
 | 
				
			||||||
icon: comment
 | 
					icon: comment
 | 
				
			||||||
author:
 | 
					author:
 | 
				
			||||||
| 
						 | 
					@ -21,11 +21,11 @@ form:
 | 
				
			||||||
  fields:
 | 
					  fields:
 | 
				
			||||||
    enabled:
 | 
					    enabled:
 | 
				
			||||||
      type: toggle
 | 
					      type: toggle
 | 
				
			||||||
      label: Plugin status
 | 
					      label: PLUGIN_ADMIN.PLUGIN_STATUS
 | 
				
			||||||
      highlight: 1
 | 
					      highlight: 1
 | 
				
			||||||
      default: 0
 | 
					      default: 0
 | 
				
			||||||
      options:
 | 
					      options:
 | 
				
			||||||
        1: Enabled
 | 
					        1: PLUGIN_ADMIN.ENABLED
 | 
				
			||||||
        0: Disabled
 | 
					        0: PLUGIN_ADMIN.DISABLED
 | 
				
			||||||
      validate:
 | 
					      validate:
 | 
				
			||||||
        type: bool
 | 
					        type: bool
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -103,12 +103,13 @@ class CommentsPlugin extends Plugin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            $this->calculateEnable();
 | 
					            $this->calculateEnable();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            $this->enable([
 | 
					            if ($this->enable) {
 | 
				
			||||||
                'onTwigTemplatePaths' => ['onTwigTemplatePaths', 0],
 | 
					                $this->enable([
 | 
				
			||||||
            ]);
 | 
					                    'onTwigTemplatePaths' => ['onTwigTemplatePaths', 0],
 | 
				
			||||||
 | 
					                ]);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        } else {
 | 
					        } else {
 | 
				
			||||||
 | 
					 | 
				
			||||||
            /** @var Uri $uri */
 | 
					            /** @var Uri $uri */
 | 
				
			||||||
            $uri = $this->grav['uri'];
 | 
					            $uri = $this->grav['uri'];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -46,3 +46,27 @@ ru:
 | 
				
			||||||
    EMAIL: Email:
 | 
					    EMAIL: Email:
 | 
				
			||||||
    WRITTEN_ON: Написан в
 | 
					    WRITTEN_ON: Написан в
 | 
				
			||||||
    BY: от
 | 
					    BY: от
 | 
				
			||||||
 | 
					pl:
 | 
				
			||||||
 | 
					  PLUGIN_COMMENTS:
 | 
				
			||||||
 | 
					    ADD_COMMENT: Dodaj komentarz
 | 
				
			||||||
 | 
					    COMMENTS: Komentarzy
 | 
				
			||||||
 | 
					    EMAIL_NOT_CONFIGURED: Email jest nie skofigurowany
 | 
				
			||||||
 | 
					    NEW_COMMENT_EMAIL_SUBJECT: 'Nowy komentarz %1$s'
 | 
				
			||||||
 | 
					    NEW_COMMENT_EMAIL_BODY: '<p>Pojawił się nowy komentarz, napisany %1$s przez %3$s (%4$s).</p><p>Strona: %2$s</p><p>Treść: %5$s</p>'
 | 
				
			||||||
 | 
					    EMAIL_FOOTER: ''
 | 
				
			||||||
 | 
					    NAME: Imię:
 | 
				
			||||||
 | 
					    EMAIL: Email:
 | 
				
			||||||
 | 
					    WRITTEN_ON: Napisany przez
 | 
				
			||||||
 | 
					    BY: przez
 | 
				
			||||||
 | 
					de:
 | 
				
			||||||
 | 
					  PLUGIN_COMMENTS:
 | 
				
			||||||
 | 
					    ADD_COMMENT: Kommentar hinzufügen
 | 
				
			||||||
 | 
					    COMMENTS: Kommentare
 | 
				
			||||||
 | 
					    EMAIL_NOT_CONFIGURED: Email nicht konfiguriert
 | 
				
			||||||
 | 
					    NEW_COMMENT_EMAIL_SUBJECT: 'Neuer Kommentar für %1$s'
 | 
				
			||||||
 | 
					    NEW_COMMENT_EMAIL_BODY: '<p>Ein neuer Kommentar am %1$s von %3$s (%4$s).</p><p>Seite: %2$s</p><p>Text: %5$s</p>'
 | 
				
			||||||
 | 
					    EMAIL_FOOTER: ''
 | 
				
			||||||
 | 
					    NAME: Name:
 | 
				
			||||||
 | 
					    EMAIL: Email:
 | 
				
			||||||
 | 
					    WRITTEN_ON: geschrieben am
 | 
				
			||||||
 | 
					    BY: von
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue