measure_filter.col.links=Links
measure_filter.col.name=Name
measure_filter.col.short_name=Short Name
+measure_filter.abbr.date=Date
+measure_filter.abbr.description=Description
+measure_filter.abbr.key=Key
+measure_filter.abbr.language=Lang.
+measure_filter.abbr.links=Links
+measure_filter.abbr.name=Name
+measure_filter.abbr.short_name=Name
measure_filter.col.version=Version
measure_filter.missing_name=Name is missing
measure_filter.name_too_long=Name is too long
measure_filter.configure_columns=Configure Columns
measure_filter.too_many_results=Too many results. Please refine your search.
-#------------------------------------------------------------------------------
-#
-# FILTERS
-#
-#------------------------------------------------------------------------------
-
-filters.new=New filter
-filters.size=Size
-filters.color=Color
-filters.add_filter=Add filter
-filters.edit_filter=Edit filter
-filters.manage_filters=Manage filters
-filters.search_for=Display
-filters.advanced_search=Advanced search
-filters.default_period=Differential period
-filters.when_no_language_no_filter_apply=When no language is selected, no filter will apply
-filters.favourite_only=Favourites only
-filters.key_like=Key like
-filters.use_star_to_match=Use * to match zero or more characters and ? to match any single character.
-filters.name_contains=Name contains
-filters.do_you_want_to_delete=Do you want to delete this filter?
-filters.during_last=During last
-filters.prior_to_last=Prior to last
-filters.search_by_name=Search by name
-filters.add_column=Add column
-filters.default_sorted_column=Default sorted column
-filters.treemap_not_supported_for_period_selection=Treemap does not support yet the selection of a period.
-filters.my_filters=My filters
-filters.no_filters=No filters
-filters.do_you_want_to_stop_following=Do you want to stop following this filter?
-filters.criteria=Criteria
-filters.display_form.title=Display
-filters.display_form.as=Display as
-filters.display_form.table=Table
-filters.display_form.treemap=Treemap
-filters.build_date=Build date
-filters.col.date=Date
-filters.col.language=Language
-filters.col.name=Name
-filters.col.links=Links
-filters.col.version=Version
-filters.col.key=Key
-filters.default=Default filters
-filters.default.description=These filters are displayed on the homepage.
-filters.shared=Shared filters
-filters.shared.description=These filters are shared by administrators and can be added to default filters.
-filters.directChildrenCriterion=Direct Children
#------------------------------------------------------------------------------
#
if @metric
label = @metric.abbreviation
else
- label = Api::Utils.message("measure_filter.short_col.#{@key}", :default => '')
- label = Api::Utils.message("measure_filter.col.#{@key}", :default => @key) if label==''
+ label = Api::Utils.message("measure_filter.abbr.#{@key}", :default => @key)
end
label
end
def tooltip
- @metric.description if @metric
+ if @metric
+ tooltip = @metric.description
+ else
+ tooltip = Api::Utils.message("measure_filter.col.#{@key}", :default => @key)
+ end
+ tooltip
end
def align
end
def row_css
- 'nowrap' unless @metric && !@metric.numeric?
+ 'nowrap' unless (@metric && !@metric.numeric?) || @key=='description'
end
def sort?