Gaurav Sachdeva

Results 118 comments of Gaurav Sachdeva

I am thinking of an enhancement -- Suppose a user browses a website from China then using their location we can show this language menu to them in the notice...

> Are the dropdown changes in a feature, and do they need to be added to the live site? Cool! yes! Here's the gist - https://gist.github.com/gauravano/1124fff46ae156537e6fb712bff9e980 @jywarren yes, currently profile...

> So, with the right profile tag, should I be seeing the prompts on every page? Only on pages where I replaced default `t` helper with custom `translation` helper like...

We need to change `t` to `raw translation` in views. We can do it wherever we want. Currently, they are on /blog, /dashboard and /subscriptions. I can add them everywhere....

Sure, headers are always helpful (and resourceful :sweat_smile: ). I will start on this enhancement after updating the notes/wikis related to translation. @jywarren @ebarry so can I go ahead and...

Thanks, @jywarren for confirming! Also, don't you think what I am currently doing is somewhat similar to @steviepubliclab's note - https://publiclab.org/notes/stevie/05-24-2019/idea-to-distribute-tasks-for-a-reserach-area-review. But, I think, it'll cover only wikis but if...

> Ok just confirming that any t(...) can be replaced with a new, special translations(...) method in Ruby, as in this comment by @gauravano? Hi @jywarren @nstjean, yeah, `t(..)` can...

You can add gem 'activerecord-mysql2-adapter' to Gemfile @SidharthBansal as a temporary fix. Let's see what others think about this fix. Thanks!

> Application is configured to use Passenger. So instead of rails s to start the server you should be running passenger start instead. That way you don't need gem 'activerecord-mysql2-adapter'...

I use Git blame for checking the history of a file. Works good for me. As Sasha mentioned, there's no change - https://github.com/publiclab/plots2/blame/1678b22d17a6bca4f4320e4efaa79df979ded005/Gemfile#L78 Anyway, I am working by adding activerecord-mysql-adapter...