From 48502e04e486f8e39774f53cfbb8a718ede73f4f Mon Sep 17 00:00:00 2001 From: Etienne Roudeix Date: Wed, 6 Nov 2013 10:42:34 +0100 Subject: [PATCH 1/4] phpdoc --- core/lib/Thelia/Core/Template/Element/BaseLoop.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/lib/Thelia/Core/Template/Element/BaseLoop.php b/core/lib/Thelia/Core/Template/Element/BaseLoop.php index 7344843ed..6d4e6ed92 100755 --- a/core/lib/Thelia/Core/Template/Element/BaseLoop.php +++ b/core/lib/Thelia/Core/Template/Element/BaseLoop.php @@ -410,6 +410,11 @@ abstract class BaseLoop } } + /** + * @param LoopResult $loopResult + * + * @return LoopResult + */ abstract public function parseResults(LoopResult $loopResult); /** From 3f8a68802b8f30c485e8eed85e78d31dfa47c3f3 Mon Sep 17 00:00:00 2001 From: touffies Date: Wed, 6 Nov 2013 10:49:27 +0100 Subject: [PATCH 2/4] Add language strings for the toolbar --- templates/default/I18n/en_US.php | 4 ++++ templates/default/I18n/es_ES.php | 4 ++++ templates/default/I18n/fr_FR.php | 5 +++++ templates/default/I18n/it_IT.php | 4 ++++ templates/default/includes/toolbar.html | 12 ++++++------ 5 files changed, 23 insertions(+), 6 deletions(-) diff --git a/templates/default/I18n/en_US.php b/templates/default/I18n/en_US.php index 19b58a6c4..24bf81612 100755 --- a/templates/default/I18n/en_US.php +++ b/templates/default/I18n/en_US.php @@ -152,6 +152,10 @@ return array ( 'Select Country' => 'Select Country', 'Create' => 'Create', 'Related' => 'Related', + 'Grid' => 'Grid', + 'List' => 'List', + 'Next' => 'Next', + 'Previous' => 'Previous', /* 'The page cannot be found' => 'The page cannot be found', 'What\'s your name?' => 'What\'s your name?', diff --git a/templates/default/I18n/es_ES.php b/templates/default/I18n/es_ES.php index 9e276a02b..427227f1c 100755 --- a/templates/default/I18n/es_ES.php +++ b/templates/default/I18n/es_ES.php @@ -152,6 +152,10 @@ return array ( 'Select Country' => '', 'Create' => '', 'Related' => '', + 'Grid' => '', + 'List' => '', + 'Next' => '', + 'Previous' => '', /* 'The page cannot be found' => '', 'What\'s your name?' => '', diff --git a/templates/default/I18n/fr_FR.php b/templates/default/I18n/fr_FR.php index a9f92fa95..b5f6a6290 100755 --- a/templates/default/I18n/fr_FR.php +++ b/templates/default/I18n/fr_FR.php @@ -152,6 +152,11 @@ return array ( 'Select Country' => 'Choisissez un pays', 'Create' => 'Créer', 'Related' => 'Liés', // voir le contexte pour l'accord + 'Grid' => 'Grille', + 'List' => 'Liste', + 'Next' => 'Suivant', + 'Previous' => 'Précédent', + /* 'The page cannot be found' => '', 'What\'s your name?' => '', diff --git a/templates/default/I18n/it_IT.php b/templates/default/I18n/it_IT.php index 9e276a02b..427227f1c 100755 --- a/templates/default/I18n/it_IT.php +++ b/templates/default/I18n/it_IT.php @@ -152,6 +152,10 @@ return array ( 'Select Country' => '', 'Create' => '', 'Related' => '', + 'Grid' => '', + 'List' => '', + 'Next' => '', + 'Previous' => '', /* 'The page cannot be found' => '', 'What\'s your name?' => '', diff --git a/templates/default/includes/toolbar.html b/templates/default/includes/toolbar.html index 33f5ba9e5..c512ba90a 100644 --- a/templates/default/includes/toolbar.html +++ b/templates/default/includes/toolbar.html @@ -30,8 +30,8 @@ {intl l="View as"}: - - + + @@ -42,9 +42,9 @@