Skip to content

Commit

Permalink
adding persian language
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidpeywasti committed Mar 15, 2015
1 parent 5edc77d commit d6ae653
Show file tree
Hide file tree
Showing 6 changed files with 279 additions and 0 deletions.
28 changes: 28 additions & 0 deletions languages/fa/default.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?php

/**
* Contao Open Source CMS
*
* Copyright (c) 2005-2013 Leo Feyer
*
* @package catalog
* @author Hamid Abbaszadeh
* @license GNU/LGPL
* @copyright 2014
*/


/**
* Miscellaneous
*/
$GLOBALS['TL_LANG']['MSC']['emptyCatalog']='There is no product items!';

$GLOBALS['TL_LANG']['MSC']['price'] = 'Price';
$GLOBALS['TL_LANG']['MSC']['rating'] = 'Rating';

$GLOBALS['TL_LANG']['MSC']['features'] = 'Features';
$GLOBALS['TL_LANG']['MSC']['specs'] = 'Specifications';

$GLOBALS['TL_LANG']['MSC']['model_text'] = 'Model';
$GLOBALS['TL_LANG']['MSC']['types_headline'] = 'Types';
$GLOBALS['TL_LANG']['MSC']['relateds_headline'] = 'Related products';
26 changes: 26 additions & 0 deletions languages/fa/modules.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

/**
* Contao Open Source CMS
*
* Copyright (c) 2005-2013 Leo Feyer
*
* @package catalog
* @author Hamid Abbaszadeh
* @license GNU/LGPL
* @copyright 2014
*/


/**
* Back end modules
*/
$GLOBALS['TL_LANG']['MOD']['catalog'] = array('کاتالوگ', 'Catalog and products management');


/**
* Front end modules
*/
$GLOBALS['TL_LANG']['FMD']['catalog'] = 'کاتالوگ';
$GLOBALS['TL_LANG']['FMD']['catalog_list'] = array('Product list', '');
$GLOBALS['TL_LANG']['FMD']['catalog_detail'] = array('Product detail', '');
50 changes: 50 additions & 0 deletions languages/fa/tl_catalog_category.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?php

/**
* Contao Open Source CMS
*
* Copyright (c) 2005-2013 Leo Feyer
*
* @package catalog
* @author Hamid Abbaszadeh
* @license GNU/LGPL
* @copyright 2014
*/


/**
* Fields
*/
$GLOBALS['TL_LANG']['tl_catalog_category']['title'] = array('عنوان دسته‌بندی', 'Please enter the category title.');
$GLOBALS['TL_LANG']['tl_catalog_category']['jumpTo'] = array('برگه بازگردانی', 'Please choose the list page to which visitors will be redirected when clicking a menu.');
$GLOBALS['TL_LANG']['tl_catalog_category']['protected'] = array('حفاظت دسته‌بندی', 'Show category items to certain member groups only.');
$GLOBALS['TL_LANG']['tl_catalog_category']['groups'] = array('Allowed member groups', 'These groups will be able to see the menu items in this catalog.');
$GLOBALS['TL_LANG']['tl_catalog_category']['master'] = array('دسته‌بندی اصلی', 'Please define the master category to allow language switching.');
$GLOBALS['TL_LANG']['tl_catalog_category']['language'] = array('زبان', 'Please enter the language according to the RFC3066 format (e.g. en, en-us or en-cockney).');


/**
* References
*/
$GLOBALS['TL_LANG']['tl_catalog_category']['isMaster'] = 'This is a master category';
$GLOBALS['TL_LANG']['tl_catalog_category']['isSlave'] = 'Master category is "%s"';



/**
* Legends
*/
$GLOBALS['TL_LANG']['tl_catalog_category']['title_legend'] = 'عنوان دسته‌بندی';
$GLOBALS['TL_LANG']['tl_catalog_category']['redirect_legend'] = 'بازگردانی';
$GLOBALS['TL_LANG']['tl_catalog_category']['protected_legend'] = 'Access protection';


/**
* Buttons
*/
$GLOBALS['TL_LANG']['tl_catalog_category']['new'] = array('دسته‌بندی جدید', 'Create a new category');
$GLOBALS['TL_LANG']['tl_catalog_category']['show'] = array('جزئیات دسته‌بندی', 'Show the details of category ID %s');
$GLOBALS['TL_LANG']['tl_catalog_category']['edit'] = array('ویرایش دسته‌بندی', 'Edit category ID %s');
$GLOBALS['TL_LANG']['tl_catalog_category']['cut'] = array('جابجایی دسته‌بندی', 'Move category ID %s');
$GLOBALS['TL_LANG']['tl_catalog_category']['copy'] = array('تکثیر دسته‌بندی', 'Duplicate category ID %s');
$GLOBALS['TL_LANG']['tl_catalog_category']['delete'] = array('حذف دسته‌بندی', 'Delete category ID %s');
61 changes: 61 additions & 0 deletions languages/fa/tl_catalog_product.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?php

/**
* Contao Open Source CMS
*
* Copyright (c) 2005-2013 Leo Feyer
*
* @package catalog
* @author Hamid Abbaszadeh
* @license GNU/LGPL
* @copyright 2014
*/


/**
* Fields
*/
$GLOBALS['TL_LANG']['tl_catalog_product']['title'] = array('عنوان کالا', 'Please enter the product title.');
$GLOBALS['TL_LANG']['tl_catalog_product']['alias'] = array('نام مستعار کالا', 'Please enter the product alias.');
$GLOBALS['TL_LANG']['tl_catalog_product']['model'] = array('مدل کالا', 'Please enter the product model.');
$GLOBALS['TL_LANG']['tl_catalog_product']['date'] = array('تاریخ', 'Please enter the date according to the global date format.');
$GLOBALS['TL_LANG']['tl_catalog_product']['metaDescription'] = array('توضیحات متا','Here you can enter a short description of the product which will be evaluated by search engines like Google or Yahoo. Search engines usually indicate between 150 and 300 characters.');
$GLOBALS['TL_LANG']['tl_catalog_product']['metaKeywords'] = array('کلیدواژه‌های متا','Here you can enter a list of comma separated keywords. Keywords, however, are no longer relevant to most search engines (including Google).');
$GLOBALS['TL_LANG']['tl_catalog_product']['singleSRC'] = array('پرونده منبع','Please select an image.');
$GLOBALS['TL_LANG']['tl_catalog_product']['addEnclosure']= array('افزودن پیوست', 'Add one or more downloadable files to the news item.');
$GLOBALS['TL_LANG']['tl_catalog_product']['enclosure'] = array('پیوست‌ها', 'Please choose the files you want to attach.');
$GLOBALS['TL_LANG']['tl_catalog_product']['published'] = array('انتضار کالا','Make the product item publicly visible on the website.');
$GLOBALS['TL_LANG']['tl_catalog_product']['featured'] = array('کالای ویژه','Show the product item in a featured list.');
$GLOBALS['TL_LANG']['tl_catalog_product']['start'] = array('نمایش از','Do not show the product item on the website before this day.');
$GLOBALS['TL_LANG']['tl_catalog_product']['stop'] = array('نمایش تا','Do not show the product item on the website on and after this day.');
$GLOBALS['TL_LANG']['tl_catalog_product']['languageMain']= array('کالای اصلی', 'Choose the product in the master category equaling this product.');
$GLOBALS['TL_LANG']['tl_catalog_product']['related'] = array('کالاهای مرتبط', 'Choose related products in this category to this product.');

/**
* Legends
*/
$GLOBALS['TL_LANG']['tl_catalog_product']['title_legend'] = 'عنوان کالا';
$GLOBALS['TL_LANG']['tl_catalog_product']['meta_legend'] = 'اطلاعات متا برای سئو';
$GLOBALS['TL_LANG']['tl_catalog_product']['config_legend'] = 'تاریخ و مشخصات';
$GLOBALS['TL_LANG']['tl_catalog_product']['enclosure_legend'] = 'پیوست‌ها';
$GLOBALS['TL_LANG']['tl_catalog_product']['image_legend'] = 'تنظیمات تصویر';
$GLOBALS['TL_LANG']['tl_catalog_product']['related_legend'] = 'محصولات مرتبط';
$GLOBALS['TL_LANG']['tl_catalog_product']['protected_legend'] = 'حفاظت دسترسی';
$GLOBALS['TL_LANG']['tl_catalog_product']['publish_legend'] = 'تنظیمات انتشار';


/**
* Buttons
*/
$GLOBALS['TL_LANG']['tl_catalog_product']['new'] = array('کالای جدید', 'Create a new product');
$GLOBALS['TL_LANG']['tl_catalog_product']['show'] = array('جزئیات کالا', 'Show the details of product ID %s');
$GLOBALS['TL_LANG']['tl_catalog_product']['edit'] = array('ویرایش کالا', 'Edit product ID %s');
$GLOBALS['TL_LANG']['tl_catalog_product']['cut'] = array('جابجایی کالا', 'Move product ID %s');
$GLOBALS['TL_LANG']['tl_catalog_product']['copy'] = array('تکثیر کالا', 'Duplicate product ID %s');
$GLOBALS['TL_LANG']['tl_catalog_product']['delete'] = array('حذف کالا', 'Delete product ID %s');

/**
* References
*/
$GLOBALS['TL_LANG']['tl_catalog_product']['sameDay'] = 'همان روز';
$GLOBALS['TL_LANG']['tl_catalog_product']['otherDay'] = 'روزهای دیگر';
53 changes: 53 additions & 0 deletions languages/fa/tl_catalog_type.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?php

/**
* Contao Open Source CMS
*
* Copyright (c) 2005-2013 Leo Feyer
*
* @package catalog
* @author Hamid Abbaszadeh
* @license GNU/LGPL
* @copyright 2014
*/


/**
* Fields
*/
$GLOBALS['TL_LANG']['tl_catalog_type']['title'] = array('عنوان نوع', 'Please enter the type title.');
$GLOBALS['TL_LANG']['tl_catalog_type']['model'] = array('مدل نوع', 'Please enter the type model.');
$GLOBALS['TL_LANG']['tl_catalog_type']['date'] = array('تاریخ عرضه', 'Please enter the type code.');
$GLOBALS['TL_LANG']['tl_catalog_type']['singleSRC'] = array('تصویر', 'Please enter the type code.');
$GLOBALS['TL_LANG']['tl_catalog_type']['published'] = array('انتشار نوع', 'Make the type item publicly visible on the website.');
$GLOBALS['TL_LANG']['tl_catalog_type']['start'] = array('نمایش از','Do not show the type item on the website before this day.');
$GLOBALS['TL_LANG']['tl_catalog_type']['stop'] = array('نمایش تا','Do not show the type item on the website on and after this day.');


$GLOBALS['TL_LANG']['tl_catalog_type']['spec'] = array('Specifications','Please eneter the type specifications.');
$GLOBALS['TL_LANG']['tl_catalog_type']['spectitle'] = array('Title','Specifications title');
$GLOBALS['TL_LANG']['tl_catalog_type']['specvalue'] = array('Value','Specifications value');

$GLOBALS['TL_LANG']['tl_catalog_type']['description'] = array('Description','Please enter description.');


/**
* Legends
*/
$GLOBALS['TL_LANG']['tl_catalog_type']['title_legend'] = 'Type title';
$GLOBALS['TL_LANG']['tl_catalog_type']['spec_legend'] = 'Specifications';
$GLOBALS['TL_LANG']['tl_catalog_type']['image_legend'] = 'Image settings';
$GLOBALS['TL_LANG']['tl_catalog_type']['description_legend'] = 'Description';
$GLOBALS['TL_LANG']['tl_catalog_type']['protected_legend'] = 'Access protection';
$GLOBALS['TL_LANG']['tl_catalog_type']['publish_legend'] = 'Publish setting';


/**
* Buttons
*/
$GLOBALS['TL_LANG']['tl_catalog_type']['new'] = array('نوع جدید', 'Create a new type');
$GLOBALS['TL_LANG']['tl_catalog_type']['show'] = array('جزئیات نوع', 'Show the details of type ID %s');
$GLOBALS['TL_LANG']['tl_catalog_type']['edit'] = array('ویرایش نوع', 'Edit type ID %s');
$GLOBALS['TL_LANG']['tl_catalog_type']['cut'] = array('جابجایی نوع', 'Move type ID %s');
$GLOBALS['TL_LANG']['tl_catalog_type']['copy'] = array('تکثیر نوع', 'Duplicate type ID %s');
$GLOBALS['TL_LANG']['tl_catalog_type']['delete'] = array('حذف نوع', 'Delete type ID %s');
61 changes: 61 additions & 0 deletions languages/fa/tl_module.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?php

/**
* Contao Open Source CMS
*
* Copyright (c) 2005-2013 Leo Feyer
*
* @package catalog
* @author Hamid Abbaszadeh
* @license GNU/LGPL
* @copyright 2014
*/


/**
* Fields
*/
$GLOBALS['TL_LANG']['tl_module']['catalog_categories'] = array('Catelog categories', 'Please select one or more catalog categories.');
$GLOBALS['TL_LANG']['tl_module']['catalog_featured'] = array('Featured product', 'Here you can choose how featured items are handled.');
$GLOBALS['TL_LANG']['tl_module']['catalog_detailModule'] = array('Product detail module', 'Automatically switch to the product module if an item has been selected.');
$GLOBALS['TL_LANG']['tl_module']['catalog_metaFields'] = array('Meta fields', 'Here you can select the meta fields.');
$GLOBALS['TL_LANG']['tl_module']['catalog_sortBy'] = array('Sort by', 'Here you can select the sorting fields.');
$GLOBALS['TL_LANG']['tl_module']['product_template'] = array('Product template', 'Here you can select the product template.');
$GLOBALS['TL_LANG']['tl_module']['product_Class'] = array('Product CSS class', 'Here you can set one or more classes for products.');
$GLOBALS['TL_LANG']['tl_module']['product_perRow'] = array('Product per row', 'Here you can set the image dimensions and the resize mode.');
$GLOBALS['TL_LANG']['tl_module']['type_show'] = array('Show types of product', 'Here you can set one or more classes for types.');
$GLOBALS['TL_LANG']['tl_module']['type_template'] = array('Type template', 'Here you can select the type template.');
$GLOBALS['TL_LANG']['tl_module']['type_Class'] = array('Type CSS class', 'Here you can set one or more classes for types.');
$GLOBALS['TL_LANG']['tl_module']['type_imgSize'] = array('Type image width and height', 'Here you can set the image dimensions and the resize mode.');
$GLOBALS['TL_LANG']['tl_module']['type_perRow'] = array('Type per row', 'The number of items per row.');
$GLOBALS['TL_LANG']['tl_module']['related_show'] = array('Show related product', 'Here you can set one or more classes for types.');
$GLOBALS['TL_LANG']['tl_module']['related_template'] = array('Related product template', 'Here you can select the related product template.');
$GLOBALS['TL_LANG']['tl_module']['related_Class'] = array('Related product CSS class', 'Here you can set one or more classes for related products.');
$GLOBALS['TL_LANG']['tl_module']['related_imgSize'] = array('Related product image width and height', 'Here you can set the image dimensions and the resize mode.');
$GLOBALS['TL_LANG']['tl_module']['related_perRow'] = array('Type per row', 'The number of items per row.');



/**
* Legends
*/
$GLOBALS['TL_LANG']['tl_module']['catalog_legend'] = 'دسته‌بندی';
$GLOBALS['TL_LANG']['tl_module']['product_legend'] = 'Product setting';
$GLOBALS['TL_LANG']['tl_module']['type_legend'] = 'Product\'s types settings';
$GLOBALS['TL_LANG']['tl_module']['related_legend'] = 'Related products settings';
$GLOBALS['TL_LANG']['tl_module']['protected_legend'] = 'Access protection';


/**
*
*/

$GLOBALS['TL_LANG']['tl_module']['all_product'] = 'All products';
$GLOBALS['TL_LANG']['tl_module']['featured_product'] = 'Featured products';
$GLOBALS['TL_LANG']['tl_module']['unfeatured_product'] = 'Unfeatured products';

$GLOBALS['TL_LANG']['tl_module']['custom'] = 'Custom order';
$GLOBALS['TL_LANG']['tl_module']['title_asc'] = 'Title (A-Z)';
$GLOBALS['TL_LANG']['tl_module']['title_desc'] = 'Title (Z-A)';
$GLOBALS['TL_LANG']['tl_module']['date_asc'] = 'Date (Newer)';
$GLOBALS['TL_LANG']['tl_module']['date_desc'] = 'Date (Older)';

0 comments on commit d6ae653

Please sign in to comment.