Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added N_() and Nn_() gettext equivalents #103

Merged
merged 1 commit into from
Feb 26, 2014
Merged

added N_() and Nn_() gettext equivalents #103

merged 1 commit into from
Feb 26, 2014

Conversation

lslezak
Copy link
Member

@lslezak lslezak commented Feb 26, 2014

  • to only mark a text for translation
  • 3.1.12

- to only mark a text for translation
- 3.1.12
@lslezak
Copy link
Member Author

lslezak commented Feb 26, 2014

JFYI: see N_() and Nn_() in fast-gettext gem.

describe I18n do

describe ".N_" do
it "returns the original parameter" do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when I read this spec it can make effect that it is useless. Maybe you try call gettext and verify that it is in POT.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it is useless 😄 , it has only a side effect for gettext when creating POT...

@jreidinger
Copy link
Member

LGTM

lslezak added a commit that referenced this pull request Feb 26, 2014
added N_() and Nn_() gettext equivalents
@lslezak lslezak merged commit 865f364 into master Feb 26, 2014
@lslezak lslezak deleted the N_ branch February 26, 2014 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants