Commit
f208912417ef6ee69d373c396aa8bfce78c2c5cd
Exists in
master
and in
41 other branches
add_sisp_to_chef, add_super_archives_plugin, automates_core_packing, backup_not_prod, changes_in_buttons_on_content_panel, colab_automated_login, colab_spb_plugin_recipe, colab_widgets_settings, disable_email_dev, fix_breadcrumbs_position, fix_categories_software_link, fix_edit_institution, fix_edit_software_with_another_license, fix_get_license_info, fix_gitlab_assets_permission, fix_list_style_inside_article, fix_list_style_on_folder_elements, fix_merge_request_url, fix_models_translations, fix_no_license, fix_software_communities_translations, fix_software_communities_unit_test, fix_style_create_institution_admin_panel, fix_superarchives_imports, fix_sym_links_noosfero, lxc_settings, margin_fix, mezuro_cookbook, refactor_download_block, remove_broken_theme, remove_sisp_buttons, sisp_catalog_header, software_catalog_style_fix, software_communities_html_refactor, software_infos_api, spb_to_rails4, stable-4.1, stable-4.2, theme_header, theme_javascript_refactory, update_search_by_categories
Fix translation of categories name
Signed-off-by: Gabriel Silva <gabriel93.silva@gmail.com>
Signed-off-by: Luciano Prestes Cavalcanti <lucianopcbr@gmail.com>
| @@ -32,4 +32,8 @@ class Category |
| @@ -32,4 +32,8 @@ class Category |
32
| software_list.collect { |x| software_list.delete(x) unless x.software? } |
32
| software_list.collect { |x| software_list.delete(x) unless x.software? } |
33
| software_list |
33
| software_list |
34
| end |
34
| end |
| |
35
| + |
| |
36
| + def name |
| |
37
| + _(self[:name].to_s) |
| |
38
| + end |
35
| end |
39
| end |