From 9c56ea6950bd05189f6f539e0801264e253604a1 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Fri, 27 Mar 2015 19:20:16 +0530 Subject: [PATCH] Make translatable Signed-off-by: Madhura Jayaratne --- libraries/plugins/schema/SchemaDia.class.php | 4 ++-- libraries/plugins/schema/SchemaEps.class.php | 4 ++-- libraries/plugins/schema/SchemaPdf.class.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libraries/plugins/schema/SchemaDia.class.php b/libraries/plugins/schema/SchemaDia.class.php index b09119e4ad..2b5493bcdb 100644 --- a/libraries/plugins/schema/SchemaDia.class.php +++ b/libraries/plugins/schema/SchemaDia.class.php @@ -66,8 +66,8 @@ class SchemaDia extends SchemaPlugin $leaf->setText(__('Orientation')); $leaf->setValues( array( - 'L' => 'Landscape', - 'P' => 'Portrait', + 'L' => __('Landscape'), + 'P' => __('Portrait'), ) ); $specificOptions->addProperty($leaf); diff --git a/libraries/plugins/schema/SchemaEps.class.php b/libraries/plugins/schema/SchemaEps.class.php index 1d8cca8b61..c53a778a5b 100644 --- a/libraries/plugins/schema/SchemaEps.class.php +++ b/libraries/plugins/schema/SchemaEps.class.php @@ -72,8 +72,8 @@ class SchemaEps extends SchemaPlugin $leaf->setText(__('Orientation')); $leaf->setValues( array( - 'L' => 'Landscape', - 'P' => 'Portrait', + 'L' => __('Landscape'), + 'P' => __('Portrait'), ) ); $specificOptions->addProperty($leaf); diff --git a/libraries/plugins/schema/SchemaPdf.class.php b/libraries/plugins/schema/SchemaPdf.class.php index 92a9846b61..b9b6ddb240 100644 --- a/libraries/plugins/schema/SchemaPdf.class.php +++ b/libraries/plugins/schema/SchemaPdf.class.php @@ -72,8 +72,8 @@ class SchemaPdf extends SchemaPlugin $leaf->setText(__('Orientation')); $leaf->setValues( array( - 'L' => 'Landscape', - 'P' => 'Portrait', + 'L' => __('Landscape'), + 'P' => __('Portrait'), ) ); $specificOptions->addProperty($leaf);