Комментарии

Файлы языковой поддержки в Joomla 2.5
( 0 Голосов )

Для административной части рассматриваемого здесь компонента требуются два файла языковой поддержки. Эти файлы должны храниться в папке языковой поддержки данного компонента (administrator/components/com_joomprosubs/language/en-GB/), а не в общей папке administrator/language.

Первым из них является основной файл language/en-GB/en-GB.com_joomprosubs.ini, который содержит все переводы для языковых ключей, используемых в данном компоненте. Ниже приведено содержимое этого файла.

COM_JOOMPROSUBS_CATEGORY_LIST_HELP_LINK="http://mysite.com"
COM_JOOMPROSUBS_CATEGORY_VIEW_DEFAULT_TITLE="Category List"
COM_JOOMPROSUBS_CONFIGURATION="Subscriptions Manager Options"
COM_JOOMPROSUBS_EDIT_JOOMPROSUB="Subscription Edit"
COM_JOOMPROSUBS_FIELD_ALIAS_DESC="Alias for the item. You can leave this blank and the system will create an alias for you."
COM_JOOMPROSUBS_FIELD_CATEGORY_DESC="Select the category from the list."
COM_JOOMPROSUBS_FIELD_DESCRIPTION_DESC="Enter an optional description for the subscription."
COM_JOOMPROSUBS_FIELD_DURATION_DESC="Select the number of days that this subscription will be active."
COM_JOOMPROSUBS_FIELD_DURATION_LABEL="Duration (days)"
COM_JOOMPROSUBS_FIELD_MODIFIED_DESC="Date this subscription was last modified."
COM_JOOMPROSUBS_FIELD_SELECT_CATEGORY_DESC="Select the category from the list."
COM JOOMPROSUBS FIELD SELECT CATEGORY LABEL="Category"
COM_JOOMPROSUBS_FIELD_STATE_DESC="Published state for this subscription."
COM_J0OMPROSUBS_FIELD_TITLE_DESC="Title of the subscription."
COM_JOOMPROSUBS_FIELD_USERGROUP_DESC="Select the User Group that is associated with this subscription."
COM_JOOMPROSUBS_FIELD_USERGROUP_LABEL="User Group"
COM_JOOMPROSUBS_MANAGER_JOOMPROSUB="Subscription Manager: Subscription Entry"
COM_J0OMPROSUBS_MANAGER_JOOMPROSUBS="Subscriptions Manager: Subscriptions"
COM_JOOMPROSUBS_N_ITEMS_ARCHIVED_l="%d subscription successfully archived"
COM_JOOMPROSUBS_N_ITEMS_ARCHIVED="%d subscriptions successfully archived"
COM_JOOMPROSUBS_N_ITEMS_CHECKED_IN_0="No subscription successfully checked"
COM_J0OMPROSUBS_N_ITEMS_CHECKED_IN_l="%d  subscription  successfully checked in"
COM_J0OMPROSUBS_N_ITEMS_CHECKED_IN_MORE="%d subscriptions   successfully checked in"
COM_JOOMPROSUBS_N_ITEMS_DELETED_lN="%d subscription successfully deleted"
COM_JOOMPROSUBS_N_ITEMS_DELETED="%d subscriptions successfully deleted"
COM_J0OMPROSUBS_N_ITEMS_PUBLISHED_l="%d subscription successfully published"
COM_JOOMPROSUBS_N_ITEMS_PUBLISHED="%d  subscriptions   successfully published"
COM_JOOMPROSUBS_N_ITEMS_TRASHED_l="%d subscription successfully trashed"
COM_JOOMPROSUBS_N_ITEMS_TRASHED="%d subscriptions successfully trashed"
COM_JOOMPROSUBS_N_ITEMS_UNPUBLISHED_l="%d subscription successfully unpublished"
COM_JOOMPROSUBS_N_ITEMS_UNPUBLISHED="%d subscriptions successfully unpublished"
COM_JOOMPROSUBS_NEW_JOOMPROSUB="Subscription Add"
COM_JOOMPROSUBS_SEARCH_IN_TITLE="Searh in title."
COM_JOOMPROSUBS_SUBMANAGER_HELP_LINK="http://mysite.com"
COM_JOOMPROSUBS_SUBMENU_CATEGORIES="Categories"
COM_JOOMPROSUBS_SUBMENU_JOOMPROSUBS="Subscriptions"
COM_JOOMPROSUBS_SUBSCRIPTION_HELP_LINK="http://mysite.com"
COM_J00MPROSUBS_TO0LBAR_CSVREP0RT="Report"
COM_JOOMPROSUBS="Subscriptions"

Вторым является системный файл language/en-GB/en-GB.com_joomprosubs.sys.ini, содержащий языковые символьные строки, требующиеся за пределами данного компонента. Ниже приведено содержимое этого файла.

CATEGORIES="Categories"
COM_JOOMPROSUBS="JoomPro Subscriptions"
COM_J0OMPROSUBS_XML_DESCRIPTION="This is an example component for the Joomla!"
COM_J0OMPROSUBS_CATEGORY_VIEW_DEFAULT_DESC="Lists all subscriptions in a category."
COM_J0OMPROSUBS_CATEGORY_VIEW_DEFAULT_OPT10N="Default Layout" COM_JOOMPROSUBS_CATEGORY_VIEW_DEFAULT_TITLE="Category List"

Понравился материал? Пригодилась информация? Плюсани в социалки!


 
Похожие новости
Добавить комментарий


Защитный код