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

Initialize a translation function #627

Merged
merged 1 commit into from
Aug 7, 2016

Conversation

ArthurHoaro
Copy link
Member

It matches the API of ngettext(), regarding #121.

It allows to call the translation function in the future templates.

It matches the API of ngettext().
@ArthurHoaro ArthurHoaro added this to the 0.8.0 milestone Aug 7, 2016
@ArthurHoaro ArthurHoaro self-assigned this Aug 7, 2016
@ArthurHoaro ArthurHoaro merged commit cb30622 into shaarli:master Aug 7, 2016
@virtualtam
Copy link
Member

Why merging this now? #121 is scheduled for 0.9.0 and still being discussed

@ArthurHoaro
Copy link
Member Author

Because I'm working on the templates, so I prefer to add the translation function call step by step instead of having to change it everywhere when it's done. Whatever implementation we chose, the templates will be ready.

We can still revert the merge if you think we shouldn't do it this way.

@virtualtam
Copy link
Member

virtualtam commented Aug 7, 2016

It's a good thing to introduce to master all changes that are identified as improvements, or as being necessary, while working on the webdesign branch. To do this the right way, I'd suggest we edit #266 to highlight such changes and help tracking both progress and technical choices.

@ArthurHoaro
Copy link
Member Author

You're right, I'll my first comment on the thread.

@virtualtam
Copy link
Member

Cool, thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants