]> _ Git - fluidbook-v3.git/commitdiff
Check English version and fix any untranslated text. #656 @0.5
authorstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 2 Sep 2016 09:23:34 +0000 (09:23 +0000)
committerstephen@cubedesigners.com <stephen@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Fri, 2 Sep 2016 09:23:34 +0000 (09:23 +0000)
framework/application/forms/RequestQuote.php
framework/application/views/helpers/HomeReferences.php

index f382e9322fd0e786ecbfc7abb548d139825fb98c..b7ffb21656ccef17793bca88da813b340d99b6dd 100644 (file)
@@ -25,10 +25,10 @@ class Fluidbook_Form_RequestQuote extends CubeIT_Form {
                $contact_type->setLabel(__('Vous êtes'));
                $contact_type->setMultiOptions(array(
                        '' => '',
-                       'agency' => 'Une agence de communication',
-                       'freelancer' => 'Un créatif freelance',
-                       'company' => 'Une société',
-                       'other' => 'Autre',
+                       'agency' => __('Une agence de communication'),
+                       'freelancer' => __('Un créatif freelance'),
+                       'company' => __('Une société'),
+                       'other' => __('Autre'),
                ));
                $contact_type->setAttrib('required', 'required'); // Needed so we can style the first element when nothing selected
                $contact_type->setRequired(true);
index 0cb81f0aa41f6f4eab8bc5f3dbcb7ac08313744a..8b9c63c7148fb26c2b1e18075ff91b9e411e76e7 100644 (file)
@@ -44,7 +44,7 @@ class Fluidbook_View_Helper_HomeReferences extends Fluidbook_View_Helper_HomeLay
                );\r
                if ($fluidbook->hasUrl()) {\r
                        $rollover = $this->htmlElement($fluidbook->getTitle(), 'h3');\r
-                       $rollover .= $this->link('Voir le fluidbook', $fluidbook->getUrl());\r
+                       $rollover .= $this->link(__('Voir le Fluidbook'), $fluidbook->getUrl());\r
                        $res .= $this->htmlElement($this->htmlElement($rollover, 'div', array('class' => 'content')), 'div', array('class' => 'hover'));\r
                }\r
 \r