Method: GetText#N_
- Defined in:
- lib/gettext.rb
#N_(msgid) ⇒ Object
makes dynamic translation messages readable for the gettext parser. (fruit) cannot be understood by the gettext parser. To help the parser find all your translations, you can add fruit = N("Apple") which does not translate, but tells the parser: "Apple" needs translation.
- msgid: the message id.
- Returns: msgid.
234 235 236 |
# File 'lib/gettext.rb', line 234 def N_(msgid) msgid end |