-
Notifications
You must be signed in to change notification settings - Fork 35
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
Feature/fix i18n token usage #1682
Conversation
@frenchbread please review. Ping @bajiat |
@brylie Shouldn't we move towards common approach we are taking with templates (or template variables) like:
And have the same pattern with i18n strings?
|
A quick search of our code found the following counts:
Similarly, we tend to keep the
I think we should prefer the first version, keeping
|
Before using
Disagreed here, since I think it's better to keep
In terms of rewriting all the code to the selected approach, is just a matter of opening search bar in atom with |
Right, both are used primarily to help the computer (parser) to do its job. Combining them makes it easier for the human to read, and still accomplishes the same. I.e. |
@frenchbread I realize our opinions are different, and there is no right or wrong here. I would like to fix the other handlebars helpers, for consistency. In a nutshell, I am proposing we remove the space infix because:
|
If it would help, we could do a quick vote/poll regarding this issue. Otherwise, I can just do the search/replace as part of this PR. Ping @bajiat |
Closes #1681
Changes
_
in template helpers