Closed (duplicate)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
node data
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Aug 2009 at 07:50 UTC
Updated:
26 Jul 2010 at 16:13 UTC
Jump to comment: Most recent file
Comments
Comment #1
srobert72 commentedCould it be possible to have choice between human value and machine value ?
Comment #2
merlinofchaos commentedA checkbox or radio button could probably be added to the filter to switch which value is displayed.
Comment #3
dawehnerHere it is
Comment #4
merlinofchaos commented1) The description of the field needs a . at the end. Also story and Story should be in quotes.
2) The machine readable name should not be translated, so t() should only be on the human readable version.
Comment #5
dawehnerupdated patch. Thx for the feedback
Comment #6
dagmarMmm, I think this is redundant, or at least, not recommended by the Drupal API
What do you think about?
Comment #7
dawehnerMh ... The value itself will not be translated..... Is this really wanted?
Comment #8
dagmarWe don't know if a certain language doesn't need to include something else to content type name.
This string will not be present in the language settings page.
Comment #9
dawehnerOk this makes sense.
Comment #10
dawehnerBut it should be @type or @typename.
Comment #11
merlinofchaos commentedThe human readable name for a node type has to go through t() -- there are examples of doing it in core.
Comment #12
dawehnerSo, but should we wrap this within an extra t function?
Comment #13
dawehnerThis is already in views 2.11
Beside a switch for human readable it's a switch to enable machine name.